LLVM  8.0.0svn
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 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 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 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 LLVMBuildIntCast (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
LLVMValueRef LLVMBuildFPCast (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name)
 
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 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 3032 of file Core.cpp.

References llvm::unwrap().

◆ LLVMAddClause()

void LLVMAddClause ( LLVMValueRef  LandingPad,
LLVMValueRef  ClauseVal 
)

Definition at line 3049 of file Core.cpp.

References llvm::unwrap().

◆ LLVMAddDestination()

void LLVMAddDestination ( LLVMValueRef  IndirectBr,
LLVMBasicBlockRef  Dest 
)

Definition at line 3037 of file Core.cpp.

References llvm::unwrap().

◆ LLVMAddHandler()

void LLVMAddHandler ( LLVMValueRef  CatchSwitch,
LLVMBasicBlockRef  Dest 
)

Definition at line 3062 of file Core.cpp.

References llvm::unwrap().

◆ LLVMBuildAdd()

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

Definition at line 3098 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 3498 of file Core.cpp.

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

◆ LLVMBuildAggregateRet()

LLVMValueRef LLVMBuildAggregateRet ( LLVMBuilderRef  ,
LLVMValueRef RetVals,
unsigned  N 
)

Definition at line 2936 of file Core.cpp.

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

◆ LLVMBuildAlloca()

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

Definition at line 3305 of file Core.cpp.

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

◆ LLVMBuildAnd()

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

Definition at line 3213 of file Core.cpp.

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

◆ LLVMBuildArrayAlloca()

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

Definition at line 3310 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 3208 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 3228 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 3493 of file Core.cpp.

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

◆ LLVMBuildBr()

LLVMValueRef LLVMBuildBr ( LLVMBuilderRef  ,
LLVMBasicBlockRef  Dest 
)

Definition at line 2941 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 3565 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 3521 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 2981 of file Core.cpp.

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

◆ LLVMBuildCatchRet()

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

Definition at line 3016 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 3022 of file Core.cpp.

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

◆ LLVMBuildCondBr()

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

Definition at line 2945 of file Core.cpp.

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

◆ LLVMBuildExactSDiv()

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

Definition at line 3173 of file Core.cpp.

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

◆ LLVMBuildExactUDiv()

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

Definition at line 3163 of file Core.cpp.

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

◆ LLVMBuildExtractElement()

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

Definition at line 3585 of file Core.cpp.

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

◆ LLVMBuildExtractValue()

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

Definition at line 3605 of file Core.cpp.

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

◆ LLVMBuildFAdd()

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

Definition at line 3113 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 3552 of file Core.cpp.

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

◆ LLVMBuildFDiv()

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

Definition at line 3178 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 3153 of file Core.cpp.

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

◆ LLVMBuildFNeg()

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

Definition at line 3249 of file Core.cpp.

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

◆ LLVMBuildFPCast()

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

Definition at line 3538 of file Core.cpp.

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

◆ LLVMBuildFPExt()

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

Definition at line 3478 of file Core.cpp.

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

◆ LLVMBuildFPToSI()

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

Definition at line 3458 of file Core.cpp.

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

◆ LLVMBuildFPToUI()

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

Definition at line 3453 of file Core.cpp.

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

◆ LLVMBuildFPTrunc()

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

Definition at line 3473 of file Core.cpp.

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

◆ LLVMBuildFree()

LLVMValueRef LLVMBuildFree ( LLVMBuilderRef  ,
LLVMValueRef  PointerVal 
)

Definition at line 3315 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 3193 of file Core.cpp.

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

◆ LLVMBuildFSub()

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

Definition at line 3133 of file Core.cpp.

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

◆ LLVMBuildGEP()

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

Definition at line 3373 of file Core.cpp.

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

◆ LLVMBuildGlobalString()

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

Definition at line 3393 of file Core.cpp.

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

◆ LLVMBuildGlobalStringPtr()

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

Definition at line 3398 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 3545 of file Core.cpp.

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

◆ LLVMBuildInBoundsGEP()

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

Definition at line 3380 of file Core.cpp.

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

◆ LLVMBuildIndirectBr()

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

Definition at line 2955 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 3591 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 3610 of file Core.cpp.

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

◆ LLVMBuildIntCast()

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

Definition at line 3532 of file Core.cpp.

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

◆ LLVMBuildIntToPtr()

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

Definition at line 3488 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 2960 of file Core.cpp.

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

◆ LLVMBuildIsNotNull()

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

Definition at line 3622 of file Core.cpp.

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

◆ LLVMBuildIsNull()

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

Definition at line 3617 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 2969 of file Core.cpp.

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

◆ LLVMBuildLoad()

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

Definition at line 3320 of file Core.cpp.

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

◆ LLVMBuildLShr()

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

Definition at line 3203 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 3287 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 3296 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 3281 of file Core.cpp.

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

◆ LLVMBuildMul()

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

Definition at line 3138 of file Core.cpp.

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

◆ LLVMBuildNeg()

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

Definition at line 3235 of file Core.cpp.

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

◆ LLVMBuildNot()

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

Definition at line 3253 of file Core.cpp.

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

◆ LLVMBuildNSWAdd()

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

Definition at line 3103 of file Core.cpp.

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

◆ LLVMBuildNSWMul()

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

Definition at line 3143 of file Core.cpp.

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

◆ LLVMBuildNSWNeg()

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

Definition at line 3239 of file Core.cpp.

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

◆ LLVMBuildNSWSub()

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

Definition at line 3123 of file Core.cpp.

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

◆ LLVMBuildNUWAdd()

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

Definition at line 3108 of file Core.cpp.

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

◆ LLVMBuildNUWMul()

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

Definition at line 3148 of file Core.cpp.

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

◆ LLVMBuildNUWNeg()

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

Definition at line 3244 of file Core.cpp.

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

◆ LLVMBuildNUWSub()

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

Definition at line 3128 of file Core.cpp.

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

◆ LLVMBuildOr()

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

Definition at line 3218 of file Core.cpp.

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

◆ LLVMBuildPhi()

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

Definition at line 3561 of file Core.cpp.

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

◆ LLVMBuildPointerCast()

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

Definition at line 3527 of file Core.cpp.

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

◆ LLVMBuildPtrDiff()

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

Definition at line 3627 of file Core.cpp.

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

◆ LLVMBuildPtrToInt()

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

Definition at line 3483 of file Core.cpp.

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

◆ LLVMBuildResume()

LLVMValueRef LLVMBuildResume ( LLVMBuilderRef  B,
LLVMValueRef  Exn 
)

Definition at line 3001 of file Core.cpp.

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

◆ LLVMBuildRet()

LLVMValueRef LLVMBuildRet ( LLVMBuilderRef  ,
LLVMValueRef  V 
)

Definition at line 2932 of file Core.cpp.

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

◆ LLVMBuildRetVoid()

LLVMValueRef LLVMBuildRetVoid ( LLVMBuilderRef  )

Definition at line 2928 of file Core.cpp.

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

◆ LLVMBuildSDiv()

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

Definition at line 3168 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 3573 of file Core.cpp.

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

◆ LLVMBuildSExt()

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

Definition at line 3448 of file Core.cpp.

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

◆ LLVMBuildSExtOrBitCast()

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

Definition at line 3509 of file Core.cpp.

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

◆ LLVMBuildShl()

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

Definition at line 3198 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 3598 of file Core.cpp.

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

◆ LLVMBuildSIToFP()

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

Definition at line 3468 of file Core.cpp.

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

◆ LLVMBuildSRem()

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

Definition at line 3188 of file Core.cpp.

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

◆ LLVMBuildStore()

LLVMValueRef LLVMBuildStore ( LLVMBuilderRef  ,
LLVMValueRef  Val,
LLVMValueRef  Ptr 
)

Definition at line 3325 of file Core.cpp.

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

◆ LLVMBuildStructGEP()

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

Definition at line 3388 of file Core.cpp.

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

◆ LLVMBuildSub()

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

Definition at line 3118 of file Core.cpp.

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

◆ LLVMBuildSwitch()

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

Definition at line 2950 of file Core.cpp.

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

◆ LLVMBuildTrunc()

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

Definition at line 3438 of file Core.cpp.

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

◆ LLVMBuildTruncOrBitCast()

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

Definition at line 3515 of file Core.cpp.

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

◆ LLVMBuildUDiv()

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

Definition at line 3158 of file Core.cpp.

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

◆ LLVMBuildUIToFP()

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

Definition at line 3463 of file Core.cpp.

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

◆ LLVMBuildUnreachable()

LLVMValueRef LLVMBuildUnreachable ( LLVMBuilderRef  )

Definition at line 3028 of file Core.cpp.

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

◆ LLVMBuildURem()

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

Definition at line 3183 of file Core.cpp.

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

◆ LLVMBuildVAArg()

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

Definition at line 3580 of file Core.cpp.

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

◆ LLVMBuildXor()

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

Definition at line 3223 of file Core.cpp.

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

◆ LLVMBuildZExt()

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

Definition at line 3443 of file Core.cpp.

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

◆ LLVMBuildZExtOrBitCast()

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

Definition at line 3503 of file Core.cpp.

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

◆ LLVMClearInsertionPosition()

void LLVMClearInsertionPosition ( LLVMBuilderRef  Builder)

Definition at line 2890 of file Core.cpp.

References llvm::unwrap().

◆ LLVMCreateBuilder()

LLVMBuilderRef LLVMCreateBuilder ( void  )

Definition at line 2865 of file Core.cpp.

References LLVMCreateBuilderInContext(), and LLVMGetGlobalContext().

◆ LLVMCreateBuilderInContext()

LLVMBuilderRef LLVMCreateBuilderInContext ( LLVMContextRef  C)

Definition at line 2861 of file Core.cpp.

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

Referenced by LLVMCreateBuilder().

◆ LLVMDisposeBuilder()

void LLVMDisposeBuilder ( LLVMBuilderRef  Builder)

Definition at line 2903 of file Core.cpp.

References llvm::unwrap().

◆ LLVMGetArgOperand()

LLVMValueRef LLVMGetArgOperand ( LLVMValueRef  Funclet,
unsigned  i 
)

Definition at line 3088 of file Core.cpp.

References llvm::wrap().

◆ LLVMGetClause()

LLVMValueRef LLVMGetClause ( LLVMValueRef  LandingPad,
unsigned  Idx 
)

Definition at line 3045 of file Core.cpp.

References llvm::wrap().

◆ LLVMGetCmpXchgFailureOrdering()

LLVMAtomicOrdering LLVMGetCmpXchgFailureOrdering ( LLVMValueRef  CmpXchgInst)

Definition at line 3699 of file Core.cpp.

References mapToLLVMOrdering(), and P.

◆ LLVMGetCmpXchgSuccessOrdering()

LLVMAtomicOrdering LLVMGetCmpXchgSuccessOrdering ( LLVMValueRef  CmpXchgInst)

Definition at line 3686 of file Core.cpp.

References mapToLLVMOrdering(), and P.

◆ LLVMGetCurrentDebugLocation()

LLVMValueRef LLVMGetCurrentDebugLocation ( LLVMBuilderRef  Builder)

Definition at line 2915 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 3070 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 2886 of file Core.cpp.

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

◆ LLVMGetNumClauses()

unsigned LLVMGetNumClauses ( LLVMValueRef  LandingPad)

Definition at line 3041 of file Core.cpp.

◆ LLVMGetNumHandlers()

unsigned LLVMGetNumHandlers ( LLVMValueRef  CatchSwitch)

Definition at line 3066 of file Core.cpp.

◆ LLVMGetOrdering()

LLVMAtomicOrdering LLVMGetOrdering ( LLVMValueRef  MemoryAccessInst)

Definition at line 3417 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 3077 of file Core.cpp.

References llvm::wrap().

◆ LLVMGetVolatile()

LLVMBool LLVMGetVolatile ( LLVMValueRef  MemoryAccessInst)

Definition at line 3403 of file Core.cpp.

References isVolatile(), and P.

◆ LLVMInsertIntoBuilder()

void LLVMInsertIntoBuilder ( LLVMBuilderRef  Builder,
LLVMValueRef  Instr 
)

Definition at line 2894 of file Core.cpp.

References llvm::unwrap().

◆ LLVMInsertIntoBuilderWithName()

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

Definition at line 2898 of file Core.cpp.

References llvm::unwrap().

◆ LLVMIsAtomicSingleThread()

LLVMBool LLVMIsAtomicSingleThread ( LLVMValueRef  AtomicInst)

Definition at line 3668 of file Core.cpp.

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

◆ LLVMIsCleanup()

LLVMBool LLVMIsCleanup ( LLVMValueRef  LandingPad)

Definition at line 3054 of file Core.cpp.

◆ LLVMPositionBuilder()

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

Definition at line 2869 of file Core.cpp.

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

◆ LLVMPositionBuilderAtEnd()

void LLVMPositionBuilderAtEnd ( LLVMBuilderRef  Builder,
LLVMBasicBlockRef  Block 
)

Definition at line 2881 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 3092 of file Core.cpp.

References llvm::unwrap().

◆ LLVMSetAtomicSingleThread()

void LLVMSetAtomicSingleThread ( LLVMValueRef  AtomicInst,
LLVMBool  SingleThread 
)

Definition at line 3677 of file Core.cpp.

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

◆ LLVMSetCleanup()

void LLVMSetCleanup ( LLVMValueRef  LandingPad,
LLVMBool  Val 
)

Definition at line 3058 of file Core.cpp.

◆ LLVMSetCmpXchgFailureOrdering()

void LLVMSetCmpXchgFailureOrdering ( LLVMValueRef  CmpXchgInst,
LLVMAtomicOrdering  Ordering 
)

Definition at line 3704 of file Core.cpp.

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

◆ LLVMSetCmpXchgSuccessOrdering()

void LLVMSetCmpXchgSuccessOrdering ( LLVMValueRef  CmpXchgInst,
LLVMAtomicOrdering  Ordering 
)

Definition at line 3691 of file Core.cpp.

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

◆ LLVMSetCurrentDebugLocation()

void LLVMSetCurrentDebugLocation ( LLVMBuilderRef  Builder,
LLVMValueRef  L 
)

Definition at line 2909 of file Core.cpp.

References llvm::unwrap().

◆ LLVMSetInstDebugLocation()

void LLVMSetInstDebugLocation ( LLVMBuilderRef  Builder,
LLVMValueRef  Inst 
)

Definition at line 2921 of file Core.cpp.

References llvm::unwrap().

◆ LLVMSetOrdering()

void LLVMSetOrdering ( LLVMValueRef  MemoryAccessInst,
LLVMAtomicOrdering  Ordering 
)

Definition at line 3427 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 3081 of file Core.cpp.

◆ LLVMSetVolatile()

void LLVMSetVolatile ( LLVMValueRef  MemoryAccessInst,
LLVMBool  IsVolatile 
)

Definition at line 3410 of file Core.cpp.

References P.