Lines Matching refs:graph

89   HGraph* graph = CreateCFG(data);  in Check()  local
90 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in Check()
91 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in Check()
104 HGraph* graph = CreateGraph(); in TEST_F() local
105 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in TEST_F()
328 HGraph* graph = CreateCFG(data); in Loop3() local
329 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in Loop3()
330 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in Loop3()
337 HBasicBlock* loop_header = graph->GetBlocks()[2]; in Loop3()
346 HBasicBlock* return_block = graph->GetBlocks()[3]; in Loop3()
361 HGraph* graph = CreateCFG(data); in TEST_F() local
362 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in TEST_F()
363 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in TEST_F()
366 HXor* first_xor = graph->GetBlocks()[1]->GetFirstInstruction()->AsXor(); in TEST_F()
367 HXor* last_xor = graph->GetBlocks()[1]->GetLastInstruction()->GetPrevious()->AsXor(); in TEST_F()
411 HGraph* graph = CreateCFG(data); in DeadPhi() local
412 SsaDeadPhiElimination(graph).Run(); in DeadPhi()
413 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in DeadPhi()
414 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in DeadPhi()
435 HGraph* graph = CreateCFG(data); in TEST_F() local
436 SsaDeadPhiElimination(graph).Run(); in TEST_F()
437 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in TEST_F()
438 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in TEST_F()
443 LiveInterval* unhandled = graph->GetEntryBlock()->GetFirstInstruction()->GetLiveInterval(); in TEST_F()
449 graph->GetEntryBlock()->GetFirstInstruction()); in TEST_F()
489 HGraph* graph = CreateGraph(); in BuildIfElseWithPhi() local
490 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph); in BuildIfElseWithPhi()
491 graph->AddBlock(entry); in BuildIfElseWithPhi()
492 graph->SetEntryBlock(entry); in BuildIfElseWithPhi()
494 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in BuildIfElseWithPhi()
497 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph); in BuildIfElseWithPhi()
498 graph->AddBlock(block); in BuildIfElseWithPhi()
508 graph->GetDexFile(), in BuildIfElseWithPhi()
512 HBasicBlock* then = new (GetAllocator()) HBasicBlock(graph); in BuildIfElseWithPhi()
513 HBasicBlock* else_ = new (GetAllocator()) HBasicBlock(graph); in BuildIfElseWithPhi()
514 HBasicBlock* join = new (GetAllocator()) HBasicBlock(graph); in BuildIfElseWithPhi()
515 graph->AddBlock(then); in BuildIfElseWithPhi()
516 graph->AddBlock(else_); in BuildIfElseWithPhi()
517 graph->AddBlock(join); in BuildIfElseWithPhi()
535 graph->GetDexFile(), in BuildIfElseWithPhi()
544 graph->GetDexFile(), in BuildIfElseWithPhi()
552 graph->BuildDominatorTree(); in BuildIfElseWithPhi()
553 graph->AnalyzeLoops(); in BuildIfElseWithPhi()
554 return graph; in BuildIfElseWithPhi()
562 HGraph* graph = BuildIfElseWithPhi(&phi, &input1, &input2); in PhiHint() local
563 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in PhiHint()
564 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in PhiHint()
578 HGraph* graph = BuildIfElseWithPhi(&phi, &input1, &input2); in PhiHint() local
579 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in PhiHint()
580 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in PhiHint()
596 HGraph* graph = BuildIfElseWithPhi(&phi, &input1, &input2); in PhiHint() local
597 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in PhiHint()
598 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in PhiHint()
614 HGraph* graph = BuildIfElseWithPhi(&phi, &input1, &input2); in PhiHint() local
615 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in PhiHint()
616 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in PhiHint()
639 HGraph* graph = CreateGraph(); in BuildFieldReturn() local
640 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph); in BuildFieldReturn()
641 graph->AddBlock(entry); in BuildFieldReturn()
642 graph->SetEntryBlock(entry); in BuildFieldReturn()
644 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kReference); in BuildFieldReturn()
647 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph); in BuildFieldReturn()
648 graph->AddBlock(block); in BuildFieldReturn()
658 graph->GetDexFile(), in BuildFieldReturn()
664 HBasicBlock* exit = new (GetAllocator()) HBasicBlock(graph); in BuildFieldReturn()
665 graph->AddBlock(exit); in BuildFieldReturn()
669 graph->BuildDominatorTree(); in BuildFieldReturn()
670 return graph; in BuildFieldReturn()
677 HGraph* graph = BuildFieldReturn(&field, &ret); in ExpectedInRegisterHint() local
678 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in ExpectedInRegisterHint()
679 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in ExpectedInRegisterHint()
691 HGraph* graph = BuildFieldReturn(&field, &ret); in ExpectedInRegisterHint() local
692 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in ExpectedInRegisterHint()
693 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in ExpectedInRegisterHint()
715 HGraph* graph = CreateGraph(); in BuildTwoSubs() local
716 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph); in BuildTwoSubs()
717 graph->AddBlock(entry); in BuildTwoSubs()
718 graph->SetEntryBlock(entry); in BuildTwoSubs()
720 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); in BuildTwoSubs()
723 HInstruction* constant1 = graph->GetIntConstant(1); in BuildTwoSubs()
724 HInstruction* constant2 = graph->GetIntConstant(2); in BuildTwoSubs()
726 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph); in BuildTwoSubs()
727 graph->AddBlock(block); in BuildTwoSubs()
737 graph->BuildDominatorTree(); in BuildTwoSubs()
738 return graph; in BuildTwoSubs()
745 HGraph* graph = BuildTwoSubs(&first_sub, &second_sub); in SameAsFirstInputHint() local
746 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in SameAsFirstInputHint()
747 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in SameAsFirstInputHint()
760 HGraph* graph = BuildTwoSubs(&first_sub, &second_sub); in SameAsFirstInputHint() local
761 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in SameAsFirstInputHint()
762 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in SameAsFirstInputHint()
787 HGraph* graph = CreateGraph(); in BuildDiv() local
788 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph); in BuildDiv()
789 graph->AddBlock(entry); in BuildDiv()
790 graph->SetEntryBlock(entry); in BuildDiv()
792 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); in BuildDiv()
794 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); in BuildDiv()
798 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph); in BuildDiv()
799 graph->AddBlock(block); in BuildDiv()
808 graph->BuildDominatorTree(); in BuildDiv()
809 return graph; in BuildDiv()
814 HGraph* graph = BuildDiv(&div); in ExpectedExactInRegisterAndSameOutputHint() local
815 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in ExpectedExactInRegisterAndSameOutputHint()
816 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in ExpectedExactInRegisterAndSameOutputHint()
840 HGraph* graph = CreateGraph(); in TEST_F() local
841 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph); in TEST_F()
842 graph->AddBlock(entry); in TEST_F()
843 graph->SetEntryBlock(entry); in TEST_F()
845 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); in TEST_F()
847 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); in TEST_F()
849 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); in TEST_F()
851 graph->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32); in TEST_F()
857 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph); in TEST_F()
858 graph->AddBlock(block); in TEST_F()
913 x86::CodeGeneratorX86 codegen(graph, *compiler_options_); in TEST_F()
914 SsaLivenessAnalysis liveness(graph, &codegen, GetScopedAllocator()); in TEST_F()