Home
last modified time | relevance | path

Searched refs:if_instr (Results 1 – 7 of 7) sorted by relevance

/art/compiler/optimizing/
Dgraph_test.cc229 HIf* if_instr = if_block->GetLastInstruction()->AsIf(); in TEST_F() local
231 ASSERT_EQ(if_instr->IfFalseSuccessor(), return_block); in TEST_F()
237 ASSERT_EQ(if_instr->IfTrueSuccessor()->GetSuccessors().size(), 1u); in TEST_F()
238 ASSERT_EQ(if_instr->IfTrueSuccessor()->GetSuccessors()[0], in TEST_F()
264 HIf* if_instr = if_block->GetLastInstruction()->AsIf(); in TEST_F() local
266 ASSERT_EQ(if_instr->IfTrueSuccessor(), return_block); in TEST_F()
272 ASSERT_EQ(if_instr->IfFalseSuccessor()->GetSuccessors().size(), 1u); in TEST_F()
273 ASSERT_EQ(if_instr->IfFalseSuccessor()->GetSuccessors()[0], in TEST_F()
Dcode_generator_arm64.cc3251 void LocationsBuilderARM64::VisitIf(HIf* if_instr) { in VisitIf() argument
3252 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(if_instr); in VisitIf()
3253 if (IsBooleanValueOrMaterializedCondition(if_instr->InputAt(0))) { in VisitIf()
3258 void InstructionCodeGeneratorARM64::VisitIf(HIf* if_instr) { in VisitIf() argument
3259 HBasicBlock* true_successor = if_instr->IfTrueSuccessor(); in VisitIf()
3260 HBasicBlock* false_successor = if_instr->IfFalseSuccessor(); in VisitIf()
3262 if (codegen_->GoesToNextBlock(if_instr->GetBlock(), true_successor)) { in VisitIf()
3266 if (codegen_->GoesToNextBlock(if_instr->GetBlock(), false_successor)) { in VisitIf()
3269 GenerateTestAndBranch(if_instr, /* condition_input_index= */ 0, true_target, false_target); in VisitIf()
Dcode_generator_mips64.cc4471 void LocationsBuilderMIPS64::VisitIf(HIf* if_instr) { in VisitIf() argument
4472 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(if_instr); in VisitIf()
4473 if (IsBooleanValueOrMaterializedCondition(if_instr->InputAt(0))) { in VisitIf()
4478 void InstructionCodeGeneratorMIPS64::VisitIf(HIf* if_instr) { in VisitIf() argument
4479 HBasicBlock* true_successor = if_instr->IfTrueSuccessor(); in VisitIf()
4480 HBasicBlock* false_successor = if_instr->IfFalseSuccessor(); in VisitIf()
4481 Mips64Label* true_target = codegen_->GoesToNextBlock(if_instr->GetBlock(), true_successor) ? in VisitIf()
4483 Mips64Label* false_target = codegen_->GoesToNextBlock(if_instr->GetBlock(), false_successor) ? in VisitIf()
4485 GenerateTestAndBranch(if_instr, /* condition_input_index= */ 0, true_target, false_target); in VisitIf()
Dcode_generator_x86_64.cc1787 void LocationsBuilderX86_64::VisitIf(HIf* if_instr) { in VisitIf() argument
1788 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(if_instr); in VisitIf()
1789 if (IsBooleanValueOrMaterializedCondition(if_instr->InputAt(0))) { in VisitIf()
1794 void InstructionCodeGeneratorX86_64::VisitIf(HIf* if_instr) { in VisitIf() argument
1795 HBasicBlock* true_successor = if_instr->IfTrueSuccessor(); in VisitIf()
1796 HBasicBlock* false_successor = if_instr->IfFalseSuccessor(); in VisitIf()
1797 Label* true_target = codegen_->GoesToNextBlock(if_instr->GetBlock(), true_successor) ? in VisitIf()
1799 Label* false_target = codegen_->GoesToNextBlock(if_instr->GetBlock(), false_successor) ? in VisitIf()
1801 GenerateTestAndBranch(if_instr, /* condition_input_index= */ 0, true_target, false_target); in VisitIf()
Dcode_generator_x86.cc1709 void LocationsBuilderX86::VisitIf(HIf* if_instr) { in VisitIf() argument
1710 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(if_instr); in VisitIf()
1711 if (IsBooleanValueOrMaterializedCondition(if_instr->InputAt(0))) { in VisitIf()
1716 void InstructionCodeGeneratorX86::VisitIf(HIf* if_instr) { in VisitIf() argument
1717 HBasicBlock* true_successor = if_instr->IfTrueSuccessor(); in VisitIf()
1718 HBasicBlock* false_successor = if_instr->IfFalseSuccessor(); in VisitIf()
1719 Label* true_target = codegen_->GoesToNextBlock(if_instr->GetBlock(), true_successor) ? in VisitIf()
1721 Label* false_target = codegen_->GoesToNextBlock(if_instr->GetBlock(), false_successor) ? in VisitIf()
1723 GenerateTestAndBranch(if_instr, /* condition_input_index= */ 0, true_target, false_target); in VisitIf()
Dcode_generator_arm_vixl.cc2597 void LocationsBuilderARMVIXL::VisitIf(HIf* if_instr) { in VisitIf() argument
2598 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(if_instr); in VisitIf()
2599 if (IsBooleanValueOrMaterializedCondition(if_instr->InputAt(0))) { in VisitIf()
2604 void InstructionCodeGeneratorARMVIXL::VisitIf(HIf* if_instr) { in VisitIf() argument
2605 HBasicBlock* true_successor = if_instr->IfTrueSuccessor(); in VisitIf()
2606 HBasicBlock* false_successor = if_instr->IfFalseSuccessor(); in VisitIf()
2607 vixl32::Label* true_target = codegen_->GoesToNextBlock(if_instr->GetBlock(), true_successor) ? in VisitIf()
2609 vixl32::Label* false_target = codegen_->GoesToNextBlock(if_instr->GetBlock(), false_successor) ? in VisitIf()
2611 GenerateTestAndBranch(if_instr, /* condition_input_index= */ 0, true_target, false_target); in VisitIf()
Dcode_generator_mips.cc5937 void LocationsBuilderMIPS::VisitIf(HIf* if_instr) { in VisitIf() argument
5938 LocationSummary* locations = new (GetGraph()->GetAllocator()) LocationSummary(if_instr); in VisitIf()
5939 if (IsBooleanValueOrMaterializedCondition(if_instr->InputAt(0))) { in VisitIf()
5944 void InstructionCodeGeneratorMIPS::VisitIf(HIf* if_instr) { in VisitIf() argument
5945 HBasicBlock* true_successor = if_instr->IfTrueSuccessor(); in VisitIf()
5946 HBasicBlock* false_successor = if_instr->IfFalseSuccessor(); in VisitIf()
5947 MipsLabel* true_target = codegen_->GoesToNextBlock(if_instr->GetBlock(), true_successor) ? in VisitIf()
5949 MipsLabel* false_target = codegen_->GoesToNextBlock(if_instr->GetBlock(), false_successor) ? in VisitIf()
5951 GenerateTestAndBranch(if_instr, /* condition_input_index= */ 0, true_target, false_target); in VisitIf()