/external/llvm/unittests/IR/ |
D | DominatorTreeTest.cpp | 42 BasicBlock *BB1 = &*FI++; in runOnFunction() local 43 BBI = BB1->begin(); in runOnFunction() 62 EXPECT_TRUE(DT->isReachableFromEntry(BB1)); in runOnFunction() 69 EXPECT_TRUE(DT->dominates(BB0, BB1)); in runOnFunction() 74 EXPECT_FALSE(DT->dominates(BB1, BB0)); in runOnFunction() 75 EXPECT_TRUE(DT->dominates(BB1, BB1)); in runOnFunction() 76 EXPECT_FALSE(DT->dominates(BB1, BB2)); in runOnFunction() 77 EXPECT_TRUE(DT->dominates(BB1, BB3)); in runOnFunction() 78 EXPECT_FALSE(DT->dominates(BB1, BB4)); in runOnFunction() 81 EXPECT_FALSE(DT->dominates(BB2, BB1)); in runOnFunction() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SCCP/ |
D | indirectbr.ll | 6 ; Make sure we can eliminate what is in BB0 as we know that the indirectbr is going to BB1. 13 indirectbr i8* blockaddress(@indbrtest1, %BB1), [label %BB0, label %BB1] 16 br label %BB1 17 BB1: 22 ; Make sure we can eliminate what is in BB0 as we know that the indirectbr is going to BB1 31 %a = ptrtoint i8* blockaddress(@indbrtest2, %BB1) to i64 34 indirectbr i8* %b, [label %BB0, label %BB1] 37 br label %BB1 38 BB1: 51 indirectbr i8* %t, [label %BB0, label %BB1] [all …]
|
D | sccptest.ll | 7 br i1 %B, label %BB1, label %BB2 8 BB1: ; 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 ] 26 BB1: 29 %j2 = phi i32 [ %j4, %BB7 ], [ 1, %BB1 ] 30 %k2 = phi i32 [ %k4, %BB7 ], [ 0, %BB1 ]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | DeferredDominanceTest.cpp | 60 BasicBlock *BB1 = &*FI++; in TEST() local 67 DDT.insertEdge(BB1, BB1); in TEST() 77 Updates.push_back({DominatorTree::Insert, BB1, BB2}); in TEST() 79 Updates.push_back({DominatorTree::Delete, BB0, BB1}); in TEST() 84 BranchInst::Create(BB1, BB2, ConstantInt::getTrue(F->getContext()), BB0); in TEST() 135 BasicBlock *BB1 = &*FI++; in TEST() local 141 BranchInst::Create(BB1, BB0); in TEST() 154 BranchInst::Create(BB1, BB2, ConstantInt::getTrue(F->getContext()), BB0); in TEST() 164 EXPECT_FALSE(DDT.pendingDeletedBB(BB1)); in TEST() 194 BasicBlock *BB1 = &*FI++; in TEST() local [all …]
|
D | DomTreeUpdaterTest.cpp | 69 BasicBlock *BB1 = &*FI++; in TEST() local 86 Updates.push_back({DominatorTree::Insert, BB1, BB2}); in TEST() 88 Updates.push_back({DominatorTree::Delete, BB0, BB1}); in TEST() 109 DTU.insertEdgeRelaxed(BB1, BB2); in TEST() 111 DTU.deleteEdgeRelaxed(BB0, BB1); in TEST() 177 BasicBlock *BB1 = &*FI++; in TEST() local 196 BranchInst::Create(BB1, NewEntry); in TEST() 202 {DominatorTree::Insert, NewEntry, BB1}}); in TEST() 250 BasicBlock *BB1 = &*FI++; in TEST() local 266 Updates.push_back({DominatorTree::Insert, BB1, BB2}); in TEST() [all …]
|
D | DominatorTreeTest.cpp | 86 BasicBlock *BB1 = &*FI++; in TEST() local 87 BBI = BB1->begin(); in TEST() 106 EXPECT_TRUE(DT->isReachableFromEntry(BB1)); in TEST() 113 EXPECT_TRUE(DT->dominates(BB0, BB1)); in TEST() 118 EXPECT_FALSE(DT->dominates(BB1, BB0)); in TEST() 119 EXPECT_TRUE(DT->dominates(BB1, BB1)); in TEST() 120 EXPECT_FALSE(DT->dominates(BB1, BB2)); in TEST() 121 EXPECT_TRUE(DT->dominates(BB1, BB3)); in TEST() 122 EXPECT_FALSE(DT->dominates(BB1, BB4)); in TEST() 125 EXPECT_FALSE(DT->dominates(BB2, BB1)); in TEST() [all …]
|
D | BasicBlockTest.cpp | 31 std::unique_ptr<BasicBlock> BB1(BasicBlock::Create(Context)); in TEST() local 32 BranchInst::Create(BB.get(), BB1.get()); in TEST() 62 PN.addIncoming(UndefValue::get(Int32Ty), BB1.get()); in TEST() 84 EXPECT_EQ(BB1.get(), PN.getIncomingBlock(1)); in TEST() 111 BasicBlock *BB1 = BasicBlock::Create(Ctx, "", F); in TEST() local 112 const BasicBlock *BBConst = BB1; in TEST() 113 IRBuilder<> Builder1(BB1); in TEST() 124 CHECK_ITERATORS(BB1->instructionsWithoutDebug(), Exp); in TEST()
|
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/ |
D | 2010-01-28-NegativeSRem.ll | 6 br label %BB1 8 BB1: ; preds = %BB1, %entry 9 ; CHECK: BB1: 10 %x = phi i32 [ -29, %entry ], [ 0, %BB1 ] ; <i32> [#uses=2] 13 br i1 %t, label %BB2, label %BB1 16 BB2: ; preds = %BB1
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | 2010-01-28-NegativeSRem.ll | 6 br label %BB1 8 BB1: ; preds = %BB1, %entry 9 ; CHECK: BB1: 10 %x = phi i32 [ -29, %entry ], [ 0, %BB1 ] ; <i32> [#uses=2] 13 br i1 %t, label %BB2, label %BB1 16 BB2: ; preds = %BB1
|
/external/llvm/test/Transforms/InstCombine/ |
D | 2010-01-28-NegativeSRem.ll | 6 br label %BB1 8 BB1: ; preds = %BB1, %entry 9 ; CHECK: BB1: 10 %x = phi i32 [ -29, %entry ], [ 0, %BB1 ] ; <i32> [#uses=2] 13 br i1 %t, label %BB2, label %BB1 16 BB2: ; preds = %BB1
|
/external/llvm/test/Transforms/ADCE/ |
D | 2002-05-22-PHITest.ll | 1 ; It is illegal to remove BB1 because it will mess up the PHI node! 3 ; RUN: opt < %s -adce -S | grep BB1 7 br i1 %C, label %BB1, label %BB2 9 BB1: ; preds = %0 12 BB2: ; preds = %BB1, %0 13 %R = phi i32 [ %A, %0 ], [ %B, %BB1 ] ; <i32> [#uses=1]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/ADCE/ |
D | 2002-05-22-PHITest.ll | 1 ; It is illegal to remove BB1 because it will mess up the PHI node! 3 ; RUN: opt < %s -adce -S | grep BB1 7 br i1 %C, label %BB1, label %BB2 9 BB1: ; preds = %0 12 BB2: ; preds = %BB1, %0 13 %R = phi i32 [ %A, %0 ], [ %B, %BB1 ] ; <i32> [#uses=1]
|
/external/swiftshader/third_party/LLVM/test/Transforms/ADCE/ |
D | 2002-05-22-PHITest.ll | 1 ; It is illegal to remove BB1 because it will mess up the PHI node! 3 ; RUN: opt < %s -adce -S | grep BB1 7 br i1 %C, label %BB1, label %BB2 9 BB1: ; preds = %0 12 BB2: ; preds = %BB1, %0 13 %R = phi i32 [ %A, %0 ], [ %B, %BB1 ] ; <i32> [#uses=1]
|
/external/swiftshader/third_party/LLVM/test/Transforms/SCCP/ |
D | sccptest.ll | 7 br i1 %B, label %BB1, label %BB2 8 BB1: ; 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 ] 26 BB1: 29 %j2 = phi i32 [ %j4, %BB7 ], [ 1, %BB1 ] 30 %k2 = phi i32 [ %k4, %BB7 ], [ 0, %BB1 ]
|
/external/llvm/test/Transforms/SCCP/ |
D | sccptest.ll | 7 br i1 %B, label %BB1, label %BB2 8 BB1: ; 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 ] 26 BB1: 29 %j2 = phi i32 [ %j4, %BB7 ], [ 1, %BB1 ] 30 %k2 = phi i32 [ %k4, %BB7 ], [ 0, %BB1 ]
|
/external/llvm/test/CodeGen/Mips/ |
D | longbranch.ll | 62 ; O32-NEXT: lui $1, %hi(($[[BB2:BB[0-9_]+]])-($[[BB1:BB[0-9_]+]])) 63 ; O32-NEXT: bal $[[BB1]] 64 ; O32-NEXT: addiu $1, $1, %lo(($[[BB2]])-($[[BB1]])) 65 ; O32-NEXT: $[[BB1]]: 93 ; N64-NEXT: daddiu $1, $zero, %hi(($[[BB2:BB[0-9_]+]])-($[[BB1:BB[0-9_]+]])) 95 ; N64-NEXT: bal $[[BB1]] 96 ; N64-NEXT: daddiu $1, $1, %lo(($[[BB2]])-($[[BB1]])) 97 ; N64-NEXT: $[[BB1]]: 128 ; MICROMIPS-NEXT: lui $1, %hi(($[[BB2:BB[0-9_]+]])-($[[BB1:BB[0-9_]+]])) 129 ; MICROMIPS-NEXT: bal $[[BB1]] [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | ProfileSummaryInfoTest.cpp | 118 BasicBlock *BB1 = BB0.getTerminator()->getSuccessor(0); in TEST_F() local 124 CallSite CS1(BB1->getFirstNonPHI()); in TEST_F() 154 BasicBlock *BB1 = BB0.getTerminator()->getSuccessor(0); in TEST_F() local 156 BasicBlock *BB3 = BB1->getSingleSuccessor(); in TEST_F() 160 EXPECT_TRUE(PSI.isHotBB(BB1, &BFI)); in TEST_F() 164 CallSite CS1(BB1->getFirstNonPHI()); in TEST_F() 186 BasicBlock *BB1 = BB0.getTerminator()->getSuccessor(0); in TEST_F() local 188 BasicBlock *BB3 = BB1->getSingleSuccessor(); in TEST_F() 192 EXPECT_TRUE(PSI.isHotBB(BB1, &BFI)); in TEST_F() 196 CallSite CS1(BB1->getFirstNonPHI()); in TEST_F()
|
D | BlockFrequencyInfoTest.cpp | 65 BasicBlock *BB1 = BB0.getTerminator()->getSuccessor(0); in TEST_F() local 67 BasicBlock *BB3 = BB1->getSingleSuccessor(); in TEST_F() 70 uint64_t BB1Freq = BFI.getBlockFreq(BB1).getFrequency(); in TEST_F() 80 EXPECT_EQ(BFI.getBlockProfileCount(BB1).getValue(), 100 * BB1Freq / BB0Freq); in TEST_F() 84 SmallPtrSet<BasicBlock *, 4> BlocksToScale({BB1, BB2}); in TEST_F() 87 EXPECT_EQ(BFI.getBlockFreq(BB1).getFrequency(), 2 * BB1Freq); in TEST_F()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/NewGVN/ |
D | phi-of-ops-move-block.ll | 9 ; CHECK-NEXT: br label [[BB1:%.*]] 22 ; CHECK-NEXT: [[PHIOFOPS1:%.*]] = phi i1 [ false, [[BB1]] ], [ true, [[LR_PH]] ] 23 ; CHECK-NEXT: [[PHIOFOPS:%.*]] = phi i1 [ [[CMP0]], [[BB1]] ], [ true, [[LR_PH]] ] 24 ; CHECK-NEXT: [[DOT05_LCSSA:%.*]] = phi i32 [ 0, [[BB1]] ], [ -1, [[LR_PH]] ] 26 ; CHECK-NEXT: br i1 [[PHIOFOPS]], label [[BB1]], label [[END:%.*]] 62 ; CHECK-NEXT: br label [[BB1:%.*]] 74 ; CHECK-NEXT: [[PHIOFOPS1:%.*]] = phi i1 [ false, [[BB1]] ], [ true, [[SPLIT2]] ], [ true, [[SPL… 75 ; CHECK-NEXT: [[PHIOFOPS:%.*]] = phi i1 [ [[CMP1]], [[BB1]] ], [ true, [[SPLIT2]] ], [ true, [[S… 76 ; CHECK-NEXT: [[LCSSA:%.*]] = phi i32 [ 0, [[BB1]] ], [ -1, [[SPLIT1]] ], [ -1, [[SPLIT2]] ] 78 ; CHECK-NEXT: br i1 [[PHIOFOPS]], label [[BB1]], label [[EXIT:%.*]]
|
/external/llvm/test/CodeGen/XCore/ |
D | zextfree.ll | 9 br label %BB1 10 BB1: 11 br i1 %bool, label %BB1, label %BB2 13 br i1 %bool, label %BB1, label %BB2
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/XCore/ |
D | zextfree.ll | 9 br label %BB1 10 BB1: 11 br i1 %bool, label %BB1, label %BB2 13 br i1 %bool, label %BB1, label %BB2
|
/external/swiftshader/third_party/LLVM/test/Transforms/LoopSimplify/ |
D | basictest.ll | 4 ; to by BB1 & BB2 8 br i1 true, label %BB1, label %BB2 9 BB1: ; preds = %0 13 BB3: ; preds = %BB3, %BB2, %BB1
|
/external/llvm/test/Transforms/LoopSimplify/ |
D | basictest.ll | 5 ; to by BB1 & BB2 9 br i1 true, label %BB1, label %BB2 10 BB1: ; preds = %0 14 BB3: ; preds = %BB3, %BB2, %BB1
|
/external/llvm/test/Transforms/ConstProp/ |
D | phi.ll | 8 br i1 %B, label %BB1, label %BB3 10 BB1: ; preds = %BB0 13 BB3: ; preds = %BB1, %BB0 14 %Ret = phi i32 [ 1, %BB0 ], [ 1, %BB1 ] ; <i32> [#uses=1]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/ConstProp/ |
D | phi.ll | 8 br i1 %B, label %BB1, label %BB3 10 BB1: ; preds = %BB0 13 BB3: ; preds = %BB1, %BB0 14 %Ret = phi i32 [ 1, %BB0 ], [ 1, %BB1 ] ; <i32> [#uses=1]
|