| /openbsd-src/gnu/llvm/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 …]
|
| /openbsd-src/gnu/llvm/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() 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() [all …]
|
| H A D | InlineFunction.cpp | 196 Instruction *InsertPoint = &InnerResumeDest->front(); in getInnerResumeDest() local 202 InsertPoint); in getInnerResumeDest() 209 "eh.lpad-body", InsertPoint); in getInnerResumeDest() 2345 BasicBlock::iterator InsertPoint = Caller->begin()->begin(); in InlineFunction() local 2376 Caller->getEntryBlock().splice(InsertPoint, &*FirstNewBlock, in InlineFunction()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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);
|
| /openbsd-src/gnu/llvm/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 …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/ |
| H A D | CodeMoverUtils.h | 40 bool isSafeToMoveBefore(Instruction &I, Instruction &InsertPoint, 48 bool isSafeToMoveBefore(BasicBlock &BB, Instruction &InsertPoint,
|
| H A D | ScalarEvolutionExpander.h | 141 Builder.restoreIP(IRBuilderBase::InsertPoint(Block, Point)); in ~SCEVInsertPointGuard()
|
| /openbsd-src/gnu/llvm/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() 1399 CGBuilderTy::InsertPoint SavedIP = CGF.Builder.saveAndClearIP(); in Emit() 1478 CGBuilderTy::InsertPoint savedIP = CGF.Builder.saveAndClearIP(); in exit() 1512 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in getTerminateLandingPad() 1549 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in getTerminateHandler() 1574 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in getTerminateFunclet() 1604 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() 1299 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in DeactivateCleanupBlock()
|
| H A D | CGObjCRuntime.cpp | 224 CGBuilderTy::InsertPoint SavedIP = CGF.Builder.saveAndClearIP(); in EmitTryCatchStmt()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Attributes.cpp | 105 void *InsertPoint; in get() local 106 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get() 115 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get() 128 void *InsertPoint; in get() local 129 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get() 138 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get() 153 void *InsertPoint; in get() local 154 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get() 160 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get() 908 void *InsertPoint; in getSorted() local [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/include/clang/CodeGen/ |
| H A D | CodeGenABITypes.h | 90 llvm::BasicBlock::iterator InsertPoint,
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.h | 39 void spliceBB(IRBuilderBase::InsertPoint IP, BasicBlock *New, 57 BasicBlock *splitBB(IRBuilderBase::InsertPoint IP, bool CreateBranch, 189 using InsertPointTy = IRBuilder<>::InsertPoint; 355 IRBuilder<>::InsertPoint
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| H A D | RegBankSelect.cpp | 220 for (const std::unique_ptr<InsertPoint> &InsertPt : RepairPt) { in repairReg() 547 for (const std::unique_ptr<InsertPoint> &InsertPt : RepairPt) { in computeMapping() 867 RegBankSelect::InsertPoint &Point) { in addInsertPoint()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | IRBuilder.h | 243 class InsertPoint { 249 InsertPoint() = default; 252 InsertPoint(BasicBlock *InsertBlock, BasicBlock::iterator InsertPoint) in InsertPoint() argument 253 : Block(InsertBlock), Point(InsertPoint) {} in InsertPoint() 263 InsertPoint saveIP() const { in saveIP() 264 return InsertPoint(GetInsertBlock(), GetInsertPoint()); in saveIP() 268 InsertPoint saveAndClearIP() { in saveAndClearIP() 269 InsertPoint IP(GetInsertBlock(), GetInsertPoint()); in saveAndClearIP() 275 void restoreIP(InsertPoint IP) { in restoreIP() 376 Builder.restoreIP(InsertPoint(Block, Point)); in ~InsertPointGuard()
|
| /openbsd-src/gnu/llvm/llvm/lib/DWARFLinker/ |
| H A D | DWARFLinker.cpp | 1737 auto InsertPoint = partition_point( in insertLineSequence() local 1744 if (InsertPoint != Rows.end() && InsertPoint->Address == Front && in insertLineSequence() 1745 InsertPoint->EndSequence) { in insertLineSequence() 1746 *InsertPoint = Seq.front(); in insertLineSequence() 1747 Rows.insert(InsertPoint + 1, Seq.begin() + 1, Seq.end()); in insertLineSequence() 1749 Rows.insert(InsertPoint, Seq.begin(), Seq.end()); in insertLineSequence()
|