• Home
  • Raw
  • Download

Lines Matching refs:PDT

35                                   PostDominatorTree &PDT, DependenceInfo &DI)>  in run()  argument
39 PostDominatorTree PDT(*F); in run() local
47 Test(*F, DT, PDT, DI); in run()
97 [&](Function &F, DominatorTree &DT, PostDominatorTree &PDT, in TEST()
101 isControlFlowEquivalent(*FirstIfBody, *FirstIfBody, DT, PDT)); in TEST()
104 isControlFlowEquivalent(*FirstIfBody, *SecondIfBody, DT, PDT)); in TEST()
108 isControlFlowEquivalent(*FirstIfBody, *ThirdIfBody, DT, PDT)); in TEST()
110 isControlFlowEquivalent(*SecondIfBody, *ThirdIfBody, DT, PDT)); in TEST()
188 [&](Function &F, DominatorTree &DT, PostDominatorTree &PDT, in TEST()
195 isControlFlowEquivalent(*FirstIfBody, *ThirdElseBody, DT, PDT)); in TEST()
197 isControlFlowEquivalent(*SecondIfBody, *ThirdElseBody, DT, PDT)); in TEST()
199 isControlFlowEquivalent(*ThirdIfBody, *ThirdElseBody, DT, PDT)); in TEST()
205 isControlFlowEquivalent(*FifthIfBody, *FifthElseBody, DT, PDT)); in TEST()
208 isControlFlowEquivalent(*FifthElseBody, *SixthIfBody, DT, PDT)); in TEST()
211 isControlFlowEquivalent(*FourthIfBody, *SixthElseBody, DT, PDT)); in TEST()
213 isControlFlowEquivalent(*FifthIfBody, *SixthElseBody, DT, PDT)); in TEST()
248 [&](Function &F, DominatorTree &DT, PostDominatorTree &PDT, in TEST()
257 *SecondInnerIfBody, DT, PDT)); in TEST()
259 *SecondOuterIfBody, DT, PDT)); in TEST()
261 *SecondInnerIfBody, DT, PDT)); in TEST()
263 *SecondOuterIfBody, DT, PDT)); in TEST()
318 [&](Function &F, DominatorTree &DT, PostDominatorTree &PDT, in TEST()
323 isControlFlowEquivalent(*FirstIfBody, *SecondIfBody, DT, PDT)); in TEST()
328 isControlFlowEquivalent(*ThirdIfBody, *FourthIfBody, DT, PDT)); in TEST()
372 [&](Function &F, DominatorTree &DT, PostDominatorTree &PDT, in TEST()
380 isControlFlowEquivalent(*FirstIfBody, *SecondIfBody, DT, PDT)); in TEST()
384 isControlFlowEquivalent(*FirstIfBody, *ThirdIfBody, DT, PDT)); in TEST()
386 isControlFlowEquivalent(*SecondIfBody, *ThirdIfBody, DT, PDT)); in TEST()
422 [&](Function &F, DominatorTree &DT, PostDominatorTree &PDT, in TEST()
428 EXPECT_FALSE(isControlFlowEquivalent(Idom, BB, DT, PDT)); in TEST()
486 [&](Function &F, DominatorTree &DT, PostDominatorTree &PDT, in TEST()
509 *CI_safecall->getNextNode(), DT, &PDT, in TEST()
514 *CI_unsafecall, DT, &PDT, &DI)); in TEST()
519 isSafeToMoveBefore(*SI_A5, *Entry->getTerminator(), DT, &PDT, &DI)); in TEST()
523 DT, &PDT, &DI)); in TEST()
526 EXPECT_FALSE(isSafeToMoveBefore(*PN.getNextNode(), PN, DT, &PDT, &DI)); in TEST()
530 *PN.getNextNode(), DT, &PDT, &DI)); in TEST()
534 DT, &PDT, &DI)); in TEST()
538 isSafeToMoveBefore(*SI, *SI->getPrevNode(), DT, &PDT, &DI)); in TEST()
542 isSafeToMoveBefore(*LI2, *SI_A6->getNextNode(), DT, &PDT, &DI)); in TEST()
546 isSafeToMoveBefore(*SI, *LI1->getNextNode(), DT, &PDT, &DI)); in TEST()
549 EXPECT_FALSE(isSafeToMoveBefore(*SI_A5, *LI1, DT, &PDT, &DI)); in TEST()
552 EXPECT_TRUE(isSafeToMoveBefore(*LI2, *LI1, DT, &PDT, &DI)); in TEST()
578 [&](Function &F, DominatorTree &DT, PostDominatorTree &PDT, in TEST()
584 EXPECT_FALSE(isSafeToMoveBefore(*AddInst, *SubInst, DT, &PDT, &DI)); in TEST()
588 EXPECT_FALSE(isSafeToMoveBefore(*SubInst, *AddInst, DT, &PDT, &DI)); in TEST()
610 [&](Function &F, DominatorTree &DT, PostDominatorTree &PDT, in TEST()
617 EXPECT_TRUE(isSafeToMoveBefore(*IncInst, *CmpInst, DT, &PDT, &DI)); in TEST()
643 [&](Function &F, DominatorTree &DT, PostDominatorTree &PDT, in TEST()
649 EXPECT_FALSE(isSafeToMoveBefore(*AddInst, *SubInst, DT, &PDT, &DI)); in TEST()
653 EXPECT_FALSE(isSafeToMoveBefore(*SubInst, *AddInst, DT, &PDT, &DI)); in TEST()
678 [&](Function &F, DominatorTree &DT, PostDominatorTree &PDT, in TEST()
693 EXPECT_TRUE(isSafeToMoveBefore(*LoadA2, *LoadB2, DT, &PDT, &DI)); in TEST()
695 EXPECT_TRUE(isSafeToMoveBefore(*LoadA3, *LoadA2, DT, &PDT, &DI)); in TEST()
698 EXPECT_FALSE(isSafeToMoveBefore(*StoreA0, *LoadA0, DT, &PDT, &DI)); in TEST()
700 EXPECT_FALSE(isSafeToMoveBefore(*StoreA1, *StoreA0, DT, &PDT, &DI)); in TEST()
703 EXPECT_FALSE(isSafeToMoveBefore(*StoreA1, *StoreB0, DT, &PDT, &DI)); in TEST()
705 EXPECT_FALSE(isSafeToMoveBefore(*LoadA0, *StoreA1, DT, &PDT, &DI)); in TEST()
708 EXPECT_FALSE(isSafeToMoveBefore(*LoadA1, *StoreB1, DT, &PDT, &DI)); in TEST()
710 EXPECT_FALSE(isSafeToMoveBefore(*StoreA2, *LoadA1, DT, &PDT, &DI)); in TEST()
713 EXPECT_TRUE(isSafeToMoveBefore(*LoadB2, *LoadA3, DT, &PDT, &DI)); in TEST()
715 EXPECT_TRUE(isSafeToMoveBefore(*LoadA3, *LoadB3, DT, &PDT, &DI)); in TEST()
718 EXPECT_TRUE(isSafeToMoveBefore(*StoreA2, *LoadA2, DT, &PDT, &DI)); in TEST()
720 EXPECT_TRUE(isSafeToMoveBefore(*StoreB1, *StoreA2, DT, &PDT, &DI)); in TEST()
723 EXPECT_TRUE(isSafeToMoveBefore(*StoreB0, *StoreA2, DT, &PDT, &DI)); in TEST()
725 EXPECT_TRUE(isSafeToMoveBefore(*LoadA1, *StoreB0, DT, &PDT, &DI)); in TEST()
728 EXPECT_TRUE(isSafeToMoveBefore(*StoreB0, *LoadA0, DT, &PDT, &DI)); in TEST()
730 EXPECT_TRUE(isSafeToMoveBefore(*LoadA0, *LoadA1, DT, &PDT, &DI)); in TEST()
798 [&](Function &F, DominatorTree &DT, PostDominatorTree &PDT, in TEST()
818 EXPECT_TRUE(isSafeToMoveBefore(*LoadA2, *LoadB2, DT, &PDT, &DI)); in TEST()
820 EXPECT_TRUE(isSafeToMoveBefore(*LoadA3, *LoadA2, DT, &PDT, &DI)); in TEST()
823 EXPECT_FALSE(isSafeToMoveBefore(StoreA0, *LoadA0, DT, &PDT, &DI)); in TEST()
825 EXPECT_FALSE(isSafeToMoveBefore(StoreA1, StoreA0, DT, &PDT, &DI)); in TEST()
828 EXPECT_FALSE(isSafeToMoveBefore(StoreA1, StoreB0, DT, &PDT, &DI)); in TEST()
830 EXPECT_FALSE(isSafeToMoveBefore(*LoadA0, StoreA1, DT, &PDT, &DI)); in TEST()
833 EXPECT_FALSE(isSafeToMoveBefore(*LoadA1, StoreB1, DT, &PDT, &DI)); in TEST()
835 EXPECT_FALSE(isSafeToMoveBefore(StoreA2, *LoadA1, DT, &PDT, &DI)); in TEST()
838 EXPECT_TRUE(isSafeToMoveBefore(*LoadB2, *LoadA3, DT, &PDT, &DI)); in TEST()
840 EXPECT_TRUE(isSafeToMoveBefore(*LoadA3, *LoadB3, DT, &PDT, &DI)); in TEST()
843 EXPECT_TRUE(isSafeToMoveBefore(StoreA2, *LoadA2, DT, &PDT, &DI)); in TEST()
845 EXPECT_TRUE(isSafeToMoveBefore(StoreB1, StoreA2, DT, &PDT, &DI)); in TEST()
848 EXPECT_TRUE(isSafeToMoveBefore(StoreB0, StoreA2, DT, &PDT, &DI)); in TEST()
850 EXPECT_TRUE(isSafeToMoveBefore(*LoadA1, StoreB0, DT, &PDT, &DI)); in TEST()
853 EXPECT_TRUE(isSafeToMoveBefore(StoreB0, *LoadA0, DT, &PDT, &DI)); in TEST()
855 EXPECT_TRUE(isSafeToMoveBefore(*LoadA0, *LoadA1, DT, &PDT, &DI)); in TEST()