Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dgraph_test.cc234 HIf* if_instr = if_block->GetLastInstruction()->AsIf(); in TEST() local
236 ASSERT_EQ(if_instr->IfFalseSuccessor(), return_block); in TEST()
242 ASSERT_EQ(if_instr->IfTrueSuccessor()->GetSuccessors().Size(), 1u); in TEST()
243 ASSERT_EQ(if_instr->IfTrueSuccessor()->GetSuccessors().Get(0), in TEST()
273 HIf* if_instr = if_block->GetLastInstruction()->AsIf(); in TEST() local
275 ASSERT_EQ(if_instr->IfTrueSuccessor(), return_block); in TEST()
281 ASSERT_EQ(if_instr->IfFalseSuccessor()->GetSuccessors().Size(), 1u); in TEST()
282 ASSERT_EQ(if_instr->IfFalseSuccessor()->GetSuccessors().Get(0), in TEST()
Dcode_generator_x86_64.cc386 void LocationsBuilderX86_64::VisitIf(HIf* if_instr) { in VisitIf() argument
387 LocationSummary* locations = new (GetGraph()->GetArena()) LocationSummary(if_instr); in VisitIf()
388 HInstruction* cond = if_instr->InputAt(0); in VisitIf()
394 if_instr->SetLocations(locations); in VisitIf()
397 void InstructionCodeGeneratorX86_64::VisitIf(HIf* if_instr) { in VisitIf() argument
398 HInstruction* cond = if_instr->InputAt(0); in VisitIf()
403 Location lhs = if_instr->GetLocations()->InAt(0); in VisitIf()
409 __ j(kEqual, codegen_->GetLabelOf(if_instr->IfTrueSuccessor())); in VisitIf()
422 codegen_->GetLabelOf(if_instr->IfTrueSuccessor())); in VisitIf()
424 if (!codegen_->GoesToNextBlock(if_instr->GetBlock(), if_instr->IfFalseSuccessor())) { in VisitIf()
[all …]
Dcode_generator_arm.cc547 void LocationsBuilderARM::VisitIf(HIf* if_instr) { in VisitIf() argument
548 LocationSummary* locations = new (GetGraph()->GetArena()) LocationSummary(if_instr); in VisitIf()
549 HInstruction* cond = if_instr->InputAt(0); in VisitIf()
555 if_instr->SetLocations(locations); in VisitIf()
558 void InstructionCodeGeneratorARM::VisitIf(HIf* if_instr) { in VisitIf() argument
559 HInstruction* cond = if_instr->InputAt(0); in VisitIf()
564 DCHECK(if_instr->GetLocations()->InAt(0).IsRegister()); in VisitIf()
565 __ cmp(if_instr->GetLocations()->InAt(0).AsArm().AsCoreRegister(), in VisitIf()
567 __ b(codegen_->GetLabelOf(if_instr->IfTrueSuccessor()), EQ); in VisitIf()
587 __ b(codegen_->GetLabelOf(if_instr->IfTrueSuccessor()), in VisitIf()
[all …]
Dcode_generator_x86.cc505 void LocationsBuilderX86::VisitIf(HIf* if_instr) { in VisitIf() argument
506 LocationSummary* locations = new (GetGraph()->GetArena()) LocationSummary(if_instr); in VisitIf()
507 HInstruction* cond = if_instr->InputAt(0); in VisitIf()
513 if_instr->SetLocations(locations); in VisitIf()
516 void InstructionCodeGeneratorX86::VisitIf(HIf* if_instr) { in VisitIf() argument
517 HInstruction* cond = if_instr->InputAt(0); in VisitIf()
522 Location lhs = if_instr->GetLocations()->InAt(0); in VisitIf()
528 __ j(kEqual, codegen_->GetLabelOf(if_instr->IfTrueSuccessor())); in VisitIf()
543 codegen_->GetLabelOf(if_instr->IfTrueSuccessor())); in VisitIf()
545 if (!codegen_->GoesToNextBlock(if_instr->GetBlock(), if_instr->IfFalseSuccessor())) { in VisitIf()
[all …]