LLVM
8.0.1
|
An instruction builder represents a point within a basic block and is the exclusive means of building instructions using the C interface. More...
An instruction builder represents a point within a basic block and is the exclusive means of building instructions using the C interface.
void LLVMAddCase | ( | LLVMValueRef | Switch, |
LLVMValueRef | OnVal, | ||
LLVMBasicBlockRef | Dest | ||
) |
Definition at line 3063 of file Core.cpp.
References llvm::unwrap().
void LLVMAddClause | ( | LLVMValueRef | LandingPad, |
LLVMValueRef | ClauseVal | ||
) |
Definition at line 3080 of file Core.cpp.
References llvm::unwrap().
void LLVMAddDestination | ( | LLVMValueRef | IndirectBr, |
LLVMBasicBlockRef | Dest | ||
) |
Definition at line 3068 of file Core.cpp.
References llvm::unwrap().
void LLVMAddHandler | ( | LLVMValueRef | CatchSwitch, |
LLVMBasicBlockRef | Dest | ||
) |
Definition at line 3093 of file Core.cpp.
References llvm::unwrap().
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().
LLVMValueRef LLVMBuildAddrSpaceCast | ( | LLVMBuilderRef | , |
LLVMValueRef | Val, | ||
LLVMTypeRef | DestTy, | ||
const char * | Name | ||
) |
Definition at line 3567 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildAggregateRet | ( | LLVMBuilderRef | , |
LLVMValueRef * | RetVals, | ||
unsigned | N | ||
) |
Definition at line 2954 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildAlloca | ( | LLVMBuilderRef | , |
LLVMTypeRef | Ty, | ||
const char * | Name | ||
) |
Definition at line 3336 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildAnd | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3244 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildArrayAlloca | ( | LLVMBuilderRef | , |
LLVMTypeRef | Ty, | ||
LLVMValueRef | Val, | ||
const char * | Name | ||
) |
Definition at line 3341 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildArrayMalloc | ( | LLVMBuilderRef | , |
LLVMTypeRef | Ty, | ||
LLVMValueRef | Val, | ||
const char * | Name | ||
) |
Definition at line 3301 of file Core.cpp.
References llvm::CallInst::CreateMalloc(), llvm::Type::getInt32Ty(), llvm::ConstantExpr::getSizeOf(), llvm::ConstantExpr::getTruncOrBitCast(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildAShr | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3239 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildAtomicCmpXchg | ( | LLVMBuilderRef | B, |
LLVMValueRef | Ptr, | ||
LLVMValueRef | Cmp, | ||
LLVMValueRef | New, | ||
LLVMAtomicOrdering | SuccessOrdering, | ||
LLVMAtomicOrdering | FailureOrdering, | ||
LLVMBool | SingleThread | ||
) |
Definition at line 3742 of file Core.cpp.
References mapFromLLVMOrdering(), llvm::SyncScope::SingleThread, llvm::SyncScope::System, llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildAtomicRMW | ( | LLVMBuilderRef | B, |
LLVMAtomicRMWBinOp | op, | ||
LLVMValueRef | PTR, | ||
LLVMValueRef | Val, | ||
LLVMAtomicOrdering | ordering, | ||
LLVMBool | singleThread | ||
) |
Definition at line 3719 of file Core.cpp.
References llvm::AtomicRMWInst::Add, llvm::AtomicRMWInst::And, LLVMAtomicRMWBinOpAdd, LLVMAtomicRMWBinOpAnd, LLVMAtomicRMWBinOpMax, LLVMAtomicRMWBinOpMin, LLVMAtomicRMWBinOpNand, LLVMAtomicRMWBinOpOr, LLVMAtomicRMWBinOpSub, LLVMAtomicRMWBinOpUMax, LLVMAtomicRMWBinOpUMin, LLVMAtomicRMWBinOpXchg, LLVMAtomicRMWBinOpXor, mapFromLLVMOrdering(), llvm::AtomicRMWInst::Max, llvm::AtomicRMWInst::Min, llvm::AtomicRMWInst::Nand, llvm::AtomicRMWInst::Or, llvm::SyncScope::SingleThread, llvm::AtomicRMWInst::Sub, llvm::SyncScope::System, llvm::AtomicRMWInst::UMax, llvm::AtomicRMWInst::UMin, llvm::unwrap(), llvm::wrap(), llvm::AtomicRMWInst::Xchg, and llvm::AtomicRMWInst::Xor.
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().
LLVMValueRef LLVMBuildBitCast | ( | LLVMBuilderRef | , |
LLVMValueRef | Val, | ||
LLVMTypeRef | DestTy, | ||
const char * | Name | ||
) |
Definition at line 3562 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildBr | ( | LLVMBuilderRef | , |
LLVMBasicBlockRef | Dest | ||
) |
Definition at line 2959 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
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().
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().
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().
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().
LLVMValueRef LLVMBuildCatchRet | ( | LLVMBuilderRef | B, |
LLVMValueRef | CatchPad, | ||
LLVMBasicBlockRef | BB | ||
) |
Definition at line 3047 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildCatchSwitch | ( | LLVMBuilderRef | B, |
LLVMValueRef | ParentPad, | ||
LLVMBasicBlockRef | UnwindBB, | ||
unsigned | NumHandlers, | ||
const char * | Name | ||
) |
Definition at line 3036 of file Core.cpp.
References llvm::Constant::getNullValue(), llvm::Type::getTokenTy(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildCleanupPad | ( | LLVMBuilderRef | B, |
LLVMValueRef | ParentPad, | ||
LLVMValueRef * | Args, | ||
unsigned | NumArgs, | ||
const char * | Name | ||
) |
Definition at line 3020 of file Core.cpp.
References llvm::Constant::getNullValue(), llvm::Type::getTokenTy(), llvm::makeArrayRef(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildCleanupRet | ( | LLVMBuilderRef | B, |
LLVMValueRef | CatchPad, | ||
LLVMBasicBlockRef | BB | ||
) |
Definition at line 3053 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildCondBr | ( | LLVMBuilderRef | , |
LLVMValueRef | If, | ||
LLVMBasicBlockRef | Then, | ||
LLVMBasicBlockRef | Else | ||
) |
Definition at line 2963 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildExactSDiv | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3204 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildExactUDiv | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3194 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildExtractElement | ( | LLVMBuilderRef | , |
LLVMValueRef | VecVal, | ||
LLVMValueRef | Index, | ||
const char * | Name | ||
) |
Definition at line 3672 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildExtractValue | ( | LLVMBuilderRef | , |
LLVMValueRef | AggVal, | ||
unsigned | Index, | ||
const char * | Name | ||
) |
Definition at line 3692 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildFAdd | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3144 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
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().
LLVMValueRef LLVMBuildFDiv | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3209 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildFence | ( | LLVMBuilderRef | B, |
LLVMAtomicOrdering | ordering, | ||
LLVMBool | singleThread, | ||
const char * | Name | ||
) |
Definition at line 3403 of file Core.cpp.
References mapFromLLVMOrdering(), llvm::SyncScope::SingleThread, llvm::SyncScope::System, llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildFMul | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3184 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildFNeg | ( | LLVMBuilderRef | , |
LLVMValueRef | V, | ||
const char * | Name | ||
) |
Definition at line 3280 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildFPCast | ( | LLVMBuilderRef | , |
LLVMValueRef | Val, | ||
LLVMTypeRef | DestTy, | ||
const char * | Name | ||
) |
Definition at line 3614 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildFPExt | ( | LLVMBuilderRef | , |
LLVMValueRef | Val, | ||
LLVMTypeRef | DestTy, | ||
const char * | Name | ||
) |
Definition at line 3547 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildFPToSI | ( | LLVMBuilderRef | , |
LLVMValueRef | Val, | ||
LLVMTypeRef | DestTy, | ||
const char * | Name | ||
) |
Definition at line 3527 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildFPToUI | ( | LLVMBuilderRef | , |
LLVMValueRef | Val, | ||
LLVMTypeRef | DestTy, | ||
const char * | Name | ||
) |
Definition at line 3522 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildFPTrunc | ( | LLVMBuilderRef | , |
LLVMValueRef | Val, | ||
LLVMTypeRef | DestTy, | ||
const char * | Name | ||
) |
Definition at line 3542 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildFree | ( | LLVMBuilderRef | , |
LLVMValueRef | PointerVal | ||
) |
Definition at line 3346 of file Core.cpp.
References llvm::CallInst::CreateFree(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildFRem | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3224 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildFSub | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3164 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildGEP | ( | LLVMBuilderRef | B, |
LLVMValueRef | Pointer, | ||
LLVMValueRef * | Indices, | ||
unsigned | NumIndices, | ||
const char * | Name | ||
) |
Definition at line 3412 of file Core.cpp.
References llvm::Type::getScalarType(), llvm::Value::getType(), llvm::unwrap(), and llvm::wrap().
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().
LLVMValueRef LLVMBuildGlobalString | ( | LLVMBuilderRef | B, |
const char * | Str, | ||
const char * | Name | ||
) |
Definition at line 3462 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildGlobalStringPtr | ( | LLVMBuilderRef | B, |
const char * | Str, | ||
const char * | Name | ||
) |
Definition at line 3467 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
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().
LLVMValueRef LLVMBuildInBoundsGEP | ( | LLVMBuilderRef | B, |
LLVMValueRef | Pointer, | ||
LLVMValueRef * | Indices, | ||
unsigned | NumIndices, | ||
const char * | Name | ||
) |
Definition at line 3429 of file Core.cpp.
References llvm::Type::getScalarType(), llvm::Value::getType(), llvm::unwrap(), and llvm::wrap().
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().
LLVMValueRef LLVMBuildIndirectBr | ( | LLVMBuilderRef | B, |
LLVMValueRef | Addr, | ||
unsigned | NumDests | ||
) |
Definition at line 2973 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
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().
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().
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().
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().
LLVMValueRef LLVMBuildIntToPtr | ( | LLVMBuilderRef | , |
LLVMValueRef | Val, | ||
LLVMTypeRef | DestTy, | ||
const char * | Name | ||
) |
Definition at line 3557 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
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().
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().
LLVMValueRef LLVMBuildIsNotNull | ( | LLVMBuilderRef | , |
LLVMValueRef | Val, | ||
const char * | Name | ||
) |
Definition at line 3709 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildIsNull | ( | LLVMBuilderRef | , |
LLVMValueRef | Val, | ||
const char * | Name | ||
) |
Definition at line 3704 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
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().
LLVMValueRef LLVMBuildLoad | ( | LLVMBuilderRef | , |
LLVMValueRef | PointerVal, | ||
const char * | Name | ||
) |
Definition at line 3351 of file Core.cpp.
References llvm::PointerType::getElementType(), llvm::Value::getType(), Name, llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildLoad2 | ( | LLVMBuilderRef | , |
LLVMTypeRef | Ty, | ||
LLVMValueRef | PointerVal, | ||
const char * | Name | ||
) |
Definition at line 3359 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildLShr | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3234 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildMalloc | ( | LLVMBuilderRef | , |
LLVMTypeRef | Ty, | ||
const char * | Name | ||
) |
Definition at line 3290 of file Core.cpp.
References llvm::CallInst::CreateMalloc(), llvm::Type::getInt32Ty(), llvm::ConstantExpr::getSizeOf(), llvm::ConstantExpr::getTruncOrBitCast(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildMemCpy | ( | LLVMBuilderRef | B, |
LLVMValueRef | Dst, | ||
unsigned | DstAlign, | ||
LLVMValueRef | Src, | ||
unsigned | SrcAlign, | ||
LLVMValueRef | Size | ||
) |
Creates and inserts a memcpy between the specified pointers.
Definition at line 3318 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildMemMove | ( | LLVMBuilderRef | B, |
LLVMValueRef | Dst, | ||
unsigned | DstAlign, | ||
LLVMValueRef | Src, | ||
unsigned | SrcAlign, | ||
LLVMValueRef | Size | ||
) |
Creates and inserts a memmove between the specified pointers.
Definition at line 3327 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
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.
Definition at line 3312 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
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().
LLVMValueRef LLVMBuildNeg | ( | LLVMBuilderRef | , |
LLVMValueRef | V, | ||
const char * | Name | ||
) |
Definition at line 3266 of file Core.cpp.
References CreateNeg(), llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildNot | ( | LLVMBuilderRef | , |
LLVMValueRef | V, | ||
const char * | Name | ||
) |
Definition at line 3284 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildNSWAdd | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3134 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildNSWMul | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3174 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildNSWNeg | ( | LLVMBuilderRef | B, |
LLVMValueRef | V, | ||
const char * | Name | ||
) |
Definition at line 3270 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildNSWSub | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3154 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildNUWAdd | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3139 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildNUWMul | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3179 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildNUWNeg | ( | LLVMBuilderRef | B, |
LLVMValueRef | V, | ||
const char * | Name | ||
) |
Definition at line 3275 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildNUWSub | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3159 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildOr | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3249 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildPhi | ( | LLVMBuilderRef | , |
LLVMTypeRef | Ty, | ||
const char * | Name | ||
) |
Definition at line 3637 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildPointerCast | ( | LLVMBuilderRef | , |
LLVMValueRef | Val, | ||
LLVMTypeRef | DestTy, | ||
const char * | Name | ||
) |
Definition at line 3596 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildPtrDiff | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3714 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildPtrToInt | ( | LLVMBuilderRef | , |
LLVMValueRef | Val, | ||
LLVMTypeRef | DestTy, | ||
const char * | Name | ||
) |
Definition at line 3552 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildResume | ( | LLVMBuilderRef | B, |
LLVMValueRef | Exn | ||
) |
Definition at line 3032 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildRet | ( | LLVMBuilderRef | , |
LLVMValueRef | V | ||
) |
Definition at line 2950 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildRetVoid | ( | LLVMBuilderRef | ) |
Definition at line 2946 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildSDiv | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3199 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
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().
LLVMValueRef LLVMBuildSExt | ( | LLVMBuilderRef | , |
LLVMValueRef | Val, | ||
LLVMTypeRef | DestTy, | ||
const char * | Name | ||
) |
Definition at line 3517 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildSExtOrBitCast | ( | LLVMBuilderRef | , |
LLVMValueRef | Val, | ||
LLVMTypeRef | DestTy, | ||
const char * | Name | ||
) |
Definition at line 3578 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildShl | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3229 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
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().
LLVMValueRef LLVMBuildSIToFP | ( | LLVMBuilderRef | , |
LLVMValueRef | Val, | ||
LLVMTypeRef | DestTy, | ||
const char * | Name | ||
) |
Definition at line 3537 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildSRem | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3219 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildStore | ( | LLVMBuilderRef | , |
LLVMValueRef | Val, | ||
LLVMValueRef | Ptr | ||
) |
Definition at line 3364 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildStructGEP | ( | LLVMBuilderRef | B, |
LLVMValueRef | Pointer, | ||
unsigned | Idx, | ||
const char * | Name | ||
) |
Definition at line 3447 of file Core.cpp.
References llvm::Type::getScalarType(), llvm::Value::getType(), llvm::unwrap(), and llvm::wrap().
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().
LLVMValueRef LLVMBuildSub | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3149 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildSwitch | ( | LLVMBuilderRef | , |
LLVMValueRef | V, | ||
LLVMBasicBlockRef | Else, | ||
unsigned | NumCases | ||
) |
Definition at line 2968 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildTrunc | ( | LLVMBuilderRef | , |
LLVMValueRef | Val, | ||
LLVMTypeRef | DestTy, | ||
const char * | Name | ||
) |
Definition at line 3507 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildTruncOrBitCast | ( | LLVMBuilderRef | , |
LLVMValueRef | Val, | ||
LLVMTypeRef | DestTy, | ||
const char * | Name | ||
) |
Definition at line 3584 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildUDiv | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3189 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildUIToFP | ( | LLVMBuilderRef | , |
LLVMValueRef | Val, | ||
LLVMTypeRef | DestTy, | ||
const char * | Name | ||
) |
Definition at line 3532 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildUnreachable | ( | LLVMBuilderRef | ) |
Definition at line 3059 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildURem | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3214 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildVAArg | ( | LLVMBuilderRef | , |
LLVMValueRef | List, | ||
LLVMTypeRef | Ty, | ||
const char * | Name | ||
) |
Definition at line 3667 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildXor | ( | LLVMBuilderRef | , |
LLVMValueRef | LHS, | ||
LLVMValueRef | RHS, | ||
const char * | Name | ||
) |
Definition at line 3254 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildZExt | ( | LLVMBuilderRef | , |
LLVMValueRef | Val, | ||
LLVMTypeRef | DestTy, | ||
const char * | Name | ||
) |
Definition at line 3512 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMValueRef LLVMBuildZExtOrBitCast | ( | LLVMBuilderRef | , |
LLVMValueRef | Val, | ||
LLVMTypeRef | DestTy, | ||
const char * | Name | ||
) |
Definition at line 3572 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
void LLVMClearInsertionPosition | ( | LLVMBuilderRef | Builder | ) |
Definition at line 2908 of file Core.cpp.
References llvm::unwrap().
LLVMBuilderRef LLVMCreateBuilder | ( | void | ) |
Definition at line 2883 of file Core.cpp.
References LLVMCreateBuilderInContext(), and LLVMGetGlobalContext().
LLVMBuilderRef LLVMCreateBuilderInContext | ( | LLVMContextRef | C | ) |
Definition at line 2879 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
Referenced by LLVMCreateBuilder().
void LLVMDisposeBuilder | ( | LLVMBuilderRef | Builder | ) |
Definition at line 2921 of file Core.cpp.
References llvm::unwrap().
LLVMValueRef LLVMGetArgOperand | ( | LLVMValueRef | Funclet, |
unsigned | i | ||
) |
Definition at line 3119 of file Core.cpp.
References llvm::wrap().
LLVMValueRef LLVMGetClause | ( | LLVMValueRef | LandingPad, |
unsigned | Idx | ||
) |
Definition at line 3076 of file Core.cpp.
References llvm::wrap().
LLVMAtomicOrdering LLVMGetCmpXchgFailureOrdering | ( | LLVMValueRef | CmpXchgInst | ) |
Definition at line 3786 of file Core.cpp.
References mapToLLVMOrdering(), and P.
LLVMAtomicOrdering LLVMGetCmpXchgSuccessOrdering | ( | LLVMValueRef | CmpXchgInst | ) |
Definition at line 3773 of file Core.cpp.
References mapToLLVMOrdering(), and P.
LLVMValueRef LLVMGetCurrentDebugLocation | ( | LLVMBuilderRef | Builder | ) |
Definition at line 2933 of file Core.cpp.
References Context, llvm::MetadataAsValue::get(), llvm::unwrap(), and llvm::wrap().
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.
CatchSwitch | The catchswitch instruction to operate on. |
Handlers | Memory 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().
LLVMBasicBlockRef LLVMGetInsertBlock | ( | LLVMBuilderRef | Builder | ) |
Definition at line 2904 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
unsigned LLVMGetNumClauses | ( | LLVMValueRef | LandingPad | ) |
unsigned LLVMGetNumHandlers | ( | LLVMValueRef | CatchSwitch | ) |
LLVMAtomicOrdering LLVMGetOrdering | ( | LLVMValueRef | MemoryAccessInst | ) |
Definition at line 3486 of file Core.cpp.
References mapToLLVMOrdering(), llvm::RISCVFenceField::O, and P.
LLVMValueRef LLVMGetParentCatchSwitch | ( | LLVMValueRef | CatchPad | ) |
Get the parent catchswitch instruction of a catchpad instruction.
This only works on llvm::CatchPadInst instructions.
Definition at line 3108 of file Core.cpp.
References llvm::wrap().
LLVMBool LLVMGetVolatile | ( | LLVMValueRef | MemoryAccessInst | ) |
Definition at line 3472 of file Core.cpp.
References isVolatile(), and P.
void LLVMInsertIntoBuilder | ( | LLVMBuilderRef | Builder, |
LLVMValueRef | Instr | ||
) |
Definition at line 2912 of file Core.cpp.
References llvm::unwrap().
void LLVMInsertIntoBuilderWithName | ( | LLVMBuilderRef | Builder, |
LLVMValueRef | Instr, | ||
const char * | Name | ||
) |
Definition at line 2916 of file Core.cpp.
References llvm::unwrap().
LLVMBool LLVMIsAtomicSingleThread | ( | LLVMValueRef | AtomicInst | ) |
Definition at line 3755 of file Core.cpp.
References I, P, and llvm::SyncScope::SingleThread.
LLVMBool LLVMIsCleanup | ( | LLVMValueRef | LandingPad | ) |
void LLVMPositionBuilder | ( | LLVMBuilderRef | Builder, |
LLVMBasicBlockRef | Block, | ||
LLVMValueRef | Instr | ||
) |
Definition at line 2887 of file Core.cpp.
References llvm::BasicBlock::end(), I, and llvm::unwrap().
void LLVMPositionBuilderAtEnd | ( | LLVMBuilderRef | Builder, |
LLVMBasicBlockRef | Block | ||
) |
Definition at line 2899 of file Core.cpp.
References llvm::unwrap().
void LLVMPositionBuilderBefore | ( | LLVMBuilderRef | Builder, |
LLVMValueRef | Instr | ||
) |
Definition at line 2894 of file Core.cpp.
References llvm::ilist_node_impl< OptionsT >::getIterator(), llvm::Instruction::getParent(), I, and llvm::unwrap().
void LLVMSetArgOperand | ( | LLVMValueRef | Funclet, |
unsigned | i, | ||
LLVMValueRef | value | ||
) |
Definition at line 3123 of file Core.cpp.
References llvm::unwrap().
void LLVMSetAtomicSingleThread | ( | LLVMValueRef | AtomicInst, |
LLVMBool | SingleThread | ||
) |
Definition at line 3764 of file Core.cpp.
References I, P, llvm::SyncScope::SingleThread, and llvm::SyncScope::System.
void LLVMSetCleanup | ( | LLVMValueRef | LandingPad, |
LLVMBool | Val | ||
) |
void LLVMSetCmpXchgFailureOrdering | ( | LLVMValueRef | CmpXchgInst, |
LLVMAtomicOrdering | Ordering | ||
) |
Definition at line 3791 of file Core.cpp.
References mapFromLLVMOrdering(), llvm::RISCVFenceField::O, and P.
void LLVMSetCmpXchgSuccessOrdering | ( | LLVMValueRef | CmpXchgInst, |
LLVMAtomicOrdering | Ordering | ||
) |
Definition at line 3778 of file Core.cpp.
References mapFromLLVMOrdering(), llvm::RISCVFenceField::O, and P.
void LLVMSetCurrentDebugLocation | ( | LLVMBuilderRef | Builder, |
LLVMValueRef | L | ||
) |
Definition at line 2927 of file Core.cpp.
References llvm::unwrap().
void LLVMSetInstDebugLocation | ( | LLVMBuilderRef | Builder, |
LLVMValueRef | Inst | ||
) |
Definition at line 2939 of file Core.cpp.
References llvm::unwrap().
void LLVMSetOrdering | ( | LLVMValueRef | MemoryAccessInst, |
LLVMAtomicOrdering | Ordering | ||
) |
Definition at line 3496 of file Core.cpp.
References mapFromLLVMOrdering(), llvm::RISCVFenceField::O, and P.
void LLVMSetParentCatchSwitch | ( | LLVMValueRef | CatchPad, |
LLVMValueRef | CatchSwitch | ||
) |
Set the parent catchswitch instruction of a catchpad instruction.
This only works on llvm::CatchPadInst instructions.
void LLVMSetVolatile | ( | LLVMValueRef | MemoryAccessInst, |
LLVMBool | IsVolatile | ||
) |