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

#include <instructions_arm.h>

Inheritance diagram for dart::ReturnPattern:
dart::ValueObject dart::ValueObject dart::InstructionPattern< ReturnPattern > dart::ValueObject dart::InstructionPattern< ReturnPattern > dart::ValueObject dart::AllStatic dart::ValueObject dart::AllStatic dart::AllStatic dart::ValueObject dart::AllStatic dart::ValueObject dart::AllStatic dart::AllStatic

Public Member Functions

 ReturnPattern (uword pc)
 
int pattern_length_in_bytes () const
 
bool IsValid () const
 
 ReturnPattern (uword pc)
 
int pattern_length_in_bytes () const
 
bool IsValid () const
 
 ReturnPattern (uword pc)
 
 ReturnPattern (uword pc)
 
int pattern_length_in_bytes () const
 
bool IsValid () const
 
 ReturnPattern (uword pc)
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 
- Public Member Functions inherited from dart::InstructionPattern< ReturnPattern >
 InstructionPattern (uword pc)
 
 InstructionPattern (uword pc)
 
bool IsValid () const
 
bool IsValid () const
 

Static Public Member Functions

static const intpattern ()
 
static int pattern_length_in_bytes ()
 
static const intpattern ()
 
static int pattern_length_in_bytes ()
 
- Static Public Member Functions inherited from dart::InstructionPattern< ReturnPattern >
static uword DecodeLoadWordImmediate (uword end, Register *reg, intptr_t *value)
 
static uword DecodeLoadWordImmediate (uword end, Register *reg, intptr_t *value)
 
static uword DecodeLoadWordImmediate (uword end, Register *reg, intptr_t *value)
 
static void EncodeLoadWordImmediate (uword end, Register reg, intptr_t value)
 
static uword DecodeLoadWordFromPool (uword end, Register *reg, intptr_t *index)
 
static uword DecodeLoadWordFromPool (uword end, Register *reg, intptr_t *index)
 
static uword DecodeLoadWordFromPool (uword end, Register *reg, intptr_t *index)
 
static uword DecodeLoadDoubleWordFromPool (uword end, Register *reg1, Register *reg2, intptr_t *index)
 
static void EncodeLoadWordFromPoolFixed (uword end, int32_t offset)
 
static void EncodeLoadWordFromPoolFixed (uword end, int32_t offset)
 

Static Public Attributes

static constexpr int kLengthInBytes = 1 * Instr::kInstrSize
 
static constexpr intptr_t kLengthInBytes = 2
 

Additional Inherited Members

- Protected Member Functions inherited from dart::InstructionPattern< ReturnPattern >
uword start () const
 
uword start () const
 

Detailed Description

Definition at line 168 of file instructions_arm.h.

Constructor & Destructor Documentation

◆ ReturnPattern() [1/5]

dart::ReturnPattern::ReturnPattern ( uword  pc)
explicit

◆ ReturnPattern() [2/5]

dart::ReturnPattern::ReturnPattern ( uword  pc)
explicit

◆ ReturnPattern() [3/5]

dart::ReturnPattern::ReturnPattern ( uword  pc)
inlineexplicit

Definition at line 86 of file instructions_ia32.h.

◆ ReturnPattern() [4/5]

dart::ReturnPattern::ReturnPattern ( uword  pc)
explicit

◆ ReturnPattern() [5/5]

dart::ReturnPattern::ReturnPattern ( uword  pc)
inlineexplicit

Definition at line 64 of file instructions_x64.h.

64: InstructionPattern(pc) {}

Member Function Documentation

◆ IsValid() [1/3]

bool dart::ReturnPattern::IsValid ( ) const

◆ IsValid() [2/3]

bool dart::ReturnPattern::IsValid ( ) const

◆ IsValid() [3/3]

bool dart::ReturnPattern::IsValid ( ) const

◆ pattern() [1/2]

static const int * dart::ReturnPattern::pattern ( )
inlinestatic

Definition at line 88 of file instructions_ia32.h.

88 {
89 static const int kReturnPattern[kLengthInBytes] = {0xC3};
90 return kReturnPattern;
91 }
static constexpr int kLengthInBytes

◆ pattern() [2/2]

static const int * dart::ReturnPattern::pattern ( )
inlinestatic

Definition at line 66 of file instructions_x64.h.

66 {
67 static const int kReturnPattern[kLengthInBytes] = {0xC3};
68 return kReturnPattern;
69 }

◆ pattern_length_in_bytes() [1/5]

static int dart::ReturnPattern::pattern_length_in_bytes ( )
inlinestatic

Definition at line 92 of file instructions_ia32.h.

92{ return kLengthInBytes; }

◆ pattern_length_in_bytes() [2/5]

static int dart::ReturnPattern::pattern_length_in_bytes ( )
inlinestatic

Definition at line 71 of file instructions_x64.h.

71{ return kLengthInBytes; }

◆ pattern_length_in_bytes() [3/5]

int dart::ReturnPattern::pattern_length_in_bytes ( ) const
inline

Definition at line 175 of file instructions_arm.h.

175{ return kLengthInBytes; }

◆ pattern_length_in_bytes() [4/5]

int dart::ReturnPattern::pattern_length_in_bytes ( ) const
inline

Definition at line 185 of file instructions_arm64.h.

185{ return kLengthInBytes; }

◆ pattern_length_in_bytes() [5/5]

int dart::ReturnPattern::pattern_length_in_bytes ( ) const
inline

Definition at line 172 of file instructions_riscv.h.

172{ return kLengthInBytes; }

Member Data Documentation

◆ kLengthInBytes [1/2]

static constexpr int dart::ReturnPattern::kLengthInBytes = 1 * Instr::kInstrSize
staticconstexpr

Definition at line 173 of file instructions_arm.h.

◆ kLengthInBytes [2/2]

constexpr intptr_t dart::ReturnPattern::kLengthInBytes = 2
staticconstexpr

Definition at line 170 of file instructions_riscv.h.


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