Lines Matching refs:InsertAtEnd

196                                const Twine &NameStr, BasicBlock *InsertAtEnd)  in LandingPadInst()  argument
197 : Instruction(RetTy, Instruction::LandingPad, nullptr, 0, InsertAtEnd) { in LandingPadInst()
222 BasicBlock *InsertAtEnd) { in Create() argument
223 return new LandingPadInst(RetTy, NumReservedClauses, NameStr, InsertAtEnd); in Create()
563 BasicBlock *InsertAtEnd) in CallInst() argument
565 OperandTraits<CallBase>::op_end(this) - 1, 1, InsertAtEnd) { in CallInst()
663 BasicBlock *InsertAtEnd, Type *IntPtrTy, in createMalloc() argument
668 assert(((!InsertBefore && InsertAtEnd) || (InsertBefore && !InsertAtEnd)) && in createMalloc()
683 "", InsertAtEnd); in createMalloc()
701 "mallocsize", InsertAtEnd); in createMalloc()
707 BasicBlock *BB = InsertBefore ? InsertBefore->getParent() : InsertAtEnd; in createMalloc()
728 InsertAtEnd->getInstList().push_back(MCall); in createMalloc()
776 Instruction *CallInst::CreateMalloc(BasicBlock *InsertAtEnd, in CreateMalloc() argument
780 return createMalloc(nullptr, InsertAtEnd, IntPtrTy, AllocTy, AllocSize, in CreateMalloc()
783 Instruction *CallInst::CreateMalloc(BasicBlock *InsertAtEnd, in CreateMalloc() argument
788 return createMalloc(nullptr, InsertAtEnd, IntPtrTy, AllocTy, AllocSize, in CreateMalloc()
795 BasicBlock *InsertAtEnd) { in createFree() argument
796 assert(((!InsertBefore && InsertAtEnd) || (InsertBefore && !InsertAtEnd)) && in createFree()
801 BasicBlock *BB = InsertBefore ? InsertBefore->getParent() : InsertAtEnd; in createFree()
816 PtrCast = new BitCastInst(Source, IntPtrTy, "", InsertAtEnd); in createFree()
839 Instruction *CallInst::CreateFree(Value *Source, BasicBlock *InsertAtEnd) { in CreateFree() argument
840 Instruction *FreeCall = createFree(Source, None, nullptr, InsertAtEnd); in CreateFree()
846 BasicBlock *InsertAtEnd) { in CreateFree() argument
847 Instruction *FreeCall = createFree(Source, Bundles, nullptr, InsertAtEnd); in CreateFree()
1017 ReturnInst::ReturnInst(LLVMContext &C, Value *retVal, BasicBlock *InsertAtEnd) in ReturnInst() argument
1020 InsertAtEnd) { in ReturnInst()
1025 ReturnInst::ReturnInst(LLVMContext &Context, BasicBlock *InsertAtEnd) in ReturnInst() argument
1027 OperandTraits<ReturnInst>::op_end(this), 0, InsertAtEnd) {} in ReturnInst()
1045 ResumeInst::ResumeInst(Value *Exn, BasicBlock *InsertAtEnd) in ResumeInst() argument
1047 OperandTraits<ResumeInst>::op_begin(this), 1, InsertAtEnd) { in ResumeInst()
1086 unsigned Values, BasicBlock *InsertAtEnd) in CleanupReturnInst() argument
1090 Values, InsertAtEnd) { in CleanupReturnInst()
1118 BasicBlock *InsertAtEnd) in CatchReturnInst() argument
1121 InsertAtEnd) { in CatchReturnInst()
1143 const Twine &NameStr, BasicBlock *InsertAtEnd) in CatchSwitchInst() argument
1145 InsertAtEnd) { in CatchSwitchInst()
1239 const Twine &NameStr, BasicBlock *InsertAtEnd) in FuncletPadInst() argument
1242 InsertAtEnd) { in FuncletPadInst()
1254 UnreachableInst::UnreachableInst(LLVMContext &Context, BasicBlock *InsertAtEnd) in UnreachableInst() argument
1256 0, InsertAtEnd) {} in UnreachableInst()
1290 BranchInst::BranchInst(BasicBlock *IfTrue, BasicBlock *InsertAtEnd) in BranchInst() argument
1292 OperandTraits<BranchInst>::op_end(this) - 1, 1, InsertAtEnd) { in BranchInst()
1298 BasicBlock *InsertAtEnd) in BranchInst() argument
1300 OperandTraits<BranchInst>::op_end(this) - 3, 3, InsertAtEnd) { in BranchInst()
1368 BasicBlock *InsertAtEnd) in AllocaInst() argument
1369 : AllocaInst(Ty, AddrSpace, /*ArraySize=*/nullptr, Name, InsertAtEnd) {} in AllocaInst()
1378 const Twine &Name, BasicBlock *InsertAtEnd) in AllocaInst() argument
1380 computeAllocaDefaultAlign(Ty, InsertAtEnd), Name, in AllocaInst()
1381 InsertAtEnd) {} in AllocaInst()
1395 Align Align, const Twine &Name, BasicBlock *InsertAtEnd) in AllocaInst() argument
1397 getAISize(Ty->getContext(), ArraySize), InsertAtEnd), in AllocaInst()
1513 StoreInst::StoreInst(Value *val, Value *addr, BasicBlock *InsertAtEnd) in StoreInst() argument
1514 : StoreInst(val, addr, /*isVolatile=*/false, InsertAtEnd) {} in StoreInst()
1523 BasicBlock *InsertAtEnd) in StoreInst() argument
1525 computeLoadStoreDefaultAlign(val->getType(), InsertAtEnd), in StoreInst()
1526 InsertAtEnd) {} in StoreInst()
1534 BasicBlock *InsertAtEnd) in StoreInst() argument
1536 SyncScope::System, InsertAtEnd) {} in StoreInst()
1554 BasicBlock *InsertAtEnd) in StoreInst() argument
1557 OperandTraits<StoreInst>::operands(this), InsertAtEnd) { in StoreInst()
1615 BasicBlock *InsertAtEnd) in AtomicCmpXchgInst() argument
1619 OperandTraits<AtomicCmpXchgInst>::operands(this), InsertAtEnd) { in AtomicCmpXchgInst()
1663 SyncScope::ID SSID, BasicBlock *InsertAtEnd) in AtomicRMWInst() argument
1666 OperandTraits<AtomicRMWInst>::operands(this), InsertAtEnd) { in AtomicRMWInst()
1723 BasicBlock *InsertAtEnd) in FenceInst() argument
1724 : Instruction(Type::getVoidTy(C), Fence, nullptr, 0, InsertAtEnd) { in FenceInst()
1954 BasicBlock *InsertAtEnd) in ShuffleVectorInst() argument
1956 InsertAtEnd) {} in ShuffleVectorInst()
1965 const Twine &Name, BasicBlock *InsertAtEnd) in ShuffleVectorInst() argument
1967 InsertAtEnd) {} in ShuffleVectorInst()
1989 const Twine &Name, BasicBlock *InsertAtEnd) in ShuffleVectorInst() argument
1994 OperandTraits<ShuffleVectorInst>::operands(this), InsertAtEnd) { in ShuffleVectorInst()
2023 const Twine &Name, BasicBlock *InsertAtEnd) in ShuffleVectorInst() argument
2028 OperandTraits<ShuffleVectorInst>::operands(this), InsertAtEnd) { in ShuffleVectorInst()
2645 BasicBlock *InsertAtEnd) in UnaryOperator() argument
2646 : UnaryInstruction(Ty, iType, S, InsertAtEnd) { in UnaryOperator()
2660 BasicBlock *InsertAtEnd) { in Create() argument
2662 InsertAtEnd->getInstList().push_back(Res); in Create()
2702 BasicBlock *InsertAtEnd) in BinaryOperator() argument
2706 InsertAtEnd) { in BinaryOperator()
2791 BasicBlock *InsertAtEnd) { in Create() argument
2793 InsertAtEnd->getInstList().push_back(Res); in Create()
2806 BasicBlock *InsertAtEnd) { in CreateNeg() argument
2810 Op->getType(), Name, InsertAtEnd); in CreateNeg()
2820 BasicBlock *InsertAtEnd) { in CreateNSWNeg() argument
2822 return BinaryOperator::CreateNSWSub(zero, Op, Name, InsertAtEnd); in CreateNSWNeg()
2832 BasicBlock *InsertAtEnd) { in CreateNUWNeg() argument
2834 return BinaryOperator::CreateNUWSub(zero, Op, Name, InsertAtEnd); in CreateNUWNeg()
2845 BasicBlock *InsertAtEnd) { in CreateNot() argument
2848 Op->getType(), Name, InsertAtEnd); in CreateNot()
3208 const Twine &Name, BasicBlock *InsertAtEnd) { in Create() argument
3212 case Trunc: return new TruncInst (S, Ty, Name, InsertAtEnd); in Create()
3213 case ZExt: return new ZExtInst (S, Ty, Name, InsertAtEnd); in Create()
3214 case SExt: return new SExtInst (S, Ty, Name, InsertAtEnd); in Create()
3215 case FPTrunc: return new FPTruncInst (S, Ty, Name, InsertAtEnd); in Create()
3216 case FPExt: return new FPExtInst (S, Ty, Name, InsertAtEnd); in Create()
3217 case UIToFP: return new UIToFPInst (S, Ty, Name, InsertAtEnd); in Create()
3218 case SIToFP: return new SIToFPInst (S, Ty, Name, InsertAtEnd); in Create()
3219 case FPToUI: return new FPToUIInst (S, Ty, Name, InsertAtEnd); in Create()
3220 case FPToSI: return new FPToSIInst (S, Ty, Name, InsertAtEnd); in Create()
3221 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertAtEnd); in Create()
3222 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertAtEnd); in Create()
3223 case BitCast: return new BitCastInst (S, Ty, Name, InsertAtEnd); in Create()
3224 case AddrSpaceCast: return new AddrSpaceCastInst (S, Ty, Name, InsertAtEnd); in Create()
3239 BasicBlock *InsertAtEnd) { in CreateZExtOrBitCast() argument
3241 return Create(Instruction::BitCast, S, Ty, Name, InsertAtEnd); in CreateZExtOrBitCast()
3242 return Create(Instruction::ZExt, S, Ty, Name, InsertAtEnd); in CreateZExtOrBitCast()
3255 BasicBlock *InsertAtEnd) { in CreateSExtOrBitCast() argument
3257 return Create(Instruction::BitCast, S, Ty, Name, InsertAtEnd); in CreateSExtOrBitCast()
3258 return Create(Instruction::SExt, S, Ty, Name, InsertAtEnd); in CreateSExtOrBitCast()
3271 BasicBlock *InsertAtEnd) { in CreateTruncOrBitCast() argument
3273 return Create(Instruction::BitCast, S, Ty, Name, InsertAtEnd); in CreateTruncOrBitCast()
3274 return Create(Instruction::Trunc, S, Ty, Name, InsertAtEnd); in CreateTruncOrBitCast()
3279 BasicBlock *InsertAtEnd) { in CreatePointerCast() argument
3290 return Create(Instruction::PtrToInt, S, Ty, Name, InsertAtEnd); in CreatePointerCast()
3292 return CreatePointerBitCastOrAddrSpaceCast(S, Ty, Name, InsertAtEnd); in CreatePointerCast()
3317 BasicBlock *InsertAtEnd) { in CreatePointerBitCastOrAddrSpaceCast() argument
3322 return Create(Instruction::AddrSpaceCast, S, Ty, Name, InsertAtEnd); in CreatePointerBitCastOrAddrSpaceCast()
3324 return Create(Instruction::BitCast, S, Ty, Name, InsertAtEnd); in CreatePointerBitCastOrAddrSpaceCast()
3367 BasicBlock *InsertAtEnd) { in CreateIntegerCast() argument
3376 return Create(opcode, C, Ty, Name, InsertAtEnd); in CreateIntegerCast()
3394 BasicBlock *InsertAtEnd) { in CreateFPCast() argument
3402 return Create(opcode, C, Ty, Name, InsertAtEnd); in CreateFPCast()
3676 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in TruncInst() argument
3677 ) : CastInst(Ty, Trunc, S, Name, InsertAtEnd) { in TruncInst()
3688 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in ZExtInst() argument
3689 ) : CastInst(Ty, ZExt, S, Name, InsertAtEnd) { in ZExtInst()
3699 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in SExtInst() argument
3700 ) : CastInst(Ty, SExt, S, Name, InsertAtEnd) { in SExtInst()
3711 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in FPTruncInst() argument
3712 ) : CastInst(Ty, FPTrunc, S, Name, InsertAtEnd) { in FPTruncInst()
3723 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in FPExtInst() argument
3724 ) : CastInst(Ty, FPExt, S, Name, InsertAtEnd) { in FPExtInst()
3735 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in UIToFPInst() argument
3736 ) : CastInst(Ty, UIToFP, S, Name, InsertAtEnd) { in UIToFPInst()
3747 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in SIToFPInst() argument
3748 ) : CastInst(Ty, SIToFP, S, Name, InsertAtEnd) { in SIToFPInst()
3759 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in FPToUIInst() argument
3760 ) : CastInst(Ty, FPToUI, S, Name, InsertAtEnd) { in FPToUIInst()
3771 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in FPToSIInst() argument
3772 ) : CastInst(Ty, FPToSI, S, Name, InsertAtEnd) { in FPToSIInst()
3783 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in PtrToIntInst() argument
3784 ) : CastInst(Ty, PtrToInt, S, Name, InsertAtEnd) { in PtrToIntInst()
3795 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in IntToPtrInst() argument
3796 ) : CastInst(Ty, IntToPtr, S, Name, InsertAtEnd) { in IntToPtrInst()
3807 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in BitCastInst() argument
3808 ) : CastInst(Ty, BitCast, S, Name, InsertAtEnd) { in BitCastInst()
3819 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in AddrSpaceCastInst() argument
3820 ) : CastInst(Ty, AddrSpaceCast, S, Name, InsertAtEnd) { in AddrSpaceCastInst()
3844 Value *RHS, const Twine &Name, BasicBlock *InsertAtEnd) in CmpInst() argument
3848 InsertAtEnd) { in CmpInst()
3877 const Twine &Name, BasicBlock *InsertAtEnd) { in Create() argument
3879 return new ICmpInst(*InsertAtEnd, CmpInst::Predicate(predicate), in Create()
3882 return new FCmpInst(*InsertAtEnd, CmpInst::Predicate(predicate), in Create()
4342 BasicBlock *InsertAtEnd) in SwitchInst() argument
4344 nullptr, 0, InsertAtEnd) { in SwitchInst()
4568 BasicBlock *InsertAtEnd) in IndirectBrInst() argument
4570 Instruction::IndirectBr, nullptr, 0, InsertAtEnd) { in IndirectBrInst()
4624 const Twine &Name, BasicBlock *InsertAtEnd) in FreezeInst() argument
4625 : UnaryInstruction(S->getType(), Freeze, S, InsertAtEnd) { in FreezeInst()