|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/IR/Dominators.h 166 bool dominates(const Instruction *Def, const Instruction *User) const;
References
lib/Analysis/CaptureTracking.cpp 126 if (BeforeHere != I && DT->dominates(BeforeHere, I) &&
lib/Analysis/IVDescriptors.cpp 707 DT->dominates(Previous, I->user_back())) {
708 if (!DT->dominates(Previous, I)) // Otherwise we're good w/o sinking.
716 if (!DT->dominates(Previous, I))
lib/Analysis/InstructionSimplify.cpp 155 return DT->dominates(I, P);
lib/Analysis/MemoryDependenceAnalysis.cpp 382 if (Best == nullptr || DT.dominates(Best, Other))
396 if (!U || U == LI || !DT.dominates(U, LI))
lib/Analysis/ScalarEvolution.cpp 9507 if (!DT.dominates(CI, Latch->getTerminator()))
lib/Analysis/ScalarEvolutionExpander.cpp 80 assert(SE.DT.dominates(Ret, &*BIP));
512 SE.DT.dominates(cast<Instruction>(V), &*Builder.GetInsertPoint()));
908 if (!SE.DT.dominates(OInst, IVIncInsertPos))
947 if (!OInst || SE.DT.dominates(OInst, InsertPos))
958 if (!SE.DT.dominates(OInst, InsertPos))
1002 if (SE.DT.dominates(IncV, InsertPos))
1023 if (SE.DT.dominates(IncV, InsertPos))
1083 if (DT->dominates(InstToHoist, Pos))
1411 !SE.DT.dominates(cast<Instruction>(Result),
1797 SE.DT.dominates(EntInst, InsertPt) &&
2111 if (SE.getSCEV(LHS) == S && SE.DT.dominates(LHS, At))
2114 if (SE.getSCEV(RHS) == S && SE.DT.dominates(RHS, At))
lib/Analysis/TypeMetadataUtils.cpp 35 if (!DT.dominates(CI, User))
lib/Analysis/ValueTracking.cpp 537 if (DT->dominates(Inv, CxtI))
1924 Arg.hasNonNullAttr() && DT->dominates(CS.getInstruction(), CtxI))
1966 DT->dominates(cast<Instruction>(Curr), CtxI)) {
lib/CodeGen/CodeGenPrepare.cpp 5218 if (getDT(F).dominates(Inst, Pt)) {
5227 if (!getDT(F).dominates(Pt, Inst))
lib/CodeGen/InterleavedAccessPass.cpp 376 if (!DT->dominates(Shuffle, Extract))
lib/CodeGen/InterleavedLoadCombinePass.cpp 1193 if (!DT.dominates(InsertionPoint, VI.SVI))
lib/Target/AArch64/AArch64PromoteConstant.cpp 375 if (NewPt == IPI.first || DT.dominates(IPI.first, NewPt) ||
506 assert(DT.dominates(LoadedCst,
lib/Target/AArch64/AArch64StackTagging.cpp 650 if (DT != nullptr && DT->dominates(End, RI))
lib/Target/ARM/ARMParallelDSP.cpp 661 V = DT->dominates(cast<Instruction>(A), cast<Instruction>(B)) ? B : A;
753 if (DT->dominates(Source, Sink) ||
764 LoadInst *DomLoad = DT->dominates(Base, Offset) ? Base : Offset;
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp 616 if (DT.dominates(&I, User))
lib/Transforms/Coroutines/CoroElide.cpp 168 if (DT.dominates(DA, TI)) {
lib/Transforms/Coroutines/CoroFrame.cpp 501 if (DT.dominates(&I, &CoroBegin))
705 if (DT.dominates(CB, I)) {
760 if (DT.dominates(CB, I))
lib/Transforms/IPO/GlobalOpt.cpp 1853 return DT.dominates(S, L) &&
lib/Transforms/Instrumentation/ControlHeightReduction.cpp 571 if (DT.dominates(I, InsertPoint)) {
964 assert(!DT.dominates(Branch, InsertPoint) &&
972 assert(!DT.dominates(SI, InsertPoint) &&
1476 if (DT.dominates(I, HoistPoint))
lib/Transforms/ObjCARC/ObjCARCContract.cpp 663 assert(DT->dominates(Inst, &InsertBB->back()) &&
lib/Transforms/Scalar/DivRemPairs.cpp 232 bool DivDominates = DT.dominates(DivInst, RemInst);
233 if (!DivDominates && !DT.dominates(RemInst, DivInst)) {
lib/Transforms/Scalar/GVN.cpp 840 DT->dominates(cast<Instruction>(U), LI)) {
lib/Transforms/Scalar/GuardWidening.cpp 423 assert(DT.dominates(BestSoFar, Instr) && "Should be!");
501 if (!Inst || DT.dominates(Inst, Loc) || Visited.count(Inst))
521 if (!Inst || DT.dominates(Inst, Loc))
lib/Transforms/Scalar/IndVarSimplify.cpp 270 assert(DT->dominates(DefI, InsertPt) && "def does not dominate all uses");
2142 if (mustTriggerUB(I, KnownPoison) && DT->dominates(I, OnPathTo))
lib/Transforms/Scalar/LoopStrengthReduce.cpp 5019 if (Inst == Tentative || !DT.dominates(Inst, Tentative)) {
5026 (!BetterPos || !DT.dominates(Inst, BetterPos)))
lib/Transforms/Scalar/MemCpyOptimizer.cpp 855 if (!DT.dominates(cpyDestInst, C))
lib/Transforms/Scalar/NaryReassociate.cpp 541 if (DT->dominates(CandidateInstruction, Dominatee))
lib/Transforms/Scalar/NewGVN.cpp 1283 if (DT->dominates(cast<Instruction>(CC->getLeader()), U))
1286 DT->dominates(cast<Instruction>(CC->getNextLeader().first), U))
1290 DT->dominates(cast<Instruction>(Member), U);
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp 2363 assert(DT.dominates(LiveInst, Info.StatepointToken) &&
2707 assert(DT.dominates(I, TI) &&
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp 1155 if (DT->dominates(Candidate, Dominatee))
lib/Transforms/Scalar/StructurizeCFG.cpp 924 if (DT->dominates(&I, User))
lib/Transforms/Utils/Local.cpp 1757 } else if (!DT.dominates(&DomPoint, DII)) {
lib/Transforms/Utils/SimplifyIndVar.cpp 712 if (!DT || !DT->dominates(IVOperand, UseInst))
unittests/IR/DominatorTreeTest.cpp 157 EXPECT_FALSE(DT->dominates(Y1, Y1));
158 EXPECT_TRUE(DT->dominates(Y1, Y2));
159 EXPECT_FALSE(DT->dominates(Y2, Y1));
160 EXPECT_FALSE(DT->dominates(Y2, Y2));
163 EXPECT_TRUE(DT->dominates(Y6, Y6));
164 EXPECT_TRUE(DT->dominates(Y6, Y7));
165 EXPECT_TRUE(DT->dominates(Y7, Y6));
166 EXPECT_TRUE(DT->dominates(Y7, Y7));
169 EXPECT_TRUE(DT->dominates(Y3, Y4));
170 EXPECT_FALSE(DT->dominates(Y3, Y5));
173 EXPECT_TRUE(DT->dominates(Y2, Y9));
174 EXPECT_FALSE(DT->dominates(Y3, Y9));
175 EXPECT_FALSE(DT->dominates(Y8, Y9));
178 EXPECT_TRUE(DT->dominates(Y1, Y6));
179 EXPECT_TRUE(DT->dominates(Y3, Y6));
182 EXPECT_FALSE(DT->dominates(Y6, Y1));