reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
74 BasicBlock *getOrAddBlock(StringRef BlockName);
98 BasicBlock *From = getOrAddBlock(A.From); 99 BasicBlock *To = getOrAddBlock(A.To); 114 BasicBlock *From = getOrAddBlock(A.From); 115 BasicBlock *To = getOrAddBlock(A.To); 172 EXPECT_TRUE(B.getOrAddBlock("entry") == &Holder.F->getEntryBlock()); 173 EXPECT_TRUE(isa<SwitchInst>(B.getOrAddBlock("entry")->getTerminator())); 174 EXPECT_TRUE(isa<SwitchInst>(B.getOrAddBlock("a")->getTerminator())); 175 EXPECT_TRUE(isa<UnreachableInst>(B.getOrAddBlock("b")->getTerminator())); 176 EXPECT_TRUE(isa<SwitchInst>(B.getOrAddBlock("d")->getTerminator())); 178 auto *DSwitch = cast<SwitchInst>(B.getOrAddBlock("d")->getTerminator()); 200 EXPECT_TRUE(B.getOrAddBlock("entry") == &Holder.F->getEntryBlock()); 201 EXPECT_TRUE(isa<SwitchInst>(B.getOrAddBlock("entry")->getTerminator())); 202 EXPECT_TRUE(isa<SwitchInst>(B.getOrAddBlock("a")->getTerminator())); 203 EXPECT_TRUE(isa<UnreachableInst>(B.getOrAddBlock("b")->getTerminator())); 204 EXPECT_TRUE(isa<SwitchInst>(B.getOrAddBlock("d")->getTerminator())); 206 auto *DSwitch = cast<SwitchInst>(B.getOrAddBlock("d")->getTerminator()); 224 EXPECT_TRUE(isa<SwitchInst>(B.getOrAddBlock("entry")->getTerminator())); 225 EXPECT_TRUE(isa<SwitchInst>(B.getOrAddBlock("a")->getTerminator())); 226 EXPECT_TRUE(isa<SwitchInst>(B.getOrAddBlock("c")->getTerminator())); 227 EXPECT_TRUE(isa<SwitchInst>(B.getOrAddBlock("d")->getTerminator())); 235 EXPECT_TRUE(isa<UnreachableInst>(B.getOrAddBlock("c")->getTerminator())); 242 EXPECT_TRUE(isa<SwitchInst>(B.getOrAddBlock("a")->getTerminator())); 243 EXPECT_TRUE(isa<UnreachableInst>(B.getOrAddBlock("entry")->getTerminator())); 264 EXPECT_TRUE(isa<SwitchInst>(B.getOrAddBlock("entry")->getTerminator())); 265 EXPECT_TRUE(isa<SwitchInst>(B.getOrAddBlock("a")->getTerminator())); 266 EXPECT_TRUE(isa<SwitchInst>(B.getOrAddBlock("c")->getTerminator())); 267 EXPECT_TRUE(isa<SwitchInst>(B.getOrAddBlock("d")->getTerminator()));unittests/IR/DominatorTreeBatchUpdatesTest.cpp
41 B.getOrAddBlock(CFGU.Edge.From), 42 B.getOrAddBlock(CFGU.Edge.To)}); 51 BasicBlock *A = Builder.getOrAddBlock("A"); 52 BasicBlock *B = Builder.getOrAddBlock("B"); 53 BasicBlock *C = Builder.getOrAddBlock("C"); 54 BasicBlock *D = Builder.getOrAddBlock("D"); 74 BasicBlock *A = Builder.getOrAddBlock("A"); 75 BasicBlock *B = Builder.getOrAddBlock("B"); 76 BasicBlock *C = Builder.getOrAddBlock("C"); 77 BasicBlock *D = Builder.getOrAddBlock("D"); 102 BasicBlock *B = Builder.getOrAddBlock("B"); 103 BasicBlock *C = Builder.getOrAddBlock("C"); 124 BasicBlock *B = Builder.getOrAddBlock("B"); 125 BasicBlock *C = Builder.getOrAddBlock("C"); 150 BasicBlock *B = Builder.getOrAddBlock("B"); 151 BasicBlock *C = Builder.getOrAddBlock("C"); 152 BasicBlock *D = Builder.getOrAddBlock("D"); 153 BasicBlock *E = Builder.getOrAddBlock("E");unittests/IR/DominatorTreeTest.cpp
697 BasicBlock *From = B.getOrAddBlock(LastUpdate->Edge.From); 698 BasicBlock *To = B.getOrAddBlock(LastUpdate->Edge.To); 724 BasicBlock *From = B.getOrAddBlock(LastUpdate->Edge.From); 725 BasicBlock *To = B.getOrAddBlock(LastUpdate->Edge.To); 751 BasicBlock *From = B.getOrAddBlock(LastUpdate->Edge.From); 752 BasicBlock *To = B.getOrAddBlock(LastUpdate->Edge.To); 773 BasicBlock *From = B.getOrAddBlock(LastUpdate->Edge.From); 774 BasicBlock *To = B.getOrAddBlock(LastUpdate->Edge.To); 779 const BasicBlock *BB5 = B.getOrAddBlock("5"); 802 BasicBlock *From = B.getOrAddBlock(LastUpdate->Edge.From); 803 BasicBlock *To = B.getOrAddBlock(LastUpdate->Edge.To); 832 BasicBlock *From = B.getOrAddBlock(LastUpdate->Edge.From); 833 BasicBlock *To = B.getOrAddBlock(LastUpdate->Edge.To); 859 BasicBlock *From = B.getOrAddBlock(LastUpdate->Edge.From); 860 BasicBlock *To = B.getOrAddBlock(LastUpdate->Edge.To); 885 BasicBlock *From = B.getOrAddBlock(LastUpdate->Edge.From); 886 BasicBlock *To = B.getOrAddBlock(LastUpdate->Edge.To); 914 BasicBlock *From = B.getOrAddBlock(LastUpdate->Edge.From); 915 BasicBlock *To = B.getOrAddBlock(LastUpdate->Edge.To); 952 BasicBlock *From = B.getOrAddBlock(LastUpdate->Edge.From); 953 BasicBlock *To = B.getOrAddBlock(LastUpdate->Edge.To); 985 BasicBlock *From = B.getOrAddBlock("7"); 986 BasicBlock *To = B.getOrAddBlock("23");