5#ifndef RUNTIME_VM_COMPILER_BACKEND_CODE_STATISTICS_H_
6#define RUNTIME_VM_COMPILER_BACKEND_CODE_STATISTICS_H_
8#if defined(DART_PRECOMPILED_RUNTIME)
9#error "AOT runtime should not use compiler sources (including header files)"
22#define DO(type, attrs) kTag##type,
26#define DO(type, attrs) kTag##type##SlowPath,
50 CombinedCodeStatistics::kTagGraphEntrySlowPath + tag);
56 static int CompareEntries(
const void*
a,
const void*
b);
65 intptr_t unaccounted_bytes_;
66 intptr_t alignment_bytes_;
67 intptr_t object_header_bytes_;
68 intptr_t return_const_count_;
69 intptr_t return_const_with_load_field_count_;
87 static constexpr int kStackSize = 8;
97 intptr_t instruction_bytes_;
98 intptr_t unaccounted_bytes_;
99 intptr_t alignment_bytes_;
101 intptr_t stack_[kStackSize];
102 intptr_t stack_index_;
void End(Instruction *instruction)
void AppendTo(CombinedCodeStatistics *stat)
void SpecialBegin(intptr_t tag)
void SpecialEnd(intptr_t tag)
void Begin(Instruction *instruction)
CodeStatistics(compiler::Assembler *assembler)
void End(Instruction *instruction)
@ kTagAssertAssignableFromSource
@ kTagAssertAssignableInsertedByFrontend
@ kTagAssertAssignableParameterCheck
static EntryCounter SlowPathCounterFor(Instruction::Tag tag)
void Begin(Instruction *instruction)
#define FOR_EACH_INSTRUCTION(M)