/freebsd/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/ |
H A D | GIMatchDagOperands.cpp |
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CodeMoverUtils.cpp | 312 bool llvm::isSafeToMoveBefore(Instruction &I, Instruction &InsertPoint, in isSafeToMoveBefore() argument 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() 342 if (I.getParent() == InsertPoint.getParent() && in isSafeToMoveBefore() 345 if (UserInst != &InsertPoint && !DT.dominates(&InsertPoint, U)) { in isSafeToMoveBefore() 355 if (isReachedBefore(&InsertPoint, &I, &DT, PDT)) in isSafeToMoveBefore() 358 if (&InsertPoint == OpInst) in isSafeToMoveBefore() [all …]
|
H A D | InlineFunction.cpp | 196 BasicBlock::iterator InsertPoint = InnerResumeDest->begin(); in getInnerResumeDest() local 202 InnerPHI->insertBefore(InsertPoint); in getInnerResumeDest() 210 InnerEHValuesPHI->insertBefore(InsertPoint); in getInnerResumeDest() 2508 BasicBlock::iterator InsertPoint = Caller->begin()->begin(); in InlineFunction() local 2540 Caller->getEntryBlock().splice(InsertPoint, &*FirstNewBlock, in InlineFunction()
|
/freebsd/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 | 491 Instruction *InsertPoint = Return; in setupEntryBlockAndCallSites() local 493 InsertPoint = CI; in setupEntryBlockAndCallSites() 494 CallInst::Create(UnregisterFn, FuncCtx, "", InsertPoint->getIterator()); 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/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>; 376 /// Add an InsertPoint to the list of insert points. 378 void addInsertPoint(InsertPoint &Point);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | ControlHeightReduction.cpp | 527 checkHoistValue(Value *V, Instruction *InsertPoint, DominatorTree &DT, in checkHoistValue() argument 531 assert(InsertPoint && "Null InsertPoint"); in checkHoistValue() 538 assert(DT.getNode(InsertPoint->getParent()) && "DT must contain Destination"); in checkHoistValue() 544 if (DT.dominates(I, InsertPoint)) { in checkHoistValue() 558 if (!checkHoistValue(Op, InsertPoint, DT, Unhoistables, &OpsHoistStops, in checkHoistValue() 881 Instruction *InsertPoint = getBranchInsertPoint(RI); in checkScopeHoistable() local 882 CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n"); in checkScopeHoistable() 894 if (SI == InsertPoint) { in checkScopeHoistable() 899 bool IsHoistable = checkHoistValue(SI->getCondition(), InsertPoint, in checkScopeHoistable() 916 InsertPoint = getBranchInsertPoint(RI); in checkScopeHoistable() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCVSXSwapRemoval.cpp | 150 void insertSwap(MachineInstr *MI, MachineBasicBlock::iterator InsertPoint, 826 MachineBasicBlock::iterator InsertPoint, in insertSwap() argument 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() [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/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | CodeMoverUtils.h | 42 /// Return true if \p I can be safely moved before \p InsertPoint. 43 bool isSafeToMoveBefore(Instruction &I, Instruction &InsertPoint, 50 /// safely moved before \p InsertPoint. 51 bool isSafeToMoveBefore(BasicBlock &BB, Instruction &InsertPoint,
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Attributes.cpp | 108 void *InsertPoint; in get() local 109 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get() 118 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get() 131 void *InsertPoint; in get() local 132 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get() 141 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get() 156 void *InsertPoint; in get() local 157 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get() 163 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get() 180 void *InsertPoint; in get() local [all …]
|
/freebsd/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() 1136 CGBuilderTy::InsertPoint savedIP = CGF.Builder.saveIP(); in emitCatchDispatchBlock() 1424 CGBuilderTy::InsertPoint SavedIP = CGF.Builder.saveAndClearIP(); in Emit() 1503 CGBuilderTy::InsertPoint savedIP = CGF.Builder.saveAndClearIP(); in exit() 1537 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in getTerminateLandingPad() 1574 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in getTerminateHandler() 1599 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in getTerminateFunclet() 1629 CGBuilderTy::InsertPoint SavedIP = Builder.saveIP(); in getEHResumeBlock()
|
H A D | CGCleanup.cpp | 646 CGBuilderTy::InsertPoint NormalDeactivateOrigIP; in PopCleanupBlock() 819 CGBuilderTy::InsertPoint savedInactiveFallthroughIP; in PopCleanupBlock() 1017 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in PopCleanupBlock()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorizationPlanner.h | 100 VPInsertPoint(VPBasicBlock *InsertBlock, VPBasicBlock::iterator InsertPoint) in VPInsertPoint() argument 101 : Block(InsertBlock), Point(InsertPoint) {} in VPInsertPoint()
|
/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/ |
H A D | CodeGenABITypes.h | 91 llvm::BasicBlock::iterator InsertPoint,
|
/freebsd/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/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | RegBankSelect.cpp | 222 for (const std::unique_ptr<InsertPoint> &InsertPt : RepairPt) { in repairReg() 551 for (const std::unique_ptr<InsertPoint> &InsertPt : RepairPt) { in computeMapping() 871 RegBankSelect::InsertPoint &Point) { in addInsertPoint()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IRBuilder.h | 254 class InsertPoint { 260 InsertPoint() = default; 263 InsertPoint(BasicBlock *InsertBlock, BasicBlock::iterator InsertPoint) in InsertPoint() function 264 : Block(InsertBlock), Point(InsertPoint) {} in InsertPoint() 274 InsertPoint saveIP() const { in saveIP() 275 return InsertPoint(GetInsertBlock(), GetInsertPoint()); in saveIP() 279 InsertPoint saveAndClearIP() { in saveAndClearIP() 280 InsertPoint IP(GetInsertBlock(), GetInsertPoint()); in saveAndClearIP() 286 void restoreIP(InsertPoint IP) { in restoreIP() 387 Builder.restoreIP(InsertPoint(Block, Point)); in ~InsertPointGuard()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
H A D | OMPIRBuilder.h | 43 void spliceBB(IRBuilderBase::InsertPoint IP, BasicBlock *New, 61 BasicBlock *splitBB(IRBuilderBase::InsertPoint IP, bool CreateBranch, 492 using InsertPointTy = IRBuilder<>::InsertPoint; 659 IRBuilder<>::InsertPoint
|
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/ |
H A D | DWARFLinker.cpp |
|
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/ |
H A D | DWARFLinker.cpp | 2081 auto InsertPoint = partition_point( in insertLineSequence() local 2088 if (InsertPoint != Rows.end() && InsertPoint->Address == Front && in insertLineSequence() 2089 InsertPoint->EndSequence) { in insertLineSequence() 2090 *InsertPoint = Seq.front(); in insertLineSequence() 2091 Rows.insert(InsertPoint + 1, Seq.begin() + 1, Seq.end()); in insertLineSequence() 2093 Rows.insert(InsertPoint, Seq.begin(), Seq.end()); in insertLineSequence()
|