Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | List of all members
dart::AliasIdentity Class Reference

#include <il.h>

Inheritance diagram for dart::AliasIdentity:
dart::ValueObject

Public Member Functions

const char * ToCString ()
 
bool IsUnknown () const
 
bool IsAliased () const
 
bool IsNotAliased () const
 
bool IsAllocationSinkingCandidate () const
 
 AliasIdentity (const AliasIdentity &other)
 
AliasIdentityoperator= (const AliasIdentity &other)
 
void Write (FlowGraphSerializer *s) const
 
 AliasIdentity (FlowGraphDeserializer *d)
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Static Public Member Functions

static AliasIdentity Unknown ()
 
static AliasIdentity Aliased ()
 
static AliasIdentity NotAliased ()
 
static AliasIdentity AllocationSinkingCandidate ()
 

Detailed Description

Definition at line 2414 of file il.h.

Constructor & Destructor Documentation

◆ AliasIdentity() [1/2]

dart::AliasIdentity::AliasIdentity ( const AliasIdentity other)
inline

Definition at line 2457 of file il.h.

2458 : ValueObject(), value_(other.value_) {}

◆ AliasIdentity() [2/2]

dart::AliasIdentity::AliasIdentity ( FlowGraphDeserializer d)
explicit

Definition at line 90 of file il_serializer.cc.

91 : value_(d->Read<intptr_t>()) {}
VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE auto & d
Definition: main.cc:19

Member Function Documentation

◆ Aliased()

static AliasIdentity dart::AliasIdentity::Aliased ( )
inlinestatic

Definition at line 2420 of file il.h.

2420{ return AliasIdentity(kAliased); }
AliasIdentity(const AliasIdentity &other)
Definition: il.h:2457

◆ AllocationSinkingCandidate()

static AliasIdentity dart::AliasIdentity::AllocationSinkingCandidate ( )
inlinestatic

Definition at line 2427 of file il.h.

2427 {
2428 return AliasIdentity(kAllocationSinkingCandidate);
2429 }

◆ IsAliased()

bool dart::AliasIdentity::IsAliased ( ) const
inline

Definition at line 2451 of file il.h.

2451{ return value_ == kAliased; }

◆ IsAllocationSinkingCandidate()

bool dart::AliasIdentity::IsAllocationSinkingCandidate ( ) const
inline

Definition at line 2453 of file il.h.

2453 {
2454 return value_ == kAllocationSinkingCandidate;
2455 }

◆ IsNotAliased()

bool dart::AliasIdentity::IsNotAliased ( ) const
inline

Definition at line 2452 of file il.h.

2452{ return (value_ & kNotAliased) != 0; }

◆ IsUnknown()

bool dart::AliasIdentity::IsUnknown ( ) const
inline

Definition at line 2450 of file il.h.

2450{ return value_ == kUnknown; }

◆ NotAliased()

static AliasIdentity dart::AliasIdentity::NotAliased ( )
inlinestatic

Definition at line 2423 of file il.h.

2423{ return AliasIdentity(kNotAliased); }

◆ operator=()

AliasIdentity & dart::AliasIdentity::operator= ( const AliasIdentity other)
inline

Definition at line 2460 of file il.h.

2460 {
2461 value_ = other.value_;
2462 return *this;
2463 }

◆ ToCString()

const char * dart::AliasIdentity::ToCString ( )
inline

Definition at line 2437 of file il.h.

2437 {
2438 switch (value_) {
2439#define VALUE_CASE(name, val) \
2440 case k##name: \
2441 return #name;
2442 FOR_EACH_ALIAS_IDENTITY_VALUE(VALUE_CASE)
2443#undef VALUE_CASE
2444 default:
2445 UNREACHABLE();
2446 return nullptr;
2447 }
2448 }
#define UNREACHABLE()
Definition: assert.h:248
#define VALUE_CASE(name, val)

◆ Unknown()

static AliasIdentity dart::AliasIdentity::Unknown ( )
inlinestatic

Definition at line 2417 of file il.h.

2417{ return AliasIdentity(kUnknown); }

◆ Write()

void dart::AliasIdentity::Write ( FlowGraphSerializer s) const

Definition at line 86 of file il_serializer.cc.

86 {
87 s->Write<intptr_t>(value_);
88}
struct MyStruct s

The documentation for this class was generated from the following files: