| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CodeMoverUtils.cpp | 320 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 D | InlineFunction.cpp | 193 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 D | PHIEliminationUtils.cpp | 45 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 D | SjLjEHPrepare.cpp | 492 Instruction *InsertPoint = Return; in setupEntryBlockAndCallSites() local 494 InsertPoint = CI; in setupEntryBlockAndCallSites() 495 CallInst::Create(UnregisterFn, FuncCtx, "", InsertPoint); in setupEntryBlockAndCallSites()
|
| H A D | FixupStatepointCallerSaved.cpp | 455 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 D | RegBankSelect.h | 111 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 D | ControlHeightReduction.cpp | 530 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 D | PPCVSXSwapRemoval.cpp | 150 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 D | PPCReduceCRLogicals.cpp | 199 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 D | CodeMoverUtils.h | 43 bool isSafeToMoveBefore(Instruction &I, Instruction &InsertPoint, 51 bool isSafeToMoveBefore(BasicBlock &BB, Instruction &InsertPoint,
|
| H A D | ScalarEvolutionExpander.h | 141 Builder.restoreIP(IRBuilderBase::InsertPoint(Block, Point)); in ~SCEVInsertPointGuard()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenABITypes.cpp | 120 llvm::BasicBlock::iterator InsertPoint, const CXXDestructorDecl *D, in getCXXDestructorImplicitParam() argument 126 CGF.Builder.SetInsertPoint(InsertBlock, InsertPoint); in getCXXDestructorImplicitParam()
|
| H A D | CGException.cpp | 843 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 D | CGCleanup.cpp | 823 CGBuilderTy::InsertPoint savedInactiveFallthroughIP; in PopCleanupBlock() 1019 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in PopCleanupBlock() 1311 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in DeactivateCleanupBlock()
|
| H A D | CGObjCRuntime.cpp | 222 CGBuilderTy::InsertPoint SavedIP = CGF.Builder.saveAndClearIP(); in EmitTryCatchStmt()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Attributes.cpp | 106 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 D | X86PreTileConfig.cpp | 150 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 D | PaddingChecker.cpp | 282 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 D | CodeGenABITypes.h | 90 llvm::BasicBlock::iterator InsertPoint,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorizationPlanner.h | 92 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 D | DWARFLinkerCompileUnit.cpp | 1623 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 D | IRBuilder.h | 251 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 D | RegBankSelect.cpp | 222 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 D | OMPIRBuilder.h | 41 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 D | DWARFLinker.cpp | 2064 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()
|