Lines Matching refs:graph

41   HGraph* graph = CreateCFG(&allocator, data);
44 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions());
45 SsaLivenessAnalysis liveness(graph, &codegen);
59 HGraph* graph = CreateGraph(&allocator);
62 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions());
150 * Which becomes the following graph:
174 * Which becomes the following graph:
213 * Which becomes the following graph:
263 * Which becomes the following graph:
292 HGraph* graph = CreateCFG(&allocator, data);
295 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions());
296 SsaLivenessAnalysis liveness(graph, &codegen);
302 HBasicBlock* loop_header = graph->GetBlocks()[2];
311 HBasicBlock* return_block = graph->GetBlocks()[3];
326 HGraph* graph = CreateCFG(&allocator, data);
329 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions());
330 SsaLivenessAnalysis liveness(graph, &codegen);
333 HXor* first_xor = graph->GetBlocks()[1]->GetFirstInstruction()->AsXor();
334 HXor* last_xor = graph->GetBlocks()[1]->GetLastInstruction()->GetPrevious()->AsXor();
380 HGraph* graph = CreateCFG(&allocator, data);
381 SsaDeadPhiElimination(graph).Run();
384 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions());
385 SsaLivenessAnalysis liveness(graph, &codegen);
404 HGraph* graph = CreateCFG(&allocator, data);
405 SsaDeadPhiElimination(graph).Run();
408 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions());
409 SsaLivenessAnalysis liveness(graph, &codegen);
414 LiveInterval* unhandled = graph->GetEntryBlock()->GetFirstInstruction()->GetLiveInterval();
420 graph->GetEntryBlock()->GetFirstInstruction());
460 HGraph* graph = CreateGraph(allocator);
461 HBasicBlock* entry = new (allocator) HBasicBlock(graph);
463 graph->AddBlock(entry);
464 graph->SetEntryBlock(entry);
466 graph->GetDexFile(), 0, 0, Primitive::kPrimNot);
469 HBasicBlock* block = new (allocator) HBasicBlock(graph);
470 graph->AddBlock(block);
479 graph->GetDexFile(),
484 HBasicBlock* then = new (allocator) HBasicBlock(graph);
485 HBasicBlock* else_ = new (allocator) HBasicBlock(graph);
486 HBasicBlock* join = new (allocator) HBasicBlock(graph);
487 graph->AddBlock(then);
488 graph->AddBlock(else_);
489 graph->AddBlock(join);
506 graph->GetDexFile(),
515 graph->GetDexFile(),
524 graph->BuildDominatorTree();
525 graph->AnalyzeLoops();
526 return graph;
536 HGraph* graph = BuildIfElseWithPhi(&allocator, &phi, &input1, &input2);
539 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions());
540 SsaLivenessAnalysis liveness(graph, &codegen);
553 HGraph* graph = BuildIfElseWithPhi(&allocator, &phi, &input1, &input2);
556 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions());
557 SsaLivenessAnalysis liveness(graph, &codegen);
572 HGraph* graph = BuildIfElseWithPhi(&allocator, &phi, &input1, &input2);
575 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions());
576 SsaLivenessAnalysis liveness(graph, &codegen);
591 HGraph* graph = BuildIfElseWithPhi(&allocator, &phi, &input1, &input2);
594 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions());
595 SsaLivenessAnalysis liveness(graph, &codegen);
613 HGraph* graph = CreateGraph(allocator);
615 HBasicBlock* entry = new (allocator) HBasicBlock(graph);
616 graph->AddBlock(entry);
617 graph->SetEntryBlock(entry);
619 graph->GetDexFile(), 0, 0, Primitive::kPrimNot);
622 HBasicBlock* block = new (allocator) HBasicBlock(graph);
623 graph->AddBlock(block);
632 graph->GetDexFile(),
639 HBasicBlock* exit = new (allocator) HBasicBlock(graph);
640 graph->AddBlock(exit);
644 graph->BuildDominatorTree();
645 return graph;
654 HGraph* graph = BuildFieldReturn(&allocator, &field, &ret);
657 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions());
658 SsaLivenessAnalysis liveness(graph, &codegen);
669 HGraph* graph = BuildFieldReturn(&allocator, &field, &ret);
672 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions());
673 SsaLivenessAnalysis liveness(graph, &codegen);
690 HGraph* graph = CreateGraph(allocator);
691 HBasicBlock* entry = new (allocator) HBasicBlock(graph);
692 graph->AddBlock(entry);
693 graph->SetEntryBlock(entry);
695 graph->GetDexFile(), 0, 0, Primitive::kPrimInt);
698 HInstruction* constant1 = graph->GetIntConstant(1);
699 HInstruction* constant2 = graph->GetIntConstant(2);
701 HBasicBlock* block = new (allocator) HBasicBlock(graph);
702 graph->AddBlock(block);
712 graph->BuildDominatorTree();
713 return graph;
722 HGraph* graph = BuildTwoSubs(&allocator, &first_sub, &second_sub);
725 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions());
726 SsaLivenessAnalysis liveness(graph, &codegen);
738 HGraph* graph = BuildTwoSubs(&allocator, &first_sub, &second_sub);
741 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions());
742 SsaLivenessAnalysis liveness(graph, &codegen);
761 HGraph* graph = CreateGraph(allocator);
762 HBasicBlock* entry = new (allocator) HBasicBlock(graph);
763 graph->AddBlock(entry);
764 graph->SetEntryBlock(entry);
766 graph->GetDexFile(), 0, 0, Primitive::kPrimInt);
768 graph->GetDexFile(), 0, 0, Primitive::kPrimInt);
772 HBasicBlock* block = new (allocator) HBasicBlock(graph);
773 graph->AddBlock(block);
781 graph->BuildDominatorTree();
782 return graph;
791 HGraph* graph = BuildDiv(&allocator, &div);
794 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions());
795 SsaLivenessAnalysis liveness(graph, &codegen);
812 // Create a synthesized graph to please the register_allocator and
815 HGraph* graph = CreateGraph(&allocator);
816 HBasicBlock* entry = new (&allocator) HBasicBlock(graph);
817 graph->AddBlock(entry);
818 graph->SetEntryBlock(entry);
820 graph->GetDexFile(), 0, 0, Primitive::kPrimInt);
822 graph->GetDexFile(), 0, 0, Primitive::kPrimInt);
824 graph->GetDexFile(), 0, 0, Primitive::kPrimInt);
826 graph->GetDexFile(), 0, 0, Primitive::kPrimInt);
832 HBasicBlock* block = new (&allocator) HBasicBlock(graph);
833 graph->AddBlock(block);
888 x86::CodeGeneratorX86 codegen(graph, *features_x86.get(), CompilerOptions());
889 SsaLivenessAnalysis liveness(graph, &codegen);