Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
dart::FlowGraphPrinter Class Reference

#include <il_printer.h>

Inheritance diagram for dart::FlowGraphPrinter:
dart::ValueObject

Public Member Functions

 FlowGraphPrinter (const FlowGraph &flow_graph, bool print_locations=false)
 
void PrintBlocks ()
 
void PrintInstruction (Instruction *instr)
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Static Public Member Functions

static void PrintOneInstruction (Instruction *instr, bool print_locations)
 
static void PrintTypeCheck (const ParsedFunction &parsed_function, TokenPosition token_pos, Value *value, const AbstractType &dst_type, const String &dst_name, bool eliminated)
 
static void PrintBlock (BlockEntryInstr *block, bool print_locations)
 
static void PrintGraph (const char *phase, FlowGraph *flow_graph)
 
static void PrintICData (const ICData &ic_data, intptr_t num_checks_to_print=kPrintAll)
 
static void PrintCidRangeData (const CallTargets &ic_data, intptr_t num_checks_to_print=kPrintAll)
 
static bool ShouldPrint (const Function &function, uint8_t **compiler_pass_filter=nullptr)
 

Static Public Attributes

static constexpr intptr_t kPrintAll = -1
 

Detailed Description

Definition at line 21 of file il_printer.h.

Constructor & Destructor Documentation

◆ FlowGraphPrinter()

dart::FlowGraphPrinter::FlowGraphPrinter ( const FlowGraph flow_graph,
bool  print_locations = false 
)
inlineexplicit

Definition at line 25 of file il_printer.h.

27 : function_(flow_graph.function()),
28 block_order_(flow_graph.reverse_postorder()),
29 print_locations_(print_locations) {}

Member Function Documentation

◆ PrintBlock()

void dart::FlowGraphPrinter::PrintBlock ( BlockEntryInstr block,
bool  print_locations 
)
static

Definition at line 1701 of file il_printer.cc.

1702 {
1703 UNREACHABLE();
1704}
#define UNREACHABLE()
Definition: assert.h:248

◆ PrintBlocks()

void dart::FlowGraphPrinter::PrintBlocks ( )

◆ PrintCidRangeData()

static void dart::FlowGraphPrinter::PrintCidRangeData ( const CallTargets ic_data,
intptr_t  num_checks_to_print = kPrintAll 
)
static

◆ PrintGraph()

void dart::FlowGraphPrinter::PrintGraph ( const char *  phase,
FlowGraph flow_graph 
)
static

Definition at line 1706 of file il_printer.cc.

1706 {
1707 UNREACHABLE();
1708}

◆ PrintICData()

void dart::FlowGraphPrinter::PrintICData ( const ICData ic_data,
intptr_t  num_checks_to_print = kPrintAll 
)
static

Definition at line 1710 of file il_printer.cc.

1711 {
1712 UNREACHABLE();
1713}

◆ PrintInstruction()

void dart::FlowGraphPrinter::PrintInstruction ( Instruction instr)

◆ PrintOneInstruction()

void dart::FlowGraphPrinter::PrintOneInstruction ( Instruction instr,
bool  print_locations 
)
static

Definition at line 1687 of file il_printer.cc.

1688 {
1689 UNREACHABLE();
1690}

◆ PrintTypeCheck()

void dart::FlowGraphPrinter::PrintTypeCheck ( const ParsedFunction parsed_function,
TokenPosition  token_pos,
Value value,
const AbstractType dst_type,
const String dst_name,
bool  eliminated 
)
static

Definition at line 1692 of file il_printer.cc.

1697 {
1698 UNREACHABLE();
1699}

◆ ShouldPrint()

bool dart::FlowGraphPrinter::ShouldPrint ( const Function function,
uint8_t **  compiler_pass_filter = nullptr 
)
static

Definition at line 1715 of file il_printer.cc.

1717 {
1718 return false;
1719}

Member Data Documentation

◆ kPrintAll

constexpr intptr_t dart::FlowGraphPrinter::kPrintAll = -1
staticconstexpr

Definition at line 23 of file il_printer.h.


The documentation for this class was generated from the following files: