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()
531 BasicBlock *InsertAtEnd) in CallInst() argument
533 OperandTraits<CallBase>::op_end(this) - 1, 1, InsertAtEnd) { in CallInst()
631 BasicBlock *InsertAtEnd, Type *IntPtrTy, in createMalloc() argument
636 assert(((!InsertBefore && InsertAtEnd) || (InsertBefore && !InsertAtEnd)) && in createMalloc()
651 "", InsertAtEnd); in createMalloc()
669 "mallocsize", InsertAtEnd); in createMalloc()
675 BasicBlock *BB = InsertBefore ? InsertBefore->getParent() : InsertAtEnd; in createMalloc()
696 InsertAtEnd->getInstList().push_back(MCall); in createMalloc()
744 Instruction *CallInst::CreateMalloc(BasicBlock *InsertAtEnd, in CreateMalloc() argument
748 return createMalloc(nullptr, InsertAtEnd, IntPtrTy, AllocTy, AllocSize, in CreateMalloc()
751 Instruction *CallInst::CreateMalloc(BasicBlock *InsertAtEnd, in CreateMalloc() argument
756 return createMalloc(nullptr, InsertAtEnd, IntPtrTy, AllocTy, AllocSize, in CreateMalloc()
763 BasicBlock *InsertAtEnd) { in createFree() argument
764 assert(((!InsertBefore && InsertAtEnd) || (InsertBefore && !InsertAtEnd)) && in createFree()
769 BasicBlock *BB = InsertBefore ? InsertBefore->getParent() : InsertAtEnd; in createFree()
784 PtrCast = new BitCastInst(Source, IntPtrTy, "", InsertAtEnd); in createFree()
807 Instruction *CallInst::CreateFree(Value *Source, BasicBlock *InsertAtEnd) { in CreateFree() argument
808 Instruction *FreeCall = createFree(Source, None, nullptr, InsertAtEnd); in CreateFree()
814 BasicBlock *InsertAtEnd) { in CreateFree() argument
815 Instruction *FreeCall = createFree(Source, Bundles, nullptr, InsertAtEnd); in CreateFree()
990 ReturnInst::ReturnInst(LLVMContext &C, Value *retVal, BasicBlock *InsertAtEnd) in ReturnInst() argument
993 InsertAtEnd) { in ReturnInst()
998 ReturnInst::ReturnInst(LLVMContext &Context, BasicBlock *InsertAtEnd) in ReturnInst() argument
1000 OperandTraits<ReturnInst>::op_end(this), 0, InsertAtEnd) {} in ReturnInst()
1018 ResumeInst::ResumeInst(Value *Exn, BasicBlock *InsertAtEnd) in ResumeInst() argument
1020 OperandTraits<ResumeInst>::op_begin(this), 1, InsertAtEnd) { in ResumeInst()
1059 unsigned Values, BasicBlock *InsertAtEnd) in CleanupReturnInst() argument
1063 Values, InsertAtEnd) { in CleanupReturnInst()
1091 BasicBlock *InsertAtEnd) in CatchReturnInst() argument
1094 InsertAtEnd) { in CatchReturnInst()
1116 const Twine &NameStr, BasicBlock *InsertAtEnd) in CatchSwitchInst() argument
1118 InsertAtEnd) { in CatchSwitchInst()
1212 const Twine &NameStr, BasicBlock *InsertAtEnd) in FuncletPadInst() argument
1215 InsertAtEnd) { in FuncletPadInst()
1227 UnreachableInst::UnreachableInst(LLVMContext &Context, BasicBlock *InsertAtEnd) in UnreachableInst() argument
1229 0, InsertAtEnd) {} in UnreachableInst()
1263 BranchInst::BranchInst(BasicBlock *IfTrue, BasicBlock *InsertAtEnd) in BranchInst() argument
1265 OperandTraits<BranchInst>::op_end(this) - 1, 1, InsertAtEnd) { in BranchInst()
1271 BasicBlock *InsertAtEnd) in BranchInst() argument
1273 OperandTraits<BranchInst>::op_end(this) - 3, 3, InsertAtEnd) { in BranchInst()
1341 BasicBlock *InsertAtEnd) in AllocaInst() argument
1342 : AllocaInst(Ty, AddrSpace, /*ArraySize=*/nullptr, Name, InsertAtEnd) {} in AllocaInst()
1351 const Twine &Name, BasicBlock *InsertAtEnd) in AllocaInst() argument
1353 computeAllocaDefaultAlign(Ty, InsertAtEnd), Name, in AllocaInst()
1354 InsertAtEnd) {} in AllocaInst()
1368 Align Align, const Twine &Name, BasicBlock *InsertAtEnd) in AllocaInst() argument
1370 getAISize(Ty->getContext(), ArraySize), InsertAtEnd), in AllocaInst()
1490 StoreInst::StoreInst(Value *val, Value *addr, BasicBlock *InsertAtEnd) in StoreInst() argument
1491 : StoreInst(val, addr, /*isVolatile=*/false, InsertAtEnd) {} in StoreInst()
1500 BasicBlock *InsertAtEnd) in StoreInst() argument
1502 computeLoadStoreDefaultAlign(val->getType(), InsertAtEnd), in StoreInst()
1503 InsertAtEnd) {} in StoreInst()
1511 BasicBlock *InsertAtEnd) in StoreInst() argument
1513 SyncScope::System, InsertAtEnd) {} in StoreInst()
1531 BasicBlock *InsertAtEnd) in StoreInst() argument
1534 OperandTraits<StoreInst>::operands(this), InsertAtEnd) { in StoreInst()
1592 BasicBlock *InsertAtEnd) in AtomicCmpXchgInst() argument
1596 OperandTraits<AtomicCmpXchgInst>::operands(this), InsertAtEnd) { in AtomicCmpXchgInst()
1636 SyncScope::ID SSID, BasicBlock *InsertAtEnd) in AtomicRMWInst() argument
1639 OperandTraits<AtomicRMWInst>::operands(this), InsertAtEnd) { in AtomicRMWInst()
1692 BasicBlock *InsertAtEnd) in FenceInst() argument
1693 : Instruction(Type::getVoidTy(C), Fence, nullptr, 0, InsertAtEnd) { in FenceInst()
1932 const Twine &Name, BasicBlock *InsertAtEnd) in ShuffleVectorInst() argument
1937 OperandTraits<ShuffleVectorInst>::operands(this), InsertAtEnd) { in ShuffleVectorInst()
1966 const Twine &Name, BasicBlock *InsertAtEnd) in ShuffleVectorInst() argument
1971 OperandTraits<ShuffleVectorInst>::operands(this), InsertAtEnd) { in ShuffleVectorInst()
2428 BasicBlock *InsertAtEnd) in UnaryOperator() argument
2429 : UnaryInstruction(Ty, iType, S, InsertAtEnd) { in UnaryOperator()
2443 BasicBlock *InsertAtEnd) { in Create() argument
2445 InsertAtEnd->getInstList().push_back(Res); in Create()
2485 BasicBlock *InsertAtEnd) in BinaryOperator() argument
2489 InsertAtEnd) { in BinaryOperator()
2574 BasicBlock *InsertAtEnd) { in Create() argument
2576 InsertAtEnd->getInstList().push_back(Res); in Create()
2589 BasicBlock *InsertAtEnd) { in CreateNeg() argument
2593 Op->getType(), Name, InsertAtEnd); in CreateNeg()
2603 BasicBlock *InsertAtEnd) { in CreateNSWNeg() argument
2605 return BinaryOperator::CreateNSWSub(zero, Op, Name, InsertAtEnd); in CreateNSWNeg()
2615 BasicBlock *InsertAtEnd) { in CreateNUWNeg() argument
2617 return BinaryOperator::CreateNUWSub(zero, Op, Name, InsertAtEnd); in CreateNUWNeg()
2628 BasicBlock *InsertAtEnd) { in CreateNot() argument
2631 Op->getType(), Name, InsertAtEnd); in CreateNot()
2989 const Twine &Name, BasicBlock *InsertAtEnd) { in Create() argument
2993 case Trunc: return new TruncInst (S, Ty, Name, InsertAtEnd); in Create()
2994 case ZExt: return new ZExtInst (S, Ty, Name, InsertAtEnd); in Create()
2995 case SExt: return new SExtInst (S, Ty, Name, InsertAtEnd); in Create()
2996 case FPTrunc: return new FPTruncInst (S, Ty, Name, InsertAtEnd); in Create()
2997 case FPExt: return new FPExtInst (S, Ty, Name, InsertAtEnd); in Create()
2998 case UIToFP: return new UIToFPInst (S, Ty, Name, InsertAtEnd); in Create()
2999 case SIToFP: return new SIToFPInst (S, Ty, Name, InsertAtEnd); in Create()
3000 case FPToUI: return new FPToUIInst (S, Ty, Name, InsertAtEnd); in Create()
3001 case FPToSI: return new FPToSIInst (S, Ty, Name, InsertAtEnd); in Create()
3002 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertAtEnd); in Create()
3003 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertAtEnd); in Create()
3004 case BitCast: return new BitCastInst (S, Ty, Name, InsertAtEnd); in Create()
3005 case AddrSpaceCast: return new AddrSpaceCastInst (S, Ty, Name, InsertAtEnd); in Create()
3020 BasicBlock *InsertAtEnd) { in CreateZExtOrBitCast() argument
3022 return Create(Instruction::BitCast, S, Ty, Name, InsertAtEnd); in CreateZExtOrBitCast()
3023 return Create(Instruction::ZExt, S, Ty, Name, InsertAtEnd); in CreateZExtOrBitCast()
3036 BasicBlock *InsertAtEnd) { in CreateSExtOrBitCast() argument
3038 return Create(Instruction::BitCast, S, Ty, Name, InsertAtEnd); in CreateSExtOrBitCast()
3039 return Create(Instruction::SExt, S, Ty, Name, InsertAtEnd); in CreateSExtOrBitCast()
3052 BasicBlock *InsertAtEnd) { in CreateTruncOrBitCast() argument
3054 return Create(Instruction::BitCast, S, Ty, Name, InsertAtEnd); in CreateTruncOrBitCast()
3055 return Create(Instruction::Trunc, S, Ty, Name, InsertAtEnd); in CreateTruncOrBitCast()
3060 BasicBlock *InsertAtEnd) { in CreatePointerCast() argument
3071 return Create(Instruction::PtrToInt, S, Ty, Name, InsertAtEnd); in CreatePointerCast()
3073 return CreatePointerBitCastOrAddrSpaceCast(S, Ty, Name, InsertAtEnd); in CreatePointerCast()
3098 BasicBlock *InsertAtEnd) { in CreatePointerBitCastOrAddrSpaceCast() argument
3103 return Create(Instruction::AddrSpaceCast, S, Ty, Name, InsertAtEnd); in CreatePointerBitCastOrAddrSpaceCast()
3105 return Create(Instruction::BitCast, S, Ty, Name, InsertAtEnd); in CreatePointerBitCastOrAddrSpaceCast()
3148 BasicBlock *InsertAtEnd) { in CreateIntegerCast() argument
3157 return Create(opcode, C, Ty, Name, InsertAtEnd); in CreateIntegerCast()
3175 BasicBlock *InsertAtEnd) { in CreateFPCast() argument
3183 return Create(opcode, C, Ty, Name, InsertAtEnd); in CreateFPCast()
3457 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in TruncInst() argument
3458 ) : CastInst(Ty, Trunc, S, Name, InsertAtEnd) { in TruncInst()
3469 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in ZExtInst() argument
3470 ) : CastInst(Ty, ZExt, S, Name, InsertAtEnd) { in ZExtInst()
3480 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in SExtInst() argument
3481 ) : CastInst(Ty, SExt, S, Name, InsertAtEnd) { in SExtInst()
3492 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in FPTruncInst() argument
3493 ) : CastInst(Ty, FPTrunc, S, Name, InsertAtEnd) { in FPTruncInst()
3504 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in FPExtInst() argument
3505 ) : CastInst(Ty, FPExt, S, Name, InsertAtEnd) { in FPExtInst()
3516 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in UIToFPInst() argument
3517 ) : CastInst(Ty, UIToFP, S, Name, InsertAtEnd) { in UIToFPInst()
3528 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in SIToFPInst() argument
3529 ) : CastInst(Ty, SIToFP, S, Name, InsertAtEnd) { in SIToFPInst()
3540 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in FPToUIInst() argument
3541 ) : CastInst(Ty, FPToUI, S, Name, InsertAtEnd) { in FPToUIInst()
3552 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in FPToSIInst() argument
3553 ) : CastInst(Ty, FPToSI, S, Name, InsertAtEnd) { in FPToSIInst()
3564 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in PtrToIntInst() argument
3565 ) : CastInst(Ty, PtrToInt, S, Name, InsertAtEnd) { in PtrToIntInst()
3576 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in IntToPtrInst() argument
3577 ) : CastInst(Ty, IntToPtr, S, Name, InsertAtEnd) { in IntToPtrInst()
3588 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in BitCastInst() argument
3589 ) : CastInst(Ty, BitCast, S, Name, InsertAtEnd) { in BitCastInst()
3600 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in AddrSpaceCastInst() argument
3601 ) : CastInst(Ty, AddrSpaceCast, S, Name, InsertAtEnd) { in AddrSpaceCastInst()
3625 Value *RHS, const Twine &Name, BasicBlock *InsertAtEnd) in CmpInst() argument
3629 InsertAtEnd) { in CmpInst()
3658 const Twine &Name, BasicBlock *InsertAtEnd) { in Create() argument
3660 return new ICmpInst(*InsertAtEnd, CmpInst::Predicate(predicate), in Create()
3663 return new FCmpInst(*InsertAtEnd, CmpInst::Predicate(predicate), in Create()
4053 BasicBlock *InsertAtEnd) in SwitchInst() argument
4055 nullptr, 0, InsertAtEnd) { in SwitchInst()
4280 BasicBlock *InsertAtEnd) in IndirectBrInst() argument
4282 Instruction::IndirectBr, nullptr, 0, InsertAtEnd) { in IndirectBrInst()
4336 const Twine &Name, BasicBlock *InsertAtEnd) in FreezeInst() argument
4337 : UnaryInstruction(S->getType(), Freeze, S, InsertAtEnd) { in FreezeInst()