Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
dart::BinaryUint32OpInstr Class Reference

#include <il.h>

Inheritance diagram for dart::BinaryUint32OpInstr:
dart::BinaryIntegerOpInstr dart::TemplateDefinition< 2, NoThrow, Pure >

Public Member Functions

 BinaryUint32OpInstr (Token::Kind op_kind, Value *left, Value *right, intptr_t deopt_id)
 
virtual bool ComputeCanDeoptimize () const
 
virtual Representation representation () const
 
virtual Representation RequiredInputRepresentation (intptr_t idx) const
 
virtual SpeculativeMode SpeculativeModeOfInput (intptr_t index) const
 
- Public Member Functions inherited from dart::BinaryIntegerOpInstr
 BinaryIntegerOpInstr (Token::Kind op_kind, Value *left, Value *right, intptr_t deopt_id)
 
Token::Kind op_kind () const
 
Valueleft () const
 
Valueright () const
 
bool can_overflow () const
 
void set_can_overflow (bool overflow)
 
bool is_truncating () const
 
void mark_truncating ()
 
bool RightIsNonZero () const
 
bool RightIsPowerOfTwoConstant () const
 
virtual DefinitionCanonicalize (FlowGraph *flow_graph)
 
virtual bool AttributesEqual (const Instruction &other) const
 
virtual intptr_t DeoptimizationTarget () const
 
virtual void InferRange (RangeAnalysis *analysis, Range *range)
 
- Public Member Functions inherited from dart::TemplateDefinition< 2, NoThrow, Pure >
 TemplateDefinition (intptr_t deopt_id=DeoptId::kNone)
 
 TemplateDefinition (const InstructionSource &source, intptr_t deopt_id=DeoptId::kNone)
 
virtual intptr_t InputCount () const
 
virtual ValueInputAt (intptr_t i) const
 
virtual bool MayThrow () const
 

Static Public Member Functions

static bool IsSupported (Token::Kind op_kind)
 
- Static Public Member Functions inherited from dart::BinaryIntegerOpInstr
static BinaryIntegerOpInstrMake (Representation representation, Token::Kind op_kind, Value *left, Value *right, intptr_t deopt_id, SpeculativeMode speculative_mode=kGuardInputs)
 
static BinaryIntegerOpInstrMake (Representation representation, Token::Kind op_kind, Value *left, Value *right, intptr_t deopt_id, bool can_overflow, bool is_truncating, Range *range, SpeculativeMode speculative_mode=kGuardInputs)
 

Additional Inherited Members

- Public Types inherited from dart::TemplateDefinition< 2, NoThrow, Pure >
using BaseClass = typename Pure< Definition, PureDefinition >::Base
 
- Protected Attributes inherited from dart::TemplateDefinition< 2, NoThrow, Pure >
EmbeddedArray< Value *, Ninputs_
 

Detailed Description

Definition at line 9494 of file il.h.

Constructor & Destructor Documentation

◆ BinaryUint32OpInstr()

dart::BinaryUint32OpInstr::BinaryUint32OpInstr ( Token::Kind  op_kind,
Value left,
Value right,
intptr_t  deopt_id 
)
inline

Definition at line 9496 of file il.h.

9500 : BinaryIntegerOpInstr(op_kind, left, right, deopt_id) {
9503 }
Value * right() const
Definition il.h:9350
Token::Kind op_kind() const
Definition il.h:9348
Value * left() const
Definition il.h:9349
BinaryIntegerOpInstr(Token::Kind op_kind, Value *left, Value *right, intptr_t deopt_id)
Definition il.h:9317
static bool IsSupported(Token::Kind op_kind)
Definition il.h:9518
#define ASSERT(E)

Member Function Documentation

◆ ComputeCanDeoptimize()

virtual bool dart::BinaryUint32OpInstr::ComputeCanDeoptimize ( ) const
inlinevirtual

Definition at line 9505 of file il.h.

9505{ return false; }

◆ IsSupported()

static bool dart::BinaryUint32OpInstr::IsSupported ( Token::Kind  op_kind)
inlinestatic

Definition at line 9518 of file il.h.

9518 {
9519 switch (op_kind) {
9520 case Token::kADD:
9521 case Token::kSUB:
9522 case Token::kMUL:
9523 case Token::kBIT_AND:
9524 case Token::kBIT_OR:
9525 case Token::kBIT_XOR:
9526 return true;
9527 default:
9528 return false;
9529 }
9530 }

◆ representation()

virtual Representation dart::BinaryUint32OpInstr::representation ( ) const
inlinevirtual

Definition at line 9507 of file il.h.

9507{ return kUnboxedUint32; }

◆ RequiredInputRepresentation()

virtual Representation dart::BinaryUint32OpInstr::RequiredInputRepresentation ( intptr_t  idx) const
inlinevirtual

Definition at line 9509 of file il.h.

9509 {
9510 ASSERT((idx == 0) || (idx == 1));
9511 return kUnboxedUint32;
9512 }

◆ SpeculativeModeOfInput()

virtual SpeculativeMode dart::BinaryUint32OpInstr::SpeculativeModeOfInput ( intptr_t  index) const
inlinevirtual

Definition at line 9514 of file il.h.

9514 {
9515 return kNotSpeculative;
9516 }

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