LLVM  8.0.1
Functions
Instruction Builders

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

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)
 
void LLVMSetCurrentDebugLocation (LLVMBuilderRef Builder, LLVMValueRef L)
 
LLVMValueRef LLVMGetCurrentDebugLocation (LLVMBuilderRef Builder)
 
void LLVMSetInstDebugLocation (LLVMBuilderRef Builder, LLVMValueRef Inst)
 
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 LLVMBuildInvoke (LLVMBuilderRef, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, const char *Name)
 
LLVMValueRef LLVMBuildInvoke2 (LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, 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)
 Obtain the basic blocks acting as handlers for a catchswitch instruction. More...
 
LLVMValueRef LLVMGetArgOperand (LLVMValueRef Funclet, unsigned i)
 
void LLVMSetArgOperand (LLVMValueRef Funclet, unsigned i, LLVMValueRef value)
 
LLVMValueRef LLVMGetParentCatchSwitch (LLVMValueRef CatchPad)
 Get the parent catchswitch instruction of a catchpad instruction. More...
 
void LLVMSetParentCatchSwitch (LLVMValueRef CatchPad, LLVMValueRef CatchSwitch)
 Set the parent catchswitch instruction of a catchpad instruction. More...
 
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)
 
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)
 Creates and inserts a memset to the specified pointer and the specified value. More...
 
LLVMValueRef LLVMBuildMemCpy (LLVMBuilderRef B, LLVMValueRef Dst, unsigned DstAlign, LLVMValueRef Src, unsigned SrcAlign, LLVMValueRef Size)
 Creates and inserts a memcpy between the specified pointers. More...
 
LLVMValueRef LLVMBuildMemMove (LLVMBuilderRef B, LLVMValueRef Dst, unsigned DstAlign, LLVMValueRef Src, unsigned SrcAlign, LLVMValueRef Size)
 Creates and inserts a memmove between the specified pointers. More...
 
LLVMValueRef LLVMBuildAlloca (LLVMBuilderRef, LLVMTypeRef Ty, const char *Name)
 
LLVMValueRef LLVMBuildArrayAlloca (LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef Val, const char *Name)
 
LLVMValueRef LLVMBuildFree (LLVMBuilderRef, LLVMValueRef PointerVal)
 
LLVMValueRef LLVMBuildLoad (LLVMBuilderRef, LLVMValueRef PointerVal, const char *Name)
 
LLVMValueRef LLVMBuildLoad2 (LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef PointerVal, const char *Name)
 
LLVMValueRef LLVMBuildStore (LLVMBuilderRef, LLVMValueRef Val, LLVMValueRef Ptr)
 
LLVMValueRef LLVMBuildGEP (LLVMBuilderRef B, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name)
 
LLVMValueRef LLVMBuildInBoundsGEP (LLVMBuilderRef B, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name)
 
LLVMValueRef LLVMBuildStructGEP (LLVMBuilderRef B, LLVMValueRef Pointer, unsigned Idx, const char *Name)
 
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)
 
LLVMAtomicOrdering LLVMGetOrdering (LLVMValueRef MemoryAccessInst)
 
void LLVMSetOrdering (LLVMValueRef MemoryAccessInst, LLVMAtomicOrdering Ordering)
 
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)
 Deprecated: This cast is always signed. More...
 
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 LLVMBuildCall (LLVMBuilderRef, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, const char *Name)
 
LLVMValueRef LLVMBuildCall2 (LLVMBuilderRef, LLVMTypeRef, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, 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 LLVMBuildIsNull (LLVMBuilderRef, LLVMValueRef Val, const char *Name)
 
LLVMValueRef LLVMBuildIsNotNull (LLVMBuilderRef, LLVMValueRef Val, const char *Name)
 
LLVMValueRef LLVMBuildPtrDiff (LLVMBuilderRef, 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)
 
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 
)

Definition at line 3063 of file Core.cpp.

References llvm::unwrap().

◆ LLVMAddClause()

void LLVMAddClause ( LLVMValueRef  LandingPad,
LLVMValueRef  ClauseVal 
)

Definition at line 3080 of file Core.cpp.

References llvm::unwrap().

◆ LLVMAddDestination()

void LLVMAddDestination ( LLVMValueRef  IndirectBr,
LLVMBasicBlockRef  Dest 
)

Definition at line 3068 of file Core.cpp.

References llvm::unwrap().

◆ LLVMAddHandler()

void LLVMAddHandler ( LLVMValueRef  CatchSwitch,
LLVMBasicBlockRef  Dest 
)

Definition at line 3093 of file Core.cpp.

References llvm::unwrap().

◆ LLVMBuildAdd()

LLVMValueRef LLVMBuildAdd ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char Name 
)

Definition at line 3129 of file Core.cpp.

References CreateAdd(), llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildAddrSpaceCast()

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

Definition at line 3567 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildAggregateRet()

LLVMValueRef LLVMBuildAggregateRet ( LLVMBuilderRef  ,
LLVMValueRef RetVals,
unsigned  N 
)

Definition at line 2954 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildAlloca()

LLVMValueRef LLVMBuildAlloca ( LLVMBuilderRef  ,
LLVMTypeRef  Ty,
const char Name 
)

Definition at line 3336 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildAnd()

LLVMValueRef LLVMBuildAnd ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char Name 
)

Definition at line 3244 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildArrayAlloca()

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

Definition at line 3341 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildArrayMalloc()

LLVMValueRef LLVMBuildArrayMalloc ( LLVMBuilderRef  ,
LLVMTypeRef  Ty,
LLVMValueRef  Val,
const char Name 
)

◆ LLVMBuildAShr()

LLVMValueRef LLVMBuildAShr ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char Name 
)

Definition at line 3239 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ 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 
)

Definition at line 3259 of file Core.cpp.

References map_from_llvmopcode(), llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildBitCast()

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

Definition at line 3562 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildBr()

LLVMValueRef LLVMBuildBr ( LLVMBuilderRef  ,
LLVMBasicBlockRef  Dest 
)

Definition at line 2959 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildCall()

LLVMValueRef LLVMBuildCall ( LLVMBuilderRef  ,
LLVMValueRef  Fn,
LLVMValueRef Args,
unsigned  NumArgs,
const char Name 
)

Definition at line 3641 of file Core.cpp.

References llvm::Value::getType(), llvm::makeArrayRef(), llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildCall2()

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

Definition at line 3652 of file Core.cpp.

References llvm::makeArrayRef(), llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildCast()

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

Definition at line 3590 of file Core.cpp.

References map_from_llvmopcode(), llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildCatchPad()

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

Definition at line 3012 of file Core.cpp.

References llvm::makeArrayRef(), llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildCatchRet()

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

Definition at line 3047 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ 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 
)

Definition at line 3053 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildCondBr()

LLVMValueRef LLVMBuildCondBr ( LLVMBuilderRef  ,
LLVMValueRef  If,
LLVMBasicBlockRef  Then,
LLVMBasicBlockRef  Else 
)

Definition at line 2963 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildExactSDiv()

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

Definition at line 3204 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildExactUDiv()

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

Definition at line 3194 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildExtractElement()

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

Definition at line 3672 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildExtractValue()

LLVMValueRef LLVMBuildExtractValue ( LLVMBuilderRef  ,
LLVMValueRef  AggVal,
unsigned  Index,
const char Name 
)

Definition at line 3692 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildFAdd()

LLVMValueRef LLVMBuildFAdd ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char Name 
)

Definition at line 3144 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildFCmp()

LLVMValueRef LLVMBuildFCmp ( LLVMBuilderRef  ,
LLVMRealPredicate  Op,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char Name 
)

Definition at line 3628 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildFDiv()

LLVMValueRef LLVMBuildFDiv ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char Name 
)

Definition at line 3209 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildFence()

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

◆ LLVMBuildFMul()

LLVMValueRef LLVMBuildFMul ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char Name 
)

Definition at line 3184 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildFNeg()

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

Definition at line 3280 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildFPCast()

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

Definition at line 3614 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildFPExt()

LLVMValueRef LLVMBuildFPExt ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char Name 
)

Definition at line 3547 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildFPToSI()

LLVMValueRef LLVMBuildFPToSI ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char Name 
)

Definition at line 3527 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildFPToUI()

LLVMValueRef LLVMBuildFPToUI ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char Name 
)

Definition at line 3522 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildFPTrunc()

LLVMValueRef LLVMBuildFPTrunc ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char Name 
)

Definition at line 3542 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildFree()

LLVMValueRef LLVMBuildFree ( LLVMBuilderRef  ,
LLVMValueRef  PointerVal 
)

Definition at line 3346 of file Core.cpp.

References llvm::CallInst::CreateFree(), llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildFRem()

LLVMValueRef LLVMBuildFRem ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char Name 
)

Definition at line 3224 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildFSub()

LLVMValueRef LLVMBuildFSub ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char Name 
)

Definition at line 3164 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildGEP()

LLVMValueRef LLVMBuildGEP ( LLVMBuilderRef  B,
LLVMValueRef  Pointer,
LLVMValueRef Indices,
unsigned  NumIndices,
const char Name 
)

◆ LLVMBuildGEP2()

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

Definition at line 3422 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildGlobalString()

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

Definition at line 3462 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildGlobalStringPtr()

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

Definition at line 3467 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildICmp()

LLVMValueRef LLVMBuildICmp ( LLVMBuilderRef  ,
LLVMIntPredicate  Op,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char Name 
)

Definition at line 3621 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildInBoundsGEP()

LLVMValueRef LLVMBuildInBoundsGEP ( LLVMBuilderRef  B,
LLVMValueRef  Pointer,
LLVMValueRef Indices,
unsigned  NumIndices,
const char Name 
)

◆ LLVMBuildInBoundsGEP2()

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

Definition at line 3439 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildIndirectBr()

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

Definition at line 2973 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildInsertElement()

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

Definition at line 3678 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildInsertValue()

LLVMValueRef LLVMBuildInsertValue ( LLVMBuilderRef  ,
LLVMValueRef  AggVal,
LLVMValueRef  EltVal,
unsigned  Index,
const char Name 
)

Definition at line 3697 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildIntCast()

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

Deprecated: This cast is always signed.

Use LLVMBuildIntCast2 instead.

Definition at line 3608 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildIntCast2()

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

Definition at line 3601 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildIntToPtr()

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

Definition at line 3557 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildInvoke()

LLVMValueRef LLVMBuildInvoke ( LLVMBuilderRef  ,
LLVMValueRef  Fn,
LLVMValueRef Args,
unsigned  NumArgs,
LLVMBasicBlockRef  Then,
LLVMBasicBlockRef  Catch,
const char Name 
)

Definition at line 2978 of file Core.cpp.

References llvm::Value::getType(), llvm::makeArrayRef(), llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildInvoke2()

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

Definition at line 2991 of file Core.cpp.

References llvm::makeArrayRef(), llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildIsNotNull()

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

Definition at line 3709 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildIsNull()

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

Definition at line 3704 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildLandingPad()

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

Definition at line 3000 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildLoad()

LLVMValueRef LLVMBuildLoad ( LLVMBuilderRef  ,
LLVMValueRef  PointerVal,
const char Name 
)

◆ LLVMBuildLoad2()

LLVMValueRef LLVMBuildLoad2 ( LLVMBuilderRef  ,
LLVMTypeRef  Ty,
LLVMValueRef  PointerVal,
const char Name 
)

Definition at line 3359 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildLShr()

LLVMValueRef LLVMBuildLShr ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char Name 
)

Definition at line 3234 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildMalloc()

LLVMValueRef LLVMBuildMalloc ( LLVMBuilderRef  ,
LLVMTypeRef  Ty,
const char Name 
)

◆ 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()

Definition at line 3318 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ 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()

Definition at line 3327 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ 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()

Definition at line 3312 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildMul()

LLVMValueRef LLVMBuildMul ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char Name 
)

Definition at line 3169 of file Core.cpp.

References CreateMul(), llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildNeg()

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

Definition at line 3266 of file Core.cpp.

References CreateNeg(), llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildNot()

LLVMValueRef LLVMBuildNot ( LLVMBuilderRef  ,
LLVMValueRef  V,
const char Name 
)

Definition at line 3284 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildNSWAdd()

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

Definition at line 3134 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildNSWMul()

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

Definition at line 3174 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildNSWNeg()

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

Definition at line 3270 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildNSWSub()

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

Definition at line 3154 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildNUWAdd()

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

Definition at line 3139 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildNUWMul()

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

Definition at line 3179 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildNUWNeg()

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

Definition at line 3275 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildNUWSub()

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

Definition at line 3159 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildOr()

LLVMValueRef LLVMBuildOr ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char Name 
)

Definition at line 3249 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildPhi()

LLVMValueRef LLVMBuildPhi ( LLVMBuilderRef  ,
LLVMTypeRef  Ty,
const char Name 
)

Definition at line 3637 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildPointerCast()

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

Definition at line 3596 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildPtrDiff()

LLVMValueRef LLVMBuildPtrDiff ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char Name 
)

Definition at line 3714 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildPtrToInt()

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

Definition at line 3552 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildResume()

LLVMValueRef LLVMBuildResume ( LLVMBuilderRef  B,
LLVMValueRef  Exn 
)

Definition at line 3032 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildRet()

LLVMValueRef LLVMBuildRet ( LLVMBuilderRef  ,
LLVMValueRef  V 
)

Definition at line 2950 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildRetVoid()

LLVMValueRef LLVMBuildRetVoid ( LLVMBuilderRef  )

Definition at line 2946 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildSDiv()

LLVMValueRef LLVMBuildSDiv ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char Name 
)

Definition at line 3199 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildSelect()

LLVMValueRef LLVMBuildSelect ( LLVMBuilderRef  ,
LLVMValueRef  If,
LLVMValueRef  Then,
LLVMValueRef  Else,
const char Name 
)

Definition at line 3660 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildSExt()

LLVMValueRef LLVMBuildSExt ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char Name 
)

Definition at line 3517 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildSExtOrBitCast()

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

Definition at line 3578 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildShl()

LLVMValueRef LLVMBuildShl ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char Name 
)

Definition at line 3229 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildShuffleVector()

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

Definition at line 3685 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildSIToFP()

LLVMValueRef LLVMBuildSIToFP ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char Name 
)

Definition at line 3537 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildSRem()

LLVMValueRef LLVMBuildSRem ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char Name 
)

Definition at line 3219 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildStore()

LLVMValueRef LLVMBuildStore ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMValueRef  Ptr 
)

Definition at line 3364 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildStructGEP()

LLVMValueRef LLVMBuildStructGEP ( LLVMBuilderRef  B,
LLVMValueRef  Pointer,
unsigned  Idx,
const char Name 
)

◆ LLVMBuildStructGEP2()

LLVMValueRef LLVMBuildStructGEP2 ( LLVMBuilderRef  B,
LLVMTypeRef  Ty,
LLVMValueRef  Pointer,
unsigned  Idx,
const char Name 
)

Definition at line 3455 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildSub()

LLVMValueRef LLVMBuildSub ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char Name 
)

Definition at line 3149 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildSwitch()

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

Definition at line 2968 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildTrunc()

LLVMValueRef LLVMBuildTrunc ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char Name 
)

Definition at line 3507 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildTruncOrBitCast()

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

Definition at line 3584 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildUDiv()

LLVMValueRef LLVMBuildUDiv ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char Name 
)

Definition at line 3189 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildUIToFP()

LLVMValueRef LLVMBuildUIToFP ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char Name 
)

Definition at line 3532 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildUnreachable()

LLVMValueRef LLVMBuildUnreachable ( LLVMBuilderRef  )

Definition at line 3059 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildURem()

LLVMValueRef LLVMBuildURem ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char Name 
)

Definition at line 3214 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildVAArg()

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

Definition at line 3667 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildXor()

LLVMValueRef LLVMBuildXor ( LLVMBuilderRef  ,
LLVMValueRef  LHS,
LLVMValueRef  RHS,
const char Name 
)

Definition at line 3254 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildZExt()

LLVMValueRef LLVMBuildZExt ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMTypeRef  DestTy,
const char Name 
)

Definition at line 3512 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMBuildZExtOrBitCast()

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

Definition at line 3572 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMClearInsertionPosition()

void LLVMClearInsertionPosition ( LLVMBuilderRef  Builder)

Definition at line 2908 of file Core.cpp.

References llvm::unwrap().

◆ LLVMCreateBuilder()

LLVMBuilderRef LLVMCreateBuilder ( void  )

Definition at line 2883 of file Core.cpp.

References LLVMCreateBuilderInContext(), and LLVMGetGlobalContext().

◆ LLVMCreateBuilderInContext()

LLVMBuilderRef LLVMCreateBuilderInContext ( LLVMContextRef  C)

Definition at line 2879 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

Referenced by LLVMCreateBuilder().

◆ LLVMDisposeBuilder()

void LLVMDisposeBuilder ( LLVMBuilderRef  Builder)

Definition at line 2921 of file Core.cpp.

References llvm::unwrap().

◆ LLVMGetArgOperand()

LLVMValueRef LLVMGetArgOperand ( LLVMValueRef  Funclet,
unsigned  i 
)

Definition at line 3119 of file Core.cpp.

References llvm::wrap().

◆ LLVMGetClause()

LLVMValueRef LLVMGetClause ( LLVMValueRef  LandingPad,
unsigned  Idx 
)

Definition at line 3076 of file Core.cpp.

References llvm::wrap().

◆ LLVMGetCmpXchgFailureOrdering()

LLVMAtomicOrdering LLVMGetCmpXchgFailureOrdering ( LLVMValueRef  CmpXchgInst)

Definition at line 3786 of file Core.cpp.

References mapToLLVMOrdering(), and P.

◆ LLVMGetCmpXchgSuccessOrdering()

LLVMAtomicOrdering LLVMGetCmpXchgSuccessOrdering ( LLVMValueRef  CmpXchgInst)

Definition at line 3773 of file Core.cpp.

References mapToLLVMOrdering(), and P.

◆ LLVMGetCurrentDebugLocation()

LLVMValueRef LLVMGetCurrentDebugLocation ( LLVMBuilderRef  Builder)

Definition at line 2933 of file Core.cpp.

References Context, llvm::MetadataAsValue::get(), llvm::unwrap(), and llvm::wrap().

◆ 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.

Definition at line 3101 of file Core.cpp.

References E, llvm::CatchSwitchInst::handler_begin(), llvm::CatchSwitchInst::handler_end(), I, and llvm::wrap().

◆ LLVMGetInsertBlock()

LLVMBasicBlockRef LLVMGetInsertBlock ( LLVMBuilderRef  Builder)

Definition at line 2904 of file Core.cpp.

References llvm::unwrap(), and llvm::wrap().

◆ LLVMGetNumClauses()

unsigned LLVMGetNumClauses ( LLVMValueRef  LandingPad)

Definition at line 3072 of file Core.cpp.

◆ LLVMGetNumHandlers()

unsigned LLVMGetNumHandlers ( LLVMValueRef  CatchSwitch)

Definition at line 3097 of file Core.cpp.

◆ LLVMGetOrdering()

LLVMAtomicOrdering LLVMGetOrdering ( LLVMValueRef  MemoryAccessInst)

Definition at line 3486 of file Core.cpp.

References mapToLLVMOrdering(), llvm::RISCVFenceField::O, and P.

◆ 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()

Definition at line 3108 of file Core.cpp.

References llvm::wrap().

◆ LLVMGetVolatile()

LLVMBool LLVMGetVolatile ( LLVMValueRef  MemoryAccessInst)

Definition at line 3472 of file Core.cpp.

References isVolatile(), and P.

◆ LLVMInsertIntoBuilder()

void LLVMInsertIntoBuilder ( LLVMBuilderRef  Builder,
LLVMValueRef  Instr 
)

Definition at line 2912 of file Core.cpp.

References llvm::unwrap().

◆ LLVMInsertIntoBuilderWithName()

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

Definition at line 2916 of file Core.cpp.

References llvm::unwrap().

◆ LLVMIsAtomicSingleThread()

LLVMBool LLVMIsAtomicSingleThread ( LLVMValueRef  AtomicInst)

Definition at line 3755 of file Core.cpp.

References I, P, and llvm::SyncScope::SingleThread.

◆ LLVMIsCleanup()

LLVMBool LLVMIsCleanup ( LLVMValueRef  LandingPad)

Definition at line 3085 of file Core.cpp.

◆ LLVMPositionBuilder()

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

Definition at line 2887 of file Core.cpp.

References llvm::BasicBlock::end(), I, and llvm::unwrap().

◆ LLVMPositionBuilderAtEnd()

void LLVMPositionBuilderAtEnd ( LLVMBuilderRef  Builder,
LLVMBasicBlockRef  Block 
)

Definition at line 2899 of file Core.cpp.

References llvm::unwrap().

◆ LLVMPositionBuilderBefore()

void LLVMPositionBuilderBefore ( LLVMBuilderRef  Builder,
LLVMValueRef  Instr 
)

◆ LLVMSetArgOperand()

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

Definition at line 3123 of file Core.cpp.

References llvm::unwrap().

◆ LLVMSetAtomicSingleThread()

void LLVMSetAtomicSingleThread ( LLVMValueRef  AtomicInst,
LLVMBool  SingleThread 
)

Definition at line 3764 of file Core.cpp.

References I, P, llvm::SyncScope::SingleThread, and llvm::SyncScope::System.

◆ LLVMSetCleanup()

void LLVMSetCleanup ( LLVMValueRef  LandingPad,
LLVMBool  Val 
)

Definition at line 3089 of file Core.cpp.

◆ LLVMSetCmpXchgFailureOrdering()

void LLVMSetCmpXchgFailureOrdering ( LLVMValueRef  CmpXchgInst,
LLVMAtomicOrdering  Ordering 
)

Definition at line 3791 of file Core.cpp.

References mapFromLLVMOrdering(), llvm::RISCVFenceField::O, and P.

◆ LLVMSetCmpXchgSuccessOrdering()

void LLVMSetCmpXchgSuccessOrdering ( LLVMValueRef  CmpXchgInst,
LLVMAtomicOrdering  Ordering 
)

Definition at line 3778 of file Core.cpp.

References mapFromLLVMOrdering(), llvm::RISCVFenceField::O, and P.

◆ LLVMSetCurrentDebugLocation()

void LLVMSetCurrentDebugLocation ( LLVMBuilderRef  Builder,
LLVMValueRef  L 
)

Definition at line 2927 of file Core.cpp.

References llvm::unwrap().

◆ LLVMSetInstDebugLocation()

void LLVMSetInstDebugLocation ( LLVMBuilderRef  Builder,
LLVMValueRef  Inst 
)

Definition at line 2939 of file Core.cpp.

References llvm::unwrap().

◆ LLVMSetOrdering()

void LLVMSetOrdering ( LLVMValueRef  MemoryAccessInst,
LLVMAtomicOrdering  Ordering 
)

Definition at line 3496 of file Core.cpp.

References mapFromLLVMOrdering(), llvm::RISCVFenceField::O, and P.

◆ 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()

Definition at line 3112 of file Core.cpp.

◆ LLVMSetVolatile()

void LLVMSetVolatile ( LLVMValueRef  MemoryAccessInst,
LLVMBool  IsVolatile 
)

Definition at line 3479 of file Core.cpp.

References P.