Flutter Engine
The Flutter Engine
Public Member Functions | Friends | List of all members
dart::compiler::Immediate Class Reference

#include <assembler_arm.h>

Inheritance diagram for dart::compiler::Immediate:
dart::ValueObject dart::ValueObject dart::ValueObject dart::ValueObject

Public Member Functions

 Immediate (int32_t value)
 
int32_t value () const
 
 Immediate (int64_t value)
 
 Immediate (const Immediate &other)
 
Immediateoperator= (const Immediate &other)
 
 Immediate (int32_t value)
 
 Immediate (const Immediate &other)
 
int32_t value () const
 
bool is_int8 () const
 
bool is_uint8 () const
 
bool is_uint16 () const
 
 Immediate (int64_t value)
 
 Immediate (const Immediate &other)
 
int64_t value () const
 
bool is_int8 () const
 
bool is_uint8 () const
 
bool is_int16 () const
 
bool is_uint16 () const
 
bool is_int32 () const
 
bool is_uint32 () const
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Friends

class Assembler
 

Detailed Description

Definition at line 51 of file assembler_arm.h.

Constructor & Destructor Documentation

◆ Immediate() [1/7]

dart::compiler::Immediate::Immediate ( int32_t  value)
inlineexplicit

Definition at line 53 of file assembler_arm.h.

53: value_(value) {}

◆ Immediate() [2/7]

dart::compiler::Immediate::Immediate ( int64_t  value)
inlineexplicit

Definition at line 81 of file assembler_arm64.h.

81: value_(value) {}

◆ Immediate() [3/7]

dart::compiler::Immediate::Immediate ( const Immediate other)
inline

Definition at line 83 of file assembler_arm64.h.

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

◆ Immediate() [4/7]

dart::compiler::Immediate::Immediate ( int32_t  value)
inlineexplicit

Definition at line 31 of file assembler_ia32.h.

31: value_(value) {}

◆ Immediate() [5/7]

dart::compiler::Immediate::Immediate ( const Immediate other)
inline

Definition at line 33 of file assembler_ia32.h.

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

◆ Immediate() [6/7]

dart::compiler::Immediate::Immediate ( int64_t  value)
inlineexplicit

Definition at line 36 of file assembler_x64.h.

36: value_(value) {}

◆ Immediate() [7/7]

dart::compiler::Immediate::Immediate ( const Immediate other)
inline

Definition at line 38 of file assembler_x64.h.

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

Member Function Documentation

◆ is_int16()

bool dart::compiler::Immediate::is_int16 ( ) const
inline

Definition at line 44 of file assembler_x64.h.

44{ return Utils::IsInt(16, value_); }
static bool IsInt(intptr_t N, T value)
Definition: utils.h:313

◆ is_int32()

bool dart::compiler::Immediate::is_int32 ( ) const
inline

Definition at line 46 of file assembler_x64.h.

46{ return Utils::IsInt(32, value_); }

◆ is_int8() [1/2]

bool dart::compiler::Immediate::is_int8 ( ) const
inline

Definition at line 37 of file assembler_ia32.h.

37{ return Utils::IsInt(8, value_); }

◆ is_int8() [2/2]

bool dart::compiler::Immediate::is_int8 ( ) const
inline

Definition at line 42 of file assembler_x64.h.

42{ return Utils::IsInt(8, value_); }

◆ is_uint16() [1/2]

bool dart::compiler::Immediate::is_uint16 ( ) const
inline

Definition at line 39 of file assembler_ia32.h.

39{ return Utils::IsUint(16, value_); }
static bool IsUint(intptr_t N, T value)
Definition: utils.h:328

◆ is_uint16() [2/2]

bool dart::compiler::Immediate::is_uint16 ( ) const
inline

Definition at line 45 of file assembler_x64.h.

45{ return Utils::IsUint(16, value_); }

◆ is_uint32()

bool dart::compiler::Immediate::is_uint32 ( ) const
inline

Definition at line 47 of file assembler_x64.h.

47{ return Utils::IsUint(32, value_); }

◆ is_uint8() [1/2]

bool dart::compiler::Immediate::is_uint8 ( ) const
inline

Definition at line 38 of file assembler_ia32.h.

38{ return Utils::IsUint(8, value_); }

◆ is_uint8() [2/2]

bool dart::compiler::Immediate::is_uint8 ( ) const
inline

Definition at line 43 of file assembler_x64.h.

43{ return Utils::IsUint(8, value_); }

◆ operator=()

Immediate & dart::compiler::Immediate::operator= ( const Immediate other)
inline

Definition at line 84 of file assembler_arm64.h.

84 {
85 value_ = other.value_;
86 return *this;
87 }

◆ value() [1/3]

int32_t dart::compiler::Immediate::value ( ) const
inline

Definition at line 55 of file assembler_arm.h.

55{ return value_; }

◆ value() [2/3]

int32_t dart::compiler::Immediate::value ( ) const
inline

Definition at line 35 of file assembler_ia32.h.

35{ return value_; }

◆ value() [3/3]

int64_t dart::compiler::Immediate::value ( ) const
inline

Definition at line 40 of file assembler_x64.h.

40{ return value_; }

Friends And Related Function Documentation

◆ Assembler

friend class Assembler
friend

Definition at line 94 of file assembler_arm64.h.


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