Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
dart::LocationTrait< Temp< RegisterType > > Struct Template Reference

#include <locations_helpers.h>

Static Public Member Functions

static Temp< RegisterType > Unwrap (const Location &loc)
 
template<intptr_t arity, intptr_t index>
static Temp< RegisterType > 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 = true
 

Detailed Description

template<typename RegisterType>
struct dart::LocationTrait< Temp< RegisterType > >

Definition at line 189 of file locations_helpers.h.

Member Function Documentation

◆ SetInputConstraint()

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

Definition at line 202 of file locations_helpers.h.

202 {
203 locs->set_temp(index - arity, ToConstraint());
204 }

◆ ToConstraint()

template<typename RegisterType >
static Location dart::LocationTrait< Temp< RegisterType > >::ToConstraint ( )
inlinestatic

Definition at line 206 of file locations_helpers.h.

206 {
207 return LocationTrait<RegisterType>::ToConstraint();
208 }

◆ Unwrap()

template<typename RegisterType >
static Temp< RegisterType > dart::LocationTrait< Temp< RegisterType > >::Unwrap ( const Location loc)
inlinestatic

Definition at line 192 of file locations_helpers.h.

192 {
193 return Temp<RegisterType>(LocationTrait<RegisterType>::Unwrap(loc));
194 }

◆ UnwrapInput()

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

Definition at line 197 of file locations_helpers.h.

197 {
198 return Unwrap(locs->temp(index - arity));
199 }
static Temp< RegisterType > Unwrap(const Location &loc)

Member Data Documentation

◆ kIsTemp

template<typename RegisterType >
constexpr bool dart::LocationTrait< Temp< RegisterType > >::kIsTemp = true
staticconstexpr

Definition at line 190 of file locations_helpers.h.


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