An instruction builder represents a point within a basic block and is the exclusive means of building instructions using the C interface.
More...
|
LLVMBuilderRef | LLVMCreateBuilderInContext (LLVMContextRef C) |
|
LLVMBuilderRef | LLVMCreateBuilder (void) |
|
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.
|
|
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.
|
|
void | LLVMPositionBuilderBefore (LLVMBuilderRef Builder, LLVMValueRef Instr) |
| Set the builder position before Instr but after any attached debug records.
|
|
void | LLVMPositionBuilderBeforeInstrAndDbgRecords (LLVMBuilderRef Builder, LLVMValueRef Instr) |
| Set the builder position before Instr and any attached debug records.
|
|
void | LLVMPositionBuilderAtEnd (LLVMBuilderRef Builder, LLVMBasicBlockRef Block) |
|
LLVMBasicBlockRef | LLVMGetInsertBlock (LLVMBuilderRef Builder) |
|
void | LLVMClearInsertionPosition (LLVMBuilderRef Builder) |
|
void | LLVMInsertIntoBuilder (LLVMBuilderRef Builder, LLVMValueRef Instr) |
|
void | LLVMInsertIntoBuilderWithName (LLVMBuilderRef Builder, LLVMValueRef Instr, const char *Name) |
|
void | LLVMDisposeBuilder (LLVMBuilderRef Builder) |
|
LLVMMetadataRef | LLVMGetCurrentDebugLocation2 (LLVMBuilderRef Builder) |
| Get location information used by debugging information.
|
|
void | LLVMSetCurrentDebugLocation2 (LLVMBuilderRef Builder, LLVMMetadataRef Loc) |
| Set location information used by debugging information.
|
|
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.
|
|
void | LLVMAddMetadataToInst (LLVMBuilderRef Builder, LLVMValueRef Inst) |
| Adds the metadata registered with the given builder to the given instruction.
|
|
LLVMMetadataRef | LLVMBuilderGetDefaultFPMathTag (LLVMBuilderRef Builder) |
| Get the dafult floating-point math metadata for a given builder.
|
|
void | LLVMBuilderSetDefaultFPMathTag (LLVMBuilderRef Builder, LLVMMetadataRef FPMathTag) |
| Set the default floating-point math metadata for the given builder.
|
|
LLVMContextRef | LLVMGetBuilderContext (LLVMBuilderRef Builder) |
| Obtain the context to which this builder is associated.
|
|
void | LLVMSetCurrentDebugLocation (LLVMBuilderRef Builder, LLVMValueRef L) |
| Deprecated: Passing the NULL location will crash.
|
|
LLVMValueRef | LLVMGetCurrentDebugLocation (LLVMBuilderRef Builder) |
| Deprecated: Returning the NULL location will crash.
|
|
LLVMValueRef | LLVMBuildRetVoid (LLVMBuilderRef) |
|
LLVMValueRef | LLVMBuildRet (LLVMBuilderRef, LLVMValueRef V) |
|
LLVMValueRef | LLVMBuildAggregateRet (LLVMBuilderRef, LLVMValueRef *RetVals, unsigned N) |
|
LLVMValueRef | LLVMBuildBr (LLVMBuilderRef, LLVMBasicBlockRef Dest) |
|
LLVMValueRef | LLVMBuildCondBr (LLVMBuilderRef, LLVMValueRef If, LLVMBasicBlockRef Then, LLVMBasicBlockRef Else) |
|
LLVMValueRef | LLVMBuildSwitch (LLVMBuilderRef, LLVMValueRef V, LLVMBasicBlockRef Else, unsigned NumCases) |
|
LLVMValueRef | LLVMBuildIndirectBr (LLVMBuilderRef B, LLVMValueRef Addr, unsigned NumDests) |
|
LLVMValueRef | LLVMBuildCallBr (LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Fn, LLVMBasicBlockRef DefaultDest, LLVMBasicBlockRef *IndirectDests, unsigned NumIndirectDests, LLVMValueRef *Args, unsigned NumArgs, LLVMOperandBundleRef *Bundles, unsigned NumBundles, const char *Name) |
|
LLVMValueRef | LLVMBuildInvoke2 (LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, const char *Name) |
|
LLVMValueRef | LLVMBuildInvokeWithOperandBundles (LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, LLVMOperandBundleRef *Bundles, unsigned NumBundles, const char *Name) |
|
LLVMValueRef | LLVMBuildUnreachable (LLVMBuilderRef) |
|
LLVMValueRef | LLVMBuildResume (LLVMBuilderRef B, LLVMValueRef Exn) |
|
LLVMValueRef | LLVMBuildLandingPad (LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef PersFn, unsigned NumClauses, const char *Name) |
|
LLVMValueRef | LLVMBuildCleanupRet (LLVMBuilderRef B, LLVMValueRef CatchPad, LLVMBasicBlockRef BB) |
|
LLVMValueRef | LLVMBuildCatchRet (LLVMBuilderRef B, LLVMValueRef CatchPad, LLVMBasicBlockRef BB) |
|
LLVMValueRef | LLVMBuildCatchPad (LLVMBuilderRef B, LLVMValueRef ParentPad, LLVMValueRef *Args, unsigned NumArgs, const char *Name) |
|
LLVMValueRef | LLVMBuildCleanupPad (LLVMBuilderRef B, LLVMValueRef ParentPad, LLVMValueRef *Args, unsigned NumArgs, const char *Name) |
|
LLVMValueRef | LLVMBuildCatchSwitch (LLVMBuilderRef B, LLVMValueRef ParentPad, LLVMBasicBlockRef UnwindBB, unsigned NumHandlers, const char *Name) |
|
void | LLVMAddCase (LLVMValueRef Switch, LLVMValueRef OnVal, LLVMBasicBlockRef Dest) |
|
void | LLVMAddDestination (LLVMValueRef IndirectBr, LLVMBasicBlockRef Dest) |
|
unsigned | LLVMGetNumClauses (LLVMValueRef LandingPad) |
|
LLVMValueRef | LLVMGetClause (LLVMValueRef LandingPad, unsigned Idx) |
|
void | LLVMAddClause (LLVMValueRef LandingPad, LLVMValueRef ClauseVal) |
|
LLVMBool | LLVMIsCleanup (LLVMValueRef LandingPad) |
|
void | LLVMSetCleanup (LLVMValueRef LandingPad, LLVMBool Val) |
|
void | LLVMAddHandler (LLVMValueRef CatchSwitch, LLVMBasicBlockRef Dest) |
|
unsigned | LLVMGetNumHandlers (LLVMValueRef CatchSwitch) |
|
void | LLVMGetHandlers (LLVMValueRef CatchSwitch, LLVMBasicBlockRef *Handlers) |
| Obtain the basic blocks acting as handlers for a catchswitch instruction.
|
|
LLVMValueRef | LLVMGetArgOperand (LLVMValueRef Funclet, unsigned i) |
|
void | LLVMSetArgOperand (LLVMValueRef Funclet, unsigned i, LLVMValueRef value) |
|
LLVMValueRef | LLVMGetParentCatchSwitch (LLVMValueRef CatchPad) |
| Get the parent catchswitch instruction of a catchpad instruction.
|
|
void | LLVMSetParentCatchSwitch (LLVMValueRef CatchPad, LLVMValueRef CatchSwitch) |
| Set the parent catchswitch instruction of a catchpad instruction.
|
|
LLVMValueRef | LLVMBuildAdd (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildNSWAdd (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildNUWAdd (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildFAdd (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildSub (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildNSWSub (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildNUWSub (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildFSub (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildMul (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildNSWMul (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildNUWMul (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildFMul (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildUDiv (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildExactUDiv (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildSDiv (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildExactSDiv (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildFDiv (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildURem (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildSRem (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildFRem (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildShl (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildLShr (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildAShr (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildAnd (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildOr (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildXor (LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildBinOp (LLVMBuilderRef B, LLVMOpcode Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildNeg (LLVMBuilderRef, LLVMValueRef V, const char *Name) |
|
LLVMValueRef | LLVMBuildNSWNeg (LLVMBuilderRef B, LLVMValueRef V, const char *Name) |
|
| LLVM_ATTRIBUTE_C_DEPRECATED (LLVMValueRef LLVMBuildNUWNeg(LLVMBuilderRef B, LLVMValueRef V, const char *Name), "Use LLVMBuildNeg + LLVMSetNUW instead.") |
|
LLVMValueRef | LLVMBuildFNeg (LLVMBuilderRef, LLVMValueRef V, const char *Name) |
|
LLVMValueRef | LLVMBuildNot (LLVMBuilderRef, LLVMValueRef V, const char *Name) |
|
LLVMBool | LLVMGetNUW (LLVMValueRef ArithInst) |
|
void | LLVMSetNUW (LLVMValueRef ArithInst, LLVMBool HasNUW) |
|
LLVMBool | LLVMGetNSW (LLVMValueRef ArithInst) |
|
void | LLVMSetNSW (LLVMValueRef ArithInst, LLVMBool HasNSW) |
|
LLVMBool | LLVMGetExact (LLVMValueRef DivOrShrInst) |
|
void | LLVMSetExact (LLVMValueRef DivOrShrInst, LLVMBool IsExact) |
|
LLVMBool | LLVMGetNNeg (LLVMValueRef NonNegInst) |
| Gets if the instruction has the non-negative flag set.
|
|
void | LLVMSetNNeg (LLVMValueRef NonNegInst, LLVMBool IsNonNeg) |
| Sets the non-negative flag for the instruction.
|
|
LLVMFastMathFlags | LLVMGetFastMathFlags (LLVMValueRef FPMathInst) |
| Get the flags for which fast-math-style optimizations are allowed for this value.
|
|
void | LLVMSetFastMathFlags (LLVMValueRef FPMathInst, LLVMFastMathFlags FMF) |
| Sets the flags for which fast-math-style optimizations are allowed for this value.
|
|
LLVMBool | LLVMCanValueUseFastMathFlags (LLVMValueRef Inst) |
| Check if a given value can potentially have fast math flags.
|
|
LLVMBool | LLVMGetIsDisjoint (LLVMValueRef Inst) |
| Gets whether the instruction has the disjoint flag set.
|
|
void | LLVMSetIsDisjoint (LLVMValueRef Inst, LLVMBool IsDisjoint) |
| Sets the disjoint flag for the instruction.
|
|
LLVMValueRef | LLVMBuildMalloc (LLVMBuilderRef, LLVMTypeRef Ty, const char *Name) |
|
LLVMValueRef | LLVMBuildArrayMalloc (LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef Val, const char *Name) |
|
LLVMValueRef | LLVMBuildMemSet (LLVMBuilderRef B, LLVMValueRef Ptr, LLVMValueRef Val, LLVMValueRef Len, unsigned Align) |
| Creates and inserts a memset to the specified pointer and the specified value.
|
|
LLVMValueRef | LLVMBuildMemCpy (LLVMBuilderRef B, LLVMValueRef Dst, unsigned DstAlign, LLVMValueRef Src, unsigned SrcAlign, LLVMValueRef Size) |
| Creates and inserts a memcpy between the specified pointers.
|
|
LLVMValueRef | LLVMBuildMemMove (LLVMBuilderRef B, LLVMValueRef Dst, unsigned DstAlign, LLVMValueRef Src, unsigned SrcAlign, LLVMValueRef Size) |
| Creates and inserts a memmove between the specified pointers.
|
|
LLVMValueRef | LLVMBuildAlloca (LLVMBuilderRef, LLVMTypeRef Ty, const char *Name) |
|
LLVMValueRef | LLVMBuildArrayAlloca (LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef Val, const char *Name) |
|
LLVMValueRef | LLVMBuildFree (LLVMBuilderRef, LLVMValueRef PointerVal) |
|
LLVMValueRef | LLVMBuildLoad2 (LLVMBuilderRef, LLVMTypeRef Ty, LLVMValueRef PointerVal, const char *Name) |
|
LLVMValueRef | LLVMBuildStore (LLVMBuilderRef, LLVMValueRef Val, LLVMValueRef Ptr) |
|
LLVMValueRef | LLVMBuildGEP2 (LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name) |
|
LLVMValueRef | LLVMBuildInBoundsGEP2 (LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name) |
|
LLVMValueRef | LLVMBuildGEPWithNoWrapFlags (LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name, LLVMGEPNoWrapFlags NoWrapFlags) |
| Creates a GetElementPtr instruction.
|
|
LLVMValueRef | LLVMBuildStructGEP2 (LLVMBuilderRef B, LLVMTypeRef Ty, LLVMValueRef Pointer, unsigned Idx, const char *Name) |
|
LLVMValueRef | LLVMBuildGlobalString (LLVMBuilderRef B, const char *Str, const char *Name) |
|
LLVMValueRef | LLVMBuildGlobalStringPtr (LLVMBuilderRef B, const char *Str, const char *Name) |
|
LLVMBool | LLVMGetVolatile (LLVMValueRef MemoryAccessInst) |
|
void | LLVMSetVolatile (LLVMValueRef MemoryAccessInst, LLVMBool IsVolatile) |
|
LLVMBool | LLVMGetWeak (LLVMValueRef CmpXchgInst) |
|
void | LLVMSetWeak (LLVMValueRef CmpXchgInst, LLVMBool IsWeak) |
|
LLVMAtomicOrdering | LLVMGetOrdering (LLVMValueRef MemoryAccessInst) |
|
void | LLVMSetOrdering (LLVMValueRef MemoryAccessInst, LLVMAtomicOrdering Ordering) |
|
LLVMAtomicRMWBinOp | LLVMGetAtomicRMWBinOp (LLVMValueRef AtomicRMWInst) |
|
void | LLVMSetAtomicRMWBinOp (LLVMValueRef AtomicRMWInst, LLVMAtomicRMWBinOp BinOp) |
|
LLVMValueRef | LLVMBuildTrunc (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildZExt (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildSExt (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildFPToUI (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildFPToSI (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildUIToFP (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildSIToFP (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildFPTrunc (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildFPExt (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildPtrToInt (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildIntToPtr (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildBitCast (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildAddrSpaceCast (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildZExtOrBitCast (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildSExtOrBitCast (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildTruncOrBitCast (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildCast (LLVMBuilderRef B, LLVMOpcode Op, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildPointerCast (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildIntCast2 (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, LLVMBool IsSigned, const char *Name) |
|
LLVMValueRef | LLVMBuildFPCast (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
|
LLVMValueRef | LLVMBuildIntCast (LLVMBuilderRef, LLVMValueRef Val, LLVMTypeRef DestTy, const char *Name) |
| Deprecated: This cast is always signed.
|
|
LLVMOpcode | LLVMGetCastOpcode (LLVMValueRef Src, LLVMBool SrcIsSigned, LLVMTypeRef DestTy, LLVMBool DestIsSigned) |
|
LLVMValueRef | LLVMBuildICmp (LLVMBuilderRef, LLVMIntPredicate Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildFCmp (LLVMBuilderRef, LLVMRealPredicate Op, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildPhi (LLVMBuilderRef, LLVMTypeRef Ty, const char *Name) |
|
LLVMValueRef | LLVMBuildCall2 (LLVMBuilderRef, LLVMTypeRef, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, const char *Name) |
|
LLVMValueRef | LLVMBuildCallWithOperandBundles (LLVMBuilderRef, LLVMTypeRef, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, LLVMOperandBundleRef *Bundles, unsigned NumBundles, const char *Name) |
|
LLVMValueRef | LLVMBuildSelect (LLVMBuilderRef, LLVMValueRef If, LLVMValueRef Then, LLVMValueRef Else, const char *Name) |
|
LLVMValueRef | LLVMBuildVAArg (LLVMBuilderRef, LLVMValueRef List, LLVMTypeRef Ty, const char *Name) |
|
LLVMValueRef | LLVMBuildExtractElement (LLVMBuilderRef, LLVMValueRef VecVal, LLVMValueRef Index, const char *Name) |
|
LLVMValueRef | LLVMBuildInsertElement (LLVMBuilderRef, LLVMValueRef VecVal, LLVMValueRef EltVal, LLVMValueRef Index, const char *Name) |
|
LLVMValueRef | LLVMBuildShuffleVector (LLVMBuilderRef, LLVMValueRef V1, LLVMValueRef V2, LLVMValueRef Mask, const char *Name) |
|
LLVMValueRef | LLVMBuildExtractValue (LLVMBuilderRef, LLVMValueRef AggVal, unsigned Index, const char *Name) |
|
LLVMValueRef | LLVMBuildInsertValue (LLVMBuilderRef, LLVMValueRef AggVal, LLVMValueRef EltVal, unsigned Index, const char *Name) |
|
LLVMValueRef | LLVMBuildFreeze (LLVMBuilderRef, LLVMValueRef Val, const char *Name) |
|
LLVMValueRef | LLVMBuildIsNull (LLVMBuilderRef, LLVMValueRef Val, const char *Name) |
|
LLVMValueRef | LLVMBuildIsNotNull (LLVMBuilderRef, LLVMValueRef Val, const char *Name) |
|
LLVMValueRef | LLVMBuildPtrDiff2 (LLVMBuilderRef, LLVMTypeRef ElemTy, LLVMValueRef LHS, LLVMValueRef RHS, const char *Name) |
|
LLVMValueRef | LLVMBuildFence (LLVMBuilderRef B, LLVMAtomicOrdering ordering, LLVMBool singleThread, const char *Name) |
|
LLVMValueRef | LLVMBuildFenceSyncScope (LLVMBuilderRef B, LLVMAtomicOrdering ordering, unsigned SSID, const char *Name) |
|
LLVMValueRef | LLVMBuildAtomicRMW (LLVMBuilderRef B, LLVMAtomicRMWBinOp op, LLVMValueRef PTR, LLVMValueRef Val, LLVMAtomicOrdering ordering, LLVMBool singleThread) |
|
LLVMValueRef | LLVMBuildAtomicRMWSyncScope (LLVMBuilderRef B, LLVMAtomicRMWBinOp op, LLVMValueRef PTR, LLVMValueRef Val, LLVMAtomicOrdering ordering, unsigned SSID) |
|
LLVMValueRef | LLVMBuildAtomicCmpXchg (LLVMBuilderRef B, LLVMValueRef Ptr, LLVMValueRef Cmp, LLVMValueRef New, LLVMAtomicOrdering SuccessOrdering, LLVMAtomicOrdering FailureOrdering, LLVMBool SingleThread) |
|
LLVMValueRef | LLVMBuildAtomicCmpXchgSyncScope (LLVMBuilderRef B, LLVMValueRef Ptr, LLVMValueRef Cmp, LLVMValueRef New, LLVMAtomicOrdering SuccessOrdering, LLVMAtomicOrdering FailureOrdering, unsigned SSID) |
|
unsigned | LLVMGetNumMaskElements (LLVMValueRef ShuffleVectorInst) |
| Get the number of elements in the mask of a ShuffleVector instruction.
|
|
int | LLVMGetUndefMaskElem (void) |
|
int | LLVMGetMaskValue (LLVMValueRef ShuffleVectorInst, unsigned Elt) |
| Get the mask value at position Elt in the mask of a ShuffleVector instruction.
|
|
LLVMBool | LLVMIsAtomicSingleThread (LLVMValueRef AtomicInst) |
|
void | LLVMSetAtomicSingleThread (LLVMValueRef AtomicInst, LLVMBool SingleThread) |
|
LLVMBool | LLVMIsAtomic (LLVMValueRef Inst) |
| Returns whether an instruction is an atomic instruction, e.g., atomicrmw, cmpxchg, fence, or loads and stores with atomic ordering.
|
|
unsigned | LLVMGetAtomicSyncScopeID (LLVMValueRef AtomicInst) |
| Returns the synchronization scope ID of an atomic instruction.
|
|
void | LLVMSetAtomicSyncScopeID (LLVMValueRef AtomicInst, unsigned SSID) |
| Sets the synchronization scope ID of an atomic instruction.
|
|
LLVMAtomicOrdering | LLVMGetCmpXchgSuccessOrdering (LLVMValueRef CmpXchgInst) |
|
void | LLVMSetCmpXchgSuccessOrdering (LLVMValueRef CmpXchgInst, LLVMAtomicOrdering Ordering) |
|
LLVMAtomicOrdering | LLVMGetCmpXchgFailureOrdering (LLVMValueRef CmpXchgInst) |
|
void | LLVMSetCmpXchgFailureOrdering (LLVMValueRef CmpXchgInst, LLVMAtomicOrdering Ordering) |
|
An instruction builder represents a point within a basic block and is the exclusive means of building instructions using the C interface.