Home
last modified time | relevance | path

Searched refs:BB2 (Results 1 – 25 of 193) sorted by relevance

12345678

/external/llvm/unittests/IR/
DDominatorTreeTest.cpp46 BasicBlock *BB2 = &*FI++; in runOnFunction() local
47 BBI = BB2->begin(); in runOnFunction()
63 EXPECT_TRUE(DT->isReachableFromEntry(BB2)); in runOnFunction()
70 EXPECT_TRUE(DT->dominates(BB0, BB2)); in runOnFunction()
76 EXPECT_FALSE(DT->dominates(BB1, BB2)); in runOnFunction()
80 EXPECT_FALSE(DT->dominates(BB2, BB0)); in runOnFunction()
81 EXPECT_FALSE(DT->dominates(BB2, BB1)); in runOnFunction()
82 EXPECT_TRUE(DT->dominates(BB2, BB2)); in runOnFunction()
83 EXPECT_TRUE(DT->dominates(BB2, BB3)); in runOnFunction()
84 EXPECT_FALSE(DT->dominates(BB2, BB4)); in runOnFunction()
[all …]
DValueTest.cpp197 BasicBlock *BB2 = &*++F->begin(); in TEST() local
198 ASSERT_TRUE(BB2); in TEST()
210 EXPECT_EQ(MST.getLocalSlot(BB2), 2); in TEST()
230 BasicBlock *BB2 = &*++F->begin(); in TEST() local
231 ASSERT_TRUE(BB2); in TEST()
234 EXPECT_DEATH(MST.getLocalSlot(BB2), "No function incorporated"); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DDeferredDominanceTest.cpp61 BasicBlock *BB2 = &*FI++; in TEST() local
77 Updates.push_back({DominatorTree::Insert, BB1, BB2}); in TEST()
84 BranchInst::Create(BB1, BB2, ConstantInt::getTrue(F->getContext()), BB0); in TEST()
136 BasicBlock *BB2 = &*FI++; in TEST() local
146 DDT.deleteEdge(BB0, BB2); in TEST()
154 BranchInst::Create(BB1, BB2, ConstantInt::getTrue(F->getContext()), BB0); in TEST()
160 DDT.insertEdge(BB0, BB2); in TEST()
165 EXPECT_FALSE(DDT.pendingDeletedBB(BB2)); in TEST()
270 BasicBlock *BB2 = &*FI++; in TEST() local
305 ASSERT_FALSE(isa<UnreachableInst>(BB2->getTerminator())); in TEST()
[all …]
DDomTreeUpdaterTest.cpp70 BasicBlock *BB2 = &*FI++; in TEST() local
86 Updates.push_back({DominatorTree::Insert, BB1, BB2}); in TEST()
109 DTU.insertEdgeRelaxed(BB1, BB2); in TEST()
134 if (i->getCaseSuccessor() == BB2) { in TEST()
136 BB2->removePredecessor(BB0); in TEST()
251 BasicBlock *BB2 = &*FI++; in TEST() local
266 Updates.push_back({DominatorTree::Insert, BB1, BB2}); in TEST()
273 BranchInst::Create(BB1, BB2, ConstantInt::getTrue(F->getContext()), BB0); in TEST()
340 BasicBlock *BB2 = &*FI++; in TEST() local
375 BasicBlocks.push_back(BB2); in TEST()
[all …]
DDominatorTreeTest.cpp90 BasicBlock *BB2 = &*FI++; in TEST() local
91 BBI = BB2->begin(); in TEST()
107 EXPECT_TRUE(DT->isReachableFromEntry(BB2)); in TEST()
114 EXPECT_TRUE(DT->dominates(BB0, BB2)); in TEST()
120 EXPECT_FALSE(DT->dominates(BB1, BB2)); in TEST()
124 EXPECT_FALSE(DT->dominates(BB2, BB0)); in TEST()
125 EXPECT_FALSE(DT->dominates(BB2, BB1)); in TEST()
126 EXPECT_TRUE(DT->dominates(BB2, BB2)); in TEST()
127 EXPECT_TRUE(DT->dominates(BB2, BB3)); in TEST()
128 EXPECT_FALSE(DT->dominates(BB2, BB4)); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SCCP/
Dsccptest.ll7 br i1 %B, label %BB1, label %BB2
11 BB2: ; preds = %0
13 BB3: ; preds = %BB2, %BB1
14 %Ret = phi i32 [ %Val, %BB1 ], [ 1, %BB2 ] ; <i32> [#uses=1]
18 ; CHECK: %Ret = phi i32 [ 0, %BB1 ], [ 1, %BB2 ]
27 br label %BB2
28 BB2:
53 br label %BB2
56 ; CHECK-NEXT: br label %BB2
D2002-05-20-MissedIncomingValue.ll8 br label %BB2
9 BB2: ; preds = %BB4, %bb1
12 BB3: ; preds = %BB2
15 br label %BB2
/external/swiftshader/third_party/LLVM/test/Transforms/SCCP/
Dsccptest.ll7 br i1 %B, label %BB1, label %BB2
11 BB2: ; preds = %0
13 BB3: ; preds = %BB2, %BB1
14 %Ret = phi i32 [ %Val, %BB1 ], [ 1, %BB2 ] ; <i32> [#uses=1]
18 ; CHECK: %Ret = phi i32 [ 0, %BB1 ], [ 1, %BB2 ]
27 br label %BB2
28 BB2:
53 br label %BB2
56 ; CHECK-NEXT: br label %BB2
D2002-05-20-MissedIncomingValue.ll8 br label %BB2
9 BB2: ; preds = %BB4, %bb1
12 BB3: ; preds = %BB2
15 br label %BB2
/external/llvm/test/Transforms/SCCP/
Dsccptest.ll7 br i1 %B, label %BB1, label %BB2
11 BB2: ; preds = %0
13 BB3: ; preds = %BB2, %BB1
14 %Ret = phi i32 [ %Val, %BB1 ], [ 1, %BB2 ] ; <i32> [#uses=1]
18 ; CHECK: %Ret = phi i32 [ 0, %BB1 ], [ 1, %BB2 ]
27 br label %BB2
28 BB2:
53 br label %BB2
56 ; CHECK-NEXT: br label %BB2
D2002-05-20-MissedIncomingValue.ll8 br label %BB2
9 BB2: ; preds = %BB4, %bb1
12 BB3: ; preds = %BB2
15 br label %BB2
/external/swiftshader/third_party/LLVM/test/Transforms/SimplifyCFG/
D2009-01-18-PHIPropCrash.ll7 br i1 true, label %BB2, label %BB1
10 br label %BB2
12 BB2: ; preds = %BB1, %BB
16 BB9: ; preds = %BB11, %BB2
17 %tmp10 = phi i32 [ 0, %BB2 ], [ %tmp12, %BB11 ] ; <i32> [#uses=1]
/external/llvm/test/Transforms/SimplifyCFG/
D2009-01-18-PHIPropCrash.ll7 br i1 true, label %BB2, label %BB1
10 br label %BB2
12 BB2: ; preds = %BB1, %BB
16 BB9: ; preds = %BB11, %BB2
17 %tmp10 = phi i32 [ 0, %BB2 ], [ %tmp12, %BB11 ] ; <i32> [#uses=1]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SimplifyCFG/
D2009-01-18-PHIPropCrash.ll7 br i1 true, label %BB2, label %BB1
10 br label %BB2
12 BB2: ; preds = %BB1, %BB
16 BB9: ; preds = %BB11, %BB2
17 %tmp10 = phi i32 [ 0, %BB2 ], [ %tmp12, %BB11 ] ; <i32> [#uses=1]
/external/swiftshader/third_party/LLVM/test/Transforms/LoopSimplify/
Dbasictest.ll4 ; to by BB1 & BB2
8 br i1 true, label %BB1, label %BB2
11 BB2: ; preds = %0
13 BB3: ; preds = %BB3, %BB2, %BB1
/external/llvm/test/Transforms/LoopSimplify/
Dbasictest.ll5 ; to by BB1 & BB2
9 br i1 true, label %BB1, label %BB2
12 BB2: ; preds = %0
14 BB3: ; preds = %BB3, %BB2, %BB1
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopDeletion/
Ddcetest.ll8 br label %BB2
10 BB2: ; preds = %BB7, %BB1
16 BB3: ; preds = %BB2
20 BB4: ; preds = %BB2
34 br label %BB2
/external/llvm/test/Transforms/LoopDeletion/
Ddcetest.ll8 br label %BB2
10 BB2: ; preds = %BB7, %BB1
16 BB3: ; preds = %BB2
20 BB4: ; preds = %BB2
34 br label %BB2
/external/swiftshader/third_party/LLVM/test/Transforms/LoopDeletion/
Ddcetest.ll8 br label %BB2
10 BB2: ; preds = %BB7, %BB1
16 BB3: ; preds = %BB2
20 BB4: ; preds = %BB2
34 br label %BB2
/external/llvm/test/CodeGen/Mips/
Dlongbranch.ll62 ; O32-NEXT: lui $1, %hi(($[[BB2:BB[0-9_]+]])-($[[BB1:BB[0-9_]+]]))
64 ; O32-NEXT: addiu $1, $1, %lo(($[[BB2]])-($[[BB1]]))
75 ; O32: $[[BB2]]:
93 ; N64-NEXT: daddiu $1, $zero, %hi(($[[BB2:BB[0-9_]+]])-($[[BB1:BB[0-9_]+]]))
96 ; N64-NEXT: daddiu $1, $1, %lo(($[[BB2]])-($[[BB1]]))
108 ; N64: $[[BB2]]:
128 ; MICROMIPS-NEXT: lui $1, %hi(($[[BB2:BB[0-9_]+]])-($[[BB1:BB[0-9_]+]]))
130 ; MICROMIPS-NEXT: addiu $1, $1, %lo(($[[BB2]])-($[[BB1]]))
141 ; MICROMIPS: $[[BB2]]:
157 ; NACL-NEXT: lui $1, %hi(($[[BB2:BB[0-9_]+]])-($[[BB1:BB[0-9_]+]]))
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DBlockFrequencyInfoTest.cpp66 BasicBlock *BB2 = BB0.getTerminator()->getSuccessor(1); in TEST_F() local
71 uint64_t BB2Freq = BFI.getBlockFreq(BB2).getFrequency(); in TEST_F()
81 EXPECT_EQ(BFI.getBlockProfileCount(BB2).getValue(), 100 * BB2Freq / BB0Freq); in TEST_F()
84 SmallPtrSet<BasicBlock *, 4> BlocksToScale({BB1, BB2}); in TEST_F()
88 EXPECT_EQ(BFI.getBlockFreq(BB2).getFrequency(), 2 * BB2Freq); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DCloning.cpp217 BasicBlock *BB2 = BasicBlock::Create(context, "", F); in TEST_F() local
218 IRBuilder<> Builder2(BB2); in TEST_F()
220 Builder1.CreateBr(BB2); in TEST_F()
229 auto Split = DuplicateInstructionsInSplitBetween(BB2, BB1, SubInst, Mapping); in TEST_F()
264 BasicBlock *BB2 = BasicBlock::Create(context, "", F); in TEST_F() local
265 IRBuilder<> Builder2(BB2); in TEST_F()
267 Builder1.CreateBr(BB2); in TEST_F()
272 Builder2.CreateBr(BB2); in TEST_F()
276 auto Split = DuplicateInstructionsInSplitBetween(BB2, BB2, BB2->getTerminator(), Mapping); in TEST_F()
299 EXPECT_EQ(Split->getSingleSuccessor(), BB2); in TEST_F()
[all …]
/external/swiftshader/third_party/LLVM/test/Transforms/ConstProp/
Dbasictest.ll6 br i1 %B, label %BB1, label %BB2
12 BB2:
17 ; CHECK: %Ret = phi i32 [ 0, %BB1 ], [ 1, %BB2 ]
18 %Ret = phi i32 [ %Val, %BB1 ], [ 1, %BB2 ]
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/
Dreorder-basic-blocks.ll15 br i1 %r1, label %BB1, label %BB2
19 BB2:
31 ; SEED1: .Lbasic_block_reordering$BB2:
37 ; SEED2: .Lbasic_block_reordering$BB2:
/external/llvm/test/CodeGen/XCore/
Dzextfree.ll11 br i1 %bool, label %BB1, label %BB2
12 BB2:
13 br i1 %bool, label %BB1, label %BB2

12345678