5#ifndef RUNTIME_VM_COMPILER_BACKEND_IL_PRINTER_H_
6#define RUNTIME_VM_COMPILER_BACKEND_IL_PRINTER_H_
8#if defined(DART_PRECOMPILED_RUNTIME)
9#error "AOT runtime should not use compiler sources (including header files)"
26 bool print_locations =
false)
28 block_order_(flow_graph.reverse_postorder()),
29 print_locations_(print_locations) {}
50 intptr_t num_checks_to_print =
kPrintAll);
55 intptr_t num_checks_to_print =
kPrintAll);
58 uint8_t** compiler_pass_filter =
nullptr);
63 const bool print_locations_;
static void PrintOneInstruction(Instruction *instr, bool print_locations)
static void PrintGraph(const char *phase, FlowGraph *flow_graph)
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 void PrintBlock(BlockEntryInstr *block, bool print_locations)
static constexpr intptr_t kPrintAll
FlowGraphPrinter(const FlowGraph &flow_graph, bool print_locations=false)
void PrintInstruction(Instruction *instr)
static void PrintICData(const ICData &ic_data, intptr_t num_checks_to_print=kPrintAll)
static void PrintTypeCheck(const ParsedFunction &parsed_function, TokenPosition token_pos, Value *value, const AbstractType &dst_type, const String &dst_name, bool eliminated)
Dart_NativeFunction function