| /llvm-project-15.0.7/llvm/utils/TableGen/GlobalISel/ |
| H A D | GIMatchDagOperands.cpp | 63 void *InsertPoint; in makeEmptyOperandList() local 65 OperandLists.FindNodeOrInsertPos(ID, InsertPoint); in makeEmptyOperandList() 71 OperandLists.InsertNode(NewValue.get(), InsertPoint); in makeEmptyOperandList() 83 void *InsertPoint; in makeOperandList() local 85 OperandLists.FindNodeOrInsertPos(ID, InsertPoint); in makeOperandList() 93 OperandLists.InsertNode(NewValue.get(), InsertPoint); in makeOperandList() 104 void *InsertPoint; in makeMIPredicateOperandList() local 106 OperandLists.FindNodeOrInsertPos(ID, InsertPoint); in makeMIPredicateOperandList() 114 OperandLists.InsertNode(NewValue.get(), InsertPoint); in makeMIPredicateOperandList() 127 void *InsertPoint; in makeTwoMOPredicateOperandList() local [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | CodeMoverUtils.cpp | 318 if (&I == &InsertPoint) in isSafeToMoveBefore() 322 if (I.getNextNode() == &InsertPoint) in isSafeToMoveBefore() 325 if (isa<PHINode>(I) || isa<PHINode>(InsertPoint)) in isSafeToMoveBefore() 332 if (!isControlFlowEquivalent(I, InsertPoint, DT, *PDT)) in isSafeToMoveBefore() 335 if (isReachedBefore(&I, &InsertPoint, &DT, PDT)) in isSafeToMoveBefore() 338 if (UserInst != &InsertPoint && !DT.dominates(&InsertPoint, U)) in isSafeToMoveBefore() 340 if (isReachedBefore(&InsertPoint, &I, &DT, PDT)) in isSafeToMoveBefore() 343 if (&InsertPoint == OpInst) in isSafeToMoveBefore() 350 if (!DT.dominates(OpInst, &InsertPoint)) in isSafeToMoveBefore() 357 Instruction &EndInst = (MoveForward ? InsertPoint : I); in isSafeToMoveBefore() [all …]
|
| /llvm-project-15.0.7/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 | 476 Instruction *InsertPoint = Return; in setupEntryBlockAndCallSites() local 478 InsertPoint = CI; in setupEntryBlockAndCallSites() 479 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()
|
| /llvm-project-15.0.7/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);
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | ControlHeightReduction.cpp | 514 assert(InsertPoint && "Null InsertPoint"); in checkHoistValue() 527 if (DT.dominates(I, InsertPoint)) { in checkHoistValue() 885 if (SI == InsertPoint) { in checkScopeHoistable() 907 InsertPoint = getBranchInsertPoint(RI); in checkScopeHoistable() 909 if (RI.HasBranch && InsertPoint != Branch) { in checkScopeHoistable() 934 InsertPoint = Branch; in checkScopeHoistable() 948 assert(!DT.dominates(SI, InsertPoint) && in checkScopeHoistable() 1040 assert(InsertPoint && "Null InsertPoint"); in shouldSplit() 1159 PrevInsertPoint = InsertPoint; in splitScope() 1179 PrevInsertPoint = InsertPoint; in splitScope() [all …]
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | Builders.h | 265 class InsertPoint { 268 InsertPoint() = default; 271 InsertPoint(Block *insertBlock, Block::iterator insertPt) in InsertPoint() function 311 OpBuilder::InsertPoint ip; 323 InsertPoint saveInsertionPoint() const { in saveInsertionPoint() 324 return InsertPoint(getInsertionBlock(), getInsertionPoint()); in saveInsertionPoint() 328 void restoreInsertionPoint(InsertPoint ip) { in restoreInsertionPoint()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | CodeMoverUtils.h | 40 bool isSafeToMoveBefore(Instruction &I, Instruction &InsertPoint, 48 bool isSafeToMoveBefore(BasicBlock &BB, Instruction &InsertPoint,
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenABITypes.cpp | 121 llvm::BasicBlock::iterator InsertPoint, const CXXDestructorDecl *D, in getCXXDestructorImplicitParam() argument 127 CGF.Builder.SetInsertPoint(InsertBlock, InsertPoint); in getCXXDestructorImplicitParam()
|
| H A D | CGException.cpp | 825 CGBuilderTy::InsertPoint savedIP = Builder.saveAndClearIP(); in EmitLandingPad() 952 CGBuilderTy::InsertPoint SavedIP = CGF.Builder.saveIP(); in emitCatchPadBlock() 996 CGBuilderTy::InsertPoint SavedIP = CGF.Builder.saveIP(); in emitWasmCatchPadBlock() 1117 CGBuilderTy::InsertPoint savedIP = CGF.Builder.saveIP(); in emitCatchDispatchBlock() 1401 CGBuilderTy::InsertPoint SavedIP = CGF.Builder.saveAndClearIP(); in Emit() 1480 CGBuilderTy::InsertPoint savedIP = CGF.Builder.saveAndClearIP(); in exit() 1514 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in getTerminateLandingPad() 1551 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in getTerminateHandler() 1576 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in getTerminateFunclet() 1607 CGBuilderTy::InsertPoint SavedIP = Builder.saveIP(); in getEHResumeBlock()
|
| H A D | CGCleanup.cpp | 818 CGBuilderTy::InsertPoint savedInactiveFallthroughIP; in PopCleanupBlock() 1009 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in PopCleanupBlock() 1300 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in DeactivateCleanupBlock()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Attributes.cpp | 102 void *InsertPoint; in get() local 112 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get() 125 void *InsertPoint; in get() local 135 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get() 150 void *InsertPoint; in get() local 157 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get() 832 void *InsertPoint; in getSorted() local 842 pImpl->AttrsSetNodes.InsertNode(PA, InsertPoint); in getSorted() 1030 void *InsertPoint; in getImpl() local 1032 pImpl->AttrsLists.FindNodeOrInsertPos(ID, InsertPoint); in getImpl() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86PreTileConfig.cpp | 151 auto InsertPoint = FirstAMX.MI->getIterator(); in hoistShapesInBB() local 165 MBB->insert(InsertPoint, I->MI->removeFromParent()); in hoistShapesInBB() 169 Shapes.push_back(MIRef(&*--InsertPoint, MBB)); in hoistShapesInBB()
|
| /llvm-project-15.0.7/llvm/include/llvm/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.h | 34 void spliceBB(IRBuilderBase::InsertPoint IP, BasicBlock *New, 52 BasicBlock *splitBB(IRBuilderBase::InsertPoint IP, bool CreateBranch, 96 using InsertPointTy = IRBuilder<>::InsertPoint; 252 IRBuilder<>::InsertPoint
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorizationPlanner.h | 85 VPInsertPoint(VPBasicBlock *InsertBlock, VPBasicBlock::iterator InsertPoint) in VPInsertPoint() argument 86 : Block(InsertBlock), Point(InsertPoint) {} in VPInsertPoint()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/clang/include/clang/CodeGen/ |
| H A D | CodeGenABITypes.h | 90 llvm::BasicBlock::iterator InsertPoint,
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | RegBankSelect.cpp | 221 for (const std::unique_ptr<InsertPoint> &InsertPt : RepairPt) { in repairReg() 543 for (const std::unique_ptr<InsertPoint> &InsertPt : RepairPt) { in computeMapping() 852 RegBankSelect::InsertPoint &Point) { in addInsertPoint()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | IRBuilder.h | 234 class InsertPoint { 240 InsertPoint() = default; 243 InsertPoint(BasicBlock *InsertBlock, BasicBlock::iterator InsertPoint) in InsertPoint() argument 244 : Block(InsertBlock), Point(InsertPoint) {} in InsertPoint() 254 InsertPoint saveIP() const { in saveIP() 255 return InsertPoint(GetInsertBlock(), GetInsertPoint()); in saveIP() 259 InsertPoint saveAndClearIP() { in saveAndClearIP() 260 InsertPoint IP(GetInsertBlock(), GetInsertPoint()); in saveAndClearIP() 266 void restoreIP(InsertPoint IP) { in restoreIP() 365 Builder.restoreIP(InsertPoint(Block, Point)); in ~InsertPointGuard()
|
| /llvm-project-15.0.7/llvm/unittests/Frontend/ |
| H A D | OpenMPIRBuilderTest.cpp | 652 IRBuilder<>::InsertPoint AllocaIP(&F->getEntryBlock(), in TEST_F() 654 IRBuilder<>::InsertPoint AfterIP = in TEST_F() 747 IRBuilder<>::InsertPoint AllocaIP(&F->getEntryBlock(), in TEST_F() 749 IRBuilder<>::InsertPoint AfterIP = in TEST_F() 851 IRBuilder<>::InsertPoint AllocaIP(&F->getEntryBlock(), in TEST_F() 853 IRBuilder<>::InsertPoint AfterIP = in TEST_F() 963 IRBuilder<>::InsertPoint AllocaIP(&F->getEntryBlock(), in TEST_F() 965 IRBuilder<>::InsertPoint AfterIP = in TEST_F() 1097 IRBuilder<>::InsertPoint AllocaIP(&F->getEntryBlock(), in TEST_F() 1099 IRBuilder<>::InsertPoint AfterIP = in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/lib/DWARFLinker/ |
| H A D | DWARFLinker.cpp | 1649 auto InsertPoint = partition_point( in insertLineSequence() local 1656 if (InsertPoint != Rows.end() && InsertPoint->Address == Front && in insertLineSequence() 1657 InsertPoint->EndSequence) { in insertLineSequence() 1658 *InsertPoint = Seq.front(); in insertLineSequence() 1659 Rows.insert(InsertPoint + 1, Seq.begin() + 1, Seq.end()); in insertLineSequence() 1661 Rows.insert(InsertPoint, Seq.begin(), Seq.end()); in insertLineSequence()
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | IslExprBuilder.cpp | 611 auto InsertPoint = Builder.GetInsertPoint(); in createOpBooleanConditional() local 612 auto NextBB = SplitBlock(InsertBB, &*InsertPoint, &DT, &LI); in createOpBooleanConditional()
|