Home
last modified time | relevance | path

Searched refs:successors (Results 1 – 25 of 200) sorted by relevance

12345678

/external/mesa3d/src/compiler/nir/tests/
Dcontrol_flow_tests.cpp88 EXPECT_EQ(block_1, block_0->successors[0]); in TEST_F()
89 EXPECT_EQ(NULL, block_0->successors[1]); in TEST_F()
90 EXPECT_EQ(block_2, block_1->successors[0]); in TEST_F()
91 EXPECT_EQ(NULL, block_1->successors[1]); in TEST_F()
92 EXPECT_EQ(block_3, block_2->successors[0]); in TEST_F()
93 EXPECT_EQ(NULL, block_2->successors[1]); in TEST_F()
94 EXPECT_EQ(NULL, block_3->successors[0]); in TEST_F()
95 EXPECT_EQ(NULL, block_3->successors[1]); in TEST_F()
130 EXPECT_EQ(block_1, block_0->successors[0]); in TEST_F()
131 EXPECT_EQ(NULL, block_0->successors[1]); in TEST_F()
[all …]
/external/r8/src/main/java/com/android/tools/r8/ir/code/
DBasicBlock.java79 private final List<BasicBlock> successors = new ArrayList<>(); field in BasicBlock
112 return successors; in getSuccessors()
117 return successors; in getNormalSucessors()
121 for (int i = 0; i < successors.size(); i++) { in getNormalSucessors()
123 normals.add(successors.get(i)); in getNormalSucessors()
144 int index = successors.indexOf(block); in removeSuccessor()
183 BasicBlock tmp = successors.get(x); in swapSuccessors()
184 successors.set(x, successors.get(y)); in swapSuccessors()
185 successors.set(y, tmp); in swapSuccessors()
189 assert successors.contains(block) : "attempt to replace non-existent successor"; in replaceSuccessor()
[all …]
DIf.java87 List<BasicBlock> successors = getBlock().getSuccessors(); in getTrueTarget() local
88 assert successors.size() >= 2; in getTrueTarget()
89 return successors.get(successors.size() - 2); in getTrueTarget()
94 List<BasicBlock> successors = getBlock().getSuccessors(); in setTrueTarget() local
95 assert successors.size() >= 2; in setTrueTarget()
96 successors.set(successors.size() - 2, block); in setTrueTarget()
102 List<BasicBlock> successors = getBlock().getSuccessors(); in fallthroughBlock() local
103 assert successors.size() >= 2; in fallthroughBlock()
104 return successors.get(successors.size() - 1); in fallthroughBlock()
109 List<BasicBlock> successors = getBlock().getSuccessors(); in setFallthroughBlock() local
[all …]
DGoto.java23 List<BasicBlock> successors = getBlock().getSuccessors(); in getTarget() local
24 assert successors.size() >= 1; in getTarget()
25 return successors.get(successors.size() - 1); in getTarget()
30 List<BasicBlock> successors = getBlock().getSuccessors(); in setTarget() local
31 assert successors.size() >= 1; in setTarget()
32 BasicBlock target = successors.get(successors.size() - 1); in setTarget()
34 successors.set(successors.size() - 1, nextBlock); in setTarget()
/external/mesa3d/src/compiler/nir/
Dnir_control_flow.c74 pred->successors[0] = succ1; in link_blocks()
78 pred->successors[1] = succ2; in link_blocks()
86 if (pred->successors[0] == succ) { in unlink_blocks()
87 pred->successors[0] = pred->successors[1]; in unlink_blocks()
88 pred->successors[1] = NULL; in unlink_blocks()
90 assert(pred->successors[1] == succ); in unlink_blocks()
91 pred->successors[1] = NULL; in unlink_blocks()
100 if (block->successors[1] != NULL) in unlink_block_successors()
101 unlink_blocks(block, block->successors[1]); in unlink_block_successors()
102 if (block->successors[0] != NULL) in unlink_block_successors()
[all …]
Dnir_validate.c675 validate_assert(state, block->successors[0] != NULL); in validate_block()
676 validate_assert(state, block->successors[0] != block->successors[1]); in validate_block()
679 if (block->successors[i] != NULL) { in validate_block()
681 _mesa_set_search(block->successors[i]->predecessors, block); in validate_block()
684 validate_phi_srcs(block, block->successors[i], state); in validate_block()
691 validate_assert(state, pred->successors[0] == block || in validate_block()
692 pred->successors[1] == block); in validate_block()
697 validate_assert(state, block->successors[1] == NULL); in validate_block()
703 validate_assert(state, block->successors[0] == after); in validate_block()
709 validate_assert(state, block->successors[0] == first); in validate_block()
[all …]
Dnir_dominance.c296 if (block->successors[0]) in nir_dump_cfg_impl()
297 fprintf(fp, "\t%u -> %u\n", block->index, block->successors[0]->index); in nir_dump_cfg_impl()
298 if (block->successors[1]) in nir_dump_cfg_impl()
299 fprintf(fp, "\t%u -> %u\n", block->index, block->successors[1]->index); in nir_dump_cfg_impl()
/external/llvm/test/CodeGen/MIR/X86/
Dsuccessor-basic-blocks.mir2 # This test ensures that the MIR parser parses basic block successors correctly.
35 …; CHECK: successors: %bb.1.less(0x40000000 / 0x80000000 = 50.00%), %bb.2.exit(0x40000000 /…
38 successors: %bb.1.less, %bb.2.exit
58 ; Verify that we can have multiple lists of successors that will be merged
61 …; CHECK: successors: %bb.1(0x80000000 / 0x80000000 = 100.00%), %bb.2(0x00000000 / 0x800000…
64 successors: %bb.1
65 successors: %bb.2
70 ; Verify that we can have an empty list of successors.
74 successors:
Dsuccessor-basic-blocks-weights.mir2 # This test ensures that the MIR parser parses basic block successors and
24 …; CHECK: successors: %bb.1.less({{[0-9a-fx/= ]+}}33.00%), %bb.2.exit({{[0-9a-fx/= ]+}}67.0…
27 successors: %bb.1.less (33), %bb.2.exit(67)
Dnewline-handling.mir38 # CHECK-NEXT: successors: %bb.1.less(0x40000000 / 0x80000000 = 50.00%), %bb.2.exit(0x40000000 / 0x8…
53 successors: %bb.1.less, %bb.2.exit
82 # CHECK-NEXT: successors: %bb.1.less(0x40000000 / 0x80000000 = 50.00%), %bb.2.exit(0x40000000 / 0x8…
98 successors: %bb.1.less, %bb.2.exit
Djump-table-info.mir73 successors: %bb.2.def, %bb.1.entry
80 successors: %bb.3.lbl1, %bb.4.lbl2, %bb.5.lbl3, %bb.6.lbl4
116 successors: %bb.2.def, %bb.1.entry
123 successors: %bb.3.lbl1, %bb.4.lbl2, %bb.5.lbl3, %bb.6.lbl4
Dblock-address-operands.mir59 successors: %bb.1.block
73 successors: %bb.1
99 successors: %bb.1
113 successors: %bb.1.block
Dframe-info-save-restore-points.mir45 successors: %bb.2.true, %bb.1
53 successors: %bb.3.false
59 successors: %bb.3.false
Dexpected-named-register-in-callee-saved-register.mir57 successors: %bb.1.check
66 successors: %bb.2.loop, %bb.3.exit
74 successors: %bb.1.check
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DLabel.java77 IntList successors = new IntList(); in toBasicBlock() local
79 successors.add(catchLabel.id); in toBasicBlock()
83 successors.add(primarySuccessorIndex); in toBasicBlock()
86 successors.add(alternateSuccessor.id); in toBasicBlock()
88 successors.setImmutable(); in toBasicBlock()
90 return new BasicBlock(id, result, successors, primarySuccessorIndex); in toBasicBlock()
/external/v8/src/compiler/
Dframe-elider.cc53 for (RpoNumber& succ : block->successors()) { in MarkDeConstruction()
71 for (RpoNumber& succ : block->successors()) { in MarkDeConstruction()
106 if (block->successors().empty()) return false; in PropagateIntoBlock()
123 InstructionBlockAt(block->successors()[0])->needs_frame(); in PropagateIntoBlock()
130 for (RpoNumber& succ : block->successors()) { in PropagateIntoBlock()
Dschedule.cc345 split_edge_block->successors().push_back(block); in EnsureSplitEdgeForm()
352 for (auto successor = pred->successors().begin(); in EnsureSplitEdgeForm()
353 successor != pred->successors().end(); ++successor) { in EnsureSplitEdgeForm()
386 merger->successors().push_back(block); in EnsureDeferredCodeSingleEntryPoint()
391 pred->successors().clear(); in EnsureDeferredCodeSingleEntryPoint()
392 pred->successors().push_back(merger); in EnsureDeferredCodeSingleEntryPoint()
430 for (BasicBlock* const successor : from->successors()) { in MoveSuccessors()
494 for (BasicBlock const* successor : block->successors()) { in operator <<()
/external/llvm/test/CodeGen/X86/
Dupdate-terminator.mir36 successors: %bb.1(50), %bb.3(50)
41 successors: %bb.2(100)
46 successors: %bb.4(100)
51 successors: %bb.2(100)
Dimplicit-null-checks.mir101 successors: %bb.3.is_null, %bb.1.not_null
108 successors: %bb.4.ret_100, %bb.2.ret_200
147 successors: %bb.3.is_null, %bb.1.not_null
155 successors: %bb.4.ret_100, %bb.2.ret_200
164 successors: %bb.3.is_null
194 successors: %bb.3.is_null, %bb.1.not_null
201 successors: %bb.4.ret_100, %bb.2.ret_200
239 successors: %bb.3.is_null, %bb.1.not_null
246 successors: %bb.4.ret_100, %bb.2.ret_200
/external/llvm/test/CodeGen/PowerPC/
Dopt-sub-inst-cr0-live.mir90 successors: %bb.1.loop
105 successors: %bb.2.loop, %bb.4
126 successors: %bb.3.loop
132 successors: %bb.3.loop
137 successors: %bb.1.loop
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_print.c214 if (block->successors[1]) { in print_block()
220 block_id(block->successors[0]), in print_block()
221 block_id(block->successors[1])); in print_block()
222 } else if (block->successors[0]) { in print_block()
225 block_id(block->successors[0])); in print_block()
Dir3_legalize.c279 if (!block->successors[0]) in resolve_dest_block()
289 if (block->successors[1] == NULL) { in resolve_dest_block()
291 return block->successors[0]; in resolve_dest_block()
296 return block->successors[0]; in resolve_dest_block()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyFixIrreducibleControlFlow.cpp104 const SmallVectorImpl<MachineBasicBlock *> &successors() const { in successors() function in __anonb487e03c0211::MetaBlock
118 : MetaBlock(MBB), Index(0), Num(successors().size()) {} in SuccessorList()
121 : MetaBlock(Loop), Index(0), Num(successors().size()) {} in SuccessorList()
127 return successors()[Index++]; in Next()
219 for (auto *Succ : Meta.successors()) in VisitLoop()
229 for (auto *Succ : MBB->successors()) { in VisitLoop()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir.c509 if (block->successors[1]) { in qir_dump()
511 block->successors[0]->index, in qir_dump()
512 block->successors[1]->index); in qir_dump()
513 } else if (block->successors[0]) { in qir_dump()
515 block->successors[0]->index); in qir_dump()
634 if (predecessor->successors[0]) { in qir_link_blocks()
635 assert(!predecessor->successors[1]); in qir_link_blocks()
636 predecessor->successors[1] = successor; in qir_link_blocks()
638 predecessor->successors[0] = successor; in qir_link_blocks()
/external/llvm/test/CodeGen/AArch64/
Darm64-sitofp-combine-chains.ll4 ; but not updating chain-successors of the old one. As a result, the two memory
5 ; operations in this function both ended up direct successors to the EntryToken

12345678