Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
dart::InstructionPattern< P > Class Template Reference

#include <instructions_arm.h>

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

Public Member Functions

 InstructionPattern (uword pc)
 
bool IsValid () const
 
 InstructionPattern (uword pc)
 
bool IsValid () const
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Static Public Member Functions

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 DecodeLoadWordImmediate (uword end, Register *reg, intptr_t *value)
 
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 uword DecodeLoadWordImmediate (uword end, Register *reg, intptr_t *value)
 
static uword DecodeLoadWordFromPool (uword end, Register *reg, intptr_t *index)
 
static void EncodeLoadWordFromPoolFixed (uword end, int32_t offset)
 

Protected Member Functions

uword start () const
 
uword start () const
 

Detailed Description

template<class P>
class dart::InstructionPattern< P >

Definition at line 30 of file instructions_arm.h.

Constructor & Destructor Documentation

◆ InstructionPattern() [1/2]

template<class P >
dart::InstructionPattern< P >::InstructionPattern ( uword  pc)
inlineexplicit

Definition at line 23 of file instructions_ia32.h.

23: start_(pc) { ASSERT(pc != 0); }
#define ASSERT(E)

◆ InstructionPattern() [2/2]

template<class P >
dart::InstructionPattern< P >::InstructionPattern ( uword  pc)
inlineexplicit

Definition at line 28 of file instructions_x64.h.

28: start_(pc) { ASSERT(pc != 0); }

Member Function Documentation

◆ DecodeLoadDoubleWordFromPool()

template<class P >
static uword dart::InstructionPattern< P >::DecodeLoadDoubleWordFromPool ( uword  end,
Register reg1,
Register reg2,
intptr_t *  index 
)
static

◆ DecodeLoadWordFromPool() [1/3]

template<class P >
static uword dart::InstructionPattern< P >::DecodeLoadWordFromPool ( uword  end,
Register reg,
intptr_t *  index 
)
static

◆ DecodeLoadWordFromPool() [2/3]

template<class P >
static uword dart::InstructionPattern< P >::DecodeLoadWordFromPool ( uword  end,
Register reg,
intptr_t *  index 
)
static

◆ DecodeLoadWordFromPool() [3/3]

template<class P >
static uword dart::InstructionPattern< P >::DecodeLoadWordFromPool ( uword  end,
Register reg,
intptr_t *  index 
)
static

◆ DecodeLoadWordImmediate() [1/3]

template<class P >
static uword dart::InstructionPattern< P >::DecodeLoadWordImmediate ( uword  end,
Register reg,
intptr_t *  value 
)
static

◆ DecodeLoadWordImmediate() [2/3]

template<class P >
static uword dart::InstructionPattern< P >::DecodeLoadWordImmediate ( uword  end,
Register reg,
intptr_t *  value 
)
static

◆ DecodeLoadWordImmediate() [3/3]

template<class P >
static uword dart::InstructionPattern< P >::DecodeLoadWordImmediate ( uword  end,
Register reg,
intptr_t *  value 
)
static

◆ EncodeLoadWordFromPoolFixed() [1/2]

template<class P >
static void dart::InstructionPattern< P >::EncodeLoadWordFromPoolFixed ( uword  end,
int32_t  offset 
)
static

◆ EncodeLoadWordFromPoolFixed() [2/2]

template<class P >
static void dart::InstructionPattern< P >::EncodeLoadWordFromPoolFixed ( uword  end,
int32_t  offset 
)
static

◆ EncodeLoadWordImmediate()

template<class P >
static void dart::InstructionPattern< P >::EncodeLoadWordImmediate ( uword  end,
Register  reg,
intptr_t  value 
)
static

◆ IsValid() [1/2]

template<class P >
bool dart::InstructionPattern< P >::IsValid ( ) const
inline

Definition at line 29 of file instructions_ia32.h.

29 {
30 return TestBytesWith(P::pattern(), P::pattern_length_in_bytes());
31 }

◆ IsValid() [2/2]

template<class P >
bool dart::InstructionPattern< P >::IsValid ( ) const
inline

Definition at line 34 of file instructions_x64.h.

34 {
35 return TestBytesWith(P::pattern(), P::pattern_length_in_bytes());
36 }

◆ start() [1/2]

template<class P >
uword dart::InstructionPattern< P >::start ( ) const
inlineprotected

Definition at line 34 of file instructions_ia32.h.

34{ return start_; }

◆ start() [2/2]

template<class P >
uword dart::InstructionPattern< P >::start ( ) const
inlineprotected

Definition at line 39 of file instructions_x64.h.

39{ return start_; }

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