Home
last modified time | relevance | path

Searched refs:dominates (Results 1 – 25 of 186) sorted by relevance

12345678

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDominators.cpp116 bool DominatorTree::dominates(const Instruction *Def, in dominates() function in DominatorTree
138 return dominates(Def, UseBB); in dominates()
141 return dominates(DefBB, UseBB); in dominates()
153 bool DominatorTree::dominates(const Instruction *Def, in dominates() function in DominatorTree
173 return dominates(E, UseBB); in dominates()
176 return dominates(DefBB, UseBB); in dominates()
179 bool DominatorTree::dominates(const BasicBlockEdge &BBE, in dominates() function in DominatorTree
185 if (!dominates(End, UseBB)) in dominates()
225 if (!dominates(End, BB)) in dominates()
231 bool DominatorTree::dominates(const BasicBlockEdge &BBE, const Use &U) const { in dominates() function in DominatorTree
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCodeMoverUtils.cpp45 return ((DT.dominates(&BB0, &BB1) && PDT.dominates(&BB1, &BB0)) || in isControlFlowEquivalent()
46 (PDT.dominates(&BB0, &BB1) && DT.dominates(&BB1, &BB0))); in isControlFlowEquivalent()
116 const bool MoveForward = DT.dominates(&I, &InsertPoint); in isSafeToMoveBefore()
122 if (UserInst != &InsertPoint && !DT.dominates(&InsertPoint, U)) in isSafeToMoveBefore()
129 if (&InsertPoint == OpInst || !DT.dominates(OpInst, &InsertPoint)) in isSafeToMoveBefore()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachinePostDominators.h52 bool dominates(const MachineDomTreeNode *A, in dominates() function
54 return PDT->dominates(A, B); in dominates()
57 bool dominates(const MachineBasicBlock *A, const MachineBasicBlock *B) const { in dominates() function
58 return PDT->dominates(A, B); in dominates()
DMachineDominators.h119 bool dominates(const MachineDomTreeNode *A, in dominates() function
122 return DT->dominates(A, B); in dominates()
125 bool dominates(const MachineBasicBlock *A, const MachineBasicBlock *B) const { in dominates() function
127 return DT->dominates(A, B); in dominates()
132 bool dominates(const MachineInstr *A, const MachineInstr *B) const { in dominates() function
135 if (BBA != BBB) return DT->dominates(BBA, BBB); in dominates()
DLexicalScopes.h99 if (Parent && (!NewScope || !Parent->dominates(NewScope)))
104 bool dominates(const LexicalScope *S) const { in dominates() function
168 bool dominates(const DILocation *DL, MachineBasicBlock *MBB);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DOrderedInstructions.cpp25 return OBB->second->dominates(InstA, InstB); in localDominates()
31 bool OrderedInstructions::dominates(const Instruction *InstA, in dominates() function in OrderedInstructions
37 return DT->dominates(InstA->getParent(), InstB->getParent()); in dominates()
DPostDominators.cpp54 bool PostDominatorTree::dominates(const Instruction *I1, in dominates() function in PostDominatorTree
62 return Base::dominates(BB1, BB2); in dominates()
DMemorySSA.cpp404 assert(MSSA.dominates(ClobberAt, Start) && "Clobber doesn't dominate start?"); in checkClobberSanity()
671 if (!MSSA.dominates(Res.Result, StopWhere)) in getBlockingAccess()
787 if (!MSSA.dominates(I->Clobber, Dom->Clobber)) in tryOptimizePhi()
803 return MSSA.dominates(P.Clobber, Target); in tryOptimizePhi()
885 if (DT.dominates(ChainBB, TP.Clobber->getBlock())) in tryOptimizePhi()
916 return MSSA.dominates(P.Clobber, R.PrimaryClobber.Clobber); in verifyOptResult()
1343 if (DT->dominates(BackBlock, BB)) in optimizeUsesInBlock()
1383 !DT->dominates(LocInfo.LowerBoundBlock, BB)) { in optimizeUsesInBlock()
1795 return DT->dominates(Replacer->getBlock(), Replacee->getBlock()); in dominatesUse()
1802 !DT->dominates(Replacer->getBlock(), MP->getIncomingBlock(Arg))) in dominatesUse()
[all …]
DPHITransAddr.cpp207 (!DT || DT->dominates(CastI->getParent(), PredBB))) in PHITranslateSubExpr()
244 (!DT || DT->dominates(GEPI->getParent(), PredBB))) { in PHITranslateSubExpr()
296 (!DT || DT->dominates(BO->getParent(), PredBB))) in PHITranslateSubExpr()
327 if (!DT->dominates(Inst->getParent(), PredBB)) in PHITranslateValue()
DScalarEvolutionExpander.cpp80 assert(SE.DT.dominates(Ret, &*BIP)); in ReuseOrCreateCast()
512 SE.DT.dominates(cast<Instruction>(V), &*Builder.GetInsertPoint())); in expandAddToGEP()
611 if (DT.dominates(A->getHeader(), B->getHeader())) return B; in PickMostRelevantLoop()
612 if (DT.dominates(B->getHeader(), A->getHeader())) return A; in PickMostRelevantLoop()
908 if (!SE.DT.dominates(OInst, IVIncInsertPos)) in isNormalAddRecExprPHI()
947 if (!OInst || SE.DT.dominates(OInst, InsertPos)) in getIVIncOperand()
958 if (!SE.DT.dominates(OInst, InsertPos)) in getIVIncOperand()
1002 if (SE.DT.dominates(IncV, InsertPos)) in hoistIVInc()
1008 !SE.DT.dominates(InsertPos->getParent(), IncV->getParent())) in hoistIVInc()
1023 if (SE.DT.dominates(IncV, InsertPos)) in hoistIVInc()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDominators.h159 using Base::dominates;
165 bool dominates(const Instruction *Def, const Use &U) const;
166 bool dominates(const Instruction *Def, const Instruction *User) const;
167 bool dominates(const Instruction *Def, const BasicBlock *BB) const;
173 bool dominates(const BasicBlockEdge &BBE, const Use &U) const;
174 bool dominates(const BasicBlockEdge &BBE, const BasicBlock *BB) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCOptAddrMode.cpp154 if (!MDT->dominates(InstBB, MBB)) in dominatesAllUsesOf()
161 if (!MDT->dominates(MI, User)) in dominatesAllUsesOf()
237 if (MDT->dominates(Last, First)) std::swap(First, Last); in tryToCombine()
271 if (MDT->dominates(Ldst, Add)) in canJoinInstructions()
273 else if (!MDT->dominates(Add, Ldst)) in canJoinInstructions()
308 if (&MI != Add && MDT->dominates(Ldst, &MI)) in canJoinInstructions()
310 else if (!MDT->dominates(&MI, Ldst)) in canJoinInstructions()
312 if (MDT->dominates(Add, &MI)) in canJoinInstructions()
410 if (!OpDef || !MDT->dominates(OpDef, To)) in canHoistLoadStoreTo()
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_cse.c36 dominates(const nir_instr *old_instr, const nir_instr *new_instr) in dominates() function
53 progress |= nir_instr_set_add_or_rewrite(instr_set, instr, dominates); in nir_opt_cse_impl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DPostDominators.h39 using Base::dominates;
43 bool dominates(const Instruction *I1, const Instruction *I2) const;
DRegionInfoImpl.h116 return (DT->dominates(entry, BB) && in contains()
117 !(DT->dominates(exit, BB) && DT->dominates(entry, exit))); in contains()
570 if (DT->dominates(entry, P) && !DT->dominates(exit, P)) in isCommonDomFrontier()
587 if (!DT->dominates(entry, exit)) { in isRegion()
715 if (!DT->dominates(entry, exit)) in findRegionsWithEntry()
866 if (DT->dominates(Exit, BB)) in getMaxRegionExit()
DOrderedInstructions.h47 bool dominates(const Instruction *, const Instruction *) const;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dconstruct.cpp126 if (header->dominates(*succ)) { in blocks()
184 use.second == 1 && use.first->block()->dominates(*block)) { in IsStructuredExit()
204 if (merge_block->dominates(*header)) { in IsStructuredExit()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dconstruct.cpp126 if (header->dominates(*succ)) { in blocks()
184 use.second == 1 && use.first->block()->dominates(*block)) { in IsStructuredExit()
204 if (merge_block->dominates(*header)) { in IsStructuredExit()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMParallelDSP.cpp387 if (OrderedBB.dominates(Write, Read)) in RecordMemoryOps()
395 LoadInst *Dominator = OrderedBB.dominates(Base, Offset) ? Base : Offset; in RecordMemoryOps()
396 LoadInst *Dominated = OrderedBB.dominates(Base, Offset) ? Offset : Base; in RecordMemoryOps()
404 if (OrderedBB.dominates(Dominator, Before)) in RecordMemoryOps()
662 V = DT->dominates(cast<Instruction>(A), cast<Instruction>(B)) ? B : A; in InsertParallelMACs()
712 return OrderedBB.dominates(A, B); in InsertParallelMACs()
754 if (DT->dominates(Source, Sink) || in CreateWideLoad()
765 LoadInst *DomLoad = DT->dominates(Base, Offset) ? Base : Offset; in CreateWideLoad()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DGenericDomTree.h375 return dominates(A, B);
393 bool dominates(const DomTreeNodeBase<NodeT> *A,
436 bool dominates(const NodeT *A, const NodeT *B) const;
788 if (Pred != NewBB && !dominates(NewBBSucc, Pred) &&
864 bool DominatorTreeBase<NodeT, IsPostDom>::dominates(const NodeT *A,
872 return dominates(getNode(const_cast<NodeT *>(A)),
884 return dominates(getNode(const_cast<NodeT *>(A)),
/third_party/ltp/tools/sparse/sparse-src/
Dmemops.c73 dominance = dominates(insn, one, local); in find_dominating_parents()
157 dominance = dominates(insn, dom, local); in simplify_loads()
203 int dominance = dominates(insn, dom, local); in try_to_kill_store()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DGVNHoist.cpp369 if (DT->dominates(Succ, A)) in successorDominate()
449 assert(DT->dominates(NewBB, OldBB) && "invalid path"); in hasEHOrLoadsOnPath()
450 assert(DT->dominates(Def->getDefiningAccess()->getBlock(), NewBB) && in hasEHOrLoadsOnPath()
488 assert(DT->dominates(HoistPt, SrcBB) && "Invalid path"); in hasEHOnPath()
822 if (!DT->dominates(Inst->getParent(), HoistPt)) in allOperandsAvailable()
833 if (!DT->dominates(Inst->getParent(), HoistPt)) { in allGepOperandsAvailable()
859 if (DT->dominates(Op->getParent(), HoistPt)) in makeGepsAvailable()
992 } else if (!DT->dominates(Val->getParent(), HoistPt)) in makeGepOperandsAvailable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLexicalScopes.cpp265 if (PrevLexicalScope && !PrevLexicalScope->dominates(S)) in assignInstructionRanges()
301 bool LexicalScopes::dominates(const DILocation *DL, MachineBasicBlock *MBB) { in dominates() function in LexicalScopes
315 if (Scope->dominates(IScope)) in dominates()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyExceptionInfo.cpp122 if (MDT.dominates(EHPad, Frontier)) in discoverAndMapException()
134 if (MDT.dominates(EHPad, Succ)) in discoverAndMapException()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIFixSGPRCopies.cpp393 if (MDT.dominates(From, To)) in isReachable()
466 assert(MDT.dominates(&*To, &*From)); in hoistAndMergeSGPRInits()
483 MDT.dominates(Clobber, &*From) && in hoistAndMergeSGPRInits()
484 MDT.dominates(Clobber, &*To)) || in hoistAndMergeSGPRInits()
495 if (MDT.dominates(MI1, MI2)) { in hoistAndMergeSGPRInits()
505 } else if (MDT.dominates(MI2, MI1)) { in hoistAndMergeSGPRInits()

12345678