/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Sparc/ |
D | sparc-ctrl-instructions.s | 47 ! CHECK: ba .BB0 ! encoding: [0x10,0b10AAAAAA,A,A] 48 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 49 ba .BB0 51 ! CHECK: bne .BB0 ! encoding: [0x12,0b10AAAAAA,A,A] 52 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 53 bne .BB0 55 ! CHECK: bne .BB0 ! encoding: [0x12,0b10AAAAAA,A,A] 56 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 57 bnz .BB0 59 ! CHECK: be .BB0 ! encoding: [0x02,0b10AAAAAA,A,A] [all …]
|
D | sparc64-ctrl-instructions.s | 4 ! CHECK: bne %xcc, .BB0 ! encoding: [0x12,0b01101AAA,A,A] 5 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19 6 bne %xcc, .BB0 8 ! CHECK: be %xcc, .BB0 ! encoding: [0x02,0b01101AAA,A,A] 9 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19 10 be %xcc, .BB0 12 ! CHECK: bg %xcc, .BB0 ! encoding: [0x14,0b01101AAA,A,A] 13 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19 14 bg %xcc, .BB0 16 ! CHECK: ble %xcc, .BB0 ! encoding: [0x04,0b01101AAA,A,A] [all …]
|
/external/llvm/test/MC/Sparc/ |
D | sparc-ctrl-instructions.s | 47 ! CHECK: ba .BB0 ! encoding: [0x10,0b10AAAAAA,A,A] 48 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 49 ba .BB0 51 ! CHECK: bne .BB0 ! encoding: [0x12,0b10AAAAAA,A,A] 52 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 53 bne .BB0 55 ! CHECK: bne .BB0 ! encoding: [0x12,0b10AAAAAA,A,A] 56 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 57 bnz .BB0 59 ! CHECK: be .BB0 ! encoding: [0x02,0b10AAAAAA,A,A] [all …]
|
D | sparc64-ctrl-instructions.s | 4 ! CHECK: bne %xcc, .BB0 ! encoding: [0x12,0b01101AAA,A,A] 5 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19 6 bne %xcc, .BB0 8 ! CHECK: be %xcc, .BB0 ! encoding: [0x02,0b01101AAA,A,A] 9 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19 10 be %xcc, .BB0 12 ! CHECK: bg %xcc, .BB0 ! encoding: [0x14,0b01101AAA,A,A] 13 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19 14 bg %xcc, .BB0 16 ! CHECK: ble %xcc, .BB0 ! encoding: [0x04,0b01101AAA,A,A] [all …]
|
D | sparc-little-endian.s | 5 .BB0: label 15 ! CHECK: ba .BB0 ! encoding: [A,A,0b10AAAAAA,0x10] 16 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 18 ba .BB0
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | DeferredDominanceTest.cpp | 59 BasicBlock *BB0 = &*FI++; in TEST() local 66 DDT.deleteEdge(BB0, BB0); in TEST() 73 Updates.push_back({DominatorTree::Delete, BB0, BB3}); in TEST() 74 Updates.push_back({DominatorTree::Delete, BB0, BB3}); in TEST() 79 Updates.push_back({DominatorTree::Delete, BB0, BB1}); in TEST() 82 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 4u); in TEST() 83 BB0->getTerminator()->eraseFromParent(); in TEST() 84 BranchInst::Create(BB1, BB2, ConstantInt::getTrue(F->getContext()), BB0); in TEST() 85 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 2u); in TEST() 134 BasicBlock *BB0 = &*FI++; in TEST() local [all …]
|
D | DomTreeUpdaterTest.cpp | 68 BasicBlock *BB0 = &*FI++; in TEST() local 72 SwitchInst *SI = dyn_cast<SwitchInst>(BB0->getTerminator()); in TEST() 75 DTU.insertEdgeRelaxed(BB0, BB0); in TEST() 76 DTU.deleteEdgeRelaxed(BB0, BB0); in TEST() 82 Updates.push_back({DominatorTree::Delete, BB0, BB3}); in TEST() 83 Updates.push_back({DominatorTree::Delete, BB0, BB3}); in TEST() 88 Updates.push_back({DominatorTree::Delete, BB0, BB1}); in TEST() 91 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 3u); in TEST() 92 BB3->removePredecessor(BB0); in TEST() 99 EXPECT_EQ(BB0->getTerminator()->getNumSuccessors(), 2u); in TEST() [all …]
|
D | DominatorTreeTest.cpp | 80 BasicBlock *BB0 = &*FI++; in TEST() local 81 BasicBlock::iterator BBI = BB0->begin(); in TEST() 105 EXPECT_TRUE(DT->isReachableFromEntry(BB0)); in TEST() 112 EXPECT_TRUE(DT->dominates(BB0, BB0)); in TEST() 113 EXPECT_TRUE(DT->dominates(BB0, BB1)); in TEST() 114 EXPECT_TRUE(DT->dominates(BB0, BB2)); in TEST() 115 EXPECT_TRUE(DT->dominates(BB0, BB3)); in TEST() 116 EXPECT_TRUE(DT->dominates(BB0, BB4)); in TEST() 118 EXPECT_FALSE(DT->dominates(BB1, BB0)); in TEST() 124 EXPECT_FALSE(DT->dominates(BB2, BB0)); in TEST() [all …]
|
/external/llvm/unittests/IR/ |
D | DominatorTreeTest.cpp | 36 BasicBlock *BB0 = &*FI++; in runOnFunction() local 37 BasicBlock::iterator BBI = BB0->begin(); in runOnFunction() 61 EXPECT_TRUE(DT->isReachableFromEntry(BB0)); in runOnFunction() 68 EXPECT_TRUE(DT->dominates(BB0, BB0)); in runOnFunction() 69 EXPECT_TRUE(DT->dominates(BB0, BB1)); in runOnFunction() 70 EXPECT_TRUE(DT->dominates(BB0, BB2)); in runOnFunction() 71 EXPECT_TRUE(DT->dominates(BB0, BB3)); in runOnFunction() 72 EXPECT_TRUE(DT->dominates(BB0, BB4)); in runOnFunction() 74 EXPECT_FALSE(DT->dominates(BB1, BB0)); in runOnFunction() 80 EXPECT_FALSE(DT->dominates(BB2, BB0)); in runOnFunction() [all …]
|
/external/llvm/test/CodeGen/Mips/ |
D | atomic.ll | 37 ; O0: $[[BB0:[A-Z_0-9]+]]: 41 ; ALL: $[[BB0:[A-Z_0-9]+]]: 45 ; NOT-MICROMIPS: beqz $[[R4]], $[[BB0]] 46 ; MICROMIPS: beqzc $[[R4]], $[[BB0]] 47 ; MIPSR6: beqzc $[[R4]], $[[BB0]] 62 ; ALL: $[[BB0:[A-Z_0-9]+]]: 67 ; NOT-MICROMIPS: beqz $[[R2]], $[[BB0]] 68 ; MICROMIPS: beqzc $[[R2]], $[[BB0]] 69 ; MIPSR6: beqzc $[[R2]], $[[BB0]] 85 ; ALL: $[[BB0:[A-Z_0-9]+]]: [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] 14 BB0: 22 ; Make sure we can eliminate what is in BB0 as we know that the indirectbr is going to BB1 34 indirectbr i8* %b, [label %BB0, label %BB1] 35 BB0: 43 ; Make sure we can not eliminate BB0 as we do not know the target of the indirectbr. 51 indirectbr i8* %t, [label %BB0, label %BB1] 52 BB0: 67 indirectbr i8* undef, [label %BB0, label %BB1] [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | ProfileSummaryInfoTest.cpp | 117 BasicBlock &BB0 = F->getEntryBlock(); in TEST_F() local 118 BasicBlock *BB1 = BB0.getTerminator()->getSuccessor(0); in TEST_F() 121 EXPECT_FALSE(PSI.isHotBB(&BB0, &BFI)); in TEST_F() 122 EXPECT_FALSE(PSI.isColdBB(&BB0, &BFI)); in TEST_F() 153 BasicBlock &BB0 = F->getEntryBlock(); in TEST_F() local 154 BasicBlock *BB1 = BB0.getTerminator()->getSuccessor(0); in TEST_F() 155 BasicBlock *BB2 = BB0.getTerminator()->getSuccessor(1); in TEST_F() 159 EXPECT_TRUE(PSI.isHotBB(&BB0, &BFI)); in TEST_F() 185 BasicBlock &BB0 = F->getEntryBlock(); in TEST_F() local 186 BasicBlock *BB1 = BB0.getTerminator()->getSuccessor(0); in TEST_F() [all …]
|
D | BlockFrequencyInfoTest.cpp | 64 BasicBlock &BB0 = F->getEntryBlock(); in TEST_F() local 65 BasicBlock *BB1 = BB0.getTerminator()->getSuccessor(0); in TEST_F() 66 BasicBlock *BB2 = BB0.getTerminator()->getSuccessor(1); in TEST_F() 69 uint64_t BB0Freq = BFI.getBlockFreq(&BB0).getFrequency(); in TEST_F() 78 EXPECT_EQ(BFI.getBlockProfileCount(&BB0).getValue(), UINT64_C(100)); in TEST_F() 85 BFI.setBlockFreqAndScale(&BB0, BB0Freq * 2, BlocksToScale); in TEST_F() 86 EXPECT_EQ(BFI.getBlockFreq(&BB0).getFrequency(), 2 * BB0Freq); in TEST_F()
|
/external/swiftshader/third_party/LLVM/test/CodeGen/Mips/ |
D | atomic.ll | 12 ; CHECK: $[[BB0:[A-Z_0-9]+]]: 16 ; CHECK: beq $[[R2]], $zero, $[[BB0]] 26 ; CHECK: $[[BB0:[A-Z_0-9]+]]: 31 ; CHECK: beq $[[R2]], $zero, $[[BB0]] 44 ; CHECK: $[[BB0:[A-Z_0-9]+]]: 47 ; CHECK: beq $[[R2]], $zero, $[[BB0]] 60 ; CHECK: $[[BB0:[A-Z_0-9]+]]: 64 ; CHECK: beq $[[R2]], $zero, $[[BB0]] 88 ; CHECK: $[[BB0:[A-Z_0-9]+]]: 95 ; CHECK: beq $[[R14]], $zero, $[[BB0]] [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/llvm-ir/ |
D | select-int.ll | 38 ; M2: bnez $[[T0]], [[BB0:\$BB[0-9_]+]] 39 ; M3: bnez $[[T0]], [[BB0:\.LBB[0-9_]+]] 42 ; M2-M3: [[BB0]]: 74 ; M2: bnez $[[T0]], [[BB0:\$BB[0-9_]+]] 75 ; M3: bnez $[[T0]], [[BB0:\.LBB[0-9_]+]] 78 ; M2-M3: [[BB0]]: 110 ; M2: bnez $[[T0]], [[BB0:\$BB[0-9_]+]] 111 ; M3: bnez $[[T0]], [[BB0:\.LBB[0-9_]+]] 114 ; M2-M3: [[BB0]]: 147 ; M2: bnez $[[T0]], $[[BB0:BB[0-9_]+]] [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SimplifyCFG/ |
D | indirectbr.ll | 6 ; CHECK: indirectbr i8* %t, [label %BB0, label %BB1, label %BB2] 7 ; CHECK: %x = phi i32 [ 0, %BB0 ], [ 1, %entry ] 16 store i8* blockaddress(@indbrtest0, %BB0), i8** %P 21 indirectbr i8* %t, [label %BB0, label %BB1, label %BB2, label %BB0, label %BB1, label %BB2] 22 BB0: 26 %x = phi i32 [ 0, %BB0 ], [ 1, %entry ], [ 1, %entry ] 39 ; CHECK: br label %BB0 43 store i8* blockaddress(@indbrtest1, %BB0), i8** %P 46 indirectbr i8* %t, [label %BB0, label %BB0] 47 BB0: [all …]
|
/external/llvm/test/Transforms/SimplifyCFG/ |
D | indirectbr.ll | 6 ; CHECK: indirectbr i8* %t, [label %BB0, label %BB1, label %BB2] 7 ; CHECK: %x = phi i32 [ 0, %BB0 ], [ 1, %entry ] 16 store i8* blockaddress(@indbrtest0, %BB0), i8** %P 21 indirectbr i8* %t, [label %BB0, label %BB1, label %BB2, label %BB0, label %BB1, label %BB2] 22 BB0: 26 %x = phi i32 [ 0, %BB0 ], [ 1, %entry ], [ 1, %entry ] 39 ; CHECK: br label %BB0 43 store i8* blockaddress(@indbrtest1, %BB0), i8** %P 46 indirectbr i8* %t, [label %BB0, label %BB0] 47 BB0: [all …]
|
/external/swiftshader/third_party/LLVM/test/Transforms/SimplifyCFG/ |
D | indirectbr.ll | 6 ; CHECK: indirectbr i8* %t, [label %BB0, label %BB1, label %BB2] 7 ; CHECK: %x = phi i32 [ 0, %BB0 ], [ 1, %entry ] 16 store i8* blockaddress(@indbrtest0, %BB0), i8** %P 21 indirectbr i8* %t, [label %BB0, label %BB1, label %BB2, label %BB0, label %BB1, label %BB2] 22 BB0: 26 %x = phi i32 [ 0, %BB0 ], [ 1, %entry ], [ 1, %entry ] 39 ; CHECK: br label %BB0 43 store i8* blockaddress(@indbrtest1, %BB0), i8** %P 46 indirectbr i8* %t, [label %BB0, label %BB0] 47 BB0: [all …]
|
/external/llvm/unittests/Analysis/ |
D | BlockFrequencyInfoTest.cpp | 65 BasicBlock &BB0 = F->getEntryBlock(); in TEST_F() local 66 BasicBlock *BB1 = BB0.getTerminator()->getSuccessor(0); in TEST_F() 67 BasicBlock *BB2 = BB0.getTerminator()->getSuccessor(1); in TEST_F() 70 uint64_t BB0Freq = BFI.getBlockFreq(&BB0).getFrequency(); in TEST_F() 79 EXPECT_EQ(BFI.getBlockProfileCount(&BB0).getValue(), UINT64_C(100)); in TEST_F()
|
/external/llvm/test/Transforms/ConstProp/ |
D | phi.ll | 7 BB0: 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 | 7 BB0: 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/test/Transforms/ConstProp/ |
D | phi.ll | 7 BB0: 10 BB1: ; preds = %BB0 13 BB3: ; preds = %BB1, %BB0 14 %Ret = phi i32 [ 1, %BB0 ], [ 1, %BB1 ] ; <i32> [#uses=1]
|
/external/llvm/test/CodeGen/Mips/llvm-ir/ |
D | select-dbl.ll | 37 ; M2: bnez $[[T0]], $[[BB0:BB[0-9_]+]] 42 ; M2: $[[BB0]]: 61 ; M3: bnez $[[T0]], $[[BB0:BB[0-9_]+]] 64 ; M3: $[[BB0]]: 92 ; M2: bnez $[[T1]], $[[BB0:BB[0-9_]+]] 95 ; M2: $[[BB0]]: 109 ; M3: bnez $[[T0]], $[[BB0:BB[0-9_]+]] 112 ; M3: $[[BB0]]: 138 ; M2-M3: bc1t $[[BB0:BB[0-9_]+]] 142 ; M2-M3: $[[BB0]]: [all …]
|
D | select-int.ll | 38 ; M2-M3: bnez $[[T0]], $[[BB0:BB[0-9_]+]] 41 ; M2-M3: $[[BB0]]: 73 ; M2-M3: bnez $[[T0]], $[[BB0:BB[0-9_]+]] 76 ; M2-M3: $[[BB0]]: 108 ; M2-M3: bnez $[[T0]], $[[BB0:BB[0-9_]+]] 111 ; M2-M3: $[[BB0]]: 143 ; M2: bnez $[[T0]], $[[BB0:BB[0-9_]+]] 146 ; M2: $[[BB0]]: 173 ; M3: bnez $[[T0]], $[[BB0:BB[0-9_]+]] 176 ; M3: $[[BB0]]: [all …]
|
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/ |
D | phi.ll | 8 BB0: 13 %B = phi i32 [ %A, %BB0 ] 24 BB0: 32 %B = phi i32 [ %A, %BB0 ], [ %A, %BB1 ] 40 BB0: 45 %B = phi i32 [ %A, %BB0 ], [ %B, %Loop ] 56 BB0: 73 BB0: 76 Loop: ; preds = %Loop, %BB0 78 %B = phi i32 [ %A, %BB0 ], [ undef, %Loop ] [all …]
|