Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/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.cpp1516 auto InsertionPt = BB->getFirstInsertionPt(); in ConvertDebugDeclareToDebugValue() local
1523 if (InsertionPt != BB->end()) in ConvertDebugDeclareToDebugValue()
1524 Builder.insertDbgValueIntrinsic(APN, DIVar, DIExpr, NewLoc, &*InsertionPt); in ConvertDebugDeclareToDebugValue()
1670 auto InsertionPt = Parent->getFirstInsertionPt(); in insertDebugValuesForPHIs() local
1671 assert(InsertionPt != Parent->end() && "Ill-formed basic block"); in insertDebugValuesForPHIs()
1672 NewDbgII->insertBefore(&*InsertionPt); in insertDebugValuesForPHIs()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSILowerI1Copies.cpp790 auto InsertionPt = MBB.getFirstTerminator(); in getSaluInsertionAtEnd() local
792 for (auto I = InsertionPt, E = MBB.end(); I != E; ++I) { in getSaluInsertionAtEnd()
800 return InsertionPt; in getSaluInsertionAtEnd()
802 while (InsertionPt != MBB.begin()) { in getSaluInsertionAtEnd()
803 InsertionPt--; in getSaluInsertionAtEnd()
806 instrDefsUsesSCC(*InsertionPt, DefSCC, UseSCC); in getSaluInsertionAtEnd()
808 return InsertionPt; in getSaluInsertionAtEnd()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp758 Instruction *InsertionPt = findMatInsertPt(ConstUser.Inst, in emitBaseConstants() local
764 Base = new BitCastInst(Base, Int8PtrTy, "base_bitcast", InsertionPt); in emitBaseConstants()
766 Offset, "mat_gep", InsertionPt); in emitBaseConstants()
767 Mat = new BitCastInst(Mat, Ty, "mat_bitcast", InsertionPt); in emitBaseConstants()
771 "const_mat", InsertionPt); in emitBaseConstants()
H A DSeparateConstOffsetFromGEP.cpp249 ConstantOffsetExtractor(Instruction *InsertionPt, const DominatorTree *DT) in ConstantOffsetExtractor() argument
250 : IP(InsertionPt), DL(InsertionPt->getModule()->getDataLayout()), DT(DT) { in ConstantOffsetExtractor()