Home
last modified time | relevance | path

Searched defs:InsertBefore (Results 1 – 25 of 47) sorted by relevance

12

/llvm-project/llvm/lib/IR/
H A DInstructions.cpp245 LandingPadInst(Type * RetTy,unsigned NumReservedValues,const Twine & NameStr,InsertPosition InsertBefore) LandingPadInst() argument
265 Create(Type * RetTy,unsigned NumReservedClauses,const Twine & NameStr,InsertPosition InsertBefore) Create() argument
719 CallInst(FunctionType * Ty,Value * Func,const Twine & Name,InsertPosition InsertBefore) CallInst() argument
931 ReturnInst(LLVMContext & C,Value * retVal,InsertPosition InsertBefore) ReturnInst() argument
949 ResumeInst(Value * Exn,InsertPosition InsertBefore) ResumeInst() argument
982 CleanupReturnInst(Value * CleanupPad,BasicBlock * UnwindBB,unsigned Values,InsertPosition InsertBefore) CleanupReturnInst() argument
1006 CatchReturnInst(Value * CatchPad,BasicBlock * BB,InsertPosition InsertBefore) CatchReturnInst() argument
1020 CatchSwitchInst(Value * ParentPad,BasicBlock * UnwindDest,unsigned NumReservedValues,const Twine & NameStr,InsertPosition InsertBefore) CatchSwitchInst() argument
1108 FuncletPadInst(Instruction::FuncletPadOps Op,Value * ParentPad,ArrayRef<Value * > Args,unsigned Values,const Twine & NameStr,InsertPosition InsertBefore) FuncletPadInst() argument
1120 UnreachableInst(LLVMContext & Context,InsertPosition InsertBefore) UnreachableInst() argument
1134 BranchInst(BasicBlock * IfTrue,InsertPosition InsertBefore) BranchInst() argument
1143 BranchInst(BasicBlock * IfTrue,BasicBlock * IfFalse,Value * Cond,InsertPosition InsertBefore) BranchInst() argument
1207 AllocaInst(Type * Ty,unsigned AddrSpace,const Twine & Name,InsertPosition InsertBefore) AllocaInst() argument
1211 AllocaInst(Type * Ty,unsigned AddrSpace,Value * ArraySize,const Twine & Name,InsertPosition InsertBefore) AllocaInst() argument
1218 AllocaInst(Type * Ty,unsigned AddrSpace,Value * ArraySize,Align Align,const Twine & Name,InsertPosition InsertBefore) AllocaInst() argument
1299 StoreInst(Value * val,Value * addr,InsertPosition InsertBefore) StoreInst() argument
1303 StoreInst(Value * val,Value * addr,bool isVolatile,InsertPosition InsertBefore) StoreInst() argument
1309 StoreInst(Value * val,Value * addr,bool isVolatile,Align Align,InsertPosition InsertBefore) StoreInst() argument
1315 StoreInst(Value * val,Value * addr,bool isVolatile,Align Align,AtomicOrdering Order,SyncScope::ID SSID,InsertPosition InsertBefore) StoreInst() argument
1356 AtomicCmpXchgInst(Value * Ptr,Value * Cmp,Value * NewVal,Align Alignment,AtomicOrdering SuccessOrdering,AtomicOrdering FailureOrdering,SyncScope::ID SSID,InsertPosition InsertBefore) AtomicCmpXchgInst() argument
1391 AtomicRMWInst(BinOp Operation,Value * Ptr,Value * Val,Align Alignment,AtomicOrdering Ordering,SyncScope::ID SSID,InsertPosition InsertBefore) AtomicRMWInst() argument
1446 FenceInst(LLVMContext & C,AtomicOrdering Ordering,SyncScope::ID SSID,InsertPosition InsertBefore) FenceInst() argument
1662 ShuffleVectorInst(Value * V1,Value * Mask,const Twine & Name,InsertPosition InsertBefore) ShuffleVectorInst() argument
1668 ShuffleVectorInst(Value * V1,ArrayRef<int> Mask,const Twine & Name,InsertPosition InsertBefore) ShuffleVectorInst() argument
1674 ShuffleVectorInst(Value * V1,Value * V2,Value * Mask,const Twine & Name,InsertPosition InsertBefore) ShuffleVectorInst() argument
1693 ShuffleVectorInst(Value * V1,Value * V2,ArrayRef<int> Mask,const Twine & Name,InsertPosition InsertBefore) ShuffleVectorInst() argument
2528 UnaryOperator(UnaryOps iType,Value * S,Type * Ty,const Twine & Name,InsertPosition InsertBefore) UnaryOperator() argument
2536 Create(UnaryOps Op,Value * S,const Twine & Name,InsertPosition InsertBefore) Create() argument
2562 BinaryOperator(BinaryOps iType,Value * S1,Value * S2,Type * Ty,const Twine & Name,InsertPosition InsertBefore) BinaryOperator() argument
2641 Create(BinaryOps Op,Value * S1,Value * S2,const Twine & Name,InsertPosition InsertBefore) Create() argument
2648 CreateNeg(Value * Op,const Twine & Name,InsertPosition InsertBefore) CreateNeg() argument
2655 CreateNSWNeg(Value * Op,const Twine & Name,InsertPosition InsertBefore) CreateNSWNeg() argument
2661 CreateNot(Value * Op,const Twine & Name,InsertPosition InsertBefore) CreateNot() argument
2973 Create(Instruction::CastOps op,Value * S,Type * Ty,const Twine & Name,InsertPosition InsertBefore) Create() argument
2998 CreateZExtOrBitCast(Value * S,Type * Ty,const Twine & Name,InsertPosition InsertBefore) CreateZExtOrBitCast() argument
3005 CreateSExtOrBitCast(Value * S,Type * Ty,const Twine & Name,InsertPosition InsertBefore) CreateSExtOrBitCast() argument
3012 CreateTruncOrBitCast(Value * S,Type * Ty,const Twine & Name,InsertPosition InsertBefore) CreateTruncOrBitCast() argument
3020 CreatePointerCast(Value * S,Type * Ty,const Twine & Name,InsertPosition InsertBefore) CreatePointerCast() argument
3037 CreatePointerBitCastOrAddrSpaceCast(Value * S,Type * Ty,const Twine & Name,InsertPosition InsertBefore) CreatePointerBitCastOrAddrSpaceCast() argument
3049 CreateBitOrPointerCast(Value * S,Type * Ty,const Twine & Name,InsertPosition InsertBefore) CreateBitOrPointerCast() argument
3060 CreateIntegerCast(Value * C,Type * Ty,bool isSigned,const Twine & Name,InsertPosition InsertBefore) CreateIntegerCast() argument
3073 CreateFPCast(Value * C,Type * Ty,const Twine & Name,InsertPosition InsertBefore) CreateFPCast() argument
3350 TruncInst(Value * S,Type * Ty,const Twine & Name,InsertPosition InsertBefore) TruncInst() argument
3356 ZExtInst(Value * S,Type * Ty,const Twine & Name,InsertPosition InsertBefore) ZExtInst() argument
3362 SExtInst(Value * S,Type * Ty,const Twine & Name,InsertPosition InsertBefore) SExtInst() argument
3368 FPTruncInst(Value * S,Type * Ty,const Twine & Name,InsertPosition InsertBefore) FPTruncInst() argument
3374 FPExtInst(Value * S,Type * Ty,const Twine & Name,InsertPosition InsertBefore) FPExtInst() argument
3380 UIToFPInst(Value * S,Type * Ty,const Twine & Name,InsertPosition InsertBefore) UIToFPInst() argument
3386 SIToFPInst(Value * S,Type * Ty,const Twine & Name,InsertPosition InsertBefore) SIToFPInst() argument
3392 FPToUIInst(Value * S,Type * Ty,const Twine & Name,InsertPosition InsertBefore) FPToUIInst() argument
3398 FPToSIInst(Value * S,Type * Ty,const Twine & Name,InsertPosition InsertBefore) FPToSIInst() argument
3404 PtrToIntInst(Value * S,Type * Ty,const Twine & Name,InsertPosition InsertBefore) PtrToIntInst() argument
3410 IntToPtrInst(Value * S,Type * Ty,const Twine & Name,InsertPosition InsertBefore) IntToPtrInst() argument
3416 BitCastInst(Value * S,Type * Ty,const Twine & Name,InsertPosition InsertBefore) BitCastInst() argument
3422 AddrSpaceCastInst(Value * S,Type * Ty,const Twine & Name,InsertPosition InsertBefore) AddrSpaceCastInst() argument
3432 CmpInst(Type * ty,OtherOps op,Predicate predicate,Value * LHS,Value * RHS,const Twine & Name,InsertPosition InsertBefore,Instruction * FlagsSource) CmpInst() argument
3445 Create(OtherOps Op,Predicate predicate,Value * S1,Value * S2,const Twine & Name,InsertPosition InsertBefore) Create() argument
3467 CreateWithCopiedFlags(OtherOps Op,Predicate Pred,Value * S1,Value * S2,const Instruction * FlagsSource,const Twine & Name,InsertPosition InsertBefore) CreateWithCopiedFlags() argument
3923 SwitchInst(Value * Value,BasicBlock * Default,unsigned NumCases,InsertPosition InsertBefore) SwitchInst() argument
4130 IndirectBrInst(Value * Address,unsigned NumCases,InsertPosition InsertBefore) IndirectBrInst() argument
4179 FreezeInst(Value * S,const Twine & Name,InsertPosition InsertBefore) FreezeInst() argument
[all...]
H A DDIBuilder.cpp957 insertDeclare(Value * Storage,DILocalVariable * VarInfo,DIExpression * Expr,const DILocation * DL,Instruction * InsertBefore) insertDeclare() argument
967 Instruction *InsertBefore = InsertAtEnd->getTerminator(); insertDeclare() local
986 Instruction *InsertBefore = NextIt == InsertBB->end() ? nullptr : &*NextIt; insertDbgAssign() local
1014 insertLabel(DILabel * LabelInfo,const DILocation * DL,Instruction * InsertBefore) insertLabel() argument
1029 insertDbgValueIntrinsic(Value * V,DILocalVariable * VarInfo,DIExpression * Expr,const DILocation * DL,Instruction * InsertBefore) insertDbgValueIntrinsic() argument
1049 initIRBuilder(IRBuilder<> & Builder,const DILocation * DL,BasicBlock * InsertBB,Instruction * InsertBefore) initIRBuilder() argument
1068 insertDbgValueIntrinsic(llvm::Value * Val,DILocalVariable * VarInfo,DIExpression * Expr,const DILocation * DL,BasicBlock * InsertBB,Instruction * InsertBefore) insertDbgValueIntrinsic() argument
1085 insertDeclare(Value * Storage,DILocalVariable * VarInfo,DIExpression * Expr,const DILocation * DL,BasicBlock * InsertBB,Instruction * InsertBefore) insertDeclare() argument
1115 insertDbgVariableRecord(DbgVariableRecord * DVR,BasicBlock * InsertBB,Instruction * InsertBefore,bool InsertAtHead) insertDbgVariableRecord() argument
1137 insertDbgIntrinsic(llvm::Function * IntrinsicFn,Value * V,DILocalVariable * VarInfo,DIExpression * Expr,const DILocation * DL,BasicBlock * InsertBB,Instruction * InsertBefore) insertDbgIntrinsic() argument
1160 insertLabel(DILabel * LabelInfo,const DILocation * DL,BasicBlock * InsertBB,Instruction * InsertBefore) insertLabel() argument
[all...]
H A DDebugProgramInstruction.cpp188 const DILocation *DI, DbgVariableRecord &InsertBefore) { in createDbgVariableRecord() argument
205 DbgVariableRecord &InsertBefore) { in createDVRDeclare() argument
534 insertBefore(DbgRecord * InsertBefore) insertBefore() argument
657 insertDbgRecord(DbgRecord * New,DbgRecord * InsertBefore) insertDbgRecord() argument
[all...]
H A DBasicBlock.cpp182 BasicBlock *InsertBefore) in BasicBlock() argument
198 void BasicBlock::insertInto(Function *NewParent, BasicBlock *InsertBefore) { in insertInto() argument
H A DInstruction.cpp29 InsertPosition(Instruction * InsertBefore) InsertPosition() argument
36 Instruction(Type * ty,unsigned it,Use * Ops,unsigned NumOps,InsertPosition InsertBefore) Instruction() argument
/llvm-project/llvm/lib/Target/ARM/
H A DA15SDOptimizer.cpp414 createDupLane(MachineBasicBlock & MBB,MachineBasicBlock::iterator InsertBefore,const DebugLoc & DL,unsigned Reg,unsigned Lane,bool QPR) createDupLane() argument
430 createExtractSubreg(MachineBasicBlock & MBB,MachineBasicBlock::iterator InsertBefore,const DebugLoc & DL,unsigned DReg,unsigned Lane,const TargetRegisterClass * TRC) createExtractSubreg() argument
445 createRegSequence(MachineBasicBlock & MBB,MachineBasicBlock::iterator InsertBefore,const DebugLoc & DL,unsigned Reg1,unsigned Reg2) createRegSequence() argument
462 createVExt(MachineBasicBlock & MBB,MachineBasicBlock::iterator InsertBefore,const DebugLoc & DL,unsigned Ssub0,unsigned Ssub1) createVExt() argument
475 createInsertSubreg(MachineBasicBlock & MBB,MachineBasicBlock::iterator InsertBefore,const DebugLoc & DL,unsigned DReg,unsigned Lane,unsigned ToInsert) createInsertSubreg() argument
491 createImplicitDef(MachineBasicBlock & MBB,MachineBasicBlock::iterator InsertBefore,const DebugLoc & DL) createImplicitDef() argument
[all...]
H A DARMInstructionSelector.cpp490 const MachineBasicBlock::instr_iterator InsertBefore; member
695 auto InsertBefore = std::next(MIB->getIterator()); in selectGlobal() local
772 auto InsertBefore = std::next(MIB->getIterator()); in selectSelect() local
895 auto InsertBefore = std::next(I.getIterator()); select() local
944 auto InsertBefore = std::next(I.getIterator()); select() local
[all...]
/llvm-project/llvm/lib/Target/AMDGPU/
H A DSILoadStoreOptimizer.cpp1206 copyToDestRegs(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore,int OpName,Register DestReg) const copyToDestRegs() argument
1230 copyFromSrcRegs(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore,int OpName) const copyFromSrcRegs() argument
1269 mergeRead2Pair(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore) mergeRead2Pair() argument
1344 mergeWrite2Pair(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore) mergeWrite2Pair() argument
1410 mergeImagePair(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore) mergeImagePair() argument
1446 mergeSMemLoadImmPair(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore) mergeSMemLoadImmPair() argument
1478 mergeBufferLoadPair(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore) mergeBufferLoadPair() argument
1519 mergeTBufferLoadPair(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore) mergeTBufferLoadPair() argument
1564 mergeTBufferStorePair(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore) mergeTBufferStorePair() argument
1605 mergeFlatLoadPair(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore) mergeFlatLoadPair() argument
1634 mergeFlatStorePair(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore) mergeFlatStorePair() argument
1851 mergeBufferStorePair(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore) mergeBufferStorePair() argument
[all...]
H A DSILowerSGPRSpills.cpp280 MachineBasicBlock::iterator InsertBefore = SaveBlock->begin(); extendWWMVirtRegLiveness() local
296 MachineBasicBlock::iterator InsertBefore = extendWWMVirtRegLiveness() local
/llvm-project/polly/lib/CodeGen/
H A DPerfMonitor.cpp266 void PerfMonitor::insertRegionStart(Instruction *InsertBefore) { in insertRegionStart() argument
277 void PerfMonitor::insertRegionEnd(Instruction *InsertBefore) { in insertRegionEnd() argument
/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp25 Instruction *InsertBefore, Value *SrcAddr, Value *DstAddr, in createMemCpyLoopKnownSize() argument
180 createMemCpyLoopUnknownSize(Instruction * InsertBefore,Value * SrcAddr,Value * DstAddr,Value * CopyLen,Align SrcAlign,Align DstAlign,bool SrcIsVolatile,bool DstIsVolatile,bool CanOverlap,const TargetTransformInfo & TTI,std::optional<uint32_t> AtomicElementSize) createMemCpyLoopUnknownSize() argument
369 createMemMoveLoop(Instruction * InsertBefore,Value * SrcAddr,Value * DstAddr,Value * CopyLen,Align SrcAlign,Align DstAlign,bool SrcIsVolatile,bool DstIsVolatile,const TargetTransformInfo & TTI) createMemMoveLoop() argument
459 createMemSetLoop(Instruction * InsertBefore,Value * DstAddr,Value * CopyLen,Value * SetValue,Align DstAlign,bool IsVolatile) createMemSetLoop() argument
[all...]
H A DCallPromotionUtils.cpp174 BasicBlock::iterator InsertBefore; createRetBitCast() local
H A DPromoteMemoryToRegister.cpp108 createDebugValue(DIBuilder & DIB,Value * NewValue,DILocalVariable * Variable,DIExpression * Expression,const DILocation * DI,DbgVariableRecord * InsertBefore) createDebugValue() argument
119 createDebugValue(DIBuilder & DIB,Value * NewValue,DILocalVariable * Variable,DIExpression * Expression,const DILocation * DI,Instruction * InsertBefore) createDebugValue() argument
H A DDebugify.cpp131 __anon95af96100302(Instruction &TemplateInst, Instruction *InsertBefore) applyDebugifyMetadata() argument
165 Instruction *InsertBefore = &*InsertPt; applyDebugifyMetadata() local
/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.cpp26 BasicBlock::iterator InsertBefore, in createCallInstWithColors() argument
/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp433 tagAlloca(AllocaInst * AI,Instruction * InsertBefore,Value * Ptr,uint64_t Size) tagAlloca() argument
455 untagAlloca(AllocaInst * AI,Instruction * InsertBefore,uint64_t Size) untagAlloca() argument
/llvm-project/llvm/lib/Transforms/Scalar/
H A DMergeICmps.cpp604 BasicBlock *const InsertBefore, in mergeComparisons()
695 BasicBlock *InsertBefore = EntryBlock_; in simplify() local
H A DReassociate.cpp249 BasicBlock::iterator InsertBefore, in CreateAdd() argument
262 BasicBlock::iterator InsertBefore, in CreateMul() argument
275 BasicBlock::iterator InsertBefore, in CreateNeg() argument
1240 createAndInstr(BasicBlock::iterator InsertBefore,Value * Opnd,const APInt & ConstOpnd) createAndInstr() argument
[all...]
H A DPlaceSafepoints.cpp624 Module *M = InsertBefore->getModule(); in InsertSafepointPoll() argument
/llvm-project/llvm/lib/CodeGen/
H A DBranchFolding.cpp857 MachineBasicBlock::iterator InsertBefore = Pred->getFirstTerminator(); in mergeCommonTails() local
1281 auto InsertBefore = PredMBB.getFirstTerminator(); copyDebugInfoToPredecessor() local
1293 auto InsertBefore = SuccMBB.SkipPHIsAndLabels(SuccMBB.begin()); copyDebugInfoToSuccessor() local
H A DAssignmentTrackingAnalysis.cpp963 auto InsertBefore = Pair.first; run() local
1546 auto InsertBefore = getNextNode(After); emitDbgValue() local
1656 auto InsertBefore = getNextNode(&I); processUntaggedInstruction() local
2462 auto InsertBefore = getNextNode(Record); emitPromotedVarLocs() local
[all...]
H A DFixupStatepointCallerSaved.cpp419 MachineBasicBlock::iterator InsertBefore(MI); in spillRegisters() local
/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemProfiler.cpp428 Instruction *InsertBefore = I; instrumentMaskedLoadOrStore() local
480 instrumentAddress(Instruction * OrigIns,Instruction * InsertBefore,Value * Addr,bool IsWrite) instrumentAddress() argument
H A DHWAddressSanitizer.cpp913 insertShadowTagCheck(Value * Ptr,Instruction * InsertBefore,DomTreeUpdater & DTU,LoopInfo * LI) insertShadowTagCheck() argument
942 instrumentMemAccessOutline(Value * Ptr,bool IsWrite,unsigned AccessSizeIndex,Instruction * InsertBefore,DomTreeUpdater & DTU,LoopInfo * LI) instrumentMemAccessOutline() argument
985 instrumentMemAccessInline(Value * Ptr,bool IsWrite,unsigned AccessSizeIndex,Instruction * InsertBefore,DomTreeUpdater & DTU,LoopInfo * LI) instrumentMemAccessInline() argument
[all...]
H A DAddressSanitizer.cpp1592 doInstrumentAddress(AddressSanitizer * Pass,Instruction * I,Instruction * InsertBefore,Value * Addr,MaybeAlign Alignment,unsigned Granularity,TypeSize TypeStoreSize,bool IsWrite,Value * SizeArgument,bool UseCalls,uint32_t Exp,RuntimeCallInserter & RTCI) doInstrumentAddress() argument
1741 generateCrashCode(Instruction * InsertBefore,Value * Addr,bool IsWrite,size_t AccessSizeIndex,Value * SizeArgument,uint32_t Exp,RuntimeCallInserter & RTCI) generateCrashCode() argument
1789 instrumentAMDGPUAddress(Instruction * OrigIns,Instruction * InsertBefore,Value * Addr,uint32_t TypeStoreSize,bool IsWrite,Value * SizeArgument) instrumentAMDGPUAddress() argument
1835 instrumentAddress(Instruction * OrigIns,Instruction * InsertBefore,Value * Addr,MaybeAlign Alignment,uint32_t TypeStoreSize,bool IsWrite,Value * SizeArgument,bool UseCalls,uint32_t Exp,RuntimeCallInserter & RTCI) instrumentAddress() argument
1928 instrumentUnusualSizeOrAlignment(Instruction * I,Instruction * InsertBefore,Value * Addr,TypeSize TypeStoreSize,bool IsWrite,Value * SizeArgument,bool UseCalls,uint32_t Exp,RuntimeCallInserter & RTCI) instrumentUnusualSizeOrAlignment() argument
[all...]

12