Home
last modified time | relevance | path

Searched refs:InsertPoint (Results 1 – 25 of 38) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp320 if (&I == &InsertPoint) in isSafeToMoveBefore()
324 if (I.getNextNode() == &InsertPoint) in isSafeToMoveBefore()
327 if (isa<PHINode>(I) || isa<PHINode>(InsertPoint)) in isSafeToMoveBefore()
334 if (!isControlFlowEquivalent(I, InsertPoint, DT, *PDT)) in isSafeToMoveBefore()
337 if (isReachedBefore(&I, &InsertPoint, &DT, PDT)) in isSafeToMoveBefore()
340 if (UserInst != &InsertPoint && !DT.dominates(&InsertPoint, U)) in isSafeToMoveBefore()
342 if (isReachedBefore(&InsertPoint, &I, &DT, PDT)) in isSafeToMoveBefore()
345 if (&InsertPoint == OpInst) in isSafeToMoveBefore()
352 if (!DT.dominates(OpInst, &InsertPoint)) in isSafeToMoveBefore()
359 Instruction &EndInst = (MoveForward ? InsertPoint : I); in isSafeToMoveBefore()
[all …]
H A DInlineFunction.cpp193 BasicBlock::iterator InsertPoint = InnerResumeDest->begin(); in getInnerResumeDest() local
199 InnerPHI->insertBefore(InsertPoint); in getInnerResumeDest()
207 InnerEHValuesPHI->insertBefore(InsertPoint); in getInnerResumeDest()
2404 BasicBlock::iterator InsertPoint = Caller->begin()->begin(); in InlineFunction() local
2436 Caller->getEntryBlock().splice(InsertPoint, &*FirstNewBlock, in InlineFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DPHIEliminationUtils.cpp45 MachineBasicBlock::iterator InsertPoint = MBB->begin(); in findPHICopyInsertPoint() local
51 InsertPoint = std::next(I.getReverse()); in findPHICopyInsertPoint()
56 InsertPoint = I.getReverse(); in findPHICopyInsertPoint()
63 return MBB->SkipPHIsAndLabels(InsertPoint); in findPHICopyInsertPoint()
H A DSjLjEHPrepare.cpp492 Instruction *InsertPoint = Return; in setupEntryBlockAndCallSites() local
494 InsertPoint = CI; in setupEntryBlockAndCallSites()
495 CallInst::Create(UnregisterFn, FuncCtx, "", InsertPoint); in setupEntryBlockAndCallSites()
H A DFixupStatepointCallerSaved.cpp455 auto InsertPoint = std::next(NewStatepoint->getIterator()); in insertReloads() local
458 insertReloadBefore(Reg, InsertPoint, MBB); in insertReloads()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DRegBankSelect.h111 class InsertPoint {
139 virtual ~InsertPoint() = default;
204 class InstrInsertPoint : public InsertPoint {
237 class MBBInsertPoint : public InsertPoint {
273 class EdgeInsertPoint : public InsertPoint {
330 using InsertionPoints = SmallVector<std::unique_ptr<InsertPoint>, 2>;
378 void addInsertPoint(InsertPoint &Point);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp530 assert(InsertPoint && "Null InsertPoint"); in checkHoistValue()
543 if (DT.dominates(I, InsertPoint)) { in checkHoistValue()
893 if (SI == InsertPoint) { in checkScopeHoistable()
915 InsertPoint = getBranchInsertPoint(RI); in checkScopeHoistable()
917 if (RI.HasBranch && InsertPoint != Branch) { in checkScopeHoistable()
942 InsertPoint = Branch; in checkScopeHoistable()
956 assert(!DT.dominates(SI, InsertPoint) && in checkScopeHoistable()
1048 assert(InsertPoint && "Null InsertPoint"); in shouldSplit()
1167 PrevInsertPoint = InsertPoint; in splitScope()
1187 PrevInsertPoint = InsertPoint; in splitScope()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCVSXSwapRemoval.cpp150 void insertSwap(MachineInstr *MI, MachineBasicBlock::iterator InsertPoint,
828 BuildMI(*MI->getParent(), InsertPoint, MI->getDebugLoc(), in insertSwap()
931 auto InsertPoint = ++MachineBasicBlock::iterator(MI); in handleSpecialSwappables() local
942 BuildMI(*MI->getParent(), InsertPoint, MI->getDebugLoc(), in handleSpecialSwappables()
945 LLVM_DEBUG(std::prev(InsertPoint)->dump()); in handleSpecialSwappables()
947 insertSwap(MI, InsertPoint, VSRCTmp2, VSRCTmp1); in handleSpecialSwappables()
948 LLVM_DEBUG(std::prev(InsertPoint)->dump()); in handleSpecialSwappables()
950 BuildMI(*MI->getParent(), InsertPoint, MI->getDebugLoc(), in handleSpecialSwappables()
953 LLVM_DEBUG(std::prev(InsertPoint)->dump()); in handleSpecialSwappables()
956 insertSwap(MI, InsertPoint, DstReg, NewVReg); in handleSpecialSwappables()
[all …]
H A DPPCReduceCRLogicals.cpp199 MachineBasicBlock::iterator InsertPoint = BSI.SplitBefore; in splitMBB() local
206 NewMBB->splice(NewMBB->end(), ThisMBB, InsertPoint, ThisMBB->end()); in splitMBB()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCodeMoverUtils.h43 bool isSafeToMoveBefore(Instruction &I, Instruction &InsertPoint,
51 bool isSafeToMoveBefore(BasicBlock &BB, Instruction &InsertPoint,
H A DScalarEvolutionExpander.h141 Builder.restoreIP(IRBuilderBase::InsertPoint(Block, Point)); in ~SCEVInsertPointGuard()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenABITypes.cpp120 llvm::BasicBlock::iterator InsertPoint, const CXXDestructorDecl *D, in getCXXDestructorImplicitParam() argument
126 CGF.Builder.SetInsertPoint(InsertBlock, InsertPoint); in getCXXDestructorImplicitParam()
H A DCGException.cpp843 CGBuilderTy::InsertPoint savedIP = Builder.saveAndClearIP(); in EmitLandingPad()
970 CGBuilderTy::InsertPoint SavedIP = CGF.Builder.saveIP(); in emitCatchPadBlock()
1014 CGBuilderTy::InsertPoint SavedIP = CGF.Builder.saveIP(); in emitWasmCatchPadBlock()
1135 CGBuilderTy::InsertPoint savedIP = CGF.Builder.saveIP(); in emitCatchDispatchBlock()
1423 CGBuilderTy::InsertPoint SavedIP = CGF.Builder.saveAndClearIP(); in Emit()
1502 CGBuilderTy::InsertPoint savedIP = CGF.Builder.saveAndClearIP(); in exit()
1536 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in getTerminateLandingPad()
1573 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in getTerminateHandler()
1598 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in getTerminateFunclet()
1628 CGBuilderTy::InsertPoint SavedIP = Builder.saveIP(); in getEHResumeBlock()
H A DCGCleanup.cpp823 CGBuilderTy::InsertPoint savedInactiveFallthroughIP; in PopCleanupBlock()
1019 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in PopCleanupBlock()
1311 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in DeactivateCleanupBlock()
H A DCGObjCRuntime.cpp222 CGBuilderTy::InsertPoint SavedIP = CGF.Builder.saveAndClearIP(); in EmitTryCatchStmt()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp106 void *InsertPoint; in get() local
116 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
129 void *InsertPoint; in get() local
139 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
154 void *InsertPoint; in get() local
161 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
931 void *InsertPoint; in getSorted() local
941 pImpl->AttrsSetNodes.InsertNode(PA, InsertPoint); in getSorted()
1141 void *InsertPoint; in getImpl() local
1143 pImpl->AttrsLists.FindNodeOrInsertPos(ID, InsertPoint); in getImpl()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PreTileConfig.cpp150 auto InsertPoint = FirstAMX.MI->getIterator(); in hoistShapesInBB() local
164 MBB->insert(InsertPoint, I->MI->removeFromParent()); in hoistShapesInBB()
168 Shapes.push_back(MIRef(&*--InsertPoint, MBB)); in hoistShapesInBB()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp282 FieldInfo InsertPoint = {CurAlignment, CharUnits::Zero(), nullptr}; in calculateOptimalPad() local
288 auto Iter = llvm::upper_bound(Fields, InsertPoint); in calculateOptimalPad()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCodeGenABITypes.h90 llvm::BasicBlock::iterator InsertPoint,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationPlanner.h92 VPInsertPoint(VPBasicBlock *InsertBlock, VPBasicBlock::iterator InsertPoint) in VPInsertPoint() argument
93 : Block(InsertBlock), Point(InsertPoint) {} in VPInsertPoint()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerCompileUnit.cpp1623 auto InsertPoint = partition_point( in insertLineSequence() local
1630 if (InsertPoint != Rows.end() && InsertPoint->Address == Front && in insertLineSequence()
1631 InsertPoint->EndSequence) { in insertLineSequence()
1632 *InsertPoint = Seq.front(); in insertLineSequence()
1633 Rows.insert(InsertPoint + 1, Seq.begin() + 1, Seq.end()); in insertLineSequence()
1635 Rows.insert(InsertPoint, Seq.begin(), Seq.end()); in insertLineSequence()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h251 class InsertPoint {
257 InsertPoint() = default;
260 InsertPoint(BasicBlock *InsertBlock, BasicBlock::iterator InsertPoint) in InsertPoint() argument
261 : Block(InsertBlock), Point(InsertPoint) {} in InsertPoint()
271 InsertPoint saveIP() const { in saveIP()
272 return InsertPoint(GetInsertBlock(), GetInsertPoint()); in saveIP()
276 InsertPoint saveAndClearIP() { in saveAndClearIP()
277 InsertPoint IP(GetInsertBlock(), GetInsertPoint()); in saveAndClearIP()
283 void restoreIP(InsertPoint IP) { in restoreIP()
384 Builder.restoreIP(InsertPoint(Block, Point)); in ~InsertPointGuard()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DRegBankSelect.cpp222 for (const std::unique_ptr<InsertPoint> &InsertPt : RepairPt) { in repairReg()
550 for (const std::unique_ptr<InsertPoint> &InsertPt : RepairPt) { in computeMapping()
870 RegBankSelect::InsertPoint &Point) { in addInsertPoint()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h41 void spliceBB(IRBuilderBase::InsertPoint IP, BasicBlock *New,
59 BasicBlock *splitBB(IRBuilderBase::InsertPoint IP, bool CreateBranch,
466 using InsertPointTy = IRBuilder<>::InsertPoint;
632 IRBuilder<>::InsertPoint
/freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinker.cpp2064 auto InsertPoint = partition_point( in insertLineSequence() local
2071 if (InsertPoint != Rows.end() && InsertPoint->Address == Front && in insertLineSequence()
2072 InsertPoint->EndSequence) { in insertLineSequence()
2073 *InsertPoint = Seq.front(); in insertLineSequence()
2074 Rows.insert(InsertPoint + 1, Seq.begin() + 1, Seq.end()); in insertLineSequence()
2076 Rows.insert(InsertPoint, Seq.begin(), Seq.end()); in insertLineSequence()

12