| /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 …]
|
| /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 | 489 Instruction *InsertPoint = Return; in setupEntryBlockAndCallSites() local 491 InsertPoint = CI; in setupEntryBlockAndCallSites() 492 CallInst::Create(UnregisterFn, FuncCtx, "", InsertPoint->getIterator()); in setupEntryBlockAndCallSites()
|
| H A D | FixupStatepointCallerSaved.cpp | 453 auto InsertPoint = std::next(NewStatepoint->getIterator()); in insertReloads() local 456 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>; 378 void addInsertPoint(InsertPoint &Point);
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | ControlHeightReduction.cpp | 525 checkHoistValue(Value *V, Instruction *InsertPoint, DominatorTree &DT, in checkHoistValue() argument 529 assert(InsertPoint && "Null InsertPoint"); in checkHoistValue() 536 assert(DT.getNode(InsertPoint->getParent()) && "DT must contain Destination"); in checkHoistValue() 542 if (DT.dominates(I, InsertPoint)) { in checkHoistValue() 556 if (!checkHoistValue(Op, InsertPoint, DT, Unhoistables, &OpsHoistStops, in checkHoistValue() 879 Instruction *InsertPoint = getBranchInsertPoint(RI); in checkScopeHoistable() local 880 CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n"); in checkScopeHoistable() 889 if (SI == InsertPoint) { in checkScopeHoistable() 894 bool IsHoistable = checkHoistValue(SI->getCondition(), InsertPoint, in checkScopeHoistable() 911 InsertPoint = getBranchInsertPoint(RI); in checkScopeHoistable() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCVSXSwapRemoval.cpp | 147 void insertSwap(MachineInstr *MI, MachineBasicBlock::iterator InsertPoint, 824 MachineBasicBlock::iterator InsertPoint, in insertSwap() argument 826 BuildMI(*MI->getParent(), InsertPoint, MI->getDebugLoc(), in insertSwap() 929 auto InsertPoint = ++MachineBasicBlock::iterator(MI); in handleSpecialSwappables() local 940 BuildMI(*MI->getParent(), InsertPoint, MI->getDebugLoc(), in handleSpecialSwappables() 943 LLVM_DEBUG(std::prev(InsertPoint)->dump()); in handleSpecialSwappables() 945 insertSwap(MI, InsertPoint, VSRCTmp2, VSRCTmp1); in handleSpecialSwappables() 946 LLVM_DEBUG(std::prev(InsertPoint)->dump()); in handleSpecialSwappables() 948 BuildMI(*MI->getParent(), InsertPoint, MI->getDebugLoc(), in handleSpecialSwappables() 951 LLVM_DEBUG(std::prev(InsertPoint)->dump()); in handleSpecialSwappables() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | CodeMoverUtils.h | 47 LLVM_ABI bool isSafeToMoveBefore(Instruction &I, Instruction &InsertPoint, 55 LLVM_ABI bool isSafeToMoveBefore(BasicBlock &BB, Instruction &InsertPoint,
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | MaterializationUtils.cpp | 184 BasicBlock::iterator InsertPoint = Use->getParent()->getFirstInsertionPt(); in rewriteMaterializableInstructions() local 189 InsertPoint = SuspendPredecessorBlock->getTerminator()->getIterator(); in rewriteMaterializableInstructions() 200 CurrentMaterialization->insertBefore(InsertPoint); in rewriteMaterializableInstructions() 201 InsertPoint = CurrentMaterialization->getIterator(); in rewriteMaterializableInstructions()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/Atomic/ |
| H A D | Atomic.h | 26 IRBuilderBase::InsertPoint AllocaIP; 31 bool UseLibcall, IRBuilderBase::InsertPoint AllocaIP) in AtomicInfo()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Attributes.cpp | 109 void *InsertPoint; in get() local 110 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get() 119 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get() 132 void *InsertPoint; in get() local 133 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get() 142 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get() 157 void *InsertPoint; in get() local 158 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get() 164 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get() 182 void *InsertPoint; in get() local [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenABITypes.cpp | 127 llvm::BasicBlock::iterator InsertPoint, const CXXDestructorDecl *D, in getCXXDestructorImplicitParam() argument 133 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()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenFunction.h | 744 mlir::OpBuilder::InsertPoint ip, 1090 mlir::OpBuilder::InsertPoint insertPt; 1095 ConditionalEvaluation(CIRGenFunction &cgf, mlir::OpBuilder::InsertPoint ip) in ConditionalEvaluation() 1113 mlir::OpBuilder::InsertPoint getInsertPoint() const { return insertPt; } in getInsertPoint() 1160 mlir::OpBuilder::InsertPoint ip = {}, 1166 mlir::OpBuilder::InsertPoint ip = {}); 1171 mlir::OpBuilder::InsertPoint ip = {}); 1178 mlir::OpBuilder::InsertPoint ip = {}); 1181 mlir::OpBuilder::InsertPoint ip = {});
|
| H A D | CIRGenExpr.cpp | 1521 mlir::OpBuilder::InsertPoint ip, in emitAlloca() 1682 mlir::OpBuilder::InsertPoint ip) { in createMemTemp() 1691 mlir::OpBuilder::InsertPoint ip) { in createMemTemp() 1705 mlir::Value arraySize, mlir::OpBuilder::InsertPoint ip) { in createTempAllocaWithoutCast() 1719 mlir::OpBuilder::InsertPoint ip) { in createTempAlloca() 1750 mlir::OpBuilder::InsertPoint ip, in createTempAlloca()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86PreTileConfig.cpp | 174 auto InsertPoint = FirstAMX.MI->getIterator(); in hoistShapesInBB() local 188 MBB->insert(InsertPoint, I->MI->removeFromParent()); in hoistShapesInBB() 192 Shapes.push_back(MIRef(&*--InsertPoint, MBB)); in hoistShapesInBB()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | PaddingChecker.cpp | 280 FieldInfo InsertPoint = {CurAlignment, CharUnits::Zero(), nullptr}; in calculateOptimalPad() local 286 auto Iter = llvm::upper_bound(Fields, InsertPoint); in calculateOptimalPad()
|
| /freebsd/contrib/llvm-project/clang/include/clang/CodeGen/ |
| H A D | CodeGenABITypes.h | 105 llvm::BasicBlock::iterator InsertPoint,
|
| /freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
| H A D | DWARFLinkerCompileUnit.cpp | 1619 auto InsertPoint = partition_point( in insertLineSequence() local 1626 if (InsertPoint != Rows.end() && InsertPoint->Address == Front && in insertLineSequence() 1627 InsertPoint->EndSequence) { in insertLineSequence() 1628 *InsertPoint = Seq.front(); in insertLineSequence() 1629 Rows.insert(InsertPoint + 1, Seq.begin() + 1, Seq.end()); in insertLineSequence() 1631 Rows.insert(InsertPoint, Seq.begin(), Seq.end()); in insertLineSequence()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILDataScalarization.cpp | 192 auto InsertPoint = Builder.GetInsertPoint(); in createArrayFromVector() local 216 Builder.SetInsertPoint(InsertPoint); in createArrayFromVector()
|
| /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() 870 RegBankSelect::InsertPoint &Point) { in addInsertPoint()
|
| /freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/Builder/ |
| H A D | CIRBaseBuilder.h | 459 static OpBuilder::InsertPoint getBestAllocaInsertPoint(mlir::Block *block) { in getBestAllocaInsertPoint() 467 return OpBuilder::InsertPoint(block, ++mlir::Block::iterator(&*last)); in getBestAllocaInsertPoint() 468 return OpBuilder::InsertPoint(block, block->begin()); in getBestAllocaInsertPoint()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorizationPlanner.h | 106 VPInsertPoint(VPBasicBlock *InsertBlock, VPBasicBlock::iterator InsertPoint) in VPInsertPoint() argument 107 : Block(InsertBlock), Point(InsertPoint) {} in VPInsertPoint()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | IRBuilder.h | 291 class InsertPoint { 297 InsertPoint() = default; 300 InsertPoint(BasicBlock *InsertBlock, BasicBlock::iterator InsertPoint) in InsertPoint() function 301 : Block(InsertBlock), Point(InsertPoint) {} in InsertPoint() 311 InsertPoint saveIP() const { in saveIP() 312 return InsertPoint(GetInsertBlock(), GetInsertPoint()); in saveIP() 316 InsertPoint saveAndClearIP() { in saveAndClearIP() 317 InsertPoint IP(GetInsertBlock(), GetInsertPoint()); in saveAndClearIP() 323 void restoreIP(InsertPoint IP) { in restoreIP() 424 Builder.restoreIP(InsertPoint(Block, Point)); in ~InsertPointGuard()
|