|
LLVM
10.0.0
|
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 3193 of file Core.cpp.
References llvm::unwrap().
| void LLVMAddClause | ( | LLVMValueRef | LandingPad, |
| LLVMValueRef | ClauseVal | ||
| ) |
Definition at line 3210 of file Core.cpp.
References llvm::unwrap().
| void LLVMAddDestination | ( | LLVMValueRef | IndirectBr, |
| LLVMBasicBlockRef | Dest | ||
| ) |
Definition at line 3198 of file Core.cpp.
References llvm::unwrap().
| void LLVMAddHandler | ( | LLVMValueRef | CatchSwitch, |
| LLVMBasicBlockRef | Dest | ||
| ) |
Definition at line 3223 of file Core.cpp.
References llvm::unwrap().
| LLVMValueRef LLVMBuildAdd | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3259 of file Core.cpp.
References CreateAdd(), llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildAddrSpaceCast | ( | LLVMBuilderRef | , |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name | ||
| ) |
Definition at line 3765 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildAggregateRet | ( | LLVMBuilderRef | , |
| LLVMValueRef * | RetVals, | ||
| unsigned | N | ||
| ) |
Definition at line 3084 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildAlloca | ( | LLVMBuilderRef | , |
| LLVMTypeRef | Ty, | ||
| const char * | Name | ||
| ) |
Definition at line 3467 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildAnd | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3374 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildArrayAlloca | ( | LLVMBuilderRef | , |
| LLVMTypeRef | Ty, | ||
| LLVMValueRef | Val, | ||
| const char * | Name | ||
| ) |
Definition at line 3472 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildArrayMalloc | ( | LLVMBuilderRef | , |
| LLVMTypeRef | Ty, | ||
| LLVMValueRef | Val, | ||
| const char * | Name | ||
| ) |
Definition at line 3431 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 3369 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 3932 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 3922 of file Core.cpp.
References mapFromLLVMOrdering(), mapFromLLVMRMWBinOp(), llvm::SyncScope::SingleThread, llvm::SyncScope::System, llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildBinOp | ( | LLVMBuilderRef | B, |
| LLVMOpcode | Op, | ||
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3389 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 3760 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildBr | ( | LLVMBuilderRef | , |
| LLVMBasicBlockRef | Dest | ||
| ) |
Definition at line 3089 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 3839 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 3850 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 3788 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 3142 of file Core.cpp.
References llvm::makeArrayRef(), llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildCatchRet | ( | LLVMBuilderRef | B, |
| LLVMValueRef | CatchPad, | ||
| LLVMBasicBlockRef | BB | ||
| ) |
Definition at line 3177 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 3166 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 3150 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 3183 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildCondBr | ( | LLVMBuilderRef | , |
| LLVMValueRef | If, | ||
| LLVMBasicBlockRef | Then, | ||
| LLVMBasicBlockRef | Else | ||
| ) |
Definition at line 3093 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMMetadataRef LLVMBuilderGetDefaultFPMathTag | ( | LLVMBuilderRef | Builder | ) |
Get the dafult floating-point math metadata for a given builder.
Definition at line 3070 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| 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 3062 of file Core.cpp.
References llvm::unwrap().
| LLVMValueRef LLVMBuildExactSDiv | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3334 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildExactUDiv | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3324 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildExtractElement | ( | LLVMBuilderRef | , |
| LLVMValueRef | VecVal, | ||
| LLVMValueRef | Index, | ||
| const char * | Name | ||
| ) |
Definition at line 3870 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildExtractValue | ( | LLVMBuilderRef | , |
| LLVMValueRef | AggVal, | ||
| unsigned | Index, | ||
| const char * | Name | ||
| ) |
Definition at line 3890 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildFAdd | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3274 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 3826 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildFDiv | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3339 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildFence | ( | LLVMBuilderRef | B, |
| LLVMAtomicOrdering | ordering, | ||
| LLVMBool | singleThread, | ||
| const char * | Name | ||
| ) |
Definition at line 3575 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 3314 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildFNeg | ( | LLVMBuilderRef | , |
| LLVMValueRef | V, | ||
| const char * | Name | ||
| ) |
Definition at line 3410 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildFPCast | ( | LLVMBuilderRef | , |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name | ||
| ) |
Definition at line 3812 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildFPExt | ( | LLVMBuilderRef | , |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name | ||
| ) |
Definition at line 3745 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildFPToSI | ( | LLVMBuilderRef | , |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name | ||
| ) |
Definition at line 3725 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildFPToUI | ( | LLVMBuilderRef | , |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name | ||
| ) |
Definition at line 3720 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildFPTrunc | ( | LLVMBuilderRef | , |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name | ||
| ) |
Definition at line 3740 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildFree | ( | LLVMBuilderRef | , |
| LLVMValueRef | PointerVal | ||
| ) |
Definition at line 3477 of file Core.cpp.
References llvm::CallInst::CreateFree(), llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildFreeze | ( | LLVMBuilderRef | , |
| LLVMValueRef | Val, | ||
| const char * | Name | ||
| ) |
Definition at line 3902 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildFRem | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3354 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildFSub | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3294 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 3584 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 3594 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildGlobalString | ( | LLVMBuilderRef | B, |
| const char * | Str, | ||
| const char * | Name | ||
| ) |
Definition at line 3634 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildGlobalStringPtr | ( | LLVMBuilderRef | B, |
| const char * | Str, | ||
| const char * | Name | ||
| ) |
Definition at line 3639 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 3819 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 3601 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 3611 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildIndirectBr | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Addr, | ||
| unsigned | NumDests | ||
| ) |
Definition at line 3103 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 3876 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 3895 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 3806 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 3799 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildIntToPtr | ( | LLVMBuilderRef | , |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name | ||
| ) |
Definition at line 3755 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 3108 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 3121 of file Core.cpp.
References llvm::makeArrayRef(), llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildIsNotNull | ( | LLVMBuilderRef | , |
| LLVMValueRef | Val, | ||
| const char * | Name | ||
| ) |
Definition at line 3912 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildIsNull | ( | LLVMBuilderRef | , |
| LLVMValueRef | Val, | ||
| const char * | Name | ||
| ) |
Definition at line 3907 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 3130 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildLoad | ( | LLVMBuilderRef | , |
| LLVMValueRef | PointerVal, | ||
| const char * | Name | ||
| ) |
Definition at line 3482 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 3490 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildLShr | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3364 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildMalloc | ( | LLVMBuilderRef | , |
| LLVMTypeRef | Ty, | ||
| const char * | Name | ||
| ) |
Definition at line 3420 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 3449 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 3458 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 3442 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildMul | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3299 of file Core.cpp.
References CreateMul(), llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildNeg | ( | LLVMBuilderRef | , |
| LLVMValueRef | V, | ||
| const char * | Name | ||
| ) |
Definition at line 3396 of file Core.cpp.
References CreateNeg(), llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildNot | ( | LLVMBuilderRef | , |
| LLVMValueRef | V, | ||
| const char * | Name | ||
| ) |
Definition at line 3414 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildNSWAdd | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3264 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildNSWMul | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3304 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildNSWNeg | ( | LLVMBuilderRef | B, |
| LLVMValueRef | V, | ||
| const char * | Name | ||
| ) |
Definition at line 3400 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildNSWSub | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3284 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildNUWAdd | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3269 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildNUWMul | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3309 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildNUWNeg | ( | LLVMBuilderRef | B, |
| LLVMValueRef | V, | ||
| const char * | Name | ||
| ) |
Definition at line 3405 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildNUWSub | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3289 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildOr | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3379 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildPhi | ( | LLVMBuilderRef | , |
| LLVMTypeRef | Ty, | ||
| const char * | Name | ||
| ) |
Definition at line 3835 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildPointerCast | ( | LLVMBuilderRef | , |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name | ||
| ) |
Definition at line 3794 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildPtrDiff | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3917 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildPtrToInt | ( | LLVMBuilderRef | , |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name | ||
| ) |
Definition at line 3750 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildResume | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Exn | ||
| ) |
Definition at line 3162 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildRet | ( | LLVMBuilderRef | , |
| LLVMValueRef | V | ||
| ) |
Definition at line 3080 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildRetVoid | ( | LLVMBuilderRef | ) |
Definition at line 3076 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildSDiv | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3329 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 3858 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildSExt | ( | LLVMBuilderRef | , |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name | ||
| ) |
Definition at line 3715 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildSExtOrBitCast | ( | LLVMBuilderRef | , |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name | ||
| ) |
Definition at line 3776 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildShl | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3359 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 3883 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildSIToFP | ( | LLVMBuilderRef | , |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name | ||
| ) |
Definition at line 3735 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildSRem | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3349 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildStore | ( | LLVMBuilderRef | , |
| LLVMValueRef | Val, | ||
| LLVMValueRef | Ptr | ||
| ) |
Definition at line 3495 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildStructGEP | ( | LLVMBuilderRef | B, |
| LLVMValueRef | Pointer, | ||
| unsigned | Idx, | ||
| const char * | Name | ||
| ) |
Definition at line 3619 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 3627 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildSub | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3279 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildSwitch | ( | LLVMBuilderRef | , |
| LLVMValueRef | V, | ||
| LLVMBasicBlockRef | Else, | ||
| unsigned | NumCases | ||
| ) |
Definition at line 3098 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildTrunc | ( | LLVMBuilderRef | , |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name | ||
| ) |
Definition at line 3705 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildTruncOrBitCast | ( | LLVMBuilderRef | , |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name | ||
| ) |
Definition at line 3782 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildUDiv | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3319 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildUIToFP | ( | LLVMBuilderRef | , |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name | ||
| ) |
Definition at line 3730 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildUnreachable | ( | LLVMBuilderRef | ) |
Definition at line 3189 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildURem | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3344 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildVAArg | ( | LLVMBuilderRef | , |
| LLVMValueRef | List, | ||
| LLVMTypeRef | Ty, | ||
| const char * | Name | ||
| ) |
Definition at line 3865 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildXor | ( | LLVMBuilderRef | , |
| LLVMValueRef | LHS, | ||
| LLVMValueRef | RHS, | ||
| const char * | Name | ||
| ) |
Definition at line 3384 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildZExt | ( | LLVMBuilderRef | , |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name | ||
| ) |
Definition at line 3710 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| LLVMValueRef LLVMBuildZExtOrBitCast | ( | LLVMBuilderRef | , |
| LLVMValueRef | Val, | ||
| LLVMTypeRef | DestTy, | ||
| const char * | Name | ||
| ) |
Definition at line 3770 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
| void LLVMClearInsertionPosition | ( | LLVMBuilderRef | Builder | ) |
Definition at line 3016 of file Core.cpp.
References llvm::unwrap().
| LLVMBuilderRef LLVMCreateBuilder | ( | void | ) |
Definition at line 2991 of file Core.cpp.
References LLVMCreateBuilderInContext(), and LLVMGetGlobalContext().
| LLVMBuilderRef LLVMCreateBuilderInContext | ( | LLVMContextRef | C | ) |
Definition at line 2987 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
Referenced by LLVMCreateBuilder().
| void LLVMDisposeBuilder | ( | LLVMBuilderRef | Builder | ) |
Definition at line 3029 of file Core.cpp.
References llvm::unwrap().
| LLVMValueRef LLVMGetArgOperand | ( | LLVMValueRef | Funclet, |
| unsigned | i | ||
| ) |
Definition at line 3249 of file Core.cpp.
References llvm::wrap().
| LLVMAtomicRMWBinOp LLVMGetAtomicRMWBinOp | ( | LLVMValueRef | AtomicRMWInst | ) |
Definition at line 3695 of file Core.cpp.
References mapToLLVMRMWBinOp().
| LLVMValueRef LLVMGetClause | ( | LLVMValueRef | LandingPad, |
| unsigned | Idx | ||
| ) |
Definition at line 3206 of file Core.cpp.
References llvm::wrap().
| LLVMAtomicOrdering LLVMGetCmpXchgFailureOrdering | ( | LLVMValueRef | CmpXchgInst | ) |
Definition at line 3976 of file Core.cpp.
References mapToLLVMOrdering(), and P.
| LLVMAtomicOrdering LLVMGetCmpXchgSuccessOrdering | ( | LLVMValueRef | CmpXchgInst | ) |
Definition at line 3963 of file Core.cpp.
References mapToLLVMOrdering(), and P.
| LLVMValueRef LLVMGetCurrentDebugLocation | ( | LLVMBuilderRef | Builder | ) |
Deprecated: Returning the NULL location will crash.
Use LLVMGetCurrentDebugLocation2 instead.
Definition at line 3052 of file Core.cpp.
References Context, llvm::MetadataAsValue::get(), llvm::unwrap(), and llvm::wrap().
| LLVMMetadataRef LLVMGetCurrentDebugLocation2 | ( | LLVMBuilderRef | Builder | ) |
Get location information used by debugging information.
Definition at line 3035 of file Core.cpp.
References 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 3231 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 3012 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 3674 of file Core.cpp.
References mapToLLVMOrdering(), llvm::RISCVFenceField::O, P, and SI.
| LLVMValueRef LLVMGetParentCatchSwitch | ( | LLVMValueRef | CatchPad | ) |
Get the parent catchswitch instruction of a catchpad instruction.
This only works on llvm::CatchPadInst instructions.
Definition at line 3238 of file Core.cpp.
References llvm::wrap().
| LLVMBool LLVMGetVolatile | ( | LLVMValueRef | MemoryAccessInst | ) |
Definition at line 3644 of file Core.cpp.
References isVolatile(), P, and SI.
| LLVMBool LLVMGetWeak | ( | LLVMValueRef | CmpXchgInst | ) |
| void LLVMInsertIntoBuilder | ( | LLVMBuilderRef | Builder, |
| LLVMValueRef | Instr | ||
| ) |
Definition at line 3020 of file Core.cpp.
References llvm::unwrap().
| void LLVMInsertIntoBuilderWithName | ( | LLVMBuilderRef | Builder, |
| LLVMValueRef | Instr, | ||
| const char * | Name | ||
| ) |
Definition at line 3024 of file Core.cpp.
References llvm::unwrap().
| LLVMBool LLVMIsAtomicSingleThread | ( | LLVMValueRef | AtomicInst | ) |
Definition at line 3945 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 2995 of file Core.cpp.
References llvm::BasicBlock::end(), I, and llvm::unwrap().
| void LLVMPositionBuilderAtEnd | ( | LLVMBuilderRef | Builder, |
| LLVMBasicBlockRef | Block | ||
| ) |
Definition at line 3007 of file Core.cpp.
References llvm::unwrap().
| void LLVMPositionBuilderBefore | ( | LLVMBuilderRef | Builder, |
| LLVMValueRef | Instr | ||
| ) |
Definition at line 3002 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 3253 of file Core.cpp.
References llvm::unwrap().
| void LLVMSetAtomicRMWBinOp | ( | LLVMValueRef | AtomicRMWInst, |
| LLVMAtomicRMWBinOp | BinOp | ||
| ) |
Definition at line 3699 of file Core.cpp.
References mapFromLLVMRMWBinOp().
| void LLVMSetAtomicSingleThread | ( | LLVMValueRef | AtomicInst, |
| LLVMBool | SingleThread | ||
| ) |
Definition at line 3954 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 3981 of file Core.cpp.
References mapFromLLVMOrdering(), llvm::RISCVFenceField::O, and P.
| void LLVMSetCmpXchgSuccessOrdering | ( | LLVMValueRef | CmpXchgInst, |
| LLVMAtomicOrdering | Ordering | ||
| ) |
Definition at line 3968 of file Core.cpp.
References mapFromLLVMOrdering(), llvm::RISCVFenceField::O, and P.
| void LLVMSetCurrentDebugLocation | ( | LLVMBuilderRef | Builder, |
| LLVMValueRef | L | ||
| ) |
Deprecated: Passing the NULL location will crash.
Use LLVMGetCurrentDebugLocation2 instead.
Definition at line 3046 of file Core.cpp.
References llvm::unwrap().
| 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 3039 of file Core.cpp.
References llvm::unwrap().
| 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 3058 of file Core.cpp.
References llvm::unwrap().
| void LLVMSetOrdering | ( | LLVMValueRef | MemoryAccessInst, |
| LLVMAtomicOrdering | Ordering | ||
| ) |
Definition at line 3686 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 | ||
| ) |
| void LLVMSetWeak | ( | LLVMValueRef | CmpXchgInst, |
| LLVMBool | IsWeak | ||
| ) |
1.8.13