Flutter Engine
The Flutter Engine
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
dart::LocationTrait< Register > Struct Reference

#include <locations_helpers.h>

Public Types

typedef Register RegisterType
 

Static Public Member Functions

static Register Unwrap (const Location &loc)
 
template<intptr_t arity, intptr_t index>
static Register UnwrapInput (LocationSummary *locs)
 
template<intptr_t arity, intptr_t index>
static void SetInputConstraint (LocationSummary *locs)
 
static Location ToConstraint ()
 
static Location ToFixedConstraint (Register reg)
 

Static Public Attributes

static constexpr bool kIsTemp = false
 

Detailed Description

Definition at line 115 of file locations_helpers.h.

Member Typedef Documentation

◆ RegisterType

typedef Register dart::LocationTrait< Register >::RegisterType

Definition at line 116 of file locations_helpers.h.

Member Function Documentation

◆ SetInputConstraint()

template<intptr_t arity, intptr_t index>
static void dart::LocationTrait< Register >::SetInputConstraint ( LocationSummary locs)
inlinestatic

Definition at line 128 of file locations_helpers.h.

128 {
129 locs->set_in(index, ToConstraint());
130 }

◆ ToConstraint()

static Location dart::LocationTrait< Register >::ToConstraint ( )
inlinestatic

Definition at line 132 of file locations_helpers.h.

132{ return Location::RequiresRegister(); }
static Location RequiresRegister()
Definition: locations.h:365

◆ ToFixedConstraint()

static Location dart::LocationTrait< Register >::ToFixedConstraint ( Register  reg)
inlinestatic

Definition at line 133 of file locations_helpers.h.

133 {
134 return Location::RegisterLocation(reg);
135 }
static Location RegisterLocation(Register reg)
Definition: locations.h:398

◆ Unwrap()

static Register dart::LocationTrait< Register >::Unwrap ( const Location loc)
inlinestatic

Definition at line 120 of file locations_helpers.h.

120{ return loc.reg(); }

◆ UnwrapInput()

template<intptr_t arity, intptr_t index>
static Register dart::LocationTrait< Register >::UnwrapInput ( LocationSummary locs)
inlinestatic

Definition at line 123 of file locations_helpers.h.

123 {
124 return Unwrap(locs->in(index));
125 }
static Register Unwrap(const Location &loc)

Member Data Documentation

◆ kIsTemp

constexpr bool dart::LocationTrait< Register >::kIsTemp = false
staticconstexpr

Definition at line 118 of file locations_helpers.h.


The documentation for this struct was generated from the following file: