Flutter Engine
The Flutter Engine
Namespaces | Macros | Functions
locations.cc File Reference
#include "vm/compiler/backend/locations.h"
#include <limits>
#include "vm/class_id.h"
#include "vm/compiler/assembler/assembler.h"
#include "vm/compiler/backend/il_printer.h"
#include "vm/log.h"
#include "vm/stack_frame.h"

Go to the source code of this file.

Namespaces

namespace  dart
 

Macros

#define REP_MIN_VALUE_CLAUSE(name, ___, ____, type)
 
#define REP_MAX_VALUE_CLAUSE(name, ___, ____, type)
 
#define ARRAY_CASE(Name)   case k##Name##Cid:
 
#define REPR_CASE(Name, PrintName, __, ___)
 

Functions

static bool dart::ValidOutputForAlwaysCalls (const Location &loc)
 
Location dart::LocationRegisterOrConstant (Value *value)
 
Location dart::LocationRegisterOrSmiConstant (Value *value, intptr_t min_value, intptr_t max_value)
 
Location dart::LocationWritableRegisterOrConstant (Value *value)
 
Location dart::LocationWritableRegisterOrSmiConstant (Value *value, intptr_t min_value, intptr_t max_value)
 
Location dart::LocationFixedRegisterOrConstant (Value *value, Register reg)
 
Location dart::LocationFixedRegisterOrSmiConstant (Value *value, Register reg)
 
Location dart::LocationAnyOrConstant (Value *value)
 
compiler::Address dart::LocationToStackSlotAddress (Location loc)
 
Location dart::LocationArgumentsDescriptorLocation ()
 
Location dart::LocationExceptionLocation ()
 
Location dart::LocationStackTraceLocation ()
 
Location dart::LocationRemapForSlowPath (Location loc, Definition *def, intptr_t *cpu_reg_slots, intptr_t *fpu_reg_slots)
 

Macro Definition Documentation

◆ ARRAY_CASE

#define ARRAY_CASE (   Name)    case k##Name##Cid:

◆ REP_MAX_VALUE_CLAUSE

#define REP_MAX_VALUE_CLAUSE (   name,
  ___,
  ____,
  type 
)
Value:
case k##name: \
return static_cast<int64_t>(std::numeric_limits<type>::max());
static float max(float r, float g, float b)
Definition: hsl.cpp:49
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32

Definition at line 59 of file locations.cc.

◆ REP_MIN_VALUE_CLAUSE

#define REP_MIN_VALUE_CLAUSE (   name,
  ___,
  ____,
  type 
)
Value:
case k##name: \
return static_cast<int64_t>(std::numeric_limits<type>::min());
static float min(float r, float g, float b)
Definition: hsl.cpp:48

Definition at line 46 of file locations.cc.

◆ REPR_CASE

#define REPR_CASE (   Name,
  PrintName,
  __,
  ___ 
)
Value:
case k##Name: \
return #PrintName;
ImplicitString Name
Definition: DMSrcSink.h:38