|
LLVM
4.0.0
|
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, Inserter I=Inserter(), MDNode *FPMathTag=nullptr, ArrayRef< OperandBundleDef > OpBundles=None) | |
| IRBuilder (LLVMContext &C, MDNode *FPMathTag=nullptr, ArrayRef< OperandBundleDef > OpBundles=None) | |
| IRBuilder (BasicBlock *TheBB, const T &F, MDNode *FPMathTag=nullptr, ArrayRef< OperandBundleDef > OpBundles=None) | |
| IRBuilder (BasicBlock *TheBB, MDNode *FPMathTag=nullptr, ArrayRef< OperandBundleDef > OpBundles=None) | |
| IRBuilder (Instruction *IP, MDNode *FPMathTag=nullptr, ArrayRef< OperandBundleDef > OpBundles=None) | |
| IRBuilder (BasicBlock *TheBB, BasicBlock::iterator IP, const T &F, MDNode *FPMathTag=nullptr, ArrayRef< OperandBundleDef > OpBundles=None) | |
| IRBuilder (BasicBlock *TheBB, BasicBlock::iterator IP, MDNode *FPMathTag=nullptr, ArrayRef< OperandBundleDef > OpBundles=None) | |
| const T & | getFolder () |
| Get the constant folder being used. 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=nullptr, MDNode *Unpredictable=nullptr) |
| Create a conditional 'br Cond, TrueDest, FalseDest' instruction. More... | |
| BranchInst * | CreateCondBr (Value *Cond, BasicBlock *True, BasicBlock *False, Instruction *MDSrc) |
| Create a conditional 'br Cond, TrueDest, FalseDest' instruction. More... | |
| SwitchInst * | CreateSwitch (Value *V, BasicBlock *Dest, unsigned NumCases=10, MDNode *BranchWeights=nullptr, MDNode *Unpredictable=nullptr) |
| 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, ArrayRef< Value * > Args=None, const Twine &Name="") |
| Create an invoke instruction. More... | |
| InvokeInst * | CreateInvoke (Value *Callee, BasicBlock *NormalDest, BasicBlock *UnwindDest, ArrayRef< Value * > Args, ArrayRef< OperandBundleDef > OpBundles, const Twine &Name="") |
| ResumeInst * | CreateResume (Value *Exn) |
| CleanupReturnInst * | CreateCleanupRet (CleanupPadInst *CleanupPad, BasicBlock *UnwindBB=nullptr) |
| CatchSwitchInst * | CreateCatchSwitch (Value *ParentPad, BasicBlock *UnwindBB, unsigned NumHandlers, const Twine &Name="") |
| CatchPadInst * | CreateCatchPad (Value *ParentPad, ArrayRef< Value * > Args, const Twine &Name="") |
| CleanupPadInst * | CreateCleanupPad (Value *ParentPad, ArrayRef< Value * > Args=None, const Twine &Name="") |
| CatchReturnInst * | CreateCatchRet (CatchPadInst *CatchPad, BasicBlock *BB) |
| 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=nullptr) |
| 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=nullptr) |
| 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=nullptr) |
| 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=nullptr) |
| 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=nullptr) |
| 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="", MDNode *FPMathTag=nullptr) |
| 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=nullptr) |
| Value * | CreateNot (Value *V, const Twine &Name="") |
| AllocaInst * | CreateAlloca (Type *Ty, Value *ArraySize=nullptr, const Twine &Name="") |
| LoadInst * | CreateLoad (Value *Ptr, const char *Name) |
| LoadInst * | CreateLoad (Value *Ptr, const Twine &Name="") |
| LoadInst * | CreateLoad (Type *Ty, 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, const Twine &Name="") |
| AtomicCmpXchgInst * | CreateAtomicCmpXchg (Value *Ptr, Value *Cmp, Value *New, AtomicOrdering SuccessOrdering, AtomicOrdering FailureOrdering, 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 * | CreateGEP (Type *Ty, Value *Ptr, ArrayRef< Value * > IdxList, const Twine &Name="") |
| Value * | CreateInBoundsGEP (Value *Ptr, ArrayRef< Value * > IdxList, const Twine &Name="") |
| Value * | CreateInBoundsGEP (Type *Ty, Value *Ptr, ArrayRef< Value * > IdxList, const Twine &Name="") |
| Value * | CreateGEP (Value *Ptr, Value *Idx, const Twine &Name="") |
| Value * | CreateGEP (Type *Ty, Value *Ptr, Value *Idx, const Twine &Name="") |
| Value * | CreateInBoundsGEP (Type *Ty, Value *Ptr, Value *Idx, const Twine &Name="") |
| Value * | CreateConstGEP1_32 (Value *Ptr, unsigned Idx0, const Twine &Name="") |
| Value * | CreateConstGEP1_32 (Type *Ty, Value *Ptr, unsigned Idx0, const Twine &Name="") |
| Value * | CreateConstInBoundsGEP1_32 (Type *Ty, Value *Ptr, unsigned Idx0, const Twine &Name="") |
| Value * | CreateConstGEP2_32 (Type *Ty, Value *Ptr, unsigned Idx0, unsigned Idx1, const Twine &Name="") |
| Value * | CreateConstInBoundsGEP2_32 (Type *Ty, 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 (Type *Ty, Value *Ptr, unsigned Idx, const Twine &Name="") |
| Value * | CreateGlobalStringPtr (StringRef Str, const Twine &Name="", unsigned AddressSpace=0) |
| 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. More... | |
| Value * | CreateSExtOrTrunc (Value *V, Type *DestTy, const Twine &Name="") |
| Create a SExt or Trunc from the integer value V to 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 * | CreatePointerBitCastOrAddrSpaceCast (Value *V, Type *DestTy, const Twine &Name="") |
| Value * | CreateIntCast (Value *V, Type *DestTy, bool isSigned, const Twine &Name="") |
| Value * | CreateBitOrPointerCast (Value *V, Type *DestTy, const Twine &Name="") |
| Value * | CreateFPCast (Value *V, Type *DestTy, const Twine &Name="") |
| Value * | CreateIntCast (Value *, Type *, const char *)=delete |
| 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="", MDNode *FPMathTag=nullptr) |
| Value * | CreateFCmpOGT (Value *LHS, Value *RHS, const Twine &Name="", MDNode *FPMathTag=nullptr) |
| Value * | CreateFCmpOGE (Value *LHS, Value *RHS, const Twine &Name="", MDNode *FPMathTag=nullptr) |
| Value * | CreateFCmpOLT (Value *LHS, Value *RHS, const Twine &Name="", MDNode *FPMathTag=nullptr) |
| Value * | CreateFCmpOLE (Value *LHS, Value *RHS, const Twine &Name="", MDNode *FPMathTag=nullptr) |
| Value * | CreateFCmpONE (Value *LHS, Value *RHS, const Twine &Name="", MDNode *FPMathTag=nullptr) |
| Value * | CreateFCmpORD (Value *LHS, Value *RHS, const Twine &Name="", MDNode *FPMathTag=nullptr) |
| Value * | CreateFCmpUNO (Value *LHS, Value *RHS, const Twine &Name="", MDNode *FPMathTag=nullptr) |
| Value * | CreateFCmpUEQ (Value *LHS, Value *RHS, const Twine &Name="", MDNode *FPMathTag=nullptr) |
| Value * | CreateFCmpUGT (Value *LHS, Value *RHS, const Twine &Name="", MDNode *FPMathTag=nullptr) |
| Value * | CreateFCmpUGE (Value *LHS, Value *RHS, const Twine &Name="", MDNode *FPMathTag=nullptr) |
| Value * | CreateFCmpULT (Value *LHS, Value *RHS, const Twine &Name="", MDNode *FPMathTag=nullptr) |
| Value * | CreateFCmpULE (Value *LHS, Value *RHS, const Twine &Name="", MDNode *FPMathTag=nullptr) |
| Value * | CreateFCmpUNE (Value *LHS, Value *RHS, const Twine &Name="", MDNode *FPMathTag=nullptr) |
| Value * | CreateICmp (CmpInst::Predicate P, Value *LHS, Value *RHS, const Twine &Name="") |
| Value * | CreateFCmp (CmpInst::Predicate P, Value *LHS, Value *RHS, const Twine &Name="", MDNode *FPMathTag=nullptr) |
| PHINode * | CreatePHI (Type *Ty, unsigned NumReservedValues, const Twine &Name="") |
| CallInst * | CreateCall (Value *Callee, ArrayRef< Value * > Args=None, const Twine &Name="", MDNode *FPMathTag=nullptr) |
| CallInst * | CreateCall (FunctionType *FTy, Value *Callee, ArrayRef< Value * > Args, const Twine &Name="", MDNode *FPMathTag=nullptr) |
| CallInst * | CreateCall (Value *Callee, ArrayRef< Value * > Args, ArrayRef< OperandBundleDef > OpBundles, const Twine &Name="", MDNode *FPMathTag=nullptr) |
| CallInst * | CreateCall (Function *Callee, ArrayRef< Value * > Args, const Twine &Name="", MDNode *FPMathTag=nullptr) |
| Value * | CreateSelect (Value *C, Value *True, Value *False, const Twine &Name="", Instruction *MDFrom=nullptr) |
| VAArgInst * | CreateVAArg (Value *List, Type *Ty, const Twine &Name="") |
| Value * | CreateExtractElement (Value *Vec, Value *Idx, const Twine &Name="") |
| Value * | CreateExtractElement (Value *Vec, uint64_t Idx, const Twine &Name="") |
| Value * | CreateInsertElement (Value *Vec, Value *NewElt, Value *Idx, const Twine &Name="") |
| Value * | CreateInsertElement (Value *Vec, Value *NewElt, uint64_t Idx, const Twine &Name="") |
| Value * | CreateShuffleVector (Value *V1, Value *V2, Value *Mask, const Twine &Name="") |
| Value * | CreateShuffleVector (Value *V1, Value *V2, ArrayRef< uint32_t > IntMask, 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, 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 * | CreateInvariantGroupBarrier (Value *Ptr) |
| Create an invariant.group.barrier intrinsic call, that stops optimizer to propagate equality using invariant.group metadata. More... | |
| Value * | CreateVectorSplat (unsigned NumElts, Value *V, const Twine &Name="") |
| Return a vector value that contains. More... | |
| Value * | CreateExtractInteger (const DataLayout &DL, Value *From, IntegerType *ExtractedTy, uint64_t Offset, const Twine &Name) |
| Return a value that has been extracted from a larger integer type. More... | |
| CallInst * | CreateAlignmentAssumption (const DataLayout &DL, Value *PtrValue, unsigned Alignment, Value *OffsetValue=nullptr) |
| Create an assume intrinsic call that represents an alignment assumption on the provided pointer. More... | |
Public Member Functions inherited from llvm::IRBuilderBase | |
| IRBuilderBase (LLVMContext &context, MDNode *FPMathTag=nullptr, ArrayRef< OperandBundleDef > OpBundles=None) | |
| 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 | SetCurrentDebugLocation (DebugLoc L) |
| Set location information used by debugging information. More... | |
| const 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... | |
| GlobalVariable * | CreateGlobalString (StringRef Str, const Twine &Name="", unsigned AddressSpace=0) |
| 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 * | getIntN (unsigned N, uint64_t C) |
| Get a constant N-bit value, zero extended or truncated from a 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... | |
| IntegerType * | getInt128Ty () |
| Fetch the type representing a 128-bit integer. More... | |
| IntegerType * | getIntNTy (unsigned N) |
| Fetch the type representing an N-bit integer. More... | |
| Type * | getHalfTy () |
| Fetch the type representing a 16-bit floating point value. 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=nullptr, MDNode *ScopeTag=nullptr, MDNode *NoAliasTag=nullptr) |
| 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=nullptr, MDNode *ScopeTag=nullptr, MDNode *NoAliasTag=nullptr) |
| CallInst * | CreateMemCpy (Value *Dst, Value *Src, uint64_t Size, unsigned Align, bool isVolatile=false, MDNode *TBAATag=nullptr, MDNode *TBAAStructTag=nullptr, MDNode *ScopeTag=nullptr, MDNode *NoAliasTag=nullptr) |
| 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=nullptr, MDNode *TBAAStructTag=nullptr, MDNode *ScopeTag=nullptr, MDNode *NoAliasTag=nullptr) |
| CallInst * | CreateMemMove (Value *Dst, Value *Src, uint64_t Size, unsigned Align, bool isVolatile=false, MDNode *TBAATag=nullptr, MDNode *ScopeTag=nullptr, MDNode *NoAliasTag=nullptr) |
| 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=nullptr, MDNode *ScopeTag=nullptr, MDNode *NoAliasTag=nullptr) |
| CallInst * | CreateLifetimeStart (Value *Ptr, ConstantInt *Size=nullptr) |
| Create a lifetime.start intrinsic. More... | |
| CallInst * | CreateLifetimeEnd (Value *Ptr, ConstantInt *Size=nullptr) |
| Create a lifetime.end intrinsic. More... | |
| CallInst * | CreateInvariantStart (Value *Ptr, ConstantInt *Size=nullptr) |
| Create a call to invariant.start intrinsic. More... | |
| CallInst * | CreateMaskedLoad (Value *Ptr, unsigned Align, Value *Mask, Value *PassThru=nullptr, const Twine &Name="") |
| Create a call to Masked Load intrinsic. More... | |
| CallInst * | CreateMaskedStore (Value *Val, Value *Ptr, unsigned Align, Value *Mask) |
| Create a call to Masked Store intrinsic. More... | |
| CallInst * | CreateMaskedGather (Value *Ptrs, unsigned Align, Value *Mask=nullptr, Value *PassThru=nullptr, const Twine &Name="") |
| Create a call to Masked Gather intrinsic. More... | |
| CallInst * | CreateMaskedScatter (Value *Val, Value *Ptrs, unsigned Align, Value *Mask=nullptr) |
| Create a call to Masked Scatter intrinsic. More... | |
| CallInst * | CreateAssumption (Value *Cond) |
| Create an assume intrinsic call that allows the optimizer to assume that the provided condition will be true. More... | |
| CallInst * | CreateGCStatepointCall (uint64_t ID, uint32_t NumPatchBytes, Value *ActualCallee, ArrayRef< Value * > CallArgs, ArrayRef< Value * > DeoptArgs, ArrayRef< Value * > GCArgs, const Twine &Name="") |
| Create a call to the experimental.gc.statepoint intrinsic to start a new statepoint sequence. More... | |
| CallInst * | CreateGCStatepointCall (uint64_t ID, uint32_t NumPatchBytes, Value *ActualCallee, uint32_t Flags, ArrayRef< Use > CallArgs, ArrayRef< Use > TransitionArgs, ArrayRef< Use > DeoptArgs, ArrayRef< Value * > GCArgs, const Twine &Name="") |
| Create a call to the experimental.gc.statepoint intrinsic to start a new statepoint sequence. More... | |
| CallInst * | CreateGCStatepointCall (uint64_t ID, uint32_t NumPatchBytes, Value *ActualCallee, ArrayRef< Use > CallArgs, ArrayRef< Value * > DeoptArgs, ArrayRef< Value * > GCArgs, const Twine &Name="") |
| InvokeInst * | CreateGCStatepointInvoke (uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee, BasicBlock *NormalDest, BasicBlock *UnwindDest, ArrayRef< Value * > InvokeArgs, ArrayRef< Value * > DeoptArgs, ArrayRef< Value * > GCArgs, const Twine &Name="") |
| brief Create an invoke to the experimental.gc.statepoint intrinsic to start a new statepoint sequence. More... | |
| InvokeInst * | CreateGCStatepointInvoke (uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee, BasicBlock *NormalDest, BasicBlock *UnwindDest, uint32_t Flags, ArrayRef< Use > InvokeArgs, ArrayRef< Use > TransitionArgs, ArrayRef< Use > DeoptArgs, ArrayRef< Value * > GCArgs, const Twine &Name="") |
| brief Create an invoke to the experimental.gc.statepoint intrinsic to start a new statepoint sequence. More... | |
| InvokeInst * | CreateGCStatepointInvoke (uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee, BasicBlock *NormalDest, BasicBlock *UnwindDest, ArrayRef< Use > InvokeArgs, ArrayRef< Value * > DeoptArgs, ArrayRef< Value * > GCArgs, const Twine &Name="") |
| CallInst * | CreateGCResult (Instruction *Statepoint, Type *ResultType, const Twine &Name="") |
| Create a call to the experimental.gc.result intrinsic to extract the result from a call wrapped in a statepoint. More... | |
| CallInst * | CreateGCRelocate (Instruction *Statepoint, int BaseOffset, int DerivedOffset, Type *ResultType, const Twine &Name="") |
| Create a call to the experimental.gc.relocate intrinsics to project the relocated value of one pointer from the statepoint. More... | |
Additional Inherited Members | |
Protected Attributes inherited from llvm::IRBuilderBase | |
| BasicBlock * | BB |
| BasicBlock::iterator | InsertPt |
| LLVMContext & | Context |
| MDNode * | DefaultFPMathTag |
| FastMathFlags | FMF |
| ArrayRef< OperandBundleDef > | DefaultOperandBundles |
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 specifies a class to use for creating constants. This defaults to creating minimally folded constants. The second template argument allows clients to specify custom insertion hooks that are called on every newly created insertion.
Definition at line 588 of file IRBuilder.h.
|
inline |
Definition at line 592 of file IRBuilder.h.
|
inlineexplicit |
Definition at line 598 of file IRBuilder.h.
|
inlineexplicit |
Definition at line 602 of file IRBuilder.h.
|
inlineexplicit |
Definition at line 608 of file IRBuilder.h.
|
inlineexplicit |
Definition at line 614 of file IRBuilder.h.
|
inline |
Definition at line 620 of file IRBuilder.h.
|
inline |
Definition at line 627 of file IRBuilder.h.
|
inline |
Definition at line 813 of file IRBuilder.h.
Referenced by llvm::IRBuilder< TargetFolder >::CreateNSWAdd(), llvm::IRBuilder< TargetFolder >::CreateNUWAdd(), evaluateGEPOffsetExpression(), foldUDivShl(), generateUnsignedDivisionCode(), LowerAtomicRMWInst(), LowerCTPOP(), performAtomicOp(), llvm::InductionDescriptor::transform(), TurnSwitchRangeIntoICmp(), llvm::UnrollRuntimeLoopRemainder(), llvm::UpgradeIntrinsicCall(), and llvm::ObjectSizeOffsetEvaluator::visitGEPOperator().
|
inline |
Definition at line 1366 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 685 of file IRBuilder.h.
|
inline |
Definition at line 1100 of file IRBuilder.h.
Referenced by combineLoadToNewType(), simplifyMaskedLoad(), unpackLoadToAggregate(), llvm::UpgradeIntrinsicCall(), and UpgradeMaskedLoad().
|
inline |
Definition at line 1105 of file IRBuilder.h.
|
inline |
Definition at line 1111 of file IRBuilder.h.
|
inline |
Definition at line 1117 of file IRBuilder.h.
Referenced by combineStoreToNewValue(), unpackStoreToAggregate(), llvm::UpgradeIntrinsicCall(), and UpgradeMaskedStore().
|
inline |
Create an assume intrinsic call that represents an alignment assumption on the provided pointer.
An optional offset can be provided, and if it is provided, the offset must be subtracted from the provided pointer to get the pointer with the specified alignment.
Definition at line 1799 of file IRBuilder.h.
|
inline |
Definition at line 1076 of file IRBuilder.h.
Referenced by handleNoSuspendCoroutine(), and simplifyAllocaArraySize().
|
inline |
Definition at line 987 of file IRBuilder.h.
Referenced by llvm::LoopAccessInfo::addRuntimeChecks(), checkForNegativeOperand(), llvm::IRBuilder< TargetFolder >::CreateAlignmentAssumption(), llvm::IRBuilder< TargetFolder >::CreateAnd(), createMaskedBitTest(), createMaskInstrs(), foldLogOpOfMaskedICmps(), generateUnsignedDivisionCode(), LowerAtomicRMWInst(), LowerBSWAP(), LowerCTPOP(), llvm::IntrinsicLowering::LowerIntrinsicCall(), performAtomicOp(), performMaskedAtomicOp(), processUMulZExtIdiom(), llvm::UnrollRuntimeLoopRemainder(), llvm::UpgradeIntrinsicCall(), upgradeMaskedCompare(), and upgradeMaskedMove().
|
inline |
Definition at line 996 of file IRBuilder.h.
|
inline |
Definition at line 999 of file IRBuilder.h.
|
inline |
Definition at line 969 of file IRBuilder.h.
Referenced by llvm::IRBuilder< TargetFolder >::CreateAShr(), generateSignedDivisionCode(), generateSignedRemainderCode(), generateUnsignedDivisionCode(), simplifyX86immShift(), and simplifyX86varShift().
|
inline |
Definition at line 978 of file IRBuilder.h.
|
inline |
Definition at line 982 of file IRBuilder.h.
|
inline |
Definition at line 1129 of file IRBuilder.h.
Referenced by createCmpXchgInstFun().
|
inline |
Definition at line 1136 of file IRBuilder.h.
|
inline |
Definition at line 1032 of file IRBuilder.h.
Referenced by CreateBinOpAsGiven(), createReplacementInstr(), llvm::FoldBranchToCommonDest(), foldLogicCastConstant(), foldOperationIntoSelectOperand(), matchDeMorgansLaws(), llvm::InductionDescriptor::transform(), and tryFactorization().
|
inline |
Definition at line 1362 of file IRBuilder.h.
Referenced by llvm::LoopAccessInfo::addRuntimeChecks(), canonicalizeBitCastExtElt(), llvm::castToCStr(), CoerceAvailableValueToLoadType(), combineLoadToNewType(), combineStoreToNewValue(), llvm::IRBuilder< TargetFolder >::CreateBitOrPointerCast(), createCast(), createIfThenElse(), llvm::IRBuilder< TargetFolder >::CreateInvariantGroupBarrier(), llvm::AArch64TargetLowering::emitLoadLinked(), llvm::ARMTargetLowering::emitLoadLinked(), llvm::AArch64TargetLowering::emitStoreConditional(), llvm::ARMTargetLowering::emitStoreConditional(), emitX86MaskSelect(), foldBitCastBitwiseLogic(), foldBitCastSelect(), foldVecTruncToExtElt(), GetStoreValueForLoad(), getX86MaskVec(), handleNoSuspendCoroutine(), llvm::InlineFunction(), llvm::ARMTargetLowering::lowerInterleavedLoad(), llvm::AArch64TargetLowering::lowerInterleavedStore(), llvm::ARMTargetLowering::lowerInterleavedStore(), lowerSubFn(), matchSelectFromAndOr(), optimizeVectorResize(), simplifyX86extrq(), simplifyX86insertq(), simplifyX86MaskedLoad(), simplifyX86MaskedStore(), llvm::UpgradeIntrinsicCall(), upgradeMaskedCompare(), UpgradeMaskedLoad(), UpgradeMaskedStore(), UpgradeX86PSLLDQIntrinsics(), and UpgradeX86PSRLDQIntrinsics().
|
inline |
Definition at line 1434 of file IRBuilder.h.
Referenced by llvm::InstCombiner::visitLoadInst().
|
inline |
Create an unconditional 'br label X' instruction.
Definition at line 693 of file IRBuilder.h.
Referenced by llvm::ConstantFoldTerminator(), FoldTwoEntryPHINode(), generateUnsignedDivisionCode(), RemoveSwitchAfterSelectConversion(), removeUndefIntroducingPredecessor(), SimplifyTerminatorOnSelect(), SwitchToLookupTable(), and TryToSimplifyUncondBranchWithICmpInIt().
|
inline |
Definition at line 1579 of file IRBuilder.h.
Referenced by callIntrinsic(), llvm::SanitizerStatReport::create(), llvm::IRBuilder< TargetFolder >::CreateCall(), CreateGCRelocates(), llvm::IRBuilder< TargetFolder >::CreateInvariantGroupBarrier(), createPopcntIntrinsic(), llvm::AArch64TargetLowering::emitAtomicCmpXchgNoStoreLLBalance(), llvm::ARMTargetLowering::emitAtomicCmpXchgNoStoreLLBalance(), llvm::emitBinaryFloatFnCall(), emitCalloc(), llvm::emitFPutC(), llvm::emitFPutS(), llvm::emitFWrite(), llvm::HexagonTargetLowering::emitLoadLinked(), llvm::AArch64TargetLowering::emitLoadLinked(), llvm::ARMTargetLowering::emitLoadLinked(), llvm::emitMemChr(), llvm::emitMemCmp(), llvm::emitMemCpyChk(), llvm::emitPutChar(), llvm::emitPutS(), llvm::HexagonTargetLowering::emitStoreConditional(), llvm::AArch64TargetLowering::emitStoreConditional(), llvm::ARMTargetLowering::emitStoreConditional(), llvm::emitStrChr(), llvm::emitStrCpy(), llvm::emitStrLen(), llvm::emitStrNCmp(), llvm::emitStrNCpy(), llvm::emitUnaryFloatFnCall(), generateUnsignedDivisionCode(), llvm::AArch64TargetLowering::getIRStackGuard(), llvm::AArch64TargetLowering::getSafeStackPointerLocation(), llvm::TargetLoweringBase::getSafeStackPointerLocation(), getStackGuard(), insertSinCosCall(), llvm::ARMTargetLowering::lowerInterleavedLoad(), llvm::AArch64TargetLowering::lowerInterleavedStore(), llvm::ARMTargetLowering::lowerInterleavedStore(), llvm::ARMTargetLowering::makeDMB(), MakeGuardControlFlowExplicit(), optimizeUnaryDoubleFP(), processUMulZExtIdiom(), simplifyX86extrq(), simplifyX86insertq(), llvm::UpgradeIntrinsicCall(), and UpgradeX86MaskedShift().
|
inline |
Definition at line 1586 of file IRBuilder.h.
|
inline |
Definition at line 1595 of file IRBuilder.h.
|
inline |
Definition at line 1604 of file IRBuilder.h.
|
inline |
Definition at line 1394 of file IRBuilder.h.
Referenced by llvm::IRBuilder< TargetFolder >::CreateAddrSpaceCast(), llvm::IRBuilder< TargetFolder >::CreateBitCast(), llvm::IRBuilder< TargetFolder >::CreateFPExt(), llvm::IRBuilder< TargetFolder >::CreateFPToSI(), llvm::IRBuilder< TargetFolder >::CreateFPToUI(), llvm::IRBuilder< TargetFolder >::CreateFPTrunc(), llvm::IRBuilder< TargetFolder >::CreateIntToPtr(), llvm::IRBuilder< TargetFolder >::CreatePtrToInt(), createReplacementInstr(), llvm::IRBuilder< TargetFolder >::CreateSExt(), llvm::IRBuilder< TargetFolder >::CreateSIToFP(), llvm::IRBuilder< TargetFolder >::CreateTrunc(), llvm::IRBuilder< TargetFolder >::CreateUIToFP(), llvm::IRBuilder< TargetFolder >::CreateZExt(), and foldOperationIntoSelectOperand().
|
inline |
Definition at line 768 of file IRBuilder.h.
|
inline |
Definition at line 779 of file IRBuilder.h.
|
inline |
Definition at line 761 of file IRBuilder.h.
|
inline |
Definition at line 773 of file IRBuilder.h.
|
inline |
Definition at line 756 of file IRBuilder.h.
|
inline |
Create a conditional 'br Cond, TrueDest, FalseDest' instruction.
Definition at line 699 of file IRBuilder.h.
Referenced by ConnectEpilog(), ConnectProlog(), llvm::ConstantFoldTerminator(), generateUnsignedDivisionCode(), handleFinalSuspend(), SimplifyBranchOnICmpChain(), SimplifyTerminatorOnSelect(), SwitchToLookupTable(), TurnSwitchRangeIntoICmp(), and llvm::UnrollRuntimeLoopRemainder().
|
inline |
Create a conditional 'br Cond, TrueDest, FalseDest' instruction.
Copy branch meta data if available.
Definition at line 708 of file IRBuilder.h.
|
inline |
Definition at line 1192 of file IRBuilder.h.
Referenced by llvm::IRBuilder< TargetFolder >::CreateConstGEP1_32(), llvm::AArch64TargetLowering::getIRStackGuard(), and llvm::AArch64TargetLowering::getSafeStackPointerLocation().
|
inline |
Definition at line 1195 of file IRBuilder.h.
|
inline |
Definition at line 1237 of file IRBuilder.h.
|
inline |
Definition at line 1213 of file IRBuilder.h.
|
inline |
Definition at line 1254 of file IRBuilder.h.
|
inline |
Definition at line 1204 of file IRBuilder.h.
|
inline |
Definition at line 1245 of file IRBuilder.h.
|
inline |
Definition at line 1225 of file IRBuilder.h.
Referenced by createResumeEntryBlock(), llvm::IRBuilder< TargetFolder >::CreateStructGEP(), handleFinalSuspend(), lowerSubFn(), and updateCoroFrame().
|
inline |
Definition at line 1266 of file IRBuilder.h.
|
inline |
Definition at line 900 of file IRBuilder.h.
Referenced by llvm::IRBuilder< TargetFolder >::CreatePtrDiff().
|
inline |
Definition at line 888 of file IRBuilder.h.
|
inline |
Definition at line 1629 of file IRBuilder.h.
Referenced by llvm::IRBuilder< TargetFolder >::CreateExtractElement(), insertSinCosCall(), instrumentMaskedLoadOrStore(), llvm::UpgradeIntrinsicCall(), upgradeMaskedMove(), and llvm::slpvectorizer::BoUpSLP::vectorizeTree().
|
inline |
Definition at line 1637 of file IRBuilder.h.
|
inline |
Return a value that has been extracted from a larger integer type.
Definition at line 1770 of file IRBuilder.h.
|
inline |
Definition at line 1671 of file IRBuilder.h.
Referenced by createCast(), createCmpXchgInstFun(), llvm::AArch64TargetLowering::emitLoadLinked(), llvm::ARMTargetLowering::emitLoadLinked(), insertSinCosCall(), llvm::ARMTargetLowering::lowerInterleavedLoad(), processUMulZExtIdiom(), and unpackStoreToAggregate().
|
inline |
Definition at line 827 of file IRBuilder.h.
Referenced by llvm::UpgradeIntrinsicCall().
|
inline |
Definition at line 1561 of file IRBuilder.h.
Referenced by llvm::IRBuilder< TargetFolder >::CreateFCmpOEQ(), llvm::IRBuilder< TargetFolder >::CreateFCmpOGE(), llvm::IRBuilder< TargetFolder >::CreateFCmpOGT(), llvm::IRBuilder< TargetFolder >::CreateFCmpOLE(), llvm::IRBuilder< TargetFolder >::CreateFCmpOLT(), llvm::IRBuilder< TargetFolder >::CreateFCmpONE(), llvm::IRBuilder< TargetFolder >::CreateFCmpORD(), llvm::IRBuilder< TargetFolder >::CreateFCmpUEQ(), llvm::IRBuilder< TargetFolder >::CreateFCmpUGE(), llvm::IRBuilder< TargetFolder >::CreateFCmpUGT(), llvm::IRBuilder< TargetFolder >::CreateFCmpULE(), llvm::IRBuilder< TargetFolder >::CreateFCmpULT(), llvm::IRBuilder< TargetFolder >::CreateFCmpUNE(), llvm::IRBuilder< TargetFolder >::CreateFCmpUNO(), llvm::RecurrenceDescriptor::createMinMaxOp(), and getFCmpValue().
|
inline |
Definition at line 1497 of file IRBuilder.h.
|
inline |
Definition at line 1505 of file IRBuilder.h.
|
inline |
Definition at line 1501 of file IRBuilder.h.
|
inline |
Definition at line 1513 of file IRBuilder.h.
|
inline |
Definition at line 1509 of file IRBuilder.h.
|
inline |
Definition at line 1517 of file IRBuilder.h.
|
inline |
Definition at line 1521 of file IRBuilder.h.
|
inline |
Definition at line 1529 of file IRBuilder.h.
|
inline |
Definition at line 1537 of file IRBuilder.h.
|
inline |
Definition at line 1533 of file IRBuilder.h.
|
inline |
Definition at line 1545 of file IRBuilder.h.
|
inline |
Definition at line 1541 of file IRBuilder.h.
|
inline |
Definition at line 1549 of file IRBuilder.h.
|
inline |
Definition at line 1525 of file IRBuilder.h.
|
inline |
Definition at line 903 of file IRBuilder.h.
Referenced by llvm::UpgradeIntrinsicCall().
|
inline |
Definition at line 1123 of file IRBuilder.h.
Referenced by llvm::TargetLoweringBase::emitLeadingFence(), and llvm::TargetLoweringBase::emitTrailingFence().
|
inline |
Definition at line 871 of file IRBuilder.h.
Referenced by buildMultiplyTree(), getPow(), llvm::InductionDescriptor::transform(), and llvm::UpgradeIntrinsicCall().
|
inline |
Definition at line 1059 of file IRBuilder.h.
|
inline |
Definition at line 1449 of file IRBuilder.h.
|
inline |
Definition at line 1351 of file IRBuilder.h.
Referenced by optimizeBinaryDoubleFP(), optimizeUnaryDoubleFP(), and llvm::UpgradeIntrinsicCall().
|
inline |
Definition at line 1338 of file IRBuilder.h.
|
inline |
Definition at line 1335 of file IRBuilder.h.
|
inline |
Definition at line 1347 of file IRBuilder.h.
|
inline |
Definition at line 923 of file IRBuilder.h.
|
inline |
Definition at line 849 of file IRBuilder.h.
Referenced by llvm::UpgradeIntrinsicCall().
|
inline |
Definition at line 1141 of file IRBuilder.h.
Referenced by llvm::IRBuilder< TargetFolder >::CreateGEP(), genLoopLimit(), instrumentMaskedLoadOrStore(), and llvm::InductionDescriptor::transform().
|
inline |
Definition at line 1145 of file IRBuilder.h.
|
inline |
Definition at line 1176 of file IRBuilder.h.
|
inline |
Definition at line 1179 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 1286 of file IRBuilder.h.
|
inline |
Definition at line 1554 of file IRBuilder.h.
Referenced by llvm::IRBuilder< TargetFolder >::CreateICmpEQ(), llvm::IRBuilder< TargetFolder >::CreateICmpNE(), llvm::IRBuilder< TargetFolder >::CreateICmpSGE(), llvm::IRBuilder< TargetFolder >::CreateICmpSGT(), llvm::IRBuilder< TargetFolder >::CreateICmpSLE(), llvm::IRBuilder< TargetFolder >::CreateICmpSLT(), llvm::IRBuilder< TargetFolder >::CreateICmpUGE(), llvm::IRBuilder< TargetFolder >::CreateICmpUGT(), llvm::IRBuilder< TargetFolder >::CreateICmpULE(), llvm::IRBuilder< TargetFolder >::CreateICmpULT(), llvm::RecurrenceDescriptor::createMinMaxOp(), foldLogOpOfMaskedICmps(), generateMinMaxSelectPattern(), getNewICmpValue(), simplifyX86vpcom(), upgradeIntMinMax(), and upgradeMaskedCompare().
|
inline |
Definition at line 1466 of file IRBuilder.h.
Referenced by llvm::ConstantFoldTerminator(), ConvertTwoCaseSwitch(), llvm::IRBuilder< TargetFolder >::CreateAlignmentAssumption(), createIfThenElse(), llvm::IRBuilder< TargetFolder >::CreateIsNull(), llvm::HexagonTargetLowering::emitStoreConditional(), generateUnsignedDivisionCode(), handleFinalSuspend(), LowerAtomicCmpXchgInst(), and llvm::UpgradeIntrinsicCall().
|
inline |
Definition at line 1469 of file IRBuilder.h.
Referenced by llvm::IRBuilder< TargetFolder >::CreateIsNotNull(), and createMaskedBitTest().
|
inline |
Definition at line 1487 of file IRBuilder.h.
|
inline |
Definition at line 1484 of file IRBuilder.h.
Referenced by performAtomicOp(), and llvm::UpgradeIntrinsicCall().
|
inline |
Definition at line 1493 of file IRBuilder.h.
Referenced by performAtomicOp().
|
inline |
Definition at line 1490 of file IRBuilder.h.
Referenced by LowerAtomicRMWInst().
|
inline |
Definition at line 1475 of file IRBuilder.h.
|
inline |
Definition at line 1472 of file IRBuilder.h.
Referenced by generateUnsignedDivisionCode(), and performAtomicOp().
|
inline |
Definition at line 1481 of file IRBuilder.h.
Referenced by performAtomicOp().
|
inline |
Definition at line 1478 of file IRBuilder.h.
Referenced by llvm::LoopAccessInfo::addRuntimeChecks(), ConnectProlog(), foldUDivNegCst(), LowerAtomicRMWInst(), SwitchToLookupTable(), TurnSwitchRangeIntoICmp(), and llvm::UnrollRuntimeLoopRemainder().
|
inline |
Definition at line 1158 of file IRBuilder.h.
Referenced by llvm::IRBuilder< TargetFolder >::CreateGlobalStringPtr(), llvm::IRBuilder< TargetFolder >::CreateInBoundsGEP(), createReplacementInstr(), unpackLoadToAggregate(), and unpackStoreToAggregate().
|
inline |
Definition at line 1162 of file IRBuilder.h.
|
inline |
Definition at line 1185 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 732 of file IRBuilder.h.
|
inline |
Definition at line 1642 of file IRBuilder.h.
Referenced by llvm::IRBuilder< TargetFolder >::CreateInsertElement(), llvm::IRBuilder< TargetFolder >::CreateVectorSplat(), optimizeIntegerToVectorInsertions(), llvm::UpgradeIntrinsicCall(), and upgradeMaskedMove().
|
inline |
Definition at line 1651 of file IRBuilder.h.
|
inline |
Definition at line 1679 of file IRBuilder.h.
Referenced by llvm::IRBuilder< TargetFolder >::CreateAggregateRet(), createCast(), llvm::AArch64TTIImpl::getOrCreateResultFromMemIntrinsic(), LowerAtomicCmpXchgInst(), and unpackLoadToAggregate().
|
inline |
Definition at line 1425 of file IRBuilder.h.
Referenced by llvm::IRBuilder< TargetFolder >::CreateAlignmentAssumption(), llvm::emitFPutC(), llvm::emitPutChar(), evaluateGEPOffsetExpression(), llvm::IntrinsicLowering::LowerIntrinsicCall(), and simplifyAllocaArraySize().
|
delete |
|
inline |
Definition at line 1358 of file IRBuilder.h.
Referenced by CoerceAvailableValueToLoadType(), llvm::IRBuilder< TargetFolder >::CreateBitOrPointerCast(), createCast(), createMaskInstrs(), and llvm::ARMTargetLowering::lowerInterleavedLoad().
|
inline |
Create an invariant.group.barrier intrinsic call, that stops optimizer to propagate equality using invariant.group metadata.
If Ptr type is different from i8*, it's casted to i8* before call and casted back to Ptr type after call.
Definition at line 1731 of file IRBuilder.h.
|
inline |
Create an invoke instruction.
Definition at line 737 of file IRBuilder.h.
|
inline |
Definition at line 744 of file IRBuilder.h.
|
inline |
Return an i1 value testing if Arg is not null.
Definition at line 1704 of file IRBuilder.h.
Referenced by ConnectEpilog(), llvm::UnrollRuntimeLoopRemainder(), and upgradeMaskedMove().
|
inline |
Return an i1 value testing if Arg is null.
Definition at line 1698 of file IRBuilder.h.
|
inline |
Definition at line 1688 of file IRBuilder.h.
|
inline |
Definition at line 1082 of file IRBuilder.h.
Referenced by llvm::IRBuilder< TargetFolder >::CreateAlignedLoad(), createResumeEntryBlock(), getStackGuard(), handleFinalSuspend(), LowerAtomicCmpXchgInst(), LowerAtomicRMWInst(), lowerSubFn(), llvm::UpgradeIntrinsicCall(), and llvm::InstCombiner::visitLoadInst().
|
inline |
Definition at line 1085 of file IRBuilder.h.
|
inline |
Definition at line 1088 of file IRBuilder.h.
|
inline |
Definition at line 1091 of file IRBuilder.h.
|
inline |
Definition at line 951 of file IRBuilder.h.
Referenced by CoerceAvailableValueToLoadType(), llvm::IRBuilder< TargetFolder >::CreateExtractInteger(), llvm::IRBuilder< TargetFolder >::CreateLShr(), llvm::AArch64TargetLowering::emitStoreConditional(), llvm::ARMTargetLowering::emitStoreConditional(), foldSelectICmpAndOr(), foldShiftByConstOfShiftByConst(), generateUnsignedDivisionCode(), GetShiftedValue(), GetStoreValueForLoad(), LowerBSWAP(), LowerCTLZ(), LowerCTPOP(), performMaskedAtomicOp(), ReduceSwitchRange(), simplifyX86immShift(), simplifyX86varShift(), and SwitchToLookupTable().
|
inline |
Definition at line 960 of file IRBuilder.h.
|
inline |
Definition at line 964 of file IRBuilder.h.
|
inline |
Definition at line 857 of file IRBuilder.h.
Referenced by buildMultiplyTree(), llvm::IRBuilder< TargetFolder >::CreateNSWMul(), llvm::IRBuilder< TargetFolder >::CreateNUWMul(), generatedUnsignedRemainderCode(), llvm::UpgradeIntrinsicCall(), llvm::ObjectSizeOffsetEvaluator::visitAllocaInst(), and llvm::ObjectSizeOffsetEvaluator::visitCallSite().
|
inline |
Definition at line 1044 of file IRBuilder.h.
Referenced by llvm::IRBuilder< TargetFolder >::CreateNSWNeg(), and llvm::IRBuilder< TargetFolder >::CreateNUWNeg().
|
inline |
Definition at line 1066 of file IRBuilder.h.
Referenced by createMaskInstrs(), llvm::FoldBranchToCommonDest(), LowerAtomicRMWInst(), LowerCTLZ(), llvm::IntrinsicLowering::LowerIntrinsicCall(), performAtomicOp(), SimplifyCondBranchToCondBranch(), and llvm::UpgradeIntrinsicCall().
|
inline |
Definition at line 821 of file IRBuilder.h.
|
inline |
Definition at line 865 of file IRBuilder.h.
|
inline |
Definition at line 1053 of file IRBuilder.h.
|
inline |
Definition at line 843 of file IRBuilder.h.
|
inline |
Definition at line 824 of file IRBuilder.h.
|
inline |
Definition at line 868 of file IRBuilder.h.
|
inline |
Definition at line 1056 of file IRBuilder.h.
|
inline |
Definition at line 846 of file IRBuilder.h.
|
inline |
Definition at line 1003 of file IRBuilder.h.
Referenced by llvm::LoopAccessInfo::addRuntimeChecks(), checkForNegativeOperand(), llvm::IRBuilder< TargetFolder >::CreateOr(), llvm::AArch64TargetLowering::emitLoadLinked(), llvm::ARMTargetLowering::emitLoadLinked(), foldLogOpOfMaskedICmps(), foldSelectICmpAndOr(), generateUnsignedDivisionCode(), GetMemInstValueForLoad(), LowerAtomicRMWInst(), LowerBSWAP(), LowerCTLZ(), performAtomicOp(), performMaskedAtomicOp(), ReduceSwitchRange(), SimplifyCondBranchToCondBranch(), and llvm::UpgradeIntrinsicCall().
|
inline |
Definition at line 1012 of file IRBuilder.h.
|
inline |
Definition at line 1015 of file IRBuilder.h.
|
inline |
Definition at line 1574 of file IRBuilder.h.
Referenced by generateUnsignedDivisionCode(), and llvm::ObjectSizeOffsetEvaluator::visitPHINode().
|
inline |
Definition at line 1411 of file IRBuilder.h.
|
inline |
Definition at line 1402 of file IRBuilder.h.
Referenced by llvm::AArch64TargetLowering::getIRStackGuard(), llvm::AArch64TargetLowering::getSafeStackPointerLocation(), and llvm::UpgradeIntrinsicCall().
|
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 1715 of file IRBuilder.h.
|
inline |
Definition at line 1354 of file IRBuilder.h.
Referenced by CoerceAvailableValueToLoadType(), llvm::IRBuilder< TargetFolder >::CreateAlignmentAssumption(), llvm::IRBuilder< TargetFolder >::CreateBitOrPointerCast(), createCast(), createMaskInstrs(), llvm::IRBuilder< TargetFolder >::CreatePtrDiff(), GetStoreValueForLoad(), llvm::AArch64TargetLowering::lowerInterleavedStore(), llvm::ARMTargetLowering::lowerInterleavedStore(), and SimplifyBranchOnICmpChain().
|
inline |
Definition at line 752 of file IRBuilder.h.
|
inline |
Create a 'ret <val>' instruction.
Definition at line 674 of file IRBuilder.h.
Referenced by llvm::InlineFunction(), MakeGuardControlFlowExplicit(), SimplifyCondBranchToTwoReturns(), and SwitchToLookupTable().
|
inline |
Create a 'ret void' instruction.
Definition at line 669 of file IRBuilder.h.
Referenced by MakeGuardControlFlowExplicit(), and SimplifyCondBranchToTwoReturns().
|
inline |
Definition at line 891 of file IRBuilder.h.
Referenced by llvm::IRBuilder< TargetFolder >::CreateExactSDiv(), llvm::expandDivisionUpTo32Bits(), llvm::expandDivisionUpTo64Bits(), and insertFastDiv().
|
inline |
Definition at line 1609 of file IRBuilder.h.
Referenced by ConvertTwoCaseSwitch(), llvm::RecurrenceDescriptor::createMinMaxOp(), emitX86MaskSelect(), EmitX86Select(), FoldTwoEntryPHINode(), generateMinMaxSelectPattern(), generateUnsignedDivisionCode(), HoistThenElseCodeToIf(), LowerAtomicCmpXchgInst(), LowerAtomicRMWInst(), matchSelectFromAndOr(), performAtomicOp(), SimplifyCondBranchToCondBranch(), SimplifyCondBranchToTwoReturns(), SpeculativelyExecuteBB(), upgradeIntMinMax(), upgradeMaskedMove(), and llvm::ObjectSizeOffsetEvaluator::visitSelectInst().
|
inline |
Definition at line 1304 of file IRBuilder.h.
Referenced by llvm::IRBuilder< TargetFolder >::CreateSExtOrTrunc(), llvm::expandDivisionUpTo32Bits(), llvm::expandDivisionUpTo64Bits(), llvm::expandRemainderUpTo32Bits(), llvm::expandRemainderUpTo64Bits(), llvm::UpgradeIntrinsicCall(), and llvm::slpvectorizer::BoUpSLP::vectorizeTree().
|
inline |
Definition at line 1378 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 1323 of file IRBuilder.h.
Referenced by simplifyX86vpcom().
|
inline |
Definition at line 932 of file IRBuilder.h.
Referenced by createMaskedBitTest(), createMaskInstrs(), llvm::IRBuilder< TargetFolder >::CreateShl(), llvm::AArch64TargetLowering::emitLoadLinked(), llvm::ARMTargetLowering::emitLoadLinked(), foldSelectICmpAndOr(), foldShiftByConstOfShiftByConst(), generateUnsignedDivisionCode(), GetMemInstValueForLoad(), GetShiftedValue(), LowerBSWAP(), performMaskedAtomicOp(), ReduceSwitchRange(), simplifyValueKnownNonZero(), simplifyX86immShift(), and simplifyX86varShift().
|
inline |
Definition at line 940 of file IRBuilder.h.
|
inline |
Definition at line 945 of file IRBuilder.h.
|
inline |
Definition at line 1656 of file IRBuilder.h.
Referenced by ConcatenateTwoVectors(), llvm::IRBuilder< TargetFolder >::CreateShuffleVector(), llvm::IRBuilder< TargetFolder >::CreateVectorSplat(), emitX86MaskSelect(), getX86MaskVec(), llvm::AArch64TargetLowering::lowerInterleavedStore(), llvm::ARMTargetLowering::lowerInterleavedStore(), simplifyX86extrq(), simplifyX86insertps(), simplifyX86insertq(), simplifyX86pshufb(), simplifyX86vperm2(), simplifyX86vpermilvar(), simplifyX86vpermv(), llvm::UpgradeIntrinsicCall(), upgradeMaskedCompare(), UpgradeX86ALIGNIntrinsics(), UpgradeX86PSLLDQIntrinsics(), and UpgradeX86PSRLDQIntrinsics().
|
inline |
Definition at line 1665 of file IRBuilder.h.
|
inline |
Definition at line 1344 of file IRBuilder.h.
Referenced by llvm::UpgradeIntrinsicCall().
|
inline |
Definition at line 917 of file IRBuilder.h.
Referenced by llvm::expandRemainderUpTo32Bits(), and llvm::expandRemainderUpTo64Bits().
|
inline |
Definition at line 1094 of file IRBuilder.h.
Referenced by llvm::IRBuilder< TargetFolder >::CreateAlignedStore(), createResumeEntryBlock(), LowerAtomicCmpXchgInst(), and LowerAtomicRMWInst().
|
inline |
Definition at line 1279 of file IRBuilder.h.
|
inline |
Definition at line 835 of file IRBuilder.h.
Referenced by checkForNegativeOperand(), llvm::IRBuilder< TargetFolder >::CreateAlignmentAssumption(), llvm::IRBuilder< TargetFolder >::CreateNSWSub(), llvm::IRBuilder< TargetFolder >::CreateNUWSub(), llvm::IRBuilder< TargetFolder >::CreatePtrDiff(), generatedUnsignedRemainderCode(), generateSignedDivisionCode(), generateSignedRemainderCode(), generateUnsignedDivisionCode(), LowerAtomicRMWInst(), llvm::IntrinsicLowering::LowerIntrinsicCall(), performAtomicOp(), ReduceSwitchRange(), simplifyValueKnownNonZero(), SwitchToLookupTable(), llvm::InductionDescriptor::transform(), and llvm::UpgradeIntrinsicCall().
|
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 722 of file IRBuilder.h.
Referenced by createResumeEntryBlock(), and SimplifyBranchOnICmpChain().
|
inline |
Definition at line 1298 of file IRBuilder.h.
Referenced by CoerceAvailableValueToLoadType(), llvm::IRBuilder< TargetFolder >::CreateExtractInteger(), createMaskInstrs(), llvm::IRBuilder< TargetFolder >::CreateSExtOrTrunc(), llvm::IRBuilder< TargetFolder >::CreateZExtOrTrunc(), llvm::AArch64TargetLowering::emitStoreConditional(), llvm::ARMTargetLowering::emitStoreConditional(), evaluateGEPOffsetExpression(), llvm::expandDivisionUpTo32Bits(), llvm::expandDivisionUpTo64Bits(), llvm::expandRemainderUpTo32Bits(), llvm::expandRemainderUpTo64Bits(), GetStoreValueForLoad(), performMaskedAtomicOp(), SwitchToLookupTable(), truncateIVUse(), llvm::UpgradeIntrinsicCall(), and llvm::slpvectorizer::BoUpSLP::vectorizeTree().
|
inline |
Definition at line 1386 of file IRBuilder.h.
Referenced by llvm::AArch64TargetLowering::emitLoadLinked(), llvm::ARMTargetLowering::emitLoadLinked(), and llvm::SCEVExpander::replaceCongruentIVs().
|
inline |
Definition at line 879 of file IRBuilder.h.
Referenced by llvm::IRBuilder< TargetFolder >::CreateExactUDiv(), llvm::expandDivisionUpTo32Bits(), llvm::expandDivisionUpTo64Bits(), generatedUnsignedRemainderCode(), generateSignedDivisionCode(), and insertFastDiv().
|
inline |
Definition at line 1341 of file IRBuilder.h.
Referenced by llvm::UpgradeIntrinsicCall().
|
inline |
Definition at line 783 of file IRBuilder.h.
Referenced by createResumeEntryBlock(), removeUndefIntroducingPredecessor(), and TryToMergeLandingPad().
|
inline |
Definition at line 911 of file IRBuilder.h.
Referenced by llvm::expandRemainderUpTo32Bits(), llvm::expandRemainderUpTo64Bits(), generateSignedRemainderCode(), and llvm::UnrollRuntimeLoopRemainder().
|
inline |
Definition at line 1625 of file IRBuilder.h.
|
inline |
Return a vector value that contains.
NumElts elements. Definition at line 1755 of file IRBuilder.h.
Referenced by simplifyX86immShift().
|
inline |
Definition at line 1019 of file IRBuilder.h.
Referenced by createMaskInstrs(), llvm::IRBuilder< TargetFolder >::CreateXor(), foldSelectICmpAndOr(), generateSignedDivisionCode(), generateSignedRemainderCode(), getSelectCondition(), LowerAtomicRMWInst(), performAtomicOp(), and llvm::UpgradeIntrinsicCall().
|
inline |
Definition at line 1025 of file IRBuilder.h.
|
inline |
Definition at line 1028 of file IRBuilder.h.
|
inline |
Definition at line 1301 of file IRBuilder.h.
Referenced by llvm::IRBuilder< TargetFolder >::CreateZExtOrTrunc(), llvm::AArch64TargetLowering::emitLoadLinked(), llvm::ARMTargetLowering::emitLoadLinked(), llvm::HexagonTargetLowering::emitStoreConditional(), llvm::expandDivisionUpTo32Bits(), llvm::expandDivisionUpTo64Bits(), llvm::expandRemainderUpTo32Bits(), llvm::expandRemainderUpTo64Bits(), foldUDivShl(), GetMemInstValueForLoad(), performMaskedAtomicOp(), processUMulZExtIdiom(), llvm::UpgradeIntrinsicCall(), llvm::slpvectorizer::BoUpSLP::vectorizeTree(), and llvm::ObjectSizeOffsetEvaluator::visitCallSite().
|
inline |
Definition at line 1370 of file IRBuilder.h.
Referenced by llvm::AArch64TargetLowering::emitStoreConditional(), and llvm::ARMTargetLowering::emitStoreConditional().
|
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 1309 of file IRBuilder.h.
Referenced by createMaskedBitTest(), foldSelectICmpAndOr(), and SwitchToLookupTable().
|
inline |
Get the constant folder being used.
Definition at line 635 of file IRBuilder.h.
|
inline |
Insert and return the specified instruction.
Definition at line 639 of file IRBuilder.h.
Referenced by llvm::LoopAccessInfo::addRuntimeChecks(), llvm::IRBuilder< TargetFolder >::CreateAdd(), llvm::IRBuilder< TargetFolder >::CreateAggregateRet(), llvm::IRBuilder< TargetFolder >::CreateAlloca(), llvm::IRBuilder< TargetFolder >::CreateAnd(), llvm::IRBuilder< TargetFolder >::CreateAShr(), llvm::IRBuilder< TargetFolder >::CreateAtomicCmpXchg(), llvm::IRBuilder< TargetFolder >::CreateAtomicRMW(), llvm::IRBuilder< TargetFolder >::CreateBinOp(), llvm::IRBuilder< TargetFolder >::CreateBr(), llvm::IRBuilder< TargetFolder >::CreateCall(), llvm::IRBuilder< TargetFolder >::CreateCast(), llvm::IRBuilder< TargetFolder >::CreateCatchPad(), llvm::IRBuilder< TargetFolder >::CreateCatchRet(), llvm::IRBuilder< TargetFolder >::CreateCatchSwitch(), llvm::IRBuilder< TargetFolder >::CreateCleanupPad(), llvm::IRBuilder< TargetFolder >::CreateCleanupRet(), llvm::IRBuilder< TargetFolder >::CreateCondBr(), llvm::IRBuilder< TargetFolder >::CreateConstGEP1_32(), llvm::IRBuilder< TargetFolder >::CreateConstGEP1_64(), llvm::IRBuilder< TargetFolder >::CreateConstGEP2_32(), llvm::IRBuilder< TargetFolder >::CreateConstGEP2_64(), llvm::IRBuilder< TargetFolder >::CreateConstInBoundsGEP1_32(), llvm::IRBuilder< TargetFolder >::CreateConstInBoundsGEP1_64(), llvm::IRBuilder< TargetFolder >::CreateConstInBoundsGEP2_32(), llvm::IRBuilder< TargetFolder >::CreateConstInBoundsGEP2_64(), llvm::IRBuilder< TargetFolder >::CreateExtractElement(), llvm::IRBuilder< TargetFolder >::CreateExtractValue(), llvm::IRBuilder< TargetFolder >::CreateFAdd(), llvm::IRBuilder< TargetFolder >::CreateFCmp(), llvm::IRBuilder< TargetFolder >::CreateFDiv(), llvm::IRBuilder< TargetFolder >::CreateFence(), llvm::IRBuilder< TargetFolder >::CreateFMul(), llvm::IRBuilder< TargetFolder >::CreateFNeg(), llvm::IRBuilder< TargetFolder >::CreateFPCast(), llvm::IRBuilder< TargetFolder >::CreateFRem(), llvm::IRBuilder< TargetFolder >::CreateFSub(), llvm::IRBuilder< TargetFolder >::CreateGEP(), llvm::IRBuilder< TargetFolder >::CreateICmp(), llvm::IRBuilder< TargetFolder >::CreateInBoundsGEP(), llvm::IRBuilder< TargetFolder >::CreateIndirectBr(), llvm::IRBuilder< TargetFolder >::CreateInsertElement(), llvm::IRBuilder< TargetFolder >::CreateInsertValue(), llvm::IRBuilder< TargetFolder >::CreateIntCast(), llvm::IRBuilder< TargetFolder >::CreateInvoke(), llvm::IRBuilder< TargetFolder >::CreateLandingPad(), llvm::IRBuilder< TargetFolder >::CreateLoad(), llvm::IRBuilder< TargetFolder >::CreateLShr(), llvm::IRBuilder< TargetFolder >::CreateMul(), llvm::IRBuilder< TargetFolder >::CreateNeg(), llvm::IRBuilder< TargetFolder >::CreateNot(), llvm::IRBuilder< TargetFolder >::CreateOr(), llvm::IRBuilder< TargetFolder >::CreatePHI(), llvm::IRBuilder< TargetFolder >::CreatePointerBitCastOrAddrSpaceCast(), llvm::IRBuilder< TargetFolder >::CreatePointerCast(), llvm::IRBuilder< TargetFolder >::CreateResume(), llvm::IRBuilder< TargetFolder >::CreateRet(), llvm::IRBuilder< TargetFolder >::CreateRetVoid(), llvm::IRBuilder< TargetFolder >::CreateSDiv(), llvm::IRBuilder< TargetFolder >::CreateSelect(), llvm::IRBuilder< TargetFolder >::CreateSExtOrBitCast(), llvm::IRBuilder< TargetFolder >::CreateShl(), llvm::IRBuilder< TargetFolder >::CreateShuffleVector(), llvm::IRBuilder< TargetFolder >::CreateSRem(), llvm::IRBuilder< TargetFolder >::CreateStore(), llvm::IRBuilder< TargetFolder >::CreateSub(), llvm::IRBuilder< TargetFolder >::CreateSwitch(), llvm::IRBuilder< TargetFolder >::CreateTruncOrBitCast(), llvm::IRBuilder< TargetFolder >::CreateUDiv(), llvm::IRBuilder< TargetFolder >::CreateUnreachable(), llvm::IRBuilder< TargetFolder >::CreateURem(), llvm::IRBuilder< TargetFolder >::CreateVAArg(), llvm::IRBuilder< TargetFolder >::CreateXor(), and llvm::IRBuilder< TargetFolder >::CreateZExtOrBitCast().
|
inline |
No-op overload to handle constants.
Definition at line 646 of file IRBuilder.h.
1.8.6