Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
dart::LocationTrait< Fixed< R, reg > > Struct Template Reference

#include <locations_helpers.h>

Public Types

typedef R RegisterType
 

Static Public Member Functions

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

Static Public Attributes

static constexpr bool kIsTemp = false
 

Detailed Description

template<typename R, R reg>
struct dart::LocationTrait< Fixed< R, reg > >

Definition at line 163 of file locations_helpers.h.

Member Typedef Documentation

◆ RegisterType

template<typename R , R reg>
typedef R dart::LocationTrait< Fixed< R, reg > >::RegisterType

Definition at line 164 of file locations_helpers.h.

Member Function Documentation

◆ SetInputConstraint()

template<typename R , R reg>
template<intptr_t arity, intptr_t index>
static void dart::LocationTrait< Fixed< R, reg > >::SetInputConstraint ( LocationSummary locs)
inlinestatic

Definition at line 179 of file locations_helpers.h.

179 {
180 locs->set_in(index, ToConstraint());
181 }

◆ ToConstraint()

template<typename R , R reg>
static Location dart::LocationTrait< Fixed< R, reg > >::ToConstraint ( )
inlinestatic

Definition at line 183 of file locations_helpers.h.

183 {
184 return LocationTrait<R>::ToFixedConstraint(reg);
185 }

◆ Unwrap()

template<typename R , R reg>
static Fixed< R, reg > dart::LocationTrait< Fixed< R, reg > >::Unwrap ( const Location loc)
inlinestatic

Definition at line 168 of file locations_helpers.h.

168 {
169 ASSERT(LocationTrait<R>::Unwrap(loc) == reg);
170 return Fixed<R, reg>();
171 }
#define ASSERT(E)

◆ UnwrapInput()

template<typename R , R reg>
template<intptr_t arity, intptr_t index>
static Fixed< R, reg > dart::LocationTrait< Fixed< R, reg > >::UnwrapInput ( LocationSummary locs)
inlinestatic

Definition at line 174 of file locations_helpers.h.

174 {
175 return Unwrap(locs->in(index));
176 }
static Fixed< R, reg > Unwrap(const Location &loc)

Member Data Documentation

◆ kIsTemp

template<typename R , R reg>
constexpr bool dart::LocationTrait< Fixed< R, reg > >::kIsTemp = false
staticconstexpr

Definition at line 166 of file locations_helpers.h.


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