LLVM API Documentation
This provides a uniform API for creating instructions and inserting them into a basic block: either at the end of a BasicBlock, or at a specific iterator location in a block. More...
#include <IRBuilder.h>
Public Member Functions | |
IRBuilder (LLVMContext &C, const T &F, const Inserter &I=Inserter(), MDNode *FPMathTag=0) | |
IRBuilder (LLVMContext &C, MDNode *FPMathTag=0) | |
IRBuilder (BasicBlock *TheBB, const T &F, MDNode *FPMathTag=0) | |
IRBuilder (BasicBlock *TheBB, MDNode *FPMathTag=0) | |
IRBuilder (Instruction *IP, MDNode *FPMathTag=0) | |
IRBuilder (Use &U, MDNode *FPMathTag=0) | |
IRBuilder (BasicBlock *TheBB, BasicBlock::iterator IP, const T &F, MDNode *FPMathTag=0) | |
IRBuilder (BasicBlock *TheBB, BasicBlock::iterator IP, MDNode *FPMathTag=0) | |
const T & | getFolder () |
Get the constant folder being used. More... | |
bool | isNamePreserving () const |
Return true if this builder is configured to actually add the requested names to IR created through it. More... | |
template<typename InstTy > | |
InstTy * | Insert (InstTy *I, const Twine &Name="") const |
Insert and return the specified instruction. More... | |
Constant * | Insert (Constant *C, const Twine &="") const |
No-op overload to handle constants. More... | |
ReturnInst * | CreateRetVoid () |
Create a 'ret void' instruction. More... | |
ReturnInst * | CreateRet (Value *V) |
Create a 'ret <val>' instruction. More... | |
ReturnInst * | CreateAggregateRet (Value *const *retVals, unsigned N) |
Create a sequence of N insertvalue instructions, with one Value from the retVals array each, that build a aggregate return value one value at a time, and a ret instruction to return the resulting aggregate value. More... | |
BranchInst * | CreateBr (BasicBlock *Dest) |
Create an unconditional 'br label X' instruction. More... | |
BranchInst * | CreateCondBr (Value *Cond, BasicBlock *True, BasicBlock *False, MDNode *BranchWeights=0) |
Create a conditional 'br Cond, TrueDest, FalseDest' instruction. More... | |
SwitchInst * | CreateSwitch (Value *V, BasicBlock *Dest, unsigned NumCases=10, MDNode *BranchWeights=0) |
Create a switch instruction with the specified value, default dest, and with a hint for the number of cases that will be added (for efficient allocation). More... | |
IndirectBrInst * | CreateIndirectBr (Value *Addr, unsigned NumDests=10) |
Create an indirect branch instruction with the specified address operand, with an optional hint for the number of destinations that will be added (for efficient allocation). More... | |
InvokeInst * | CreateInvoke (Value *Callee, BasicBlock *NormalDest, BasicBlock *UnwindDest, const Twine &Name="") |
InvokeInst * | CreateInvoke (Value *Callee, BasicBlock *NormalDest, BasicBlock *UnwindDest, Value *Arg1, const Twine &Name="") |
InvokeInst * | CreateInvoke3 (Value *Callee, BasicBlock *NormalDest, BasicBlock *UnwindDest, Value *Arg1, Value *Arg2, Value *Arg3, const Twine &Name="") |
InvokeInst * | CreateInvoke (Value *Callee, BasicBlock *NormalDest, BasicBlock *UnwindDest, ArrayRef< Value * > Args, const Twine &Name="") |
Create an invoke instruction. More... | |
ResumeInst * | CreateResume (Value *Exn) |
UnreachableInst * | CreateUnreachable () |
Value * | CreateAdd (Value *LHS, Value *RHS, const Twine &Name="", bool HasNUW=false, bool HasNSW=false) |
Value * | CreateNSWAdd (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateNUWAdd (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateFAdd (Value *LHS, Value *RHS, const Twine &Name="", MDNode *FPMathTag=0) |
Value * | CreateSub (Value *LHS, Value *RHS, const Twine &Name="", bool HasNUW=false, bool HasNSW=false) |
Value * | CreateNSWSub (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateNUWSub (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateFSub (Value *LHS, Value *RHS, const Twine &Name="", MDNode *FPMathTag=0) |
Value * | CreateMul (Value *LHS, Value *RHS, const Twine &Name="", bool HasNUW=false, bool HasNSW=false) |
Value * | CreateNSWMul (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateNUWMul (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateFMul (Value *LHS, Value *RHS, const Twine &Name="", MDNode *FPMathTag=0) |
Value * | CreateUDiv (Value *LHS, Value *RHS, const Twine &Name="", bool isExact=false) |
Value * | CreateExactUDiv (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateSDiv (Value *LHS, Value *RHS, const Twine &Name="", bool isExact=false) |
Value * | CreateExactSDiv (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateFDiv (Value *LHS, Value *RHS, const Twine &Name="", MDNode *FPMathTag=0) |
Value * | CreateURem (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateSRem (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateFRem (Value *LHS, Value *RHS, const Twine &Name="", MDNode *FPMathTag=0) |
Value * | CreateShl (Value *LHS, Value *RHS, const Twine &Name="", bool HasNUW=false, bool HasNSW=false) |
Value * | CreateShl (Value *LHS, const APInt &RHS, const Twine &Name="", bool HasNUW=false, bool HasNSW=false) |
Value * | CreateShl (Value *LHS, uint64_t RHS, const Twine &Name="", bool HasNUW=false, bool HasNSW=false) |
Value * | CreateLShr (Value *LHS, Value *RHS, const Twine &Name="", bool isExact=false) |
Value * | CreateLShr (Value *LHS, const APInt &RHS, const Twine &Name="", bool isExact=false) |
Value * | CreateLShr (Value *LHS, uint64_t RHS, const Twine &Name="", bool isExact=false) |
Value * | CreateAShr (Value *LHS, Value *RHS, const Twine &Name="", bool isExact=false) |
Value * | CreateAShr (Value *LHS, const APInt &RHS, const Twine &Name="", bool isExact=false) |
Value * | CreateAShr (Value *LHS, uint64_t RHS, const Twine &Name="", bool isExact=false) |
Value * | CreateAnd (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateAnd (Value *LHS, const APInt &RHS, const Twine &Name="") |
Value * | CreateAnd (Value *LHS, uint64_t RHS, const Twine &Name="") |
Value * | CreateOr (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateOr (Value *LHS, const APInt &RHS, const Twine &Name="") |
Value * | CreateOr (Value *LHS, uint64_t RHS, const Twine &Name="") |
Value * | CreateXor (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateXor (Value *LHS, const APInt &RHS, const Twine &Name="") |
Value * | CreateXor (Value *LHS, uint64_t RHS, const Twine &Name="") |
Value * | CreateBinOp (Instruction::BinaryOps Opc, Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateNeg (Value *V, const Twine &Name="", bool HasNUW=false, bool HasNSW=false) |
Value * | CreateNSWNeg (Value *V, const Twine &Name="") |
Value * | CreateNUWNeg (Value *V, const Twine &Name="") |
Value * | CreateFNeg (Value *V, const Twine &Name="", MDNode *FPMathTag=0) |
Value * | CreateNot (Value *V, const Twine &Name="") |
AllocaInst * | CreateAlloca (Type *Ty, Value *ArraySize=0, const Twine &Name="") |
LoadInst * | CreateLoad (Value *Ptr, const char *Name) |
LoadInst * | CreateLoad (Value *Ptr, const Twine &Name="") |
LoadInst * | CreateLoad (Value *Ptr, bool isVolatile, const Twine &Name="") |
StoreInst * | CreateStore (Value *Val, Value *Ptr, bool isVolatile=false) |
LoadInst * | CreateAlignedLoad (Value *Ptr, unsigned Align, const char *Name) |
LoadInst * | CreateAlignedLoad (Value *Ptr, unsigned Align, const Twine &Name="") |
LoadInst * | CreateAlignedLoad (Value *Ptr, unsigned Align, bool isVolatile, const Twine &Name="") |
StoreInst * | CreateAlignedStore (Value *Val, Value *Ptr, unsigned Align, bool isVolatile=false) |
FenceInst * | CreateFence (AtomicOrdering Ordering, SynchronizationScope SynchScope=CrossThread) |
AtomicCmpXchgInst * | CreateAtomicCmpXchg (Value *Ptr, Value *Cmp, Value *New, AtomicOrdering Ordering, SynchronizationScope SynchScope=CrossThread) |
AtomicRMWInst * | CreateAtomicRMW (AtomicRMWInst::BinOp Op, Value *Ptr, Value *Val, AtomicOrdering Ordering, SynchronizationScope SynchScope=CrossThread) |
Value * | CreateGEP (Value *Ptr, ArrayRef< Value * > IdxList, const Twine &Name="") |
Value * | CreateInBoundsGEP (Value *Ptr, ArrayRef< Value * > IdxList, const Twine &Name="") |
Value * | CreateGEP (Value *Ptr, Value *Idx, const Twine &Name="") |
Value * | CreateInBoundsGEP (Value *Ptr, Value *Idx, const Twine &Name="") |
Value * | CreateConstGEP1_32 (Value *Ptr, unsigned Idx0, const Twine &Name="") |
Value * | CreateConstInBoundsGEP1_32 (Value *Ptr, unsigned Idx0, const Twine &Name="") |
Value * | CreateConstGEP2_32 (Value *Ptr, unsigned Idx0, unsigned Idx1, const Twine &Name="") |
Value * | CreateConstInBoundsGEP2_32 (Value *Ptr, unsigned Idx0, unsigned Idx1, const Twine &Name="") |
Value * | CreateConstGEP1_64 (Value *Ptr, uint64_t Idx0, const Twine &Name="") |
Value * | CreateConstInBoundsGEP1_64 (Value *Ptr, uint64_t Idx0, const Twine &Name="") |
Value * | CreateConstGEP2_64 (Value *Ptr, uint64_t Idx0, uint64_t Idx1, const Twine &Name="") |
Value * | CreateConstInBoundsGEP2_64 (Value *Ptr, uint64_t Idx0, uint64_t Idx1, const Twine &Name="") |
Value * | CreateStructGEP (Value *Ptr, unsigned Idx, const Twine &Name="") |
Value * | CreateGlobalStringPtr (StringRef Str, const Twine &Name="") |
Same as CreateGlobalString, but return a pointer with "i8*" type instead of a pointer to array of i8. More... | |
Value * | CreateTrunc (Value *V, Type *DestTy, const Twine &Name="") |
Value * | CreateZExt (Value *V, Type *DestTy, const Twine &Name="") |
Value * | CreateSExt (Value *V, Type *DestTy, const Twine &Name="") |
Value * | CreateZExtOrTrunc (Value *V, Type *DestTy, const Twine &Name="") |
Create a ZExt or Trunc from the integer value V to DestTy. Return the value untouched if the type of V is already DestTy. More... | |
Value * | CreateSExtOrTrunc (Value *V, Type *DestTy, const Twine &Name="") |
Create a SExt or Trunc from the integer value V to DestTy. Return the value untouched if the type of V is already DestTy. More... | |
Value * | CreateFPToUI (Value *V, Type *DestTy, const Twine &Name="") |
Value * | CreateFPToSI (Value *V, Type *DestTy, const Twine &Name="") |
Value * | CreateUIToFP (Value *V, Type *DestTy, const Twine &Name="") |
Value * | CreateSIToFP (Value *V, Type *DestTy, const Twine &Name="") |
Value * | CreateFPTrunc (Value *V, Type *DestTy, const Twine &Name="") |
Value * | CreateFPExt (Value *V, Type *DestTy, const Twine &Name="") |
Value * | CreatePtrToInt (Value *V, Type *DestTy, const Twine &Name="") |
Value * | CreateIntToPtr (Value *V, Type *DestTy, const Twine &Name="") |
Value * | CreateBitCast (Value *V, Type *DestTy, const Twine &Name="") |
Value * | CreateAddrSpaceCast (Value *V, Type *DestTy, const Twine &Name="") |
Value * | CreateZExtOrBitCast (Value *V, Type *DestTy, const Twine &Name="") |
Value * | CreateSExtOrBitCast (Value *V, Type *DestTy, const Twine &Name="") |
Value * | CreateTruncOrBitCast (Value *V, Type *DestTy, const Twine &Name="") |
Value * | CreateCast (Instruction::CastOps Op, Value *V, Type *DestTy, const Twine &Name="") |
Value * | CreatePointerCast (Value *V, Type *DestTy, const Twine &Name="") |
Value * | CreateIntCast (Value *V, Type *DestTy, bool isSigned, const Twine &Name="") |
Value * | CreateFPCast (Value *V, Type *DestTy, const Twine &Name="") |
Value * | CreateICmpEQ (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateICmpNE (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateICmpUGT (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateICmpUGE (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateICmpULT (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateICmpULE (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateICmpSGT (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateICmpSGE (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateICmpSLT (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateICmpSLE (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateFCmpOEQ (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateFCmpOGT (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateFCmpOGE (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateFCmpOLT (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateFCmpOLE (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateFCmpONE (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateFCmpORD (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateFCmpUNO (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateFCmpUEQ (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateFCmpUGT (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateFCmpUGE (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateFCmpULT (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateFCmpULE (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateFCmpUNE (Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateICmp (CmpInst::Predicate P, Value *LHS, Value *RHS, const Twine &Name="") |
Value * | CreateFCmp (CmpInst::Predicate P, Value *LHS, Value *RHS, const Twine &Name="") |
PHINode * | CreatePHI (Type *Ty, unsigned NumReservedValues, const Twine &Name="") |
CallInst * | CreateCall (Value *Callee, const Twine &Name="") |
CallInst * | CreateCall (Value *Callee, Value *Arg, const Twine &Name="") |
CallInst * | CreateCall2 (Value *Callee, Value *Arg1, Value *Arg2, const Twine &Name="") |
CallInst * | CreateCall3 (Value *Callee, Value *Arg1, Value *Arg2, Value *Arg3, const Twine &Name="") |
CallInst * | CreateCall4 (Value *Callee, Value *Arg1, Value *Arg2, Value *Arg3, Value *Arg4, const Twine &Name="") |
CallInst * | CreateCall5 (Value *Callee, Value *Arg1, Value *Arg2, Value *Arg3, Value *Arg4, Value *Arg5, const Twine &Name="") |
CallInst * | CreateCall (Value *Callee, ArrayRef< Value * > Args, const Twine &Name="") |
Value * | CreateSelect (Value *C, Value *True, Value *False, const Twine &Name="") |
VAArgInst * | CreateVAArg (Value *List, Type *Ty, const Twine &Name="") |
Value * | CreateExtractElement (Value *Vec, Value *Idx, const Twine &Name="") |
Value * | CreateInsertElement (Value *Vec, Value *NewElt, Value *Idx, const Twine &Name="") |
Value * | CreateShuffleVector (Value *V1, Value *V2, Value *Mask, const Twine &Name="") |
Value * | CreateExtractValue (Value *Agg, ArrayRef< unsigned > Idxs, const Twine &Name="") |
Value * | CreateInsertValue (Value *Agg, Value *Val, ArrayRef< unsigned > Idxs, const Twine &Name="") |
LandingPadInst * | CreateLandingPad (Type *Ty, Value *PersFn, unsigned NumClauses, const Twine &Name="") |
Value * | CreateIsNull (Value *Arg, const Twine &Name="") |
Return an i1 value testing if Arg is null. More... | |
Value * | CreateIsNotNull (Value *Arg, const Twine &Name="") |
Return an i1 value testing if Arg is not null. More... | |
Value * | CreatePtrDiff (Value *LHS, Value *RHS, const Twine &Name="") |
Return the i64 difference between two pointer values, dividing out the size of the pointed-to objects. More... | |
Value * | CreateVectorSplat (unsigned NumElts, Value *V, const Twine &Name="") |
Return a vector value that contains. More... | |
![]() | |
IRBuilderBase (LLVMContext &context, MDNode *FPMathTag=0) | |
void | ClearInsertionPoint () |
Clear the insertion point: created instructions will not be inserted into a block. More... | |
BasicBlock * | GetInsertBlock () const |
BasicBlock::iterator | GetInsertPoint () const |
LLVMContext & | getContext () const |
void | SetInsertPoint (BasicBlock *TheBB) |
This specifies that created instructions should be appended to the end of the specified block. More... | |
void | SetInsertPoint (Instruction *I) |
This specifies that created instructions should be inserted before the specified instruction. More... | |
void | SetInsertPoint (BasicBlock *TheBB, BasicBlock::iterator IP) |
This specifies that created instructions should be inserted at the specified point. More... | |
void | SetInsertPoint (Use &U) |
Find the nearest point that dominates this use, and specify that created instructions should be inserted at this point. More... | |
void | SetCurrentDebugLocation (const DebugLoc &L) |
Set location information used by debugging information. More... | |
DebugLoc | getCurrentDebugLocation () const |
Get location information used by debugging information. More... | |
void | SetInstDebugLocation (Instruction *I) const |
If this builder has a current debug location, set it on the specified instruction. More... | |
Type * | getCurrentFunctionReturnType () const |
Get the return type of the current function that we're emitting into. More... | |
InsertPoint | saveIP () const |
Returns the current insert point. More... | |
InsertPoint | saveAndClearIP () |
Returns the current insert point, clearing it in the process. More... | |
void | restoreIP (InsertPoint IP) |
Sets the current insert point to a previously-saved location. More... | |
MDNode * | getDefaultFPMathTag () const |
Get the floating point math metadata being used. More... | |
FastMathFlags | getFastMathFlags () const |
Get the flags to be applied to created floating point ops. More... | |
void | clearFastMathFlags () |
Clear the fast-math flags. More... | |
void | SetDefaultFPMathTag (MDNode *FPMathTag) |
Set the floating point math metadata to be used. More... | |
void | SetFastMathFlags (FastMathFlags NewFMF) |
Set the fast-math flags to be used with generated fp-math operators. More... | |
Value * | CreateGlobalString (StringRef Str, const Twine &Name="") |
Make a new global variable with initializer type i8*. More... | |
ConstantInt * | getInt1 (bool V) |
Get a constant value representing either true or false. More... | |
ConstantInt * | getTrue () |
Get the constant value for i1 true. More... | |
ConstantInt * | getFalse () |
Get the constant value for i1 false. More... | |
ConstantInt * | getInt8 (uint8_t C) |
Get a constant 8-bit value. More... | |
ConstantInt * | getInt16 (uint16_t C) |
Get a constant 16-bit value. More... | |
ConstantInt * | getInt32 (uint32_t C) |
Get a constant 32-bit value. More... | |
ConstantInt * | getInt64 (uint64_t C) |
Get a constant 64-bit value. More... | |
ConstantInt * | getInt (const APInt &AI) |
Get a constant integer value. More... | |
IntegerType * | getInt1Ty () |
Fetch the type representing a single bit. More... | |
IntegerType * | getInt8Ty () |
Fetch the type representing an 8-bit integer. More... | |
IntegerType * | getInt16Ty () |
Fetch the type representing a 16-bit integer. More... | |
IntegerType * | getInt32Ty () |
Fetch the type representing a 32-bit integer. More... | |
IntegerType * | getInt64Ty () |
Fetch the type representing a 64-bit integer. More... | |
Type * | getFloatTy () |
Fetch the type representing a 32-bit floating point value. More... | |
Type * | getDoubleTy () |
Fetch the type representing a 64-bit floating point value. More... | |
Type * | getVoidTy () |
Fetch the type representing void. More... | |
PointerType * | getInt8PtrTy (unsigned AddrSpace=0) |
Fetch the type representing a pointer to an 8-bit integer value. More... | |
IntegerType * | getIntPtrTy (const DataLayout *DL, unsigned AddrSpace=0) |
Fetch the type representing a pointer to an integer value. More... | |
CallInst * | CreateMemSet (Value *Ptr, Value *Val, uint64_t Size, unsigned Align, bool isVolatile=false, MDNode *TBAATag=0) |
Create and insert a memset to the specified pointer and the specified value. More... | |
CallInst * | CreateMemSet (Value *Ptr, Value *Val, Value *Size, unsigned Align, bool isVolatile=false, MDNode *TBAATag=0) |
CallInst * | CreateMemCpy (Value *Dst, Value *Src, uint64_t Size, unsigned Align, bool isVolatile=false, MDNode *TBAATag=0, MDNode *TBAAStructTag=0) |
Create and insert a memcpy between the specified pointers. More... | |
CallInst * | CreateMemCpy (Value *Dst, Value *Src, Value *Size, unsigned Align, bool isVolatile=false, MDNode *TBAATag=0, MDNode *TBAAStructTag=0) |
CallInst * | CreateMemMove (Value *Dst, Value *Src, uint64_t Size, unsigned Align, bool isVolatile=false, MDNode *TBAATag=0) |
Create and insert a memmove between the specified pointers. More... | |
CallInst * | CreateMemMove (Value *Dst, Value *Src, Value *Size, unsigned Align, bool isVolatile=false, MDNode *TBAATag=0) |
CallInst * | CreateLifetimeStart (Value *Ptr, ConstantInt *Size=0) |
Create a lifetime.start intrinsic. More... | |
CallInst * | CreateLifetimeEnd (Value *Ptr, ConstantInt *Size=0) |
Create a lifetime.end intrinsic. More... | |
Additional Inherited Members | |
![]() | |
BasicBlock * | BB |
BasicBlock::iterator | InsertPt |
LLVMContext & | Context |
MDNode * | DefaultFPMathTag |
FastMathFlags | FMF |
This provides a uniform API for creating instructions and inserting them into a basic block: either at the end of a BasicBlock, or at a specific iterator location in a block.
Note that the builder does not expose the full generality of LLVM instructions. For access to extra instruction properties, use the mutators (e.g. setVolatile) on the instructions after they have been created. Convenience state exists to specify fast-math flags and fp-math tags.
The first template argument handles whether or not to preserve names in the final instruction output. This defaults to on. The second template argument specifies a class to use for creating constants. This defaults to creating minimally folded constants. The fourth template argument allows clients to specify custom insertion hooks that are called on every newly created insertion.
Definition at line 421 of file IRBuilder.h.
|
inline |
Definition at line 424 of file IRBuilder.h.
|
inlineexplicit |
Definition at line 429 of file IRBuilder.h.
|
inlineexplicit |
Definition at line 433 of file IRBuilder.h.
|
inlineexplicit |
Definition at line 438 of file IRBuilder.h.
|
inlineexplicit |
Definition at line 443 of file IRBuilder.h.
|
inlineexplicit |
Definition at line 449 of file IRBuilder.h.
|
inline |
Definition at line 455 of file IRBuilder.h.
|
inline |
Definition at line 461 of file IRBuilder.h.
|
inline |
Definition at line 615 of file IRBuilder.h.
Referenced by convertMemSetToLoop(), convertTransferToLoop(), llvm::IRBuilder< true, TargetFolder >::CreateNSWAdd(), llvm::IRBuilder< true, TargetFolder >::CreateNUWAdd(), EvaluateGEPOffsetExpression(), foldSelectICmpAnd(), foldUDivShl(), generateUnsignedDivisionCode(), TurnSwitchRangeIntoICmp(), and llvm::ObjectSizeOffsetEvaluator::visitGEPOperator().
|
inline |
Definition at line 1136 of file IRBuilder.h.
|
inline |
Create a sequence of N insertvalue instructions, with one Value from the retVals array each, that build a aggregate return value one value at a time, and a ret instruction to return the resulting aggregate value.
This is a convenience function for code that uses aggregate return values as a vehicle for having multiple return values.
Definition at line 518 of file IRBuilder.h.
|
inline |
Definition at line 894 of file IRBuilder.h.
|
inline |
Definition at line 899 of file IRBuilder.h.
|
inline |
Definition at line 905 of file IRBuilder.h.
|
inline |
Definition at line 911 of file IRBuilder.h.
|
inline |
Definition at line 873 of file IRBuilder.h.
Referenced by llvm::InstCombiner::visitAllocaInst().
|
inline |
Definition at line 789 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateAnd(), foldLogOpOfMaskedICmps(), generateUnsignedDivisionCode(), GetShiftedValue(), and llvm::IntrinsicLowering::LowerIntrinsicCall().
|
inline |
Definition at line 798 of file IRBuilder.h.
|
inline |
Definition at line 801 of file IRBuilder.h.
|
inline |
Definition at line 771 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateAShr(), generateSignedDivisionCode(), generateSignedRemainderCode(), and generateUnsignedDivisionCode().
|
inline |
Definition at line 780 of file IRBuilder.h.
|
inline |
Definition at line 784 of file IRBuilder.h.
|
inline |
Definition at line 921 of file IRBuilder.h.
|
inline |
Definition at line 926 of file IRBuilder.h.
|
inline |
Definition at line 834 of file IRBuilder.h.
Referenced by createReplacementInstr(), llvm::FoldBranchToCommonDest(), and FoldOperationIntoSelectOperand().
|
inline |
Definition at line 1132 of file IRBuilder.h.
Referenced by llvm::CastToCStr(), createCast(), OptimizeIntToFloatBitCast(), OptimizeVectorResize(), and llvm::UpgradeIntrinsicCall().
|
inline |
Create an unconditional 'br label X' instruction.
Definition at line 526 of file IRBuilder.h.
Referenced by llvm::ConstantFoldTerminator(), FoldTwoEntryPHINode(), generateUnsignedDivisionCode(), removeUndefIntroducingPredecessor(), SimplifyTerminatorOnSelect(), SwitchToLookupTable(), and TryToSimplifyUncondBranchWithICmpInIt().
|
inline |
Definition at line 1304 of file IRBuilder.h.
Referenced by llvm::EmitPutChar(), llvm::EmitPutS(), llvm::EmitStrLen(), llvm::EmitUnaryFloatFnCall(), and llvm::UpgradeIntrinsicCall().
|
inline |
Definition at line 1307 of file IRBuilder.h.
|
inline |
Definition at line 1331 of file IRBuilder.h.
|
inline |
Definition at line 1310 of file IRBuilder.h.
Referenced by llvm::EmitFPutC(), llvm::EmitFPutS(), llvm::EmitStrChr(), llvm::EmitStrCpy(), llvm::EmitStrNLen(), GenerateARCBBTerminatorAnnotation(), generateUnsignedDivisionCode(), ProcessUAddIdiom(), ProcessUGT_ADDCST_ADD(), and llvm::UpgradeIntrinsicCall().
|
inline |
Definition at line 1315 of file IRBuilder.h.
Referenced by llvm::EmitMemChr(), llvm::EmitMemCmp(), llvm::EmitStrNCmp(), llvm::EmitStrNCpy(), and llvm::UpgradeIntrinsicCall().
|
inline |
Definition at line 1320 of file IRBuilder.h.
Referenced by llvm::EmitFWrite(), and llvm::EmitMemCpyChk().
|
inline |
Definition at line 1325 of file IRBuilder.h.
|
inline |
Definition at line 1164 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateAddrSpaceCast(), llvm::IRBuilder< true, TargetFolder >::CreateBitCast(), llvm::IRBuilder< true, TargetFolder >::CreateFPExt(), llvm::IRBuilder< true, TargetFolder >::CreateFPToSI(), llvm::IRBuilder< true, TargetFolder >::CreateFPToUI(), llvm::IRBuilder< true, TargetFolder >::CreateFPTrunc(), llvm::IRBuilder< true, TargetFolder >::CreateIntToPtr(), llvm::IRBuilder< true, TargetFolder >::CreatePtrToInt(), createReplacementInstr(), llvm::IRBuilder< true, TargetFolder >::CreateSExt(), llvm::IRBuilder< true, TargetFolder >::CreateSIToFP(), llvm::IRBuilder< true, TargetFolder >::CreateTrunc(), llvm::IRBuilder< true, TargetFolder >::CreateUIToFP(), llvm::IRBuilder< true, TargetFolder >::CreateZExt(), FoldOperationIntoSelectOperand(), and InstCombineStoreToCast().
|
inline |
Create a conditional 'br Cond, TrueDest, FalseDest' instruction.
Definition at line 532 of file IRBuilder.h.
Referenced by llvm::ConstantFoldTerminator(), convertMemSetToLoop(), convertTransferToLoop(), generateUnsignedDivisionCode(), SimplifyBranchOnICmpChain(), SimplifyTerminatorOnSelect(), SwitchToLookupTable(), and TurnSwitchRangeIntoICmp().
|
inline |
Definition at line 969 of file IRBuilder.h.
|
inline |
Definition at line 1010 of file IRBuilder.h.
|
inline |
Definition at line 986 of file IRBuilder.h.
|
inline |
Definition at line 1027 of file IRBuilder.h.
|
inline |
Definition at line 977 of file IRBuilder.h.
|
inline |
Definition at line 1018 of file IRBuilder.h.
|
inline |
Definition at line 998 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateStructGEP().
|
inline |
Definition at line 1039 of file IRBuilder.h.
|
inline |
Definition at line 702 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreatePtrDiff().
|
inline |
Definition at line 690 of file IRBuilder.h.
|
inline |
Definition at line 1349 of file IRBuilder.h.
|
inline |
Definition at line 1375 of file IRBuilder.h.
Referenced by ProcessUAddIdiom(), and ProcessUGT_ADDCST_ADD().
|
inline |
Definition at line 629 of file IRBuilder.h.
|
inline |
Definition at line 1287 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateFCmpOEQ(), llvm::IRBuilder< true, TargetFolder >::CreateFCmpOGE(), llvm::IRBuilder< true, TargetFolder >::CreateFCmpOGT(), llvm::IRBuilder< true, TargetFolder >::CreateFCmpOLE(), llvm::IRBuilder< true, TargetFolder >::CreateFCmpOLT(), llvm::IRBuilder< true, TargetFolder >::CreateFCmpONE(), llvm::IRBuilder< true, TargetFolder >::CreateFCmpORD(), llvm::IRBuilder< true, TargetFolder >::CreateFCmpUEQ(), llvm::IRBuilder< true, TargetFolder >::CreateFCmpUGE(), llvm::IRBuilder< true, TargetFolder >::CreateFCmpUGT(), llvm::IRBuilder< true, TargetFolder >::CreateFCmpULE(), llvm::IRBuilder< true, TargetFolder >::CreateFCmpULT(), llvm::IRBuilder< true, TargetFolder >::CreateFCmpUNE(), llvm::IRBuilder< true, TargetFolder >::CreateFCmpUNO(), createMinMaxOp(), and getFCmpValue().
|
inline |
Definition at line 1237 of file IRBuilder.h.
|
inline |
Definition at line 1243 of file IRBuilder.h.
|
inline |
Definition at line 1240 of file IRBuilder.h.
|
inline |
Definition at line 1249 of file IRBuilder.h.
|
inline |
Definition at line 1246 of file IRBuilder.h.
|
inline |
Definition at line 1252 of file IRBuilder.h.
|
inline |
Definition at line 1255 of file IRBuilder.h.
|
inline |
Definition at line 1261 of file IRBuilder.h.
|
inline |
Definition at line 1267 of file IRBuilder.h.
|
inline |
Definition at line 1264 of file IRBuilder.h.
|
inline |
Definition at line 1273 of file IRBuilder.h.
|
inline |
Definition at line 1270 of file IRBuilder.h.
|
inline |
Definition at line 1276 of file IRBuilder.h.
|
inline |
Definition at line 1258 of file IRBuilder.h.
|
inline |
Definition at line 705 of file IRBuilder.h.
|
inline |
Definition at line 917 of file IRBuilder.h.
|
inline |
Definition at line 673 of file IRBuilder.h.
|
inline |
Definition at line 857 of file IRBuilder.h.
|
inline |
Definition at line 1194 of file IRBuilder.h.
|
inline |
Definition at line 1121 of file IRBuilder.h.
|
inline |
Definition at line 1108 of file IRBuilder.h.
|
inline |
Definition at line 1105 of file IRBuilder.h.
|
inline |
Definition at line 1117 of file IRBuilder.h.
|
inline |
Definition at line 725 of file IRBuilder.h.
|
inline |
Definition at line 651 of file IRBuilder.h.
|
inline |
Definition at line 931 of file IRBuilder.h.
Referenced by convertMemSetToLoop(), convertTransferToLoop(), and genLoopLimit().
|
inline |
Definition at line 957 of file IRBuilder.h.
|
inline |
Same as CreateGlobalString, but return a pointer with "i8*" type instead of a pointer to array of i8.
Definition at line 1057 of file IRBuilder.h.
Referenced by GenerateARCBBTerminatorAnnotation().
|
inline |
Definition at line 1280 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateICmpEQ(), llvm::IRBuilder< true, TargetFolder >::CreateICmpNE(), llvm::IRBuilder< true, TargetFolder >::CreateICmpSGE(), llvm::IRBuilder< true, TargetFolder >::CreateICmpSGT(), llvm::IRBuilder< true, TargetFolder >::CreateICmpSLE(), llvm::IRBuilder< true, TargetFolder >::CreateICmpSLT(), llvm::IRBuilder< true, TargetFolder >::CreateICmpUGE(), llvm::IRBuilder< true, TargetFolder >::CreateICmpUGT(), llvm::IRBuilder< true, TargetFolder >::CreateICmpULE(), llvm::IRBuilder< true, TargetFolder >::CreateICmpULT(), createMinMaxOp(), foldLogOpOfMaskedICmps(), FoldOperationIntoSelectOperand(), and getNewICmpValue().
|
inline |
Definition at line 1206 of file IRBuilder.h.
Referenced by llvm::ConstantFoldTerminator(), llvm::IRBuilder< true, TargetFolder >::CreateIsNull(), generateUnsignedDivisionCode(), and llvm::UpgradeIntrinsicCall().
|
inline |
Definition at line 1209 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateIsNotNull().
|
inline |
Definition at line 1227 of file IRBuilder.h.
|
inline |
Definition at line 1224 of file IRBuilder.h.
Referenced by llvm::UpgradeIntrinsicCall().
|
inline |
Definition at line 1233 of file IRBuilder.h.
|
inline |
Definition at line 1230 of file IRBuilder.h.
|
inline |
Definition at line 1215 of file IRBuilder.h.
|
inline |
Definition at line 1212 of file IRBuilder.h.
Referenced by generateUnsignedDivisionCode().
|
inline |
Definition at line 1221 of file IRBuilder.h.
|
inline |
Definition at line 1218 of file IRBuilder.h.
Referenced by convertMemSetToLoop(), convertTransferToLoop(), foldUDivNegCst(), SwitchToLookupTable(), and TurnSwitchRangeIntoICmp().
|
inline |
Definition at line 944 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateGlobalStringPtr(), createReplacementInstr(), and InstCombineStoreToCast().
|
inline |
Definition at line 963 of file IRBuilder.h.
|
inline |
Create an indirect branch instruction with the specified address operand, with an optional hint for the number of destinations that will be added (for efficient allocation).
Definition at line 550 of file IRBuilder.h.
|
inline |
Definition at line 1357 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateVectorSplat(), and OptimizeIntegerToVectorInsertions().
|
inline |
Definition at line 1383 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateAggregateRet().
|
inline |
Definition at line 1180 of file IRBuilder.h.
Referenced by llvm::EmitFPutC(), llvm::EmitPutChar(), EvaluateGEPOffsetExpression(), llvm::SimplifyFortifiedLibCalls::fold(), and llvm::InstCombiner::visitAllocaInst().
|
inline |
Definition at line 1128 of file IRBuilder.h.
Referenced by createCast().
|
inline |
Definition at line 554 of file IRBuilder.h.
|
inline |
Definition at line 560 of file IRBuilder.h.
|
inline |
Create an invoke instruction.
Definition at line 575 of file IRBuilder.h.
|
inline |
Definition at line 566 of file IRBuilder.h.
|
inline |
Return an i1 value testing if Arg
is not null.
Definition at line 1408 of file IRBuilder.h.
|
inline |
Return an i1 value testing if Arg
is null.
Definition at line 1402 of file IRBuilder.h.
|
inline |
Definition at line 1392 of file IRBuilder.h.
|
inline |
Definition at line 879 of file IRBuilder.h.
Referenced by convertTransferToLoop(), llvm::IRBuilder< true, TargetFolder >::CreateAlignedLoad(), InstCombineLoadCast(), and llvm::InstCombiner::visitLoadInst().
|
inline |
Definition at line 882 of file IRBuilder.h.
|
inline |
Definition at line 885 of file IRBuilder.h.
|
inline |
Definition at line 753 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateLShr(), foldSelectICmpAnd(), foldSelectICmpAndOr(), generateUnsignedDivisionCode(), GetShiftedValue(), and llvm::InstCombiner::SliceUpIllegalIntegerPHI().
|
inline |
Definition at line 762 of file IRBuilder.h.
|
inline |
Definition at line 766 of file IRBuilder.h.
|
inline |
Definition at line 659 of file IRBuilder.h.
Referenced by buildMultiplyTree(), llvm::IRBuilder< true, TargetFolder >::CreateNSWMul(), llvm::IRBuilder< true, TargetFolder >::CreateNUWMul(), generatedUnsignedRemainderCode(), llvm::ObjectSizeOffsetEvaluator::visitAllocaInst(), and llvm::ObjectSizeOffsetEvaluator::visitCallSite().
|
inline |
Definition at line 842 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateNSWNeg(), and llvm::IRBuilder< true, TargetFolder >::CreateNUWNeg().
|
inline |
Definition at line 863 of file IRBuilder.h.
Referenced by llvm::FoldBranchToCommonDest(), and SimplifyCondBranchToCondBranch().
|
inline |
Definition at line 623 of file IRBuilder.h.
|
inline |
Definition at line 667 of file IRBuilder.h.
|
inline |
Definition at line 851 of file IRBuilder.h.
|
inline |
Definition at line 645 of file IRBuilder.h.
|
inline |
Definition at line 626 of file IRBuilder.h.
|
inline |
Definition at line 670 of file IRBuilder.h.
|
inline |
Definition at line 854 of file IRBuilder.h.
|
inline |
Definition at line 648 of file IRBuilder.h.
|
inline |
Definition at line 805 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateOr(), foldLogOpOfMaskedICmps(), foldSelectICmpAndOr(), generateUnsignedDivisionCode(), and SimplifyCondBranchToCondBranch().
|
inline |
Definition at line 814 of file IRBuilder.h.
|
inline |
Definition at line 817 of file IRBuilder.h.
|
inline |
Definition at line 1299 of file IRBuilder.h.
Referenced by convertMemSetToLoop(), convertTransferToLoop(), generateUnsignedDivisionCode(), and llvm::ObjectSizeOffsetEvaluator::visitPHINode().
|
inline |
Definition at line 1172 of file IRBuilder.h.
|
inline |
Return the i64 difference between two pointer values, dividing out the size of the pointed-to objects.
This is intended to implement C-style pointer subtraction. As such, the pointers must be appropriately aligned for their element types and pointing into the same object.
Definition at line 1419 of file IRBuilder.h.
|
inline |
Definition at line 1124 of file IRBuilder.h.
Referenced by createCast(), llvm::IRBuilder< true, TargetFolder >::CreatePtrDiff(), and SimplifyBranchOnICmpChain().
|
inline |
Definition at line 582 of file IRBuilder.h.
|
inline |
Create a 'ret <val>' instruction.
Definition at line 507 of file IRBuilder.h.
Referenced by SimplifyCondBranchToTwoReturns(), and SwitchToLookupTable().
|
inline |
Create a 'ret void' instruction.
Definition at line 502 of file IRBuilder.h.
Referenced by SimplifyCondBranchToTwoReturns().
|
inline |
Definition at line 693 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateExactSDiv(), llvm::expandDivisionUpTo32Bits(), and insertFastDiv().
|
inline |
Definition at line 1336 of file IRBuilder.h.
Referenced by createMinMaxOp(), FoldTwoEntryPHINode(), generateUnsignedDivisionCode(), HoistThenElseCodeToIf(), SimplifyCondBranchToCondBranch(), SimplifyCondBranchToTwoReturns(), SpeculativelyExecuteBB(), and llvm::ObjectSizeOffsetEvaluator::visitSelectInst().
|
inline |
Definition at line 1074 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateSExtOrTrunc(), llvm::expandDivisionUpTo32Bits(), llvm::expandRemainderUpTo32Bits(), and llvm::UpgradeIntrinsicCall().
|
inline |
Definition at line 1148 of file IRBuilder.h.
|
inline |
Create a SExt or Trunc from the integer value V to DestTy. Return the value untouched if the type of V is already DestTy.
Definition at line 1093 of file IRBuilder.h.
|
inline |
Definition at line 734 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateShl(), foldSelectICmpAnd(), foldSelectICmpAndOr(), generateUnsignedDivisionCode(), GetShiftedValue(), and simplifyValueKnownNonZero().
|
inline |
Definition at line 742 of file IRBuilder.h.
|
inline |
Definition at line 747 of file IRBuilder.h.
|
inline |
Definition at line 1366 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateVectorSplat(), and llvm::UpgradeIntrinsicCall().
|
inline |
Definition at line 1114 of file IRBuilder.h.
|
inline |
Definition at line 719 of file IRBuilder.h.
Referenced by llvm::expandRemainderUpTo32Bits().
|
inline |
Definition at line 888 of file IRBuilder.h.
Referenced by convertMemSetToLoop(), convertTransferToLoop(), llvm::IRBuilder< true, TargetFolder >::CreateAlignedStore(), and llvm::UpgradeIntrinsicCall().
|
inline |
Definition at line 1051 of file IRBuilder.h.
|
inline |
Definition at line 637 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateNSWSub(), llvm::IRBuilder< true, TargetFolder >::CreateNUWSub(), llvm::IRBuilder< true, TargetFolder >::CreatePtrDiff(), generatedUnsignedRemainderCode(), generateSignedDivisionCode(), generateSignedRemainderCode(), generateUnsignedDivisionCode(), simplifyValueKnownNonZero(), and SwitchToLookupTable().
|
inline |
Create a switch instruction with the specified value, default dest, and with a hint for the number of cases that will be added (for efficient allocation).
Definition at line 541 of file IRBuilder.h.
Referenced by SimplifyBranchOnICmpChain().
|
inline |
Definition at line 1068 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateSExtOrTrunc(), llvm::IRBuilder< true, TargetFolder >::CreateZExtOrTrunc(), EvaluateGEPOffsetExpression(), llvm::expandDivisionUpTo32Bits(), llvm::expandRemainderUpTo32Bits(), ProcessUGT_ADDCST_ADD(), llvm::InstCombiner::SliceUpIllegalIntegerPHI(), and llvm::UpgradeIntrinsicCall().
|
inline |
Definition at line 1156 of file IRBuilder.h.
Referenced by llvm::SCEVExpander::replaceCongruentIVs().
|
inline |
Definition at line 681 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateExactUDiv(), llvm::expandDivisionUpTo32Bits(), generatedUnsignedRemainderCode(), generateSignedDivisionCode(), and insertFastDiv().
|
inline |
Definition at line 1111 of file IRBuilder.h.
|
inline |
Definition at line 586 of file IRBuilder.h.
Referenced by removeUndefIntroducingPredecessor().
|
inline |
Definition at line 713 of file IRBuilder.h.
Referenced by llvm::expandRemainderUpTo32Bits(), and generateSignedRemainderCode().
|
inline |
Definition at line 1345 of file IRBuilder.h.
|
inline |
Return a vector value that contains.
NumElts
elements. Definition at line 1433 of file IRBuilder.h.
|
inline |
Definition at line 821 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateXor(), foldSelectICmpAnd(), foldSelectICmpAndOr(), generateSignedDivisionCode(), and generateSignedRemainderCode().
|
inline |
Definition at line 827 of file IRBuilder.h.
|
inline |
Definition at line 830 of file IRBuilder.h.
|
inline |
Definition at line 1071 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateZExtOrTrunc(), llvm::expandDivisionUpTo32Bits(), llvm::expandRemainderUpTo32Bits(), foldUDivShl(), ProcessUGT_ADDCST_ADD(), llvm::UpgradeIntrinsicCall(), and llvm::ObjectSizeOffsetEvaluator::visitCallSite().
|
inline |
Definition at line 1140 of file IRBuilder.h.
|
inline |
Create a ZExt or Trunc from the integer value V to DestTy. Return the value untouched if the type of V is already DestTy.
Definition at line 1079 of file IRBuilder.h.
Referenced by foldSelectICmpAnd(), and foldSelectICmpAndOr().
|
inline |
Get the constant folder being used.
Definition at line 467 of file IRBuilder.h.
|
inline |
Insert and return the specified instruction.
Definition at line 475 of file IRBuilder.h.
Referenced by llvm::IRBuilder< true, TargetFolder >::CreateAdd(), llvm::IRBuilder< true, TargetFolder >::CreateAggregateRet(), llvm::IRBuilder< true, TargetFolder >::CreateAlloca(), llvm::IRBuilder< true, TargetFolder >::CreateAnd(), llvm::IRBuilder< true, TargetFolder >::CreateAShr(), llvm::IRBuilder< true, TargetFolder >::CreateAtomicCmpXchg(), llvm::IRBuilder< true, TargetFolder >::CreateAtomicRMW(), llvm::IRBuilder< true, TargetFolder >::CreateBinOp(), llvm::IRBuilder< true, TargetFolder >::CreateBr(), llvm::IRBuilder< true, TargetFolder >::CreateCall(), llvm::IRBuilder< true, TargetFolder >::CreateCall2(), llvm::IRBuilder< true, TargetFolder >::CreateCall3(), llvm::IRBuilder< true, TargetFolder >::CreateCall4(), llvm::IRBuilder< true, TargetFolder >::CreateCall5(), llvm::IRBuilder< true, TargetFolder >::CreateCast(), llvm::IRBuilder< true, TargetFolder >::CreateCondBr(), llvm::IRBuilder< true, TargetFolder >::CreateConstGEP1_32(), llvm::IRBuilder< true, TargetFolder >::CreateConstGEP1_64(), llvm::IRBuilder< true, TargetFolder >::CreateConstGEP2_32(), llvm::IRBuilder< true, TargetFolder >::CreateConstGEP2_64(), llvm::IRBuilder< true, TargetFolder >::CreateConstInBoundsGEP1_32(), llvm::IRBuilder< true, TargetFolder >::CreateConstInBoundsGEP1_64(), llvm::IRBuilder< true, TargetFolder >::CreateConstInBoundsGEP2_32(), llvm::IRBuilder< true, TargetFolder >::CreateConstInBoundsGEP2_64(), llvm::IRBuilder< true, TargetFolder >::CreateExtractElement(), llvm::IRBuilder< true, TargetFolder >::CreateExtractValue(), llvm::IRBuilder< true, TargetFolder >::CreateFAdd(), llvm::IRBuilder< true, TargetFolder >::CreateFCmp(), llvm::IRBuilder< true, TargetFolder >::CreateFDiv(), llvm::IRBuilder< true, TargetFolder >::CreateFence(), llvm::IRBuilder< true, TargetFolder >::CreateFMul(), llvm::IRBuilder< true, TargetFolder >::CreateFNeg(), llvm::IRBuilder< true, TargetFolder >::CreateFPCast(), llvm::IRBuilder< true, TargetFolder >::CreateFRem(), llvm::IRBuilder< true, TargetFolder >::CreateFSub(), llvm::IRBuilder< true, TargetFolder >::CreateGEP(), llvm::IRBuilder< true, TargetFolder >::CreateICmp(), llvm::IRBuilder< true, TargetFolder >::CreateInBoundsGEP(), llvm::IRBuilder< true, TargetFolder >::CreateIndirectBr(), llvm::IRBuilder< true, TargetFolder >::CreateInsertElement(), llvm::IRBuilder< true, TargetFolder >::CreateInsertValue(), llvm::IRBuilder< true, TargetFolder >::CreateIntCast(), llvm::IRBuilder< true, TargetFolder >::CreateInvoke(), llvm::IRBuilder< true, TargetFolder >::CreateInvoke3(), llvm::IRBuilder< true, TargetFolder >::CreateLandingPad(), llvm::IRBuilder< true, TargetFolder >::CreateLoad(), llvm::IRBuilder< true, TargetFolder >::CreateLShr(), llvm::IRBuilder< true, TargetFolder >::CreateMul(), llvm::IRBuilder< true, TargetFolder >::CreateNeg(), llvm::IRBuilder< true, TargetFolder >::CreateNot(), llvm::IRBuilder< true, TargetFolder >::CreateOr(), llvm::IRBuilder< true, TargetFolder >::CreatePHI(), llvm::IRBuilder< true, TargetFolder >::CreatePointerCast(), llvm::IRBuilder< true, TargetFolder >::CreateResume(), llvm::IRBuilder< true, TargetFolder >::CreateRet(), llvm::IRBuilder< true, TargetFolder >::CreateRetVoid(), llvm::IRBuilder< true, TargetFolder >::CreateSDiv(), llvm::IRBuilder< true, TargetFolder >::CreateSelect(), llvm::IRBuilder< true, TargetFolder >::CreateSExtOrBitCast(), llvm::IRBuilder< true, TargetFolder >::CreateShl(), llvm::IRBuilder< true, TargetFolder >::CreateShuffleVector(), llvm::IRBuilder< true, TargetFolder >::CreateSRem(), llvm::IRBuilder< true, TargetFolder >::CreateStore(), llvm::IRBuilder< true, TargetFolder >::CreateSub(), llvm::IRBuilder< true, TargetFolder >::CreateSwitch(), llvm::IRBuilder< true, TargetFolder >::CreateTruncOrBitCast(), llvm::IRBuilder< true, TargetFolder >::CreateUDiv(), llvm::IRBuilder< true, TargetFolder >::CreateUnreachable(), llvm::IRBuilder< true, TargetFolder >::CreateURem(), llvm::IRBuilder< true, TargetFolder >::CreateVAArg(), llvm::IRBuilder< true, TargetFolder >::CreateXor(), and llvm::IRBuilder< true, TargetFolder >::CreateZExtOrBitCast().
|
inline |
No-op overload to handle constants.
Definition at line 482 of file IRBuilder.h.
|
inline |
Return true if this builder is configured to actually add the requested names to IR created through it.
Definition at line 471 of file IRBuilder.h.