Lines Matching refs:InsertBefore
234 const Twine &NameStr, Instruction *InsertBefore) in LandingPadInst() argument
235 : Instruction(RetTy, Instruction::LandingPad, nullptr, 0, InsertBefore) { in LandingPadInst()
260 Instruction *InsertBefore) { in Create() argument
261 return new LandingPadInst(RetTy, NumReservedClauses, NameStr, InsertBefore); in Create()
713 Instruction *InsertBefore) in CallInst() argument
715 OperandTraits<CallBase>::op_end(this) - 1, 1, InsertBefore) { in CallInst()
963 ReturnInst::ReturnInst(LLVMContext &C, Value *retVal, Instruction *InsertBefore) in ReturnInst() argument
966 InsertBefore) { in ReturnInst()
993 ResumeInst::ResumeInst(Value *Exn, Instruction *InsertBefore) in ResumeInst() argument
995 OperandTraits<ResumeInst>::op_begin(this), 1, InsertBefore) { in ResumeInst()
1031 unsigned Values, Instruction *InsertBefore) in CleanupReturnInst() argument
1035 Values, InsertBefore) { in CleanupReturnInst()
1064 Instruction *InsertBefore) in CatchReturnInst() argument
1067 InsertBefore) { in CatchReturnInst()
1086 Instruction *InsertBefore) in CatchSwitchInst() argument
1088 InsertBefore) { in CatchSwitchInst()
1184 const Twine &NameStr, Instruction *InsertBefore) in FuncletPadInst() argument
1187 InsertBefore) { in FuncletPadInst()
1205 Instruction *InsertBefore) in UnreachableInst() argument
1207 0, InsertBefore) {} in UnreachableInst()
1222 BranchInst::BranchInst(BasicBlock *IfTrue, Instruction *InsertBefore) in BranchInst() argument
1225 InsertBefore) { in BranchInst()
1231 Instruction *InsertBefore) in BranchInst() argument
1234 InsertBefore) { in BranchInst()
1318 Instruction *InsertBefore) in AllocaInst() argument
1319 : AllocaInst(Ty, AddrSpace, /*ArraySize=*/nullptr, Name, InsertBefore) {} in AllocaInst()
1326 const Twine &Name, Instruction *InsertBefore) in AllocaInst() argument
1328 computeAllocaDefaultAlign(Ty, InsertBefore), Name, in AllocaInst()
1329 InsertBefore) {} in AllocaInst()
1339 Instruction *InsertBefore) in AllocaInst() argument
1341 getAISize(Ty->getContext(), ArraySize), InsertBefore), in AllocaInst()
1459 StoreInst::StoreInst(Value *val, Value *addr, Instruction *InsertBefore) in StoreInst() argument
1460 : StoreInst(val, addr, /*isVolatile=*/false, InsertBefore) {} in StoreInst()
1465 StoreInst::StoreInst(Value *val, Value *addr, BasicBlock::iterator InsertBefore) in StoreInst() argument
1466 : StoreInst(val, addr, /*isVolatile=*/false, InsertBefore) {} in StoreInst()
1469 Instruction *InsertBefore) in StoreInst() argument
1471 computeLoadStoreDefaultAlign(val->getType(), InsertBefore), in StoreInst()
1472 InsertBefore) {} in StoreInst()
1481 BasicBlock::iterator InsertBefore) in StoreInst() argument
1483 computeLoadStoreDefaultAlign(val->getType(), &*InsertBefore), in StoreInst()
1484 InsertBefore) {} in StoreInst()
1487 Instruction *InsertBefore) in StoreInst() argument
1489 SyncScope::System, InsertBefore) {} in StoreInst()
1497 BasicBlock::iterator InsertBefore) in StoreInst() argument
1499 SyncScope::System, InsertBefore) {} in StoreInst()
1503 Instruction *InsertBefore) in StoreInst() argument
1506 OperandTraits<StoreInst>::operands(this), InsertBefore) { in StoreInst()
1531 BasicBlock::iterator InsertBefore) in StoreInst() argument
1540 insertBefore(*InsertBefore->getParent(), InsertBefore); in StoreInst()
1573 Instruction *InsertBefore) in AtomicCmpXchgInst() argument
1577 OperandTraits<AtomicCmpXchgInst>::operands(this), InsertBefore) { in AtomicCmpXchgInst()
1622 SyncScope::ID SSID, Instruction *InsertBefore) in AtomicRMWInst() argument
1625 OperandTraits<AtomicRMWInst>::operands(this), InsertBefore) { in AtomicRMWInst()
1687 Instruction *InsertBefore) in FenceInst() argument
1688 : Instruction(Type::getVoidTy(C), Fence, nullptr, 0, InsertBefore) { in FenceInst()
1921 Instruction *InsertBefore) in ShuffleVectorInst() argument
1923 InsertBefore) {} in ShuffleVectorInst()
1932 Instruction *InsertBefore) in ShuffleVectorInst() argument
1934 InsertBefore) {} in ShuffleVectorInst()
1943 Instruction *InsertBefore) in ShuffleVectorInst() argument
1948 OperandTraits<ShuffleVectorInst>::operands(this), InsertBefore) { in ShuffleVectorInst()
1980 Instruction *InsertBefore) in ShuffleVectorInst() argument
1985 OperandTraits<ShuffleVectorInst>::operands(this), InsertBefore) { in ShuffleVectorInst()
2807 Instruction *InsertBefore) in UnaryOperator() argument
2808 : UnaryInstruction(Ty, iType, S, InsertBefore) { in UnaryOperator()
2825 Instruction *InsertBefore) { in Create() argument
2826 return new UnaryOperator(Op, S, S->getType(), Name, InsertBefore); in Create()
2860 Instruction *InsertBefore) in BinaryOperator() argument
2864 InsertBefore) { in BinaryOperator()
2954 Instruction *InsertBefore) { in Create() argument
2957 return new BinaryOperator(Op, S1, S2, S1->getType(), Name, InsertBefore); in Create()
2969 Instruction *InsertBefore) { in CreateNeg() argument
2973 Op->getType(), Name, InsertBefore); in CreateNeg()
2985 Instruction *InsertBefore) { in CreateNSWNeg() argument
2987 return BinaryOperator::CreateNSWSub(Zero, Op, Name, InsertBefore); in CreateNSWNeg()
2997 Instruction *InsertBefore) { in CreateNUWNeg() argument
2999 return BinaryOperator::CreateNUWSub(Zero, Op, Name, InsertBefore); in CreateNUWNeg()
3009 Instruction *InsertBefore) { in CreateNot() argument
3012 Op->getType(), Name, InsertBefore); in CreateNot()
3334 const Twine &Name, Instruction *InsertBefore) { in Create() argument
3338 case Trunc: return new TruncInst (S, Ty, Name, InsertBefore); in Create()
3339 case ZExt: return new ZExtInst (S, Ty, Name, InsertBefore); in Create()
3340 case SExt: return new SExtInst (S, Ty, Name, InsertBefore); in Create()
3341 case FPTrunc: return new FPTruncInst (S, Ty, Name, InsertBefore); in Create()
3342 case FPExt: return new FPExtInst (S, Ty, Name, InsertBefore); in Create()
3343 case UIToFP: return new UIToFPInst (S, Ty, Name, InsertBefore); in Create()
3344 case SIToFP: return new SIToFPInst (S, Ty, Name, InsertBefore); in Create()
3345 case FPToUI: return new FPToUIInst (S, Ty, Name, InsertBefore); in Create()
3346 case FPToSI: return new FPToSIInst (S, Ty, Name, InsertBefore); in Create()
3347 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertBefore); in Create()
3348 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertBefore); in Create()
3349 case BitCast: return new BitCastInst (S, Ty, Name, InsertBefore); in Create()
3350 case AddrSpaceCast: return new AddrSpaceCastInst (S, Ty, Name, InsertBefore); in Create()
3379 Instruction *InsertBefore) { in CreateZExtOrBitCast() argument
3381 return Create(Instruction::BitCast, S, Ty, Name, InsertBefore); in CreateZExtOrBitCast()
3382 return Create(Instruction::ZExt, S, Ty, Name, InsertBefore); in CreateZExtOrBitCast()
3395 Instruction *InsertBefore) { in CreateSExtOrBitCast() argument
3397 return Create(Instruction::BitCast, S, Ty, Name, InsertBefore); in CreateSExtOrBitCast()
3398 return Create(Instruction::SExt, S, Ty, Name, InsertBefore); in CreateSExtOrBitCast()
3411 Instruction *InsertBefore) { in CreateTruncOrBitCast() argument
3413 return Create(Instruction::BitCast, S, Ty, Name, InsertBefore); in CreateTruncOrBitCast()
3414 return Create(Instruction::Trunc, S, Ty, Name, InsertBefore); in CreateTruncOrBitCast()
3446 Instruction *InsertBefore) { in CreatePointerCast() argument
3457 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreatePointerCast()
3459 return CreatePointerBitCastOrAddrSpaceCast(S, Ty, Name, InsertBefore); in CreatePointerCast()
3478 Instruction *InsertBefore) { in CreatePointerBitCastOrAddrSpaceCast() argument
3483 return Create(Instruction::AddrSpaceCast, S, Ty, Name, InsertBefore); in CreatePointerBitCastOrAddrSpaceCast()
3485 return Create(Instruction::BitCast, S, Ty, Name, InsertBefore); in CreatePointerBitCastOrAddrSpaceCast()
3490 Instruction *InsertBefore) { in CreateBitOrPointerCast() argument
3492 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreateBitOrPointerCast()
3494 return Create(Instruction::IntToPtr, S, Ty, Name, InsertBefore); in CreateBitOrPointerCast()
3496 return Create(Instruction::BitCast, S, Ty, Name, InsertBefore); in CreateBitOrPointerCast()
3501 Instruction *InsertBefore) { in CreateIntegerCast() argument
3510 return Create(opcode, C, Ty, Name, InsertBefore); in CreateIntegerCast()
3529 Instruction *InsertBefore) { in CreateFPCast() argument
3537 return Create(opcode, C, Ty, Name, InsertBefore); in CreateFPCast()
3818 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore in TruncInst() argument
3819 ) : CastInst(Ty, Trunc, S, Name, InsertBefore) { in TruncInst()
3830 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore in ZExtInst() argument
3831 ) : CastInst(Ty, ZExt, S, Name, InsertBefore) { in ZExtInst()
3841 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore in SExtInst() argument
3842 ) : CastInst(Ty, SExt, S, Name, InsertBefore) { in SExtInst()
3853 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore in FPTruncInst() argument
3854 ) : CastInst(Ty, FPTrunc, S, Name, InsertBefore) { in FPTruncInst()
3865 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore in FPExtInst() argument
3866 ) : CastInst(Ty, FPExt, S, Name, InsertBefore) { in FPExtInst()
3877 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore in UIToFPInst() argument
3878 ) : CastInst(Ty, UIToFP, S, Name, InsertBefore) { in UIToFPInst()
3889 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore in SIToFPInst() argument
3890 ) : CastInst(Ty, SIToFP, S, Name, InsertBefore) { in SIToFPInst()
3901 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore in FPToUIInst() argument
3902 ) : CastInst(Ty, FPToUI, S, Name, InsertBefore) { in FPToUIInst()
3913 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore in FPToSIInst() argument
3914 ) : CastInst(Ty, FPToSI, S, Name, InsertBefore) { in FPToSIInst()
3925 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore in PtrToIntInst() argument
3926 ) : CastInst(Ty, PtrToInt, S, Name, InsertBefore) { in PtrToIntInst()
3937 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore in IntToPtrInst() argument
3938 ) : CastInst(Ty, IntToPtr, S, Name, InsertBefore) { in IntToPtrInst()
3949 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore in BitCastInst() argument
3950 ) : CastInst(Ty, BitCast, S, Name, InsertBefore) { in BitCastInst()
3961 Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore in AddrSpaceCastInst() argument
3962 ) : CastInst(Ty, AddrSpaceCast, S, Name, InsertBefore) { in AddrSpaceCastInst()
3977 Value *RHS, const Twine &Name, Instruction *InsertBefore, in CmpInst() argument
3982 InsertBefore) { in CmpInst()
4005 const Twine &Name, Instruction *InsertBefore) { in Create() argument
4007 if (InsertBefore) in Create()
4008 return new ICmpInst(InsertBefore, CmpInst::Predicate(predicate), in Create()
4015 if (InsertBefore) in Create()
4016 return new FCmpInst(InsertBefore, CmpInst::Predicate(predicate), in Create()
4484 Instruction *InsertBefore) in SwitchInst() argument
4486 nullptr, 0, InsertBefore) { in SwitchInst()
4702 Instruction *InsertBefore) in IndirectBrInst() argument
4704 Instruction::IndirectBr, nullptr, 0, InsertBefore) { in IndirectBrInst()
4759 const Twine &Name, Instruction *InsertBefore) in FreezeInst() argument
4760 : UnaryInstruction(S->getType(), Freeze, S, InsertBefore) { in FreezeInst()