reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/CodeGen/MachineDominators.h
  162     return DT->findNearestCommonDominator(A, B);
include/llvm/CodeGen/MachinePostDominators.h
   77     return PDT->findNearestCommonDominator(A, B);
include/llvm/Support/GenericDomTree.h
  478     return findNearestCommonDominator(const_cast<NodeT *>(A),
  812         NewBBIDom = findNearestCommonDominator(NewBBIDom, PredBlocks[i]);
include/llvm/Support/GenericDomTreeConstruction.h
  751             ? DT.findNearestCommonDominator(From->getBlock(), To->getBlock())
  948     const NodePtr NCDBlock = DT.findNearestCommonDominator(From, To);
  981         DT.findNearestCommonDominator(FromTN->getBlock(), ToTN->getBlock());
 1022           DT.findNearestCommonDominator(TN->getBlock(), Pred);
 1082           DT.findNearestCommonDominator(TN->getBlock(), ToTN->getBlock());
lib/Analysis/MemorySSAUpdater.cpp
  872       PrevIDom = DT.findNearestCommonDominator(PrevIDom, BB);
lib/CodeGen/MachinePostDominators.cpp
   56     NCD = PDT->findNearestCommonDominator(NCD, BB);
lib/Target/AArch64/AArch64PromoteConstant.cpp
  418     BasicBlock *CommonDominator = DT.findNearestCommonDominator(NewBB, CurBB);
lib/Target/AArch64/AArch64StackTagging.cpp
  448     PrologueBB = DT->findNearestCommonDominator(PrologueBB, AI->getParent());
lib/Target/Hexagon/HexagonCommonGEP.cpp
  689     Dom = B ? DT->findNearestCommonDominator(Dom, B) : nullptr;
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 2232       ExitD = DT->findNearestCommonDominator(ExitD, PB);
lib/Transforms/Scalar/ConstantHoisting.cpp
  338     BB = DT->findNearestCommonDominator(BB1, BB2);
lib/Transforms/Scalar/IndVarSimplify.cpp
  257     InsertBB = DT->findNearestCommonDominator(InsertPt->getParent(), InsertBB);
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 2507       DT.findNearestCommonDominator(IVIncInsertPos->getParent(),
 5094         BB = DT.findNearestCommonDominator(BB, ExitingBlocks[i]);
lib/Transforms/Scalar/StructurizeCFG.cpp
  107     BasicBlock *NewResult = DT->findNearestCommonDominator(Result, BB);
  701           Dominator = DT->findNearestCommonDominator(Dominator, BB);
lib/Transforms/Utils/LoopUnroll.cpp
  863         NewIDom = DT->findNearestCommonDominator(BB, LatchBlock);
lib/Transforms/Utils/LoopUnrollPeel.cpp
  617       BasicBlock *BB = DT->findNearestCommonDominator(
tools/polly/lib/CodeGen/BlockGenerators.cpp
 1449     Common = DT.findNearestCommonDominator(Common, ExitingBB);
unittests/Transforms/Vectorize/VPlanDominatorTreeTest.cpp
  152   EXPECT_EQ(PH, VPDT.findNearestCommonDominator(PH, PH));
  153   EXPECT_EQ(PH, VPDT.findNearestCommonDominator(PH, H));
  154   EXPECT_EQ(PH, VPDT.findNearestCommonDominator(PH, IfThen));
  155   EXPECT_EQ(PH, VPDT.findNearestCommonDominator(PH, IfElse));
  156   EXPECT_EQ(PH, VPDT.findNearestCommonDominator(PH, Latch));
  157   EXPECT_EQ(PH, VPDT.findNearestCommonDominator(PH, Exit));
  159   EXPECT_EQ(PH, VPDT.findNearestCommonDominator(H, PH));
  160   EXPECT_EQ(H, VPDT.findNearestCommonDominator(H, H));
  161   EXPECT_EQ(H, VPDT.findNearestCommonDominator(H, IfThen));
  162   EXPECT_EQ(H, VPDT.findNearestCommonDominator(H, IfElse));
  163   EXPECT_EQ(H, VPDT.findNearestCommonDominator(H, Latch));
  164   EXPECT_EQ(H, VPDT.findNearestCommonDominator(H, Exit));
  166   EXPECT_EQ(PH, VPDT.findNearestCommonDominator(IfThen, PH));
  167   EXPECT_EQ(H, VPDT.findNearestCommonDominator(IfThen, H));
  168   EXPECT_EQ(IfThen, VPDT.findNearestCommonDominator(IfThen, IfThen));
  169   EXPECT_EQ(H, VPDT.findNearestCommonDominator(IfThen, IfElse));
  170   EXPECT_EQ(H, VPDT.findNearestCommonDominator(IfThen, Latch));
  171   EXPECT_EQ(H, VPDT.findNearestCommonDominator(IfThen, Exit));
  173   EXPECT_EQ(PH, VPDT.findNearestCommonDominator(IfElse, PH));
  174   EXPECT_EQ(H, VPDT.findNearestCommonDominator(IfElse, H));
  175   EXPECT_EQ(H, VPDT.findNearestCommonDominator(IfElse, IfThen));
  176   EXPECT_EQ(IfElse, VPDT.findNearestCommonDominator(IfElse, IfElse));
  177   EXPECT_EQ(H, VPDT.findNearestCommonDominator(IfElse, Latch));
  178   EXPECT_EQ(H, VPDT.findNearestCommonDominator(IfElse, Exit));
  180   EXPECT_EQ(PH, VPDT.findNearestCommonDominator(Latch, PH));
  181   EXPECT_EQ(H, VPDT.findNearestCommonDominator(Latch, H));
  182   EXPECT_EQ(H, VPDT.findNearestCommonDominator(Latch, IfThen));
  183   EXPECT_EQ(H, VPDT.findNearestCommonDominator(Latch, IfElse));
  184   EXPECT_EQ(Latch, VPDT.findNearestCommonDominator(Latch, Latch));
  185   EXPECT_EQ(Latch, VPDT.findNearestCommonDominator(Latch, Exit));
  187   EXPECT_EQ(PH, VPDT.findNearestCommonDominator(Exit, PH));
  188   EXPECT_EQ(H, VPDT.findNearestCommonDominator(Exit, H));
  189   EXPECT_EQ(H, VPDT.findNearestCommonDominator(Exit, IfThen));
  190   EXPECT_EQ(H, VPDT.findNearestCommonDominator(Exit, IfElse));
  191   EXPECT_EQ(Latch, VPDT.findNearestCommonDominator(Exit, Latch));
  192   EXPECT_EQ(Exit, VPDT.findNearestCommonDominator(Exit, Exit));