Lines Matching refs:graph_
37 ConstantFoldingTest() : graph_(nullptr) { } in ConstantFoldingTest()
45 graph_ = CreateCFG(data, return_type); in TestCode()
56 ASSERT_NE(graph_, nullptr); in TestCodeOnReadyGraph()
58 StringPrettyPrinter printer_before(graph_); in TestCodeOnReadyGraph()
63 HConstantFolding(graph_, /* stats= */ nullptr, "constant_folding").Run(); in TestCodeOnReadyGraph()
64 GraphChecker graph_checker_cf(graph_); in TestCodeOnReadyGraph()
68 StringPrettyPrinter printer_after_cf(graph_); in TestCodeOnReadyGraph()
73 check_after_cf(graph_); in TestCodeOnReadyGraph()
75 HDeadCodeElimination(graph_, /* stats= */ nullptr, "dead_code_elimination").Run(); in TestCodeOnReadyGraph()
76 GraphChecker graph_checker_dce(graph_); in TestCodeOnReadyGraph()
80 StringPrettyPrinter printer_after_dce(graph_); in TestCodeOnReadyGraph()
86 HGraph* graph_; member in art::ConstantFoldingTest
738 graph_ = CreateGraph(); in TEST_F()
739 HBasicBlock* entry_block = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
740 graph_->AddBlock(entry_block); in TEST_F()
741 graph_->SetEntryBlock(entry_block); in TEST_F()
742 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
743 graph_->AddBlock(block); in TEST_F()
744 HBasicBlock* exit_block = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
745 graph_->AddBlock(exit_block); in TEST_F()
746 graph_->SetExitBlock(exit_block); in TEST_F()
752 graph_->GetDexFile(), dex::TypeIndex(0), 0, DataType::Type::kInt32, true); in TEST_F()
756 HInstruction* zero = graph_->GetIntConstant(0); in TEST_F()
779 graph_->BuildDominatorTree(); in TEST_F()