Lines Matching refs:InsertAtEnd

199                                const Twine &NameStr, BasicBlock *InsertAtEnd)  in LandingPadInst()  argument
200 : Instruction(RetTy, Instruction::LandingPad, nullptr, 0, InsertAtEnd) { in LandingPadInst()
225 BasicBlock *InsertAtEnd) { in Create() argument
226 return new LandingPadInst(RetTy, NumReservedClauses, NameStr, InsertAtEnd); in Create()
409 BasicBlock *InsertAtEnd) in CallInst() argument
411 OperandTraits<CallBase>::op_end(this) - 1, 1, InsertAtEnd) { in CallInst()
459 BasicBlock *InsertAtEnd, Type *IntPtrTy, in createMalloc() argument
464 assert(((!InsertBefore && InsertAtEnd) || (InsertBefore && !InsertAtEnd)) && in createMalloc()
479 "", InsertAtEnd); in createMalloc()
497 "mallocsize", InsertAtEnd); in createMalloc()
503 BasicBlock *BB = InsertBefore ? InsertBefore->getParent() : InsertAtEnd; in createMalloc()
524 InsertAtEnd->getInstList().push_back(MCall); in createMalloc()
572 Instruction *CallInst::CreateMalloc(BasicBlock *InsertAtEnd, in CreateMalloc() argument
576 return createMalloc(nullptr, InsertAtEnd, IntPtrTy, AllocTy, AllocSize, in CreateMalloc()
579 Instruction *CallInst::CreateMalloc(BasicBlock *InsertAtEnd, in CreateMalloc() argument
584 return createMalloc(nullptr, InsertAtEnd, IntPtrTy, AllocTy, AllocSize, in CreateMalloc()
591 BasicBlock *InsertAtEnd) { in createFree() argument
592 assert(((!InsertBefore && InsertAtEnd) || (InsertBefore && !InsertAtEnd)) && in createFree()
597 BasicBlock *BB = InsertBefore ? InsertBefore->getParent() : InsertAtEnd; in createFree()
612 PtrCast = new BitCastInst(Source, IntPtrTy, "", InsertAtEnd); in createFree()
635 Instruction *CallInst::CreateFree(Value *Source, BasicBlock *InsertAtEnd) { in CreateFree() argument
636 Instruction *FreeCall = createFree(Source, None, nullptr, InsertAtEnd); in CreateFree()
642 BasicBlock *InsertAtEnd) { in CreateFree() argument
643 Instruction *FreeCall = createFree(Source, Bundles, nullptr, InsertAtEnd); in CreateFree()
736 ReturnInst::ReturnInst(LLVMContext &C, Value *retVal, BasicBlock *InsertAtEnd) in ReturnInst() argument
739 InsertAtEnd) { in ReturnInst()
744 ReturnInst::ReturnInst(LLVMContext &Context, BasicBlock *InsertAtEnd) in ReturnInst() argument
746 OperandTraits<ReturnInst>::op_end(this), 0, InsertAtEnd) {} in ReturnInst()
764 ResumeInst::ResumeInst(Value *Exn, BasicBlock *InsertAtEnd) in ResumeInst() argument
766 OperandTraits<ResumeInst>::op_begin(this), 1, InsertAtEnd) { in ResumeInst()
804 unsigned Values, BasicBlock *InsertAtEnd) in CleanupReturnInst() argument
808 Values, InsertAtEnd) { in CleanupReturnInst()
836 BasicBlock *InsertAtEnd) in CatchReturnInst() argument
839 InsertAtEnd) { in CatchReturnInst()
861 const Twine &NameStr, BasicBlock *InsertAtEnd) in CatchSwitchInst() argument
863 InsertAtEnd) { in CatchSwitchInst()
957 const Twine &NameStr, BasicBlock *InsertAtEnd) in FuncletPadInst() argument
960 InsertAtEnd) { in FuncletPadInst()
972 UnreachableInst::UnreachableInst(LLVMContext &Context, BasicBlock *InsertAtEnd) in UnreachableInst() argument
974 0, InsertAtEnd) {} in UnreachableInst()
1007 BranchInst::BranchInst(BasicBlock *IfTrue, BasicBlock *InsertAtEnd) in BranchInst() argument
1009 OperandTraits<BranchInst>::op_end(this) - 1, 1, InsertAtEnd) { in BranchInst()
1015 BasicBlock *InsertAtEnd) in BranchInst() argument
1017 OperandTraits<BranchInst>::op_end(this) - 3, 3, InsertAtEnd) { in BranchInst()
1070 BasicBlock *InsertAtEnd) in AllocaInst() argument
1071 : AllocaInst(Ty, AddrSpace, /*ArraySize=*/nullptr, Name, InsertAtEnd) {} in AllocaInst()
1078 const Twine &Name, BasicBlock *InsertAtEnd) in AllocaInst() argument
1079 : AllocaInst(Ty, AddrSpace, ArraySize, /*Align=*/0, Name, InsertAtEnd) {} in AllocaInst()
1094 BasicBlock *InsertAtEnd) in AllocaInst() argument
1096 getAISize(Ty->getContext(), ArraySize), InsertAtEnd), in AllocaInst()
1218 StoreInst::StoreInst(Value *val, Value *addr, BasicBlock *InsertAtEnd) in StoreInst() argument
1219 : StoreInst(val, addr, /*isVolatile=*/false, InsertAtEnd) {} in StoreInst()
1226 BasicBlock *InsertAtEnd) in StoreInst() argument
1227 : StoreInst(val, addr, isVolatile, /*Align=*/0, InsertAtEnd) {} in StoreInst()
1235 BasicBlock *InsertAtEnd) in StoreInst() argument
1237 SyncScope::System, InsertAtEnd) {} in StoreInst()
1258 BasicBlock *InsertAtEnd) in StoreInst() argument
1262 InsertAtEnd) { in StoreInst()
1333 BasicBlock *InsertAtEnd) in AtomicCmpXchgInst() argument
1337 OperandTraits<AtomicCmpXchgInst>::operands(this), InsertAtEnd) { in AtomicCmpXchgInst()
1379 BasicBlock *InsertAtEnd) in AtomicRMWInst() argument
1383 InsertAtEnd) { in AtomicRMWInst()
1432 BasicBlock *InsertAtEnd) in FenceInst() argument
1433 : Instruction(Type::getVoidTy(C), Fence, nullptr, 0, InsertAtEnd) { in FenceInst()
1653 BasicBlock *InsertAtEnd) in ShuffleVectorInst() argument
1659 InsertAtEnd) { in ShuffleVectorInst()
2028 BasicBlock *InsertAtEnd) in UnaryOperator() argument
2029 : UnaryInstruction(Ty, iType, S, InsertAtEnd) { in UnaryOperator()
2043 BasicBlock *InsertAtEnd) { in Create() argument
2045 InsertAtEnd->getInstList().push_back(Res); in Create()
2085 BasicBlock *InsertAtEnd) in BinaryOperator() argument
2089 InsertAtEnd) { in BinaryOperator()
2174 BasicBlock *InsertAtEnd) { in Create() argument
2176 InsertAtEnd->getInstList().push_back(Res); in Create()
2189 BasicBlock *InsertAtEnd) { in CreateNeg() argument
2193 Op->getType(), Name, InsertAtEnd); in CreateNeg()
2203 BasicBlock *InsertAtEnd) { in CreateNSWNeg() argument
2205 return BinaryOperator::CreateNSWSub(zero, Op, Name, InsertAtEnd); in CreateNSWNeg()
2215 BasicBlock *InsertAtEnd) { in CreateNUWNeg() argument
2217 return BinaryOperator::CreateNUWSub(zero, Op, Name, InsertAtEnd); in CreateNUWNeg()
2228 BasicBlock *InsertAtEnd) { in CreateFNeg() argument
2231 Op->getType(), Name, InsertAtEnd); in CreateFNeg()
2242 BasicBlock *InsertAtEnd) { in CreateNot() argument
2245 Op->getType(), Name, InsertAtEnd); in CreateNot()
2596 const Twine &Name, BasicBlock *InsertAtEnd) { in Create() argument
2600 case Trunc: return new TruncInst (S, Ty, Name, InsertAtEnd); in Create()
2601 case ZExt: return new ZExtInst (S, Ty, Name, InsertAtEnd); in Create()
2602 case SExt: return new SExtInst (S, Ty, Name, InsertAtEnd); in Create()
2603 case FPTrunc: return new FPTruncInst (S, Ty, Name, InsertAtEnd); in Create()
2604 case FPExt: return new FPExtInst (S, Ty, Name, InsertAtEnd); in Create()
2605 case UIToFP: return new UIToFPInst (S, Ty, Name, InsertAtEnd); in Create()
2606 case SIToFP: return new SIToFPInst (S, Ty, Name, InsertAtEnd); in Create()
2607 case FPToUI: return new FPToUIInst (S, Ty, Name, InsertAtEnd); in Create()
2608 case FPToSI: return new FPToSIInst (S, Ty, Name, InsertAtEnd); in Create()
2609 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertAtEnd); in Create()
2610 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertAtEnd); in Create()
2611 case BitCast: return new BitCastInst (S, Ty, Name, InsertAtEnd); in Create()
2612 case AddrSpaceCast: return new AddrSpaceCastInst (S, Ty, Name, InsertAtEnd); in Create()
2627 BasicBlock *InsertAtEnd) { in CreateZExtOrBitCast() argument
2629 return Create(Instruction::BitCast, S, Ty, Name, InsertAtEnd); in CreateZExtOrBitCast()
2630 return Create(Instruction::ZExt, S, Ty, Name, InsertAtEnd); in CreateZExtOrBitCast()
2643 BasicBlock *InsertAtEnd) { in CreateSExtOrBitCast() argument
2645 return Create(Instruction::BitCast, S, Ty, Name, InsertAtEnd); in CreateSExtOrBitCast()
2646 return Create(Instruction::SExt, S, Ty, Name, InsertAtEnd); in CreateSExtOrBitCast()
2659 BasicBlock *InsertAtEnd) { in CreateTruncOrBitCast() argument
2661 return Create(Instruction::BitCast, S, Ty, Name, InsertAtEnd); in CreateTruncOrBitCast()
2662 return Create(Instruction::Trunc, S, Ty, Name, InsertAtEnd); in CreateTruncOrBitCast()
2667 BasicBlock *InsertAtEnd) { in CreatePointerCast() argument
2677 return Create(Instruction::PtrToInt, S, Ty, Name, InsertAtEnd); in CreatePointerCast()
2679 return CreatePointerBitCastOrAddrSpaceCast(S, Ty, Name, InsertAtEnd); in CreatePointerCast()
2703 BasicBlock *InsertAtEnd) { in CreatePointerBitCastOrAddrSpaceCast() argument
2708 return Create(Instruction::AddrSpaceCast, S, Ty, Name, InsertAtEnd); in CreatePointerBitCastOrAddrSpaceCast()
2710 return Create(Instruction::BitCast, S, Ty, Name, InsertAtEnd); in CreatePointerBitCastOrAddrSpaceCast()
2753 BasicBlock *InsertAtEnd) { in CreateIntegerCast() argument
2762 return Create(opcode, C, Ty, Name, InsertAtEnd); in CreateIntegerCast()
2780 BasicBlock *InsertAtEnd) { in CreateFPCast() argument
2788 return Create(opcode, C, Ty, Name, InsertAtEnd); in CreateFPCast()
3135 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in TruncInst() argument
3136 ) : CastInst(Ty, Trunc, S, Name, InsertAtEnd) { in TruncInst()
3147 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in ZExtInst() argument
3148 ) : CastInst(Ty, ZExt, S, Name, InsertAtEnd) { in ZExtInst()
3158 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in SExtInst() argument
3159 ) : CastInst(Ty, SExt, S, Name, InsertAtEnd) { in SExtInst()
3170 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in FPTruncInst() argument
3171 ) : CastInst(Ty, FPTrunc, S, Name, InsertAtEnd) { in FPTruncInst()
3182 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in FPExtInst() argument
3183 ) : CastInst(Ty, FPExt, S, Name, InsertAtEnd) { in FPExtInst()
3194 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in UIToFPInst() argument
3195 ) : CastInst(Ty, UIToFP, S, Name, InsertAtEnd) { in UIToFPInst()
3206 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in SIToFPInst() argument
3207 ) : CastInst(Ty, SIToFP, S, Name, InsertAtEnd) { in SIToFPInst()
3218 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in FPToUIInst() argument
3219 ) : CastInst(Ty, FPToUI, S, Name, InsertAtEnd) { in FPToUIInst()
3230 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in FPToSIInst() argument
3231 ) : CastInst(Ty, FPToSI, S, Name, InsertAtEnd) { in FPToSIInst()
3242 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in PtrToIntInst() argument
3243 ) : CastInst(Ty, PtrToInt, S, Name, InsertAtEnd) { in PtrToIntInst()
3254 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in IntToPtrInst() argument
3255 ) : CastInst(Ty, IntToPtr, S, Name, InsertAtEnd) { in IntToPtrInst()
3266 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in BitCastInst() argument
3267 ) : CastInst(Ty, BitCast, S, Name, InsertAtEnd) { in BitCastInst()
3278 Value *S, Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd in AddrSpaceCastInst() argument
3279 ) : CastInst(Ty, AddrSpaceCast, S, Name, InsertAtEnd) { in AddrSpaceCastInst()
3303 Value *RHS, const Twine &Name, BasicBlock *InsertAtEnd) in CmpInst() argument
3307 InsertAtEnd) { in CmpInst()
3336 const Twine &Name, BasicBlock *InsertAtEnd) { in Create() argument
3338 return new ICmpInst(*InsertAtEnd, CmpInst::Predicate(predicate), in Create()
3341 return new FCmpInst(*InsertAtEnd, CmpInst::Predicate(predicate), in Create()
3648 BasicBlock *InsertAtEnd) in SwitchInst() argument
3650 nullptr, 0, InsertAtEnd) { in SwitchInst()
3751 BasicBlock *InsertAtEnd) in IndirectBrInst() argument
3753 Instruction::IndirectBr, nullptr, 0, InsertAtEnd) { in IndirectBrInst()