Home
last modified time | relevance | path

Searched refs:InsertionPt (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DEntryExitInstrumenter.cpp25 Instruction *InsertionPt, DebugLoc DL) { in insertCall() argument
26 Module &M = *InsertionPt->getParent()->getParent()->getParent(); in insertCall()
27 LLVMContext &C = InsertionPt->getParent()->getContext(); in insertCall()
38 CallInst *Call = CallInst::Create(Fn, "", InsertionPt); in insertCall()
52 InsertionPt); in insertCall()
59 CallInst::Create(Fn, ArrayRef<Value *>(Args), "", InsertionPt); in insertCall()
H A DLocal.cpp1528 auto InsertionPt = BB->getFirstInsertionPt(); in ConvertDebugDeclareToDebugValue() local
1535 if (InsertionPt != BB->end()) in ConvertDebugDeclareToDebugValue()
1536 Builder.insertDbgValueIntrinsic(APN, DIVar, DIExpr, NewLoc, &*InsertionPt); in ConvertDebugDeclareToDebugValue()
1682 auto InsertionPt = Parent->getFirstInsertionPt(); in insertDebugValuesForPHIs() local
1683 assert(InsertionPt != Parent->end() && "Ill-formed basic block"); in insertDebugValuesForPHIs()
1684 NewDbgII->insertBefore(&*InsertionPt); in insertDebugValuesForPHIs()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMFixCortexA57AES1742098Pass.cpp100 MachineInstr *InsertionPt; member
339 NewLoc.InsertionPt = &*NewLoc.Block->begin(); in analyzeMF()
341 << *NewLoc.InsertionPt); in analyzeMF()
384 NewLoc.InsertionPt = &*DefIt; in analyzeMF()
406 << " before: " << *FixupLoc.InsertionPt); in insertAESFixup()
419 BuildMI(*FixupLoc.Block, FixupLoc.InsertionPt, DebugLoc(), in insertAESFixup()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86LoadValueInjectionLoadHardening.cpp734 MachineBasicBlock::iterator InsertionPt; // ...at this point in insertFences() local
738 InsertionPt = MBB->begin(); in insertFences()
742 InsertionPt = MI; in insertFences()
752 InsertionPt = MI->getNextNode() ? MI->getNextNode() : MBB->end(); in insertFences()
753 Prev = InsertionPt == MBB->end() in insertFences()
755 : InsertionPt->getPrevNode(); in insertFences()
758 if ((InsertionPt == MBB->end() || !isFence(&*InsertionPt)) && in insertFences()
760 BuildMI(*MBB, InsertionPt, DebugLoc(), TII->get(X86::LFENCE)); in insertFences()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSILowerI1Copies.cpp803 auto InsertionPt = MBB.getFirstTerminator(); in getSaluInsertionAtEnd() local
805 for (auto I = InsertionPt, E = MBB.end(); I != E; ++I) { in getSaluInsertionAtEnd()
813 return InsertionPt; in getSaluInsertionAtEnd()
815 while (InsertionPt != MBB.begin()) { in getSaluInsertionAtEnd()
816 InsertionPt--; in getSaluInsertionAtEnd()
819 instrDefsUsesSCC(*InsertionPt, DefSCC, UseSCC); in getSaluInsertionAtEnd()
821 return InsertionPt; in getSaluInsertionAtEnd()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp766 Instruction *InsertionPt = findMatInsertPt(ConstUser.Inst, in emitBaseConstants() local
772 Base = new BitCastInst(Base, Int8PtrTy, "base_bitcast", InsertionPt); in emitBaseConstants()
774 Offset, "mat_gep", InsertionPt); in emitBaseConstants()
775 Mat = new BitCastInst(Mat, Ty, "mat_bitcast", InsertionPt); in emitBaseConstants()
779 "const_mat", InsertionPt); in emitBaseConstants()
H A DSeparateConstOffsetFromGEP.cpp248 ConstantOffsetExtractor(Instruction *InsertionPt, const DominatorTree *DT) in ConstantOffsetExtractor() argument
249 : IP(InsertionPt), DL(InsertionPt->getModule()->getDataLayout()), DT(DT) { in ConstantOffsetExtractor()