Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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());
const char * name
Definition fuchsia.cc:50

Definition at line 59 of file locations.cc.

60 : \
61 return static_cast<int64_t>(std::numeric_limits<type>::max());

◆ 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());

Definition at line 46 of file locations.cc.

47 : \
48 return static_cast<int64_t>(std::numeric_limits<type>::min());

◆ REPR_CASE

#define REPR_CASE (   Name,
  PrintName,
  __,
  ___ 
)
Value:
case k##Name: \
return #PrintName;