|
LLVM 22.0.0git
|
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.
| LLVM_C_ABI LLVM_ATTRIBUTE_C_DEPRECATED | ( | LLVMValueRef | LLVMBuildNUWNegLLVMBuilderRef B, LLVMValueRef V, const char *Name, |
| "Use LLVMBuildNeg + LLVMSetNUW instead." | ) |
References B(), F, LHS, LLVM_C_ABI, LLVM_C_EXTERN_C_END, op, RHS, SingleThread, and Size.
| LLVM_C_ABI void LLVMAddCase | ( | LLVMValueRef | Switch, |
| LLVMValueRef | OnVal, | ||
| LLVMBasicBlockRef | Dest ) |
Definition at line 3581 of file Core.cpp.
References llvm::unwrap().
| LLVM_C_ABI void LLVMAddClause | ( | LLVMValueRef | LandingPad, |
| LLVMValueRef | ClauseVal ) |
Definition at line 3598 of file Core.cpp.
References llvm::unwrap().
| LLVM_C_ABI void LLVMAddDestination | ( | LLVMValueRef | IndirectBr, |
| LLVMBasicBlockRef | Dest ) |
Definition at line 3586 of file Core.cpp.
References llvm::unwrap().
| LLVM_C_ABI void LLVMAddHandler | ( | LLVMValueRef | CatchSwitch, |
| LLVMBasicBlockRef | Dest ) |
Definition at line 3610 of file Core.cpp.
References llvm::unwrap().
| LLVM_C_ABI void LLVMAddMetadataToInst | ( | LLVMBuilderRef | Builder, |
| LLVMValueRef | Inst ) |
Adds the metadata registered with the given builder to the given instruction.
Definition at line 3424 of file Core.cpp.
References llvm::unwrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildAdd | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3678 of file Core.cpp.
References B(), CreateAdd(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildAddrSpaceCast | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name ) |
Definition at line 4254 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildAggregateRet | ( | LLVMBuilderRef | B, |
| LLVMValueRef * | RetVals, | ||
| unsigned | N ) |
Definition at line 3454 of file Core.cpp.
References B(), N, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildAlloca | ( | LLVMBuilderRef | B, |
| LLVMTypeRef | Ty, | ||
| const char * | Name ) |
Definition at line 3951 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildAnd | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3793 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildArrayAlloca | ( | LLVMBuilderRef | B, |
| LLVMTypeRef | Ty, | ||
| LLVMValueRef | Val, | ||
| const char * | Name ) |
Definition at line 3956 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildArrayMalloc | ( | LLVMBuilderRef | B, |
| LLVMTypeRef | Ty, | ||
| LLVMValueRef | Val, | ||
| const char * | Name ) |
Definition at line 3917 of file Core.cpp.
References B(), llvm::Type::getInt32Ty(), llvm::ConstantExpr::getSizeOf(), llvm::ConstantExpr::getTruncOrBitCast(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildAShr | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3788 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildAtomicCmpXchg | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Ptr, | ||
| LLVMValueRef | Cmp, | ||
| LLVMValueRef | New, | ||
| LLVMAtomicOrdering | SuccessOrdering, | ||
| LLVMAtomicOrdering | FailureOrdering, | ||
| LLVMBool | SingleThread ) |
Definition at line 4445 of file Core.cpp.
References B(), mapFromLLVMOrdering(), llvm::SyncScope::SingleThread, llvm::SyncScope::System, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildAtomicCmpXchgSyncScope | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Ptr, | ||
| LLVMValueRef | Cmp, | ||
| LLVMValueRef | New, | ||
| LLVMAtomicOrdering | SuccessOrdering, | ||
| LLVMAtomicOrdering | FailureOrdering, | ||
| unsigned | SSID ) |
Definition at line 4458 of file Core.cpp.
References B(), mapFromLLVMOrdering(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildAtomicRMW | ( | LLVMBuilderRef | B, |
| LLVMAtomicRMWBinOp | op, | ||
| LLVMValueRef | PTR, | ||
| LLVMValueRef | Val, | ||
| LLVMAtomicOrdering | ordering, | ||
| LLVMBool | singleThread ) |
Definition at line 4423 of file Core.cpp.
References B(), mapFromLLVMOrdering(), mapFromLLVMRMWBinOp(), op, llvm::SyncScope::SingleThread, llvm::SyncScope::System, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildAtomicRMWSyncScope | ( | LLVMBuilderRef | B, |
| LLVMAtomicRMWBinOp | op, | ||
| LLVMValueRef | PTR, | ||
| LLVMValueRef | Val, | ||
| LLVMAtomicOrdering | ordering, | ||
| unsigned | SSID ) |
Definition at line 4434 of file Core.cpp.
References B(), mapFromLLVMOrdering(), mapFromLLVMRMWBinOp(), op, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildBinOp | ( | LLVMBuilderRef | B, |
| LLVMOpcode | Op, | ||
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3808 of file Core.cpp.
References B(), LHS, map_from_llvmopcode(), RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildBitCast | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name ) |
Definition at line 4249 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildBr | ( | LLVMBuilderRef | B, |
| LLVMBasicBlockRef | Dest ) |
Definition at line 3459 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildCall2 | ( | LLVMBuilderRef | B, |
| LLVMTypeRef | Ty, | ||
| LLVMValueRef | Fn, | ||
| LLVMValueRef * | Args, | ||
| unsigned | NumArgs, | ||
| const char * | Name ) |
Definition at line 4334 of file Core.cpp.
References llvm::ArrayRef(), B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildCallBr | ( | LLVMBuilderRef | B, |
| LLVMTypeRef | Ty, | ||
| LLVMValueRef | Fn, | ||
| LLVMBasicBlockRef | DefaultDest, | ||
| LLVMBasicBlockRef * | IndirectDests, | ||
| unsigned | NumIndirectDests, | ||
| LLVMValueRef * | Args, | ||
| unsigned | NumArgs, | ||
| LLVMOperandBundleRef * | Bundles, | ||
| unsigned | NumBundles, | ||
| const char * | Name ) |
Definition at line 3478 of file Core.cpp.
References llvm::ArrayRef(), B(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildCallWithOperandBundles | ( | LLVMBuilderRef | B, |
| LLVMTypeRef | Ty, | ||
| LLVMValueRef | Fn, | ||
| LLVMValueRef * | Args, | ||
| unsigned | NumArgs, | ||
| LLVMOperandBundleRef * | Bundles, | ||
| unsigned | NumBundles, | ||
| const char * | Name ) |
Definition at line 4343 of file Core.cpp.
References llvm::ArrayRef(), B(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildCast | ( | LLVMBuilderRef | B, |
| LLVMOpcode | Op, | ||
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name ) |
Definition at line 4277 of file Core.cpp.
References B(), map_from_llvmopcode(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildCatchPad | ( | LLVMBuilderRef | B, |
| LLVMValueRef | ParentPad, | ||
| LLVMValueRef * | Args, | ||
| unsigned | NumArgs, | ||
| const char * | Name ) |
Definition at line 3532 of file Core.cpp.
References llvm::ArrayRef(), B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildCatchRet | ( | LLVMBuilderRef | B, |
| LLVMValueRef | CatchPad, | ||
| LLVMBasicBlockRef | BB ) |
Definition at line 3565 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildCatchSwitch | ( | LLVMBuilderRef | B, |
| LLVMValueRef | ParentPad, | ||
| LLVMBasicBlockRef | UnwindBB, | ||
| unsigned | NumHandlers, | ||
| const char * | Name ) |
Definition at line 3554 of file Core.cpp.
References B(), llvm::Constant::getNullValue(), llvm::Type::getTokenTy(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildCleanupPad | ( | LLVMBuilderRef | B, |
| LLVMValueRef | ParentPad, | ||
| LLVMValueRef * | Args, | ||
| unsigned | NumArgs, | ||
| const char * | Name ) |
Definition at line 3539 of file Core.cpp.
References llvm::ArrayRef(), B(), llvm::Constant::getNullValue(), llvm::Type::getTokenTy(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildCleanupRet | ( | LLVMBuilderRef | B, |
| LLVMValueRef | CatchPad, | ||
| LLVMBasicBlockRef | BB ) |
Definition at line 3571 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildCondBr | ( | LLVMBuilderRef | B, |
| LLVMValueRef | If, | ||
| LLVMBasicBlockRef | Then, | ||
| LLVMBasicBlockRef | Else ) |
Definition at line 3463 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMMetadataRef LLVMBuilderGetDefaultFPMathTag | ( | LLVMBuilderRef | Builder | ) |
Get the dafult floating-point math metadata for a given builder.
Definition at line 3440 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI void LLVMBuilderSetDefaultFPMathTag | ( | LLVMBuilderRef | Builder, |
| LLVMMetadataRef | FPMathTag ) |
Set the default floating-point math metadata for the given builder.
To clear the metadata, pass NULL to FPMathTag.
Definition at line 3428 of file Core.cpp.
References llvm::unwrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildExactSDiv | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3753 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildExactUDiv | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3743 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildExtractElement | ( | LLVMBuilderRef | B, |
| LLVMValueRef | VecVal, | ||
| LLVMValueRef | Index, | ||
| const char * | Name ) |
Definition at line 4369 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildExtractValue | ( | LLVMBuilderRef | B, |
| LLVMValueRef | AggVal, | ||
| unsigned | Index, | ||
| const char * | Name ) |
Definition at line 4389 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildFAdd | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3693 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildFCmp | ( | LLVMBuilderRef | B, |
| LLVMRealPredicate | Op, | ||
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 4321 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildFDiv | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3758 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildFence | ( | LLVMBuilderRef | B, |
| LLVMAtomicOrdering | ordering, | ||
| LLVMBool | singleThread, | ||
| const char * | Name ) |
Definition at line 4076 of file Core.cpp.
References B(), mapFromLLVMOrdering(), llvm::SyncScope::SingleThread, llvm::SyncScope::System, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildFenceSyncScope | ( | LLVMBuilderRef | B, |
| LLVMAtomicOrdering | ordering, | ||
| unsigned | SSID, | ||
| const char * | Name ) |
Definition at line 4085 of file Core.cpp.
References B(), mapFromLLVMOrdering(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildFMul | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3733 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildFNeg | ( | LLVMBuilderRef | B, |
| LLVMValueRef | V, | ||
| const char * | Name ) |
Definition at line 3832 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildFPCast | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name ) |
Definition at line 4301 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildFPExt | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name ) |
Definition at line 4234 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildFPToSI | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name ) |
Definition at line 4214 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildFPToUI | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name ) |
Definition at line 4209 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildFPTrunc | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name ) |
Definition at line 4229 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildFree | ( | LLVMBuilderRef | B, |
| LLVMValueRef | PointerVal ) |
Definition at line 3961 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildFreeze | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| const char * | Name ) |
Definition at line 4401 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildFRem | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3773 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildFSub | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3713 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildGEP2 | ( | LLVMBuilderRef | B, |
| LLVMTypeRef | Ty, | ||
| LLVMValueRef | Pointer, | ||
| LLVMValueRef * | Indices, | ||
| unsigned | NumIndices, | ||
| const char * | Name ) |
Definition at line 4092 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildGEPWithNoWrapFlags | ( | LLVMBuilderRef | B, |
| LLVMTypeRef | Ty, | ||
| LLVMValueRef | Pointer, | ||
| LLVMValueRef * | Indices, | ||
| unsigned | NumIndices, | ||
| const char * | Name, | ||
| LLVMGEPNoWrapFlags | NoWrapFlags ) |
Creates a GetElementPtr instruction.
Similar to LLVMBuildGEP2, but allows specifying the no-wrap flags.
Definition at line 4107 of file Core.cpp.
References B(), mapFromLLVMGEPNoWrapFlags(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildGlobalString | ( | LLVMBuilderRef | B, |
| const char * | Str, | ||
| const char * | Name ) |
Definition at line 4124 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildGlobalStringPtr | ( | LLVMBuilderRef | B, |
| const char * | Str, | ||
| const char * | Name ) |
Deprecated: Use LLVMBuildGlobalString instead, which has identical behavior.
Definition at line 4129 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildICmp | ( | LLVMBuilderRef | B, |
| LLVMIntPredicate | Op, | ||
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 4314 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildInBoundsGEP2 | ( | LLVMBuilderRef | B, |
| LLVMTypeRef | Ty, | ||
| LLVMValueRef | Pointer, | ||
| LLVMValueRef * | Indices, | ||
| unsigned | NumIndices, | ||
| const char * | Name ) |
Definition at line 4099 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildIndirectBr | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Addr, | ||
| unsigned | NumDests ) |
Definition at line 3473 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildInsertElement | ( | LLVMBuilderRef | B, |
| LLVMValueRef | VecVal, | ||
| LLVMValueRef | EltVal, | ||
| LLVMValueRef | Index, | ||
| const char * | Name ) |
Definition at line 4375 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildInsertValue | ( | LLVMBuilderRef | B, |
| LLVMValueRef | AggVal, | ||
| LLVMValueRef | EltVal, | ||
| unsigned | Index, | ||
| const char * | Name ) |
Definition at line 4394 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildIntCast | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name ) |
Deprecated: This cast is always signed.
Use LLVMBuildIntCast2 instead.
Definition at line 4295 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildIntCast2 | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| LLVMBool | IsSigned, | ||
| const char * | Name ) |
Definition at line 4288 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildIntToPtr | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name ) |
Definition at line 4244 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildInvoke2 | ( | LLVMBuilderRef | B, |
| LLVMTypeRef | Ty, | ||
| LLVMValueRef | Fn, | ||
| LLVMValueRef * | Args, | ||
| unsigned | NumArgs, | ||
| LLVMBasicBlockRef | Then, | ||
| LLVMBasicBlockRef | Catch, | ||
| const char * | Name ) |
Definition at line 3497 of file Core.cpp.
References llvm::ArrayRef(), B(), llvm::Catch, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildInvokeWithOperandBundles | ( | LLVMBuilderRef | B, |
| LLVMTypeRef | Ty, | ||
| LLVMValueRef | Fn, | ||
| LLVMValueRef * | Args, | ||
| unsigned | NumArgs, | ||
| LLVMBasicBlockRef | Then, | ||
| LLVMBasicBlockRef | Catch, | ||
| LLVMOperandBundleRef * | Bundles, | ||
| unsigned | NumBundles, | ||
| const char * | Name ) |
Definition at line 3506 of file Core.cpp.
References llvm::ArrayRef(), B(), llvm::Catch, llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildIsNotNull | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| const char * | Name ) |
Definition at line 4411 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildIsNull | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| const char * | Name ) |
Definition at line 4406 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildLandingPad | ( | LLVMBuilderRef | B, |
| LLVMTypeRef | Ty, | ||
| LLVMValueRef | PersFn, | ||
| unsigned | NumClauses, | ||
| const char * | Name ) |
Definition at line 3520 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildLoad2 | ( | LLVMBuilderRef | B, |
| LLVMTypeRef | Ty, | ||
| LLVMValueRef | PointerVal, | ||
| const char * | Name ) |
Definition at line 3965 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildLShr | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3783 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildMalloc | ( | LLVMBuilderRef | B, |
| LLVMTypeRef | Ty, | ||
| const char * | Name ) |
Definition at line 3908 of file Core.cpp.
References B(), llvm::Type::getInt32Ty(), llvm::ConstantExpr::getSizeOf(), llvm::ConstantExpr::getTruncOrBitCast(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI 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 3933 of file Core.cpp.
References B(), Size, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI 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 3942 of file Core.cpp.
References B(), Size, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI 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 3926 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildMul | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3718 of file Core.cpp.
References B(), CreateMul(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildNeg | ( | LLVMBuilderRef | B, |
| LLVMValueRef | V, | ||
| const char * | Name ) |
Definition at line 3815 of file Core.cpp.
References B(), CreateNeg(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildNot | ( | LLVMBuilderRef | B, |
| LLVMValueRef | V, | ||
| const char * | Name ) |
Definition at line 3836 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildNSWAdd | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3683 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildNSWMul | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3723 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildNSWNeg | ( | LLVMBuilderRef | B, |
| LLVMValueRef | V, | ||
| const char * | Name ) |
Definition at line 3819 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildNSWSub | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3703 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildNUWAdd | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3688 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildNUWMul | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3728 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildNUWSub | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3708 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildOr | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3798 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildPhi | ( | LLVMBuilderRef | B, |
| LLVMTypeRef | Ty, | ||
| const char * | Name ) |
Definition at line 4330 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildPointerCast | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name ) |
Definition at line 4283 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildPtrDiff2 | ( | LLVMBuilderRef | B, |
| LLVMTypeRef | ElemTy, | ||
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 4416 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildPtrToInt | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name ) |
Definition at line 4239 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildResume | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Exn ) |
Definition at line 3550 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildRet | ( | LLVMBuilderRef | B, |
| LLVMValueRef | V ) |
Definition at line 3450 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildRetVoid | ( | LLVMBuilderRef | B | ) |
Definition at line 3446 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildSDiv | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3748 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildSelect | ( | LLVMBuilderRef | B, |
| LLVMValueRef | If, | ||
| LLVMValueRef | Then, | ||
| LLVMValueRef | Else, | ||
| const char * | Name ) |
Definition at line 4357 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildSExt | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name ) |
Definition at line 4204 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildSExtOrBitCast | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name ) |
Definition at line 4265 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildShl | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3778 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildShuffleVector | ( | LLVMBuilderRef | B, |
| LLVMValueRef | V1, | ||
| LLVMValueRef | V2, | ||
| LLVMValueRef | Mask, | ||
| const char * | Name ) |
Definition at line 4382 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildSIToFP | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name ) |
Definition at line 4224 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildSRem | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3768 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildStore | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| LLVMValueRef | Ptr ) |
Definition at line 3970 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildStructGEP2 | ( | LLVMBuilderRef | B, |
| LLVMTypeRef | Ty, | ||
| LLVMValueRef | Pointer, | ||
| unsigned | Idx, | ||
| const char * | Name ) |
Definition at line 4117 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildSub | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3698 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildSwitch | ( | LLVMBuilderRef | B, |
| LLVMValueRef | V, | ||
| LLVMBasicBlockRef | Else, | ||
| unsigned | NumCases ) |
Definition at line 3468 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildTrunc | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name ) |
Definition at line 4194 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildTruncOrBitCast | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name ) |
Definition at line 4271 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildUDiv | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3738 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildUIToFP | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name ) |
Definition at line 4219 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildUnreachable | ( | LLVMBuilderRef | B | ) |
Definition at line 3577 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildURem | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3763 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildVAArg | ( | LLVMBuilderRef | B, |
| LLVMValueRef | List, | ||
| LLVMTypeRef | Ty, | ||
| const char * | Name ) |
Definition at line 4364 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildXor | ( | LLVMBuilderRef | B, |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name ) |
Definition at line 3803 of file Core.cpp.
References B(), LHS, RHS, llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildZExt | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name ) |
Definition at line 4199 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMValueRef LLVMBuildZExtOrBitCast | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name ) |
Definition at line 4259 of file Core.cpp.
References B(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMBool LLVMCanValueUseFastMathFlags | ( | LLVMValueRef | Inst | ) |
Check if a given value can potentially have fast math flags.
Will return true for floating point arithmetic instructions, and for select, phi, and call instructions whose type is a floating point type, or a vector or array thereof. See https://llvm.org/docs/LangRef.html#fast-math-flags
Definition at line 3891 of file Core.cpp.
References llvm::isa(), and llvm::unwrap().
| LLVM_C_ABI void LLVMClearInsertionPosition | ( | LLVMBuilderRef | Builder | ) |
Definition at line 3378 of file Core.cpp.
References llvm::unwrap().
| LLVM_C_ABI LLVMBuilderRef LLVMCreateBuilder | ( | void | ) |
Definition at line 3334 of file Core.cpp.
References LLVMCreateBuilderInContext(), and LLVMGetGlobalContext().
| LLVM_C_ABI LLVMBuilderRef LLVMCreateBuilderInContext | ( | LLVMContextRef | C | ) |
Definition at line 3330 of file Core.cpp.
References llvm::CallingConv::C, llvm::unwrap(), and llvm::wrap().
Referenced by LLVMCreateBuilder().
| LLVM_C_ABI void LLVMDisposeBuilder | ( | LLVMBuilderRef | Builder | ) |
Definition at line 3391 of file Core.cpp.
References llvm::unwrap().
| LLVM_C_ABI LLVMValueRef LLVMGetArgOperand | ( | LLVMValueRef | Funclet, |
| unsigned | i ) |
Definition at line 3635 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMAtomicRMWBinOp LLVMGetAtomicRMWBinOp | ( | LLVMValueRef | AtomicRMWInst | ) |
Definition at line 4184 of file Core.cpp.
References mapToLLVMRMWBinOp(), and llvm::unwrap().
| LLVM_C_ABI unsigned LLVMGetAtomicSyncScopeID | ( | LLVMValueRef | AtomicInst | ) |
Returns the synchronization scope ID of an atomic instruction.
Definition at line 4506 of file Core.cpp.
References assert(), llvm::getAtomicSyncScopeID(), I, and llvm::unwrap().
| LLVM_C_ABI LLVMContextRef LLVMGetBuilderContext | ( | LLVMBuilderRef | Builder | ) |
Obtain the context to which this builder is associated.
Definition at line 3436 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMOpcode LLVMGetCastOpcode | ( | LLVMValueRef | Src, |
| LLVMBool | SrcIsSigned, | ||
| LLVMTypeRef | DestTy, | ||
| LLVMBool | DestIsSigned ) |
Definition at line 4306 of file Core.cpp.
References llvm::CastInst::getCastOpcode(), map_to_llvmopcode(), and llvm::unwrap().
| LLVM_C_ABI LLVMValueRef LLVMGetClause | ( | LLVMValueRef | LandingPad, |
| unsigned | Idx ) |
Definition at line 3594 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMAtomicOrdering LLVMGetCmpXchgFailureOrdering | ( | LLVMValueRef | CmpXchgInst | ) |
Definition at line 4531 of file Core.cpp.
References llvm::cast(), mapToLLVMOrdering(), P, and llvm::unwrap().
| LLVM_C_ABI LLVMAtomicOrdering LLVMGetCmpXchgSuccessOrdering | ( | LLVMValueRef | CmpXchgInst | ) |
Definition at line 4518 of file Core.cpp.
References llvm::cast(), mapToLLVMOrdering(), P, and llvm::unwrap().
| LLVM_C_ABI LLVMValueRef LLVMGetCurrentDebugLocation | ( | LLVMBuilderRef | Builder | ) |
Deprecated: Returning the NULL location will crash.
Use LLVMGetCurrentDebugLocation2 instead.
Definition at line 3414 of file Core.cpp.
References llvm::MetadataAsValue::get(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMMetadataRef LLVMGetCurrentDebugLocation2 | ( | LLVMBuilderRef | Builder | ) |
Get location information used by debugging information.
Definition at line 3397 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMBool LLVMGetExact | ( | LLVMValueRef | DivOrShrInst | ) |
Definition at line 3860 of file Core.cpp.
References llvm::cast(), P, and llvm::unwrap().
| LLVM_C_ABI LLVMFastMathFlags LLVMGetFastMathFlags | ( | LLVMValueRef | FPMathInst | ) |
Get the flags for which fast-math-style optimizations are allowed for this value.
Only valid on floating point instructions.
Definition at line 3880 of file Core.cpp.
References llvm::cast(), mapToLLVMFastMathFlags(), P, and llvm::unwrap().
| LLVM_C_ABI 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 3618 of file Core.cpp.
References H, llvm::CatchSwitchInst::handlers(), llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMBasicBlockRef LLVMGetInsertBlock | ( | LLVMBuilderRef | Builder | ) |
Definition at line 3374 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI LLVMBool LLVMGetIsDisjoint | ( | LLVMValueRef | Inst | ) |
Gets whether the instruction has the disjoint flag set.
Only valid for or instructions.
Definition at line 3896 of file Core.cpp.
References llvm::cast(), P, and llvm::unwrap().
| LLVM_C_ABI int LLVMGetMaskValue | ( | LLVMValueRef | ShuffleVectorInst, |
| unsigned | Elt ) |
Get the mask value at position Elt in the mask of a ShuffleVector instruction.
\Returns the result of LLVMGetUndefMaskElem() if the mask value is poison at that position.
Definition at line 4475 of file Core.cpp.
References llvm::cast(), I, P, and llvm::unwrap().
| LLVM_C_ABI LLVMBool LLVMGetNNeg | ( | LLVMValueRef | NonNegInst | ) |
Gets if the instruction has the non-negative flag set.
Only valid for zext instructions.
Definition at line 3870 of file Core.cpp.
References llvm::cast(), P, and llvm::unwrap().
| LLVM_C_ABI LLVMBool LLVMGetNSW | ( | LLVMValueRef | ArithInst | ) |
Definition at line 3850 of file Core.cpp.
References llvm::cast(), P, and llvm::unwrap().
| LLVM_C_ABI unsigned LLVMGetNumClauses | ( | LLVMValueRef | LandingPad | ) |
Definition at line 3590 of file Core.cpp.
References llvm::unwrap().
| LLVM_C_ABI unsigned LLVMGetNumHandlers | ( | LLVMValueRef | CatchSwitch | ) |
Definition at line 3614 of file Core.cpp.
References llvm::unwrap().
| LLVM_C_ABI unsigned LLVMGetNumMaskElements | ( | LLVMValueRef | ShuffleVectorInst | ) |
Get the number of elements in the mask of a ShuffleVector instruction.
Definition at line 4469 of file Core.cpp.
References llvm::cast(), I, P, and llvm::unwrap().
| LLVM_C_ABI LLVMBool LLVMGetNUW | ( | LLVMValueRef | ArithInst | ) |
Definition at line 3840 of file Core.cpp.
References llvm::cast(), P, and llvm::unwrap().
| LLVM_C_ABI LLVMAtomicOrdering LLVMGetOrdering | ( | LLVMValueRef | MemoryAccessInst | ) |
Definition at line 4157 of file Core.cpp.
References llvm::cast(), llvm::dyn_cast(), mapToLLVMOrdering(), P, and llvm::unwrap().
| LLVM_C_ABI LLVMValueRef LLVMGetParentCatchSwitch | ( | LLVMValueRef | CatchPad | ) |
Get the parent catchswitch instruction of a catchpad instruction.
This only works on llvm::CatchPadInst instructions.
Definition at line 3624 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVM_C_ABI int LLVMGetUndefMaskElem | ( | void | ) |
ShuffleVectorInst is undefined. Definition at line 4481 of file Core.cpp.
References llvm::PoisonMaskElem.
| LLVM_C_ABI LLVMBool LLVMGetVolatile | ( | LLVMValueRef | Inst | ) |
Definition at line 4134 of file Core.cpp.
References llvm::cast(), and llvm::unwrap().
| LLVM_C_ABI LLVMBool LLVMGetWeak | ( | LLVMValueRef | CmpXchgInst | ) |
Definition at line 4149 of file Core.cpp.
References llvm::unwrap().
| LLVM_C_ABI void LLVMInsertIntoBuilder | ( | LLVMBuilderRef | Builder, |
| LLVMValueRef | Instr ) |
Definition at line 3382 of file Core.cpp.
References llvm::unwrap().
| LLVM_C_ABI void LLVMInsertIntoBuilderWithName | ( | LLVMBuilderRef | Builder, |
| LLVMValueRef | Instr, | ||
| const char * | Name ) |
Definition at line 3386 of file Core.cpp.
References llvm::unwrap().
| LLVM_C_ABI LLVMBool LLVMIsAtomic | ( | LLVMValueRef | Inst | ) |
Returns whether an instruction is an atomic instruction, e.g., atomicrmw, cmpxchg, fence, or loads and stores with atomic ordering.
Definition at line 4483 of file Core.cpp.
References llvm::unwrap().
| LLVM_C_ABI LLVMBool LLVMIsAtomicSingleThread | ( | LLVMValueRef | AtomicInst | ) |
Definition at line 4487 of file Core.cpp.
References llvm::getAtomicSyncScopeID(), I, llvm::SyncScope::SingleThread, and llvm::unwrap().
| LLVM_C_ABI LLVMBool LLVMIsCleanup | ( | LLVMValueRef | LandingPad | ) |
Definition at line 3602 of file Core.cpp.
References llvm::unwrap().
| LLVM_C_ABI void LLVMPositionBuilder | ( | LLVMBuilderRef | Builder, |
| LLVMBasicBlockRef | Block, | ||
| LLVMValueRef | Instr ) |
Set the builder position before Instr but after any attached debug records, or if Instr is null set the position to the end of Block.
Definition at line 3345 of file Core.cpp.
References llvm::Block, LLVMPositionBuilderImpl(), and llvm::unwrap().
| LLVM_C_ABI void LLVMPositionBuilderAtEnd | ( | LLVMBuilderRef | Builder, |
| LLVMBasicBlockRef | Block ) |
Definition at line 3369 of file Core.cpp.
References llvm::Block, and llvm::unwrap().
| LLVM_C_ABI void LLVMPositionBuilderBefore | ( | LLVMBuilderRef | Builder, |
| LLVMValueRef | Instr ) |
Set the builder position before Instr but after any attached debug records.
Definition at line 3358 of file Core.cpp.
References I, LLVMPositionBuilderImpl(), and llvm::unwrap().
| LLVM_C_ABI void LLVMPositionBuilderBeforeDbgRecords | ( | LLVMBuilderRef | Builder, |
| LLVMBasicBlockRef | Block, | ||
| LLVMValueRef | Inst ) |
Set the builder position before Instr and any attached debug records, or if Instr is null set the position to the end of Block.
Definition at line 3351 of file Core.cpp.
References llvm::Block, LLVMPositionBuilderImpl(), and llvm::unwrap().
| LLVM_C_ABI void LLVMPositionBuilderBeforeInstrAndDbgRecords | ( | LLVMBuilderRef | Builder, |
| LLVMValueRef | Instr ) |
Set the builder position before Instr and any attached debug records.
Definition at line 3363 of file Core.cpp.
References I, LLVMPositionBuilderImpl(), and llvm::unwrap().
| LLVM_C_ABI void LLVMSetArgOperand | ( | LLVMValueRef | Funclet, |
| unsigned | i, | ||
| LLVMValueRef | value ) |
Definition at line 3639 of file Core.cpp.
References llvm::unwrap().
| LLVM_C_ABI void LLVMSetAtomicRMWBinOp | ( | LLVMValueRef | AtomicRMWInst, |
| LLVMAtomicRMWBinOp | BinOp ) |
Definition at line 4188 of file Core.cpp.
References mapFromLLVMRMWBinOp(), and llvm::unwrap().
| LLVM_C_ABI void LLVMSetAtomicSingleThread | ( | LLVMValueRef | AtomicInst, |
| LLVMBool | SingleThread ) |
Definition at line 4496 of file Core.cpp.
References I, llvm::setAtomicSyncScopeID(), llvm::SyncScope::SingleThread, llvm::SyncScope::System, and llvm::unwrap().
| LLVM_C_ABI void LLVMSetAtomicSyncScopeID | ( | LLVMValueRef | AtomicInst, |
| unsigned | SSID ) |
Sets the synchronization scope ID of an atomic instruction.
Definition at line 4512 of file Core.cpp.
References assert(), I, llvm::setAtomicSyncScopeID(), and llvm::unwrap().
| LLVM_C_ABI void LLVMSetCleanup | ( | LLVMValueRef | LandingPad, |
| LLVMBool | Val ) |
Definition at line 3606 of file Core.cpp.
References llvm::unwrap().
| LLVM_C_ABI void LLVMSetCmpXchgFailureOrdering | ( | LLVMValueRef | CmpXchgInst, |
| LLVMAtomicOrdering | Ordering ) |
Definition at line 4536 of file Core.cpp.
References llvm::cast(), mapFromLLVMOrdering(), P, and llvm::unwrap().
| LLVM_C_ABI void LLVMSetCmpXchgSuccessOrdering | ( | LLVMValueRef | CmpXchgInst, |
| LLVMAtomicOrdering | Ordering ) |
Definition at line 4523 of file Core.cpp.
References llvm::cast(), mapFromLLVMOrdering(), P, and llvm::unwrap().
| LLVM_C_ABI void LLVMSetCurrentDebugLocation | ( | LLVMBuilderRef | Builder, |
| LLVMValueRef | L ) |
Deprecated: Passing the NULL location will crash.
Use LLVMGetCurrentDebugLocation2 instead.
Definition at line 3408 of file Core.cpp.
References llvm::cast(), llvm::dwarf_linker::DebugLoc, and llvm::unwrap().
| LLVM_C_ABI void LLVMSetCurrentDebugLocation2 | ( | LLVMBuilderRef | Builder, |
| LLVMMetadataRef | Loc ) |
Set location information used by debugging information.
To clear the location metadata of the given instruction, pass NULL to Loc.
Definition at line 3401 of file Core.cpp.
References llvm::dwarf_linker::DebugLoc, and llvm::unwrap().
| LLVM_C_ABI void LLVMSetExact | ( | LLVMValueRef | DivOrShrInst, |
| LLVMBool | IsExact ) |
Definition at line 3865 of file Core.cpp.
References llvm::cast(), P, and llvm::unwrap().
| LLVM_C_ABI void LLVMSetFastMathFlags | ( | LLVMValueRef | FPMathInst, |
| LLVMFastMathFlags | FMF ) |
Sets the flags for which fast-math-style optimizations are allowed for this value.
Only valid on floating point instructions.
Definition at line 3886 of file Core.cpp.
References llvm::cast(), mapFromLLVMFastMathFlags(), P, and llvm::unwrap().
| LLVM_C_ABI void LLVMSetInstDebugLocation | ( | LLVMBuilderRef | Builder, |
| LLVMValueRef | Inst ) |
Attempts to set the debug location for the given instruction using the current debug location for the given builder.
If the builder has no current debug location, this function is a no-op.
Definition at line 3420 of file Core.cpp.
References llvm::unwrap().
| LLVM_C_ABI void LLVMSetIsDisjoint | ( | LLVMValueRef | Inst, |
| LLVMBool | IsDisjoint ) |
Sets the disjoint flag for the instruction.
Only valid for or instructions.
Definition at line 3901 of file Core.cpp.
References llvm::cast(), P, and llvm::unwrap().
| LLVM_C_ABI void LLVMSetNNeg | ( | LLVMValueRef | NonNegInst, |
| LLVMBool | IsNonNeg ) |
Sets the non-negative flag for the instruction.
Only valid for zext instructions.
Definition at line 3875 of file Core.cpp.
References llvm::cast(), P, and llvm::unwrap().
| LLVM_C_ABI void LLVMSetNSW | ( | LLVMValueRef | ArithInst, |
| LLVMBool | HasNSW ) |
Definition at line 3855 of file Core.cpp.
References llvm::cast(), P, and llvm::unwrap().
| LLVM_C_ABI void LLVMSetNUW | ( | LLVMValueRef | ArithInst, |
| LLVMBool | HasNUW ) |
Definition at line 3845 of file Core.cpp.
References llvm::cast(), P, and llvm::unwrap().
| LLVM_C_ABI void LLVMSetOrdering | ( | LLVMValueRef | MemoryAccessInst, |
| LLVMAtomicOrdering | Ordering ) |
Definition at line 4171 of file Core.cpp.
References llvm::cast(), llvm::dyn_cast(), mapFromLLVMOrdering(), P, and llvm::unwrap().
| LLVM_C_ABI void LLVMSetParentCatchSwitch | ( | LLVMValueRef | CatchPad, |
| LLVMValueRef | CatchSwitch ) |
Set the parent catchswitch instruction of a catchpad instruction.
This only works on llvm::CatchPadInst instructions.
Definition at line 3628 of file Core.cpp.
References llvm::unwrap().
| LLVM_C_ABI void LLVMSetVolatile | ( | LLVMValueRef | MemoryAccessInst, |
| LLVMBool | IsVolatile ) |
Definition at line 4138 of file Core.cpp.
References llvm::cast(), llvm::dyn_cast(), P, and llvm::unwrap().
| LLVM_C_ABI void LLVMSetWeak | ( | LLVMValueRef | CmpXchgInst, |
| LLVMBool | IsWeak ) |
Definition at line 4153 of file Core.cpp.
References llvm::unwrap().