V8 Project
v8::internal::compiler::FINAL< kOperandKind, kNumCachedOperands >::FINAL Class Reference

#include <instruction-selector.h>

+ Inheritance diagram for v8::internal::compiler::FINAL< kOperandKind, kNumCachedOperands >::FINAL:
+ Collaboration diagram for v8::internal::compiler::FINAL< kOperandKind, kNumCachedOperands >::FINAL:

Public Member Functions

 ControlEffectOperator ()
 
 Features ()
 
 Features (unsigned bits)
 
 Features (CpuFeature f)
 
 Features (CpuFeature f1, CpuFeature f2)
 
bool Contains (CpuFeature f) const
 
- Public Member Functions inherited from v8::internal::compiler::SimpleOperator
 SimpleOperator (Opcode opcode, Properties properties, int input_count, int output_count, const char *mnemonic)
 
 ~SimpleOperator ()
 
virtual bool Equals (const Operator *that) const FINAL
 
virtual int HashCode () const FINAL
 
virtual int InputCount () const FINAL
 
virtual int OutputCount () const FINAL
 
- Public Member Functions inherited from v8::internal::compiler::Operator
 Operator (Opcode opcode, Properties properties, const char *mnemonic)
 
virtual ~Operator ()
 
Opcode opcode () const
 
const char * mnemonic () const
 
bool HasProperty (Property property) const
 
Properties properties () const
 
- Public Member Functions inherited from v8::internal::ZoneObject
 INLINE (void *operator new(size_t size, Zone *zone))
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)
 

Private Attributes

unsigned bits_
 

Additional Inherited Members

- Public Types inherited from v8::internal::compiler::Operator
enum  Property {
  kNoProperties = 0 , kReducible = 1 << 0 , kCommutative = 1 << 1 , kAssociative = 1 << 2 ,
  kIdempotent = 1 << 3 , kNoRead = 1 << 4 , kNoWrite = 1 << 5 , kNoThrow = 1 << 6 ,
  kFoldable = kNoRead | kNoWrite , kEliminatable = kNoWrite | kNoThrow , kPure = kNoRead | kNoWrite | kNoThrow | kIdempotent
}
 
typedef uint8_t Opcode
 
typedef base::Flags< Property, uint8_t > Properties
 

Detailed Description

template<InstructionOperand::Kind kOperandKind, int kNumCachedOperands>
class v8::internal::compiler::FINAL< kOperandKind, kNumCachedOperands >::FINAL

Definition at line 77 of file common-operator.cc.

Member Function Documentation

◆ Contains()

template<InstructionOperand::Kind kOperandKind, int kNumCachedOperands>
bool v8::internal::compiler::FINAL< kOperandKind, kNumCachedOperands >::FINAL::Contains ( CpuFeature  f) const
inline

Definition at line 72 of file instruction-selector.h.

72 { return (bits_ & (1u << f)); }

◆ ControlEffectOperator()

template<InstructionOperand::Kind kOperandKind, int kNumCachedOperands>
v8::internal::compiler::FINAL< kOperandKind, kNumCachedOperands >::FINAL::ControlEffectOperator ( )
inline

Definition at line 78 of file common-operator.cc.

79  : SimpleOperator(IrOpcode::kControlEffect, Operator::kPure, 0, 0,
80  "ControlEffect") {}
SimpleOperator(Opcode opcode, Properties properties, int input_count, int output_count, const char *mnemonic)
Definition: operator.cc:14

◆ Features() [1/4]

template<InstructionOperand::Kind kOperandKind, int kNumCachedOperands>
v8::internal::compiler::FINAL< kOperandKind, kNumCachedOperands >::FINAL::Features ( )
inline

Definition at line 67 of file instruction-selector.h.

67 : bits_(0) {}

◆ Features() [2/4]

template<InstructionOperand::Kind kOperandKind, int kNumCachedOperands>
v8::internal::compiler::FINAL< kOperandKind, kNumCachedOperands >::FINAL::Features ( CpuFeature  f)
inlineexplicit

Definition at line 69 of file instruction-selector.h.

69 : bits_(1u << f) {}

◆ Features() [3/4]

template<InstructionOperand::Kind kOperandKind, int kNumCachedOperands>
v8::internal::compiler::FINAL< kOperandKind, kNumCachedOperands >::FINAL::Features ( CpuFeature  f1,
CpuFeature  f2 
)
inline

Definition at line 70 of file instruction-selector.h.

70 : bits_((1u << f1) | (1u << f2)) {}
const FPURegister f1
const FPURegister f2

◆ Features() [4/4]

template<InstructionOperand::Kind kOperandKind, int kNumCachedOperands>
v8::internal::compiler::FINAL< kOperandKind, kNumCachedOperands >::FINAL::Features ( unsigned  bits)
inlineexplicit

Definition at line 68 of file instruction-selector.h.

68 : bits_(bits) {}

Member Data Documentation

◆ bits_

template<InstructionOperand::Kind kOperandKind, int kNumCachedOperands>
unsigned v8::internal::compiler::FINAL< kOperandKind, kNumCachedOperands >::FINAL::bits_
private

Definition at line 75 of file instruction-selector.h.


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