Project Alice
Loading...
Searching...
No Matches
Instruction Builders
Collaboration diagram for Instruction Builders:

Functions

LLVMBuilderRef LLVMCreateBuilderInContext (LLVMContextRef C)
 
LLVMBuilderRef LLVMCreateBuilder (void)
 
void LLVMPositionBuilder (LLVMBuilderRef Builder, LLVMBasicBlockRef Block, LLVMValueRef Instr)
 
void LLVMPositionBuilderBefore (LLVMBuilderRef Builder, LLVMValueRef Instr)
 
void LLVMPositionBuilderAtEnd (LLVMBuilderRef Builder, LLVMBasicBlockRef Block)
 
LLVMBasicBlockRef LLVMGetInsertBlock (LLVMBuilderRef Builder)
 
void LLVMClearInsertionPosition (LLVMBuilderRef Builder)
 
void LLVMInsertIntoBuilder (LLVMBuilderRef Builder, LLVMValueRef Instr)
 
void LLVMInsertIntoBuilderWithName (LLVMBuilderRef Builder, LLVMValueRef Instr, const char *Name)
 
void LLVMDisposeBuilder (LLVMBuilderRef Builder)
 
LLVMMetadataRef LLVMGetCurrentDebugLocation2 (LLVMBuilderRef Builder)
 
void LLVMSetCurrentDebugLocation2 (LLVMBuilderRef Builder, LLVMMetadataRef Loc)
 
void LLVMSetInstDebugLocation (LLVMBuilderRef Builder, LLVMValueRef Inst)
 
void LLVMAddMetadataToInst (LLVMBuilderRef Builder, LLVMValueRef Inst)
 
LLVMMetadataRef LLVMBuilderGetDefaultFPMathTag (LLVMBuilderRef Builder)
 
void LLVMBuilderSetDefaultFPMathTag (LLVMBuilderRef Builder, LLVMMetadataRef FPMathTag)
 
void LLVMSetCurrentDebugLocation (LLVMBuilderRef Builder, LLVMValueRef L)
 
LLVMValueRef LLVMGetCurrentDebugLocation (LLVMBuilderRef Builder)
 
LLVMValueRef LLVMBuildRetVoid (LLVMBuilderRef)
 
LLVMValueRef LLVMBuildRet (LLVMBuilderRef, LLVMValueRef V)
 
LLVMValueRef LLVMBuildAggregateRet (LLVMBuilderRef, LLVMValueRef *RetVals, unsigned N)
 
LLVMValueRef LLVMBuildBr (LLVMBuilderRef, LLVMBasicBlockRef Dest)
 
LLVMValueRef LLVMBuildCondBr (LLVMBuilderRef, LLVMValueRef If, LLVMBasicBlockRef Then, LLVMBasicBlockRef Else)
 
LLVMValueRef LLVMBuildSwitch (LLVMBuilderRef, LLVMValueRef V, LLVMBasicBlockRef Else, unsigned NumCases)
 
LLVMValueRef LLVMBuildIndirectBr (LLVMBuilderRef B, LLVMValueRef Addr, unsigned NumDests)
 
LLVMValueRef LLVMBuildInvoke2 (LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, const char *Name)
 
LLVMValueRef LLVMBuildInvokeWithOperandBundles (LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, LLVMOperandBundleRef *Bundles, unsigned NumBundles, const char *Name)
 
LLVMValueRef LLVMBuildUnreachable (LLVMBuilderRef)
 
LLVMValueRef LLVMBuildResume (LLVMBuilderRef B, LLVMValueRef Exn)
 
LLVMValueRef LLVMBuildLandingPad (LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef PersFn, unsigned NumClauses, const char *Name)
 
LLVMValueRef LLVMBuildCleanupRet (LLVMBuilderRef B, LLVMValueRef CatchPad, LLVMBasicBlockRef BB)
 
LLVMValueRef LLVMBuildCatchRet (LLVMBuilderRef B, LLVMValueRef CatchPad, LLVMBasicBlockRef BB)
 
LLVMValueRef LLVMBuildCatchPad (LLVMBuilderRef B, LLVMValueRef ParentPad, LLVMValueRef *Args, unsigned NumArgs, const char *Name)
 
LLVMValueRef LLVMBuildCleanupPad (LLVMBuilderRef B, LLVMValueRef ParentPad, LLVMValueRef *Args, unsigned NumArgs, const char *Name)
 
LLVMValueRef LLVMBuildCatchSwitch (LLVMBuilderRef B, LLVMValueRef ParentPad, LLVMBasicBlockRef UnwindBB, unsigned NumHandlers, const char *Name)
 
void LLVMAddCase (LLVMValueRef Switch, LLVMValueRef OnVal, LLVMBasicBlockRef Dest)
 
void LLVMAddDestination (LLVMValueRef IndirectBr, LLVMBasicBlockRef Dest)
 
unsigned LLVMGetNumClauses (LLVMValueRef LandingPad)
 
LLVMValueRef LLVMGetClause (LLVMValueRef LandingPad, unsigned Idx)
 
void LLVMAddClause (LLVMValueRef LandingPad, LLVMValueRef ClauseVal)
 
LLVMBool LLVMIsCleanup (LLVMValueRef LandingPad)
 
void LLVMSetCleanup (LLVMValueRef LandingPad, LLVMBool Val)
 
void LLVMAddHandler (LLVMValueRef CatchSwitch, LLVMBasicBlockRef Dest)
 
unsigned LLVMGetNumHandlers (LLVMValueRef CatchSwitch)
 
void LLVMGetHandlers (LLVMValueRef CatchSwitch, LLVMBasicBlockRef *Handlers)
 
LLVMValueRef LLVMGetArgOperand (LLVMValueRef Funclet, unsigned i)
 
void LLVMSetArgOperand (LLVMValueRef Funclet, unsigned i, LLVMValueRef value)
 
LLVMValueRef LLVMGetParentCatchSwitch (LLVMValueRef CatchPad)
 
void LLVMSetParentCatchSwitch (LLVMValueRef CatchPad, LLVMValueRef CatchSwitch)
 
LLVMValueRef LLVMBuildAdd (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildNSWAdd (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildNUWAdd (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildFAdd (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildSub (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildNSWSub (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildNUWSub (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildFSub (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildMul (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildNSWMul (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildNUWMul (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildFMul (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildUDiv (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildExactUDiv (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildSDiv (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildExactSDiv (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildFDiv (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildURem (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildSRem (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildFRem (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildShl (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildLShr (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildAShr (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildAnd (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildOr (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildXor (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildBinOp (LLVMBuilderRef B, LLVMOpcode Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildNeg (LLVMBuilderRef, LLVMValueRef V, const char *Name)
 
LLVMValueRef LLVMBuildNSWNeg (LLVMBuilderRef B, LLVMValueRef V, const char *Name)
 
LLVMValueRef LLVMBuildNUWNeg (LLVMBuilderRef B, LLVMValueRef V, const char *Name)
 
LLVMValueRef LLVMBuildFNeg (LLVMBuilderRef, LLVMValueRef V, const char *Name)
 
LLVMValueRef LLVMBuildNot (LLVMBuilderRef, LLVMValueRef V, const char *Name)
 
LLVMBool LLVMGetNUW (LLVMValueRef ArithInst)
 
void LLVMSetNUW (LLVMValueRef ArithInst, LLVMBool HasNUW)
 
LLVMBool LLVMGetNSW (LLVMValueRef ArithInst)
 
void LLVMSetNSW (LLVMValueRef ArithInst, LLVMBool HasNSW)
 
LLVMBool LLVMGetExact (LLVMValueRef DivOrShrInst)
 
void LLVMSetExact (LLVMValueRef DivOrShrInst, LLVMBool IsExact)
 
LLVMBool LLVMGetNNeg (LLVMValueRef NonNegInst)
 
void LLVMSetNNeg (LLVMValueRef NonNegInst, LLVMBool IsNonNeg)
 
LLVMFastMathFlags LLVMGetFastMathFlags (LLVMValueRef FPMathInst)
 
void LLVMSetFastMathFlags (LLVMValueRef FPMathInst, LLVMFastMathFlags FMF)
 
LLVMBool LLVMCanValueUseFastMathFlags (LLVMValueRef Inst)
 
LLVMBool LLVMGetIsDisjoint (LLVMValueRef Inst)
 
void LLVMSetIsDisjoint (LLVMValueRef Inst, LLVMBool IsDisjoint)
 
LLVMValueRef LLVMBuildMalloc (LLVMBuilderRef, LLVMTypeRef Ty, const char *Name)
 
LLVMValueRef LLVMBuildArrayMalloc (LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef Val, const char *Name)
 
LLVMValueRef LLVMBuildMemSet (LLVMBuilderRef B, LLVMValueRef Ptr, LLVMValueRef Val, LLVMValueRef Len, unsigned Align)
 
LLVMValueRef LLVMBuildMemCpy (LLVMBuilderRef B, LLVMValueRef Dst, unsigned DstAlign, LLVMValueRef Src, unsigned SrcAlign, LLVMValueRef Size)
 
LLVMValueRef LLVMBuildMemMove (LLVMBuilderRef B, LLVMValueRef Dst, unsigned DstAlign, LLVMValueRef Src, unsigned SrcAlign, LLVMValueRef Size)
 
LLVMValueRef LLVMBuildAlloca (LLVMBuilderRef, LLVMTypeRef Ty, const char *Name)
 
LLVMValueRef LLVMBuildArrayAlloca (LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef Val, const char *Name)
 
LLVMValueRef LLVMBuildFree (LLVMBuilderRef, LLVMValueRef PointerVal)
 
LLVMValueRef LLVMBuildLoad2 (LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef PointerVal, const char *Name)
 
LLVMValueRef LLVMBuildStore (LLVMBuilderRef, LLVMValueRef Val, LLVMValueRef Ptr)
 
LLVMValueRef LLVMBuildGEP2 (LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name)
 
LLVMValueRef LLVMBuildInBoundsGEP2 (LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name)
 
LLVMValueRef LLVMBuildStructGEP2 (LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, unsigned Idx, const char *Name)
 
LLVMValueRef LLVMBuildGlobalString (LLVMBuilderRef B, const char *Str, const char *Name)
 
LLVMValueRef LLVMBuildGlobalStringPtr (LLVMBuilderRef B, const char *Str, const char *Name)
 
LLVMBool LLVMGetVolatile (LLVMValueRef MemoryAccessInst)
 
void LLVMSetVolatile (LLVMValueRef MemoryAccessInst, LLVMBool IsVolatile)
 
LLVMBool LLVMGetWeak (LLVMValueRef CmpXchgInst)
 
void LLVMSetWeak (LLVMValueRef CmpXchgInst, LLVMBool IsWeak)
 
LLVMAtomicOrdering LLVMGetOrdering (LLVMValueRef MemoryAccessInst)
 
void LLVMSetOrdering (LLVMValueRef MemoryAccessInst, LLVMAtomicOrdering Ordering)
 
LLVMAtomicRMWBinOp LLVMGetAtomicRMWBinOp (LLVMValueRef AtomicRMWInst)
 
void LLVMSetAtomicRMWBinOp (LLVMValueRef AtomicRMWInst, LLVMAtomicRMWBinOp BinOp)
 
LLVMValueRef LLVMBuildTrunc (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
LLVMValueRef LLVMBuildZExt (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
LLVMValueRef LLVMBuildSExt (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
LLVMValueRef LLVMBuildFPToUI (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
LLVMValueRef LLVMBuildFPToSI (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
LLVMValueRef LLVMBuildUIToFP (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
LLVMValueRef LLVMBuildSIToFP (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
LLVMValueRef LLVMBuildFPTrunc (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
LLVMValueRef LLVMBuildFPExt (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
LLVMValueRef LLVMBuildPtrToInt (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
LLVMValueRef LLVMBuildIntToPtr (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
LLVMValueRef LLVMBuildBitCast (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
LLVMValueRef LLVMBuildAddrSpaceCast (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
LLVMValueRef LLVMBuildZExtOrBitCast (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
LLVMValueRef LLVMBuildSExtOrBitCast (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
LLVMValueRef LLVMBuildTruncOrBitCast (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
LLVMValueRef LLVMBuildCast (LLVMBuilderRef B, LLVMOpcode Op, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
LLVMValueRef LLVMBuildPointerCast (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
LLVMValueRef LLVMBuildIntCast2 (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, LLVMBool IsSigned, const char *Name)
 
LLVMValueRef LLVMBuildFPCast (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
LLVMValueRef LLVMBuildIntCast (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
LLVMOpcode LLVMGetCastOpcode (LLVMValueRef Src, LLVMBool SrcIsSigned, LLVMTypeRef DestTy, LLVMBool DestIsSigned)
 
LLVMValueRef LLVMBuildICmp (LLVMBuilderRef, LLVMIntPredicate Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildFCmp (LLVMBuilderRef, LLVMRealPredicate Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildPhi (LLVMBuilderRef, LLVMTypeRef Ty, const char *Name)
 
LLVMValueRef LLVMBuildCall2 (LLVMBuilderRef, LLVMTypeRef, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, const char *Name)
 
LLVMValueRef LLVMBuildCallWithOperandBundles (LLVMBuilderRef, LLVMTypeRef, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, LLVMOperandBundleRef *Bundles, unsigned NumBundles, const char *Name)
 
LLVMValueRef LLVMBuildSelect (LLVMBuilderRef, LLVMValueRef If, LLVMValueRef Then, LLVMValueRef Else, const char *Name)
 
LLVMValueRef LLVMBuildVAArg (LLVMBuilderRef, LLVMValueRef List, LLVMTypeRef Ty, const char *Name)
 
LLVMValueRef LLVMBuildExtractElement (LLVMBuilderRef, LLVMValueRef VecVal, LLVMValueRef Index, const char *Name)
 
LLVMValueRef LLVMBuildInsertElement (LLVMBuilderRef, LLVMValueRef VecVal, LLVMValueRef EltVal, LLVMValueRef Index, const char *Name)
 
LLVMValueRef LLVMBuildShuffleVector (LLVMBuilderRef, LLVMValueRef V1, LLVMValueRef V2, LLVMValueRef Mask, const char *Name)
 
LLVMValueRef LLVMBuildExtractValue (LLVMBuilderRef, LLVMValueRef AggVal, unsigned Index, const char *Name)
 
LLVMValueRef LLVMBuildInsertValue (LLVMBuilderRef, LLVMValueRef AggVal, LLVMValueRef EltVal, unsigned Index, const char *Name)
 
LLVMValueRef LLVMBuildFreeze (LLVMBuilderRef, LLVMValueRef Val, const char *Name)
 
LLVMValueRef LLVMBuildIsNull (LLVMBuilderRef, LLVMValueRef Val, const char *Name)
 
LLVMValueRef LLVMBuildIsNotNull (LLVMBuilderRef, LLVMValueRef Val, const char *Name)
 
LLVMValueRef LLVMBuildPtrDiff2 (LLVMBuilderRef, LLVMTypeRef ElemTy, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name)
 
LLVMValueRef LLVMBuildFence (LLVMBuilderRef B, LLVMAtomicOrdering ordering, LLVMBool singleThread, const char *Name)
 
LLVMValueRef LLVMBuildAtomicRMW (LLVMBuilderRef B, LLVMAtomicRMWBinOp op, LLVMValueRef PTR, LLVMValueRef Val, LLVMAtomicOrdering ordering, LLVMBool singleThread)
 
LLVMValueRef LLVMBuildAtomicCmpXchg (LLVMBuilderRef B, LLVMValueRef Ptr, LLVMValueRef Cmp, LLVMValueRef New, LLVMAtomicOrdering SuccessOrdering, LLVMAtomicOrdering FailureOrdering, LLVMBool SingleThread)
 
unsigned LLVMGetNumMaskElements (LLVMValueRef ShuffleVectorInst)
 
int LLVMGetUndefMaskElem (void)
 
int LLVMGetMaskValue (LLVMValueRef ShuffleVectorInst, unsigned Elt)
 
LLVMBool LLVMIsAtomicSingleThread (LLVMValueRef AtomicInst)
 
void LLVMSetAtomicSingleThread (LLVMValueRef AtomicInst, LLVMBool SingleThread)
 
LLVMAtomicOrdering LLVMGetCmpXchgSuccessOrdering (LLVMValueRef CmpXchgInst)
 
void LLVMSetCmpXchgSuccessOrdering (LLVMValueRef CmpXchgInst, LLVMAtomicOrdering Ordering)
 
LLVMAtomicOrdering LLVMGetCmpXchgFailureOrdering (LLVMValueRef CmpXchgInst)
 
void LLVMSetCmpXchgFailureOrdering (LLVMValueRef CmpXchgInst, LLVMAtomicOrdering Ordering)
 

Detailed Description

An instruction builder represents a point within a basic block and is the exclusive means of building instructions using the C interface.

Function Documentation

◆ LLVMAddCase()

void LLVMAddCase ( LLVMValueRef  Switch,
LLVMValueRef  OnVal,
LLVMBasicBlockRef  Dest 
)

◆ LLVMAddClause()

void LLVMAddClause ( LLVMValueRef  LandingPad,
LLVMValueRef  ClauseVal 
)

◆ LLVMAddDestination()

void LLVMAddDestination ( LLVMValueRef  IndirectBr,
LLVMBasicBlockRef  Dest 
)

◆ LLVMAddHandler()

void LLVMAddHandler ( LLVMValueRef  CatchSwitch,
LLVMBasicBlockRef  Dest 
)

◆ LLVMAddMetadataToInst()

void LLVMAddMetadataToInst ( LLVMBuilderRef  Builder,
LLVMValueRef  Inst 
)

Adds the metadata registered with the given builder to the given instruction.

See also
llvm::IRBuilder::AddMetadataToInst()

◆ LLVMBuildAdd()

LLVMValueRef LLVMBuildAdd ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildAddrSpaceCast()

LLVMValueRef LLVMBuildAddrSpaceCast ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char *  Name 
)

◆ LLVMBuildAggregateRet()

LLVMValueRef LLVMBuildAggregateRet ( LLVMBuilderRef  ,
LLVMValueRef RetVals,
unsigned  N 
)

◆ LLVMBuildAlloca()

LLVMValueRef LLVMBuildAlloca ( LLVMBuilderRef  ,
LLVMTypeRef  Ty,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildAnd()

LLVMValueRef LLVMBuildAnd ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildArrayAlloca()

LLVMValueRef LLVMBuildArrayAlloca ( LLVMBuilderRef  ,
LLVMTypeRef  Ty,
LLVMValueRef  Val,
const char *  Name 
)

◆ LLVMBuildArrayMalloc()

LLVMValueRef LLVMBuildArrayMalloc ( LLVMBuilderRef  ,
LLVMTypeRef  Ty,
LLVMValueRef  Val,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildAShr()

LLVMValueRef LLVMBuildAShr ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildAtomicCmpXchg()

LLVMValueRef LLVMBuildAtomicCmpXchg ( LLVMBuilderRef  B,
LLVMValueRef  Ptr,
LLVMValueRef  Cmp,
LLVMValueRef  New,
LLVMAtomicOrdering  SuccessOrdering,
LLVMAtomicOrdering  FailureOrdering,
LLVMBool  SingleThread 
)

◆ LLVMBuildAtomicRMW()

LLVMValueRef LLVMBuildAtomicRMW ( LLVMBuilderRef  B,
LLVMAtomicRMWBinOp  op,
LLVMValueRef  PTR,
LLVMValueRef  Val,
LLVMAtomicOrdering  ordering,
LLVMBool  singleThread 
)

◆ LLVMBuildBinOp()

LLVMValueRef LLVMBuildBinOp ( LLVMBuilderRef  B,
LLVMOpcode  Op,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)

◆ LLVMBuildBitCast()

LLVMValueRef LLVMBuildBitCast ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char *  Name 
)

◆ LLVMBuildBr()

LLVMValueRef LLVMBuildBr ( LLVMBuilderRef  ,
LLVMBasicBlockRef  Dest 
)
Here is the caller graph for this function:

◆ LLVMBuildCall2()

LLVMValueRef LLVMBuildCall2 ( LLVMBuilderRef  ,
LLVMTypeRef  ,
LLVMValueRef  Fn,
LLVMValueRef Args,
unsigned  NumArgs,
const char *  Name 
)

◆ LLVMBuildCallWithOperandBundles()

LLVMValueRef LLVMBuildCallWithOperandBundles ( LLVMBuilderRef  ,
LLVMTypeRef  ,
LLVMValueRef  Fn,
LLVMValueRef Args,
unsigned  NumArgs,
LLVMOperandBundleRef Bundles,
unsigned  NumBundles,
const char *  Name 
)

◆ LLVMBuildCast()

LLVMValueRef LLVMBuildCast ( LLVMBuilderRef  B,
LLVMOpcode  Op,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char *  Name 
)

◆ LLVMBuildCatchPad()

LLVMValueRef LLVMBuildCatchPad ( LLVMBuilderRef  B,
LLVMValueRef  ParentPad,
LLVMValueRef Args,
unsigned  NumArgs,
const char *  Name 
)

◆ LLVMBuildCatchRet()

LLVMValueRef LLVMBuildCatchRet ( LLVMBuilderRef  B,
LLVMValueRef  CatchPad,
LLVMBasicBlockRef  BB 
)

◆ LLVMBuildCatchSwitch()

LLVMValueRef LLVMBuildCatchSwitch ( LLVMBuilderRef  B,
LLVMValueRef  ParentPad,
LLVMBasicBlockRef  UnwindBB,
unsigned  NumHandlers,
const char *  Name 
)

◆ LLVMBuildCleanupPad()

LLVMValueRef LLVMBuildCleanupPad ( LLVMBuilderRef  B,
LLVMValueRef  ParentPad,
LLVMValueRef Args,
unsigned  NumArgs,
const char *  Name 
)

◆ LLVMBuildCleanupRet()

LLVMValueRef LLVMBuildCleanupRet ( LLVMBuilderRef  B,
LLVMValueRef  CatchPad,
LLVMBasicBlockRef  BB 
)

◆ LLVMBuildCondBr()

LLVMValueRef LLVMBuildCondBr ( LLVMBuilderRef  ,
LLVMValueRef  If,
LLVMBasicBlockRef  Then,
LLVMBasicBlockRef  Else 
)
Here is the caller graph for this function:

◆ LLVMBuilderGetDefaultFPMathTag()

LLVMMetadataRef LLVMBuilderGetDefaultFPMathTag ( LLVMBuilderRef  Builder)

Get the dafult floating-point math metadata for a given builder.

See also
llvm::IRBuilder::getDefaultFPMathTag()

◆ LLVMBuilderSetDefaultFPMathTag()

void LLVMBuilderSetDefaultFPMathTag ( LLVMBuilderRef  Builder,
LLVMMetadataRef  FPMathTag 
)

Set the default floating-point math metadata for the given builder.

To clear the metadata, pass NULL to FPMathTag.

See also
llvm::IRBuilder::setDefaultFPMathTag()

◆ LLVMBuildExactSDiv()

LLVMValueRef LLVMBuildExactSDiv ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)

◆ LLVMBuildExactUDiv()

LLVMValueRef LLVMBuildExactUDiv ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)

◆ LLVMBuildExtractElement()

LLVMValueRef LLVMBuildExtractElement ( LLVMBuilderRef  ,
LLVMValueRef  VecVal,
LLVMValueRef  Index,
const char *  Name 
)

◆ LLVMBuildExtractValue()

LLVMValueRef LLVMBuildExtractValue ( LLVMBuilderRef  ,
LLVMValueRef  AggVal,
unsigned  Index,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildFAdd()

LLVMValueRef LLVMBuildFAdd ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildFCmp()

LLVMValueRef LLVMBuildFCmp ( LLVMBuilderRef  ,
LLVMRealPredicate  Op,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildFDiv()

LLVMValueRef LLVMBuildFDiv ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildFence()

LLVMValueRef LLVMBuildFence ( LLVMBuilderRef  B,
LLVMAtomicOrdering  ordering,
LLVMBool  singleThread,
const char *  Name 
)

◆ LLVMBuildFMul()

LLVMValueRef LLVMBuildFMul ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildFNeg()

LLVMValueRef LLVMBuildFNeg ( LLVMBuilderRef  ,
LLVMValueRef  V,
const char *  Name 
)

◆ LLVMBuildFPCast()

LLVMValueRef LLVMBuildFPCast ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char *  Name 
)

◆ LLVMBuildFPExt()

LLVMValueRef LLVMBuildFPExt ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildFPToSI()

LLVMValueRef LLVMBuildFPToSI ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildFPToUI()

LLVMValueRef LLVMBuildFPToUI ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildFPTrunc()

LLVMValueRef LLVMBuildFPTrunc ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildFree()

LLVMValueRef LLVMBuildFree ( LLVMBuilderRef  ,
LLVMValueRef  PointerVal 
)
Here is the caller graph for this function:

◆ LLVMBuildFreeze()

LLVMValueRef LLVMBuildFreeze ( LLVMBuilderRef  ,
LLVMValueRef  Val,
const char *  Name 
)

◆ LLVMBuildFRem()

LLVMValueRef LLVMBuildFRem ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildFSub()

LLVMValueRef LLVMBuildFSub ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildGEP2()

LLVMValueRef LLVMBuildGEP2 ( LLVMBuilderRef  B,
LLVMTypeRef  Ty,
LLVMValueRef  Pointer,
LLVMValueRef Indices,
unsigned  NumIndices,
const char *  Name 
)

◆ LLVMBuildGlobalString()

LLVMValueRef LLVMBuildGlobalString ( LLVMBuilderRef  B,
const char *  Str,
const char *  Name 
)

◆ LLVMBuildGlobalStringPtr()

LLVMValueRef LLVMBuildGlobalStringPtr ( LLVMBuilderRef  B,
const char *  Str,
const char *  Name 
)

◆ LLVMBuildICmp()

LLVMValueRef LLVMBuildICmp ( LLVMBuilderRef  ,
LLVMIntPredicate  Op,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildInBoundsGEP2()

LLVMValueRef LLVMBuildInBoundsGEP2 ( LLVMBuilderRef  B,
LLVMTypeRef  Ty,
LLVMValueRef  Pointer,
LLVMValueRef Indices,
unsigned  NumIndices,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildIndirectBr()

LLVMValueRef LLVMBuildIndirectBr ( LLVMBuilderRef  B,
LLVMValueRef  Addr,
unsigned  NumDests 
)

◆ LLVMBuildInsertElement()

LLVMValueRef LLVMBuildInsertElement ( LLVMBuilderRef  ,
LLVMValueRef  VecVal,
LLVMValueRef  EltVal,
LLVMValueRef  Index,
const char *  Name 
)

◆ LLVMBuildInsertValue()

LLVMValueRef LLVMBuildInsertValue ( LLVMBuilderRef  ,
LLVMValueRef  AggVal,
LLVMValueRef  EltVal,
unsigned  Index,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildIntCast()

LLVMValueRef LLVMBuildIntCast ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char *  Name 
)

Deprecated: This cast is always signed. Use LLVMBuildIntCast2 instead.

◆ LLVMBuildIntCast2()

LLVMValueRef LLVMBuildIntCast2 ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
LLVMBool  IsSigned,
const char *  Name 
)

◆ LLVMBuildIntToPtr()

LLVMValueRef LLVMBuildIntToPtr ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char *  Name 
)

◆ LLVMBuildInvoke2()

LLVMValueRef LLVMBuildInvoke2 ( LLVMBuilderRef  ,
LLVMTypeRef  Ty,
LLVMValueRef  Fn,
LLVMValueRef Args,
unsigned  NumArgs,
LLVMBasicBlockRef  Then,
LLVMBasicBlockRef  Catch,
const char *  Name 
)

◆ LLVMBuildInvokeWithOperandBundles()

LLVMValueRef LLVMBuildInvokeWithOperandBundles ( LLVMBuilderRef  ,
LLVMTypeRef  Ty,
LLVMValueRef  Fn,
LLVMValueRef Args,
unsigned  NumArgs,
LLVMBasicBlockRef  Then,
LLVMBasicBlockRef  Catch,
LLVMOperandBundleRef Bundles,
unsigned  NumBundles,
const char *  Name 
)

◆ LLVMBuildIsNotNull()

LLVMValueRef LLVMBuildIsNotNull ( LLVMBuilderRef  ,
LLVMValueRef  Val,
const char *  Name 
)

◆ LLVMBuildIsNull()

LLVMValueRef LLVMBuildIsNull ( LLVMBuilderRef  ,
LLVMValueRef  Val,
const char *  Name 
)

◆ LLVMBuildLandingPad()

LLVMValueRef LLVMBuildLandingPad ( LLVMBuilderRef  B,
LLVMTypeRef  Ty,
LLVMValueRef  PersFn,
unsigned  NumClauses,
const char *  Name 
)

◆ LLVMBuildLoad2()

LLVMValueRef LLVMBuildLoad2 ( LLVMBuilderRef  ,
LLVMTypeRef  Ty,
LLVMValueRef  PointerVal,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildLShr()

LLVMValueRef LLVMBuildLShr ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildMalloc()

LLVMValueRef LLVMBuildMalloc ( LLVMBuilderRef  ,
LLVMTypeRef  Ty,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildMemCpy()

LLVMValueRef LLVMBuildMemCpy ( LLVMBuilderRef  B,
LLVMValueRef  Dst,
unsigned  DstAlign,
LLVMValueRef  Src,
unsigned  SrcAlign,
LLVMValueRef  Size 
)

Creates and inserts a memcpy between the specified pointers.

See also
llvm::IRRBuilder::CreateMemCpy()
Here is the caller graph for this function:

◆ LLVMBuildMemMove()

LLVMValueRef LLVMBuildMemMove ( LLVMBuilderRef  B,
LLVMValueRef  Dst,
unsigned  DstAlign,
LLVMValueRef  Src,
unsigned  SrcAlign,
LLVMValueRef  Size 
)

Creates and inserts a memmove between the specified pointers.

See also
llvm::IRRBuilder::CreateMemMove()

◆ LLVMBuildMemSet()

LLVMValueRef LLVMBuildMemSet ( LLVMBuilderRef  B,
LLVMValueRef  Ptr,
LLVMValueRef  Val,
LLVMValueRef  Len,
unsigned  Align 
)

Creates and inserts a memset to the specified pointer and the specified value.

See also
llvm::IRRBuilder::CreateMemSet()
Here is the caller graph for this function:

◆ LLVMBuildMul()

LLVMValueRef LLVMBuildMul ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildNeg()

LLVMValueRef LLVMBuildNeg ( LLVMBuilderRef  ,
LLVMValueRef  V,
const char *  Name 
)

◆ LLVMBuildNot()

LLVMValueRef LLVMBuildNot ( LLVMBuilderRef  ,
LLVMValueRef  V,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildNSWAdd()

LLVMValueRef LLVMBuildNSWAdd ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)

◆ LLVMBuildNSWMul()

LLVMValueRef LLVMBuildNSWMul ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)

◆ LLVMBuildNSWNeg()

LLVMValueRef LLVMBuildNSWNeg ( LLVMBuilderRef  B,
LLVMValueRef  V,
const char *  Name 
)

◆ LLVMBuildNSWSub()

LLVMValueRef LLVMBuildNSWSub ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)

◆ LLVMBuildNUWAdd()

LLVMValueRef LLVMBuildNUWAdd ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)

◆ LLVMBuildNUWMul()

LLVMValueRef LLVMBuildNUWMul ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)

◆ LLVMBuildNUWNeg()

LLVMValueRef LLVMBuildNUWNeg ( LLVMBuilderRef  B,
LLVMValueRef  V,
const char *  Name 
)

◆ LLVMBuildNUWSub()

LLVMValueRef LLVMBuildNUWSub ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)

◆ LLVMBuildOr()

LLVMValueRef LLVMBuildOr ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildPhi()

LLVMValueRef LLVMBuildPhi ( LLVMBuilderRef  ,
LLVMTypeRef  Ty,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildPointerCast()

LLVMValueRef LLVMBuildPointerCast ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char *  Name 
)

◆ LLVMBuildPtrDiff2()

LLVMValueRef LLVMBuildPtrDiff2 ( LLVMBuilderRef  ,
LLVMTypeRef  ElemTy,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)

◆ LLVMBuildPtrToInt()

LLVMValueRef LLVMBuildPtrToInt ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char *  Name 
)

◆ LLVMBuildResume()

LLVMValueRef LLVMBuildResume ( LLVMBuilderRef  B,
LLVMValueRef  Exn 
)

◆ LLVMBuildRet()

LLVMValueRef LLVMBuildRet ( LLVMBuilderRef  ,
LLVMValueRef  V 
)

◆ LLVMBuildRetVoid()

LLVMValueRef LLVMBuildRetVoid ( LLVMBuilderRef  )

◆ LLVMBuildSDiv()

LLVMValueRef LLVMBuildSDiv ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildSelect()

LLVMValueRef LLVMBuildSelect ( LLVMBuilderRef  ,
LLVMValueRef  If,
LLVMValueRef  Then,
LLVMValueRef  Else,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildSExt()

LLVMValueRef LLVMBuildSExt ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildSExtOrBitCast()

LLVMValueRef LLVMBuildSExtOrBitCast ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char *  Name 
)

◆ LLVMBuildShl()

LLVMValueRef LLVMBuildShl ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildShuffleVector()

LLVMValueRef LLVMBuildShuffleVector ( LLVMBuilderRef  ,
LLVMValueRef  V1,
LLVMValueRef  V2,
LLVMValueRef  Mask,
const char *  Name 
)

◆ LLVMBuildSIToFP()

LLVMValueRef LLVMBuildSIToFP ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildSRem()

LLVMValueRef LLVMBuildSRem ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildStore()

LLVMValueRef LLVMBuildStore ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMValueRef  Ptr 
)
Here is the caller graph for this function:

◆ LLVMBuildStructGEP2()

LLVMValueRef LLVMBuildStructGEP2 ( LLVMBuilderRef  B,
LLVMTypeRef  Ty,
LLVMValueRef  Pointer,
unsigned  Idx,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildSub()

LLVMValueRef LLVMBuildSub ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildSwitch()

LLVMValueRef LLVMBuildSwitch ( LLVMBuilderRef  ,
LLVMValueRef  V,
LLVMBasicBlockRef  Else,
unsigned  NumCases 
)

◆ LLVMBuildTrunc()

LLVMValueRef LLVMBuildTrunc ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildTruncOrBitCast()

LLVMValueRef LLVMBuildTruncOrBitCast ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char *  Name 
)

◆ LLVMBuildUDiv()

LLVMValueRef LLVMBuildUDiv ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildUIToFP()

LLVMValueRef LLVMBuildUIToFP ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildUnreachable()

LLVMValueRef LLVMBuildUnreachable ( LLVMBuilderRef  )

◆ LLVMBuildURem()

LLVMValueRef LLVMBuildURem ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildVAArg()

LLVMValueRef LLVMBuildVAArg ( LLVMBuilderRef  ,
LLVMValueRef  List,
LLVMTypeRef  Ty,
const char *  Name 
)

◆ LLVMBuildXor()

LLVMValueRef LLVMBuildXor ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildZExt()

LLVMValueRef LLVMBuildZExt ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char *  Name 
)
Here is the caller graph for this function:

◆ LLVMBuildZExtOrBitCast()

LLVMValueRef LLVMBuildZExtOrBitCast ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char *  Name 
)

◆ LLVMCanValueUseFastMathFlags()

LLVMBool LLVMCanValueUseFastMathFlags ( LLVMValueRef  Inst)

Check if a given value can potentially have fast math flags.

Will return true for floating point arithmetic instructions, and for select, phi, and call instructions whose type is a floating point type, or a vector or array thereof. See https://llvm.org/docs/LangRef.html#fast-math-flags

◆ LLVMClearInsertionPosition()

void LLVMClearInsertionPosition ( LLVMBuilderRef  Builder)

◆ LLVMCreateBuilder()

LLVMBuilderRef LLVMCreateBuilder ( void  )

◆ LLVMCreateBuilderInContext()

LLVMBuilderRef LLVMCreateBuilderInContext ( LLVMContextRef  C)
Here is the caller graph for this function:

◆ LLVMDisposeBuilder()

void LLVMDisposeBuilder ( LLVMBuilderRef  Builder)
Here is the caller graph for this function:

◆ LLVMGetArgOperand()

LLVMValueRef LLVMGetArgOperand ( LLVMValueRef  Funclet,
unsigned  i 
)

◆ LLVMGetAtomicRMWBinOp()

LLVMAtomicRMWBinOp LLVMGetAtomicRMWBinOp ( LLVMValueRef  AtomicRMWInst)

◆ LLVMGetCastOpcode()

LLVMOpcode LLVMGetCastOpcode ( LLVMValueRef  Src,
LLVMBool  SrcIsSigned,
LLVMTypeRef  DestTy,
LLVMBool  DestIsSigned 
)

◆ LLVMGetClause()

LLVMValueRef LLVMGetClause ( LLVMValueRef  LandingPad,
unsigned  Idx 
)

◆ LLVMGetCmpXchgFailureOrdering()

LLVMAtomicOrdering LLVMGetCmpXchgFailureOrdering ( LLVMValueRef  CmpXchgInst)

◆ LLVMGetCmpXchgSuccessOrdering()

LLVMAtomicOrdering LLVMGetCmpXchgSuccessOrdering ( LLVMValueRef  CmpXchgInst)

◆ LLVMGetCurrentDebugLocation()

LLVMValueRef LLVMGetCurrentDebugLocation ( LLVMBuilderRef  Builder)

Deprecated: Returning the NULL location will crash. Use LLVMGetCurrentDebugLocation2 instead.

◆ LLVMGetCurrentDebugLocation2()

LLVMMetadataRef LLVMGetCurrentDebugLocation2 ( LLVMBuilderRef  Builder)

Get location information used by debugging information.

See also
llvm::IRBuilder::getCurrentDebugLocation()

◆ LLVMGetExact()

LLVMBool LLVMGetExact ( LLVMValueRef  DivOrShrInst)

◆ LLVMGetFastMathFlags()

LLVMFastMathFlags LLVMGetFastMathFlags ( LLVMValueRef  FPMathInst)

Get the flags for which fast-math-style optimizations are allowed for this value.

Only valid on floating point instructions.

See also
LLVMCanValueUseFastMathFlags

◆ LLVMGetHandlers()

void LLVMGetHandlers ( LLVMValueRef  CatchSwitch,
LLVMBasicBlockRef Handlers 
)

Obtain the basic blocks acting as handlers for a catchswitch instruction.

The Handlers parameter should point to a pre-allocated array of LLVMBasicBlockRefs at least LLVMGetNumHandlers() large. On return, the first LLVMGetNumHandlers() entries in the array will be populated with LLVMBasicBlockRef instances.

Parameters
CatchSwitchThe catchswitch instruction to operate on.
HandlersMemory address of an array to be filled with basic blocks.

◆ LLVMGetInsertBlock()

LLVMBasicBlockRef LLVMGetInsertBlock ( LLVMBuilderRef  Builder)

◆ LLVMGetIsDisjoint()

LLVMBool LLVMGetIsDisjoint ( LLVMValueRef  Inst)

Gets whether the instruction has the disjoint flag set. Only valid for or instructions.

◆ LLVMGetMaskValue()

int LLVMGetMaskValue ( LLVMValueRef  ShuffleVectorInst,
unsigned  Elt 
)

Get the mask value at position Elt in the mask of a ShuffleVector instruction.

\Returns the result of LLVMGetUndefMaskElem() if the mask value is poison at that position.

◆ LLVMGetNNeg()

LLVMBool LLVMGetNNeg ( LLVMValueRef  NonNegInst)

Gets if the instruction has the non-negative flag set. Only valid for zext instructions.

◆ LLVMGetNSW()

LLVMBool LLVMGetNSW ( LLVMValueRef  ArithInst)

◆ LLVMGetNumClauses()

unsigned LLVMGetNumClauses ( LLVMValueRef  LandingPad)

◆ LLVMGetNumHandlers()

unsigned LLVMGetNumHandlers ( LLVMValueRef  CatchSwitch)

◆ LLVMGetNumMaskElements()

unsigned LLVMGetNumMaskElements ( LLVMValueRef  ShuffleVectorInst)

Get the number of elements in the mask of a ShuffleVector instruction.

◆ LLVMGetNUW()

LLVMBool LLVMGetNUW ( LLVMValueRef  ArithInst)

◆ LLVMGetOrdering()

LLVMAtomicOrdering LLVMGetOrdering ( LLVMValueRef  MemoryAccessInst)

◆ LLVMGetParentCatchSwitch()

LLVMValueRef LLVMGetParentCatchSwitch ( LLVMValueRef  CatchPad)

Get the parent catchswitch instruction of a catchpad instruction.

This only works on llvm::CatchPadInst instructions.

See also
llvm::CatchPadInst::getCatchSwitch()

◆ LLVMGetUndefMaskElem()

int LLVMGetUndefMaskElem ( void  )
Returns
a constant that specifies that the result of a ShuffleVectorInst is undefined.

◆ LLVMGetVolatile()

LLVMBool LLVMGetVolatile ( LLVMValueRef  MemoryAccessInst)

◆ LLVMGetWeak()

LLVMBool LLVMGetWeak ( LLVMValueRef  CmpXchgInst)

◆ LLVMInsertIntoBuilder()

void LLVMInsertIntoBuilder ( LLVMBuilderRef  Builder,
LLVMValueRef  Instr 
)

◆ LLVMInsertIntoBuilderWithName()

void LLVMInsertIntoBuilderWithName ( LLVMBuilderRef  Builder,
LLVMValueRef  Instr,
const char *  Name 
)

◆ LLVMIsAtomicSingleThread()

LLVMBool LLVMIsAtomicSingleThread ( LLVMValueRef  AtomicInst)

◆ LLVMIsCleanup()

LLVMBool LLVMIsCleanup ( LLVMValueRef  LandingPad)

◆ LLVMPositionBuilder()

void LLVMPositionBuilder ( LLVMBuilderRef  Builder,
LLVMBasicBlockRef  Block,
LLVMValueRef  Instr 
)

◆ LLVMPositionBuilderAtEnd()

void LLVMPositionBuilderAtEnd ( LLVMBuilderRef  Builder,
LLVMBasicBlockRef  Block 
)
Here is the caller graph for this function:

◆ LLVMPositionBuilderBefore()

void LLVMPositionBuilderBefore ( LLVMBuilderRef  Builder,
LLVMValueRef  Instr 
)

◆ LLVMSetArgOperand()

void LLVMSetArgOperand ( LLVMValueRef  Funclet,
unsigned  i,
LLVMValueRef  value 
)

◆ LLVMSetAtomicRMWBinOp()

void LLVMSetAtomicRMWBinOp ( LLVMValueRef  AtomicRMWInst,
LLVMAtomicRMWBinOp  BinOp 
)

◆ LLVMSetAtomicSingleThread()

void LLVMSetAtomicSingleThread ( LLVMValueRef  AtomicInst,
LLVMBool  SingleThread 
)

◆ LLVMSetCleanup()

void LLVMSetCleanup ( LLVMValueRef  LandingPad,
LLVMBool  Val 
)

◆ LLVMSetCmpXchgFailureOrdering()

void LLVMSetCmpXchgFailureOrdering ( LLVMValueRef  CmpXchgInst,
LLVMAtomicOrdering  Ordering 
)

◆ LLVMSetCmpXchgSuccessOrdering()

void LLVMSetCmpXchgSuccessOrdering ( LLVMValueRef  CmpXchgInst,
LLVMAtomicOrdering  Ordering 
)

◆ LLVMSetCurrentDebugLocation()

void LLVMSetCurrentDebugLocation ( LLVMBuilderRef  Builder,
LLVMValueRef  L 
)

Deprecated: Passing the NULL location will crash. Use LLVMGetCurrentDebugLocation2 instead.

◆ LLVMSetCurrentDebugLocation2()

void LLVMSetCurrentDebugLocation2 ( LLVMBuilderRef  Builder,
LLVMMetadataRef  Loc 
)

Set location information used by debugging information.

To clear the location metadata of the given instruction, pass NULL to Loc.

See also
llvm::IRBuilder::SetCurrentDebugLocation()

◆ LLVMSetExact()

void LLVMSetExact ( LLVMValueRef  DivOrShrInst,
LLVMBool  IsExact 
)

◆ LLVMSetFastMathFlags()

void LLVMSetFastMathFlags ( LLVMValueRef  FPMathInst,
LLVMFastMathFlags  FMF 
)

Sets the flags for which fast-math-style optimizations are allowed for this value.

Only valid on floating point instructions.

See also
LLVMCanValueUseFastMathFlags

◆ LLVMSetInstDebugLocation()

void LLVMSetInstDebugLocation ( LLVMBuilderRef  Builder,
LLVMValueRef  Inst 
)

Attempts to set the debug location for the given instruction using the current debug location for the given builder. If the builder has no current debug location, this function is a no-op.

Deprecated:
LLVMSetInstDebugLocation is deprecated in favor of the more general LLVMAddMetadataToInst.
See also
llvm::IRBuilder::SetInstDebugLocation()

◆ LLVMSetIsDisjoint()

void LLVMSetIsDisjoint ( LLVMValueRef  Inst,
LLVMBool  IsDisjoint 
)

Sets the disjoint flag for the instruction. Only valid for or instructions.

◆ LLVMSetNNeg()

void LLVMSetNNeg ( LLVMValueRef  NonNegInst,
LLVMBool  IsNonNeg 
)

Sets the non-negative flag for the instruction. Only valid for zext instructions.

◆ LLVMSetNSW()

void LLVMSetNSW ( LLVMValueRef  ArithInst,
LLVMBool  HasNSW 
)

◆ LLVMSetNUW()

void LLVMSetNUW ( LLVMValueRef  ArithInst,
LLVMBool  HasNUW 
)

◆ LLVMSetOrdering()

void LLVMSetOrdering ( LLVMValueRef  MemoryAccessInst,
LLVMAtomicOrdering  Ordering 
)

◆ LLVMSetParentCatchSwitch()

void LLVMSetParentCatchSwitch ( LLVMValueRef  CatchPad,
LLVMValueRef  CatchSwitch 
)

Set the parent catchswitch instruction of a catchpad instruction.

This only works on llvm::CatchPadInst instructions.

See also
llvm::CatchPadInst::setCatchSwitch()

◆ LLVMSetVolatile()

void LLVMSetVolatile ( LLVMValueRef  MemoryAccessInst,
LLVMBool  IsVolatile 
)

◆ LLVMSetWeak()

void LLVMSetWeak ( LLVMValueRef  CmpXchgInst,
LLVMBool  IsWeak 
)