v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <hydrogen-instructions.h>
Static Public Member Functions | |
static HInstruction * | NewHBitwise (Zone *zone, Token::Value op, HValue *context, HValue *left, HValue *right) |
Static Public Member Functions inherited from HValue | |
static GVNFlag | ChangesFlagFromInt (int x) |
static GVNFlag | DependsOnFlagFromInt (int x) |
static GVNFlagSet | ConvertChangesToDependsFlags (GVNFlagSet flags) |
static HValue * | cast (HValue *value) |
Protected Member Functions | |
virtual bool | DataEquals (HValue *other) |
virtual Range * | InferRange (Zone *zone) |
Protected Member Functions inherited from HTemplateInstruction< 3 > | |
void | InternalSetOperandAt (int i, HValue *value) |
Protected Member Functions inherited from HInstruction | |
HInstruction () | |
virtual void | DeleteFromGraph () |
Protected Member Functions inherited from HValue | |
void | clear_block () |
void | set_representation (Representation r) |
HUseListNode * | RemoveUse (HValue *value, int index) |
void | RegisterUse (int index, HValue *new_value) |
Additional Inherited Members | |
Public Types inherited from HValue | |
enum | Flag { kFlexibleRepresentation, kUseGVN, kTrackSideEffectDominators, kCanOverflow, kBailoutOnMinusZero, kCanBeDivByZero, kDeoptimizeOnUndefined, kIsArguments, kTruncatingToInt32, kIsDead, kUint32, kLastFlag = kUint32 } |
enum | Opcode { kPhi } |
Static Public Attributes inherited from HValue | |
static const int | kNoNumber = -1 |
static const int | kChangesToDependsFlagsLeftShift = 1 |
Static Protected Member Functions inherited from HValue | |
static GVNFlagSet | AllDependsOnFlagSet () |
static GVNFlagSet | AllChangesFlagSet () |
static GVNFlagSet | AllSideEffectsFlagSet () |
static GVNFlagSet | AllObservableSideEffectsFlagSet () |
Protected Attributes inherited from HValue | |
HBasicBlock * | block_ |
int | id_ |
Representation | representation_ |
HType | type_ |
HUseListNode * | use_list_ |
Range * | range_ |
int | flags_ |
GVNFlagSet | gvn_flags_ |
Definition at line 3646 of file hydrogen-instructions.h.
|
inline |
Definition at line 3648 of file hydrogen-instructions.h.
References ASSERT.
Referenced by HBitwise::NewHBitwise().
|
virtual |
Reimplemented from HValue.
Definition at line 872 of file hydrogen-instructions.cc.
References HValue::cast(), HValue::CheckFlag(), HValue::kUint32, HBinaryOperation::left(), HBitwise::op(), HValue::representation(), and HBinaryOperation::right().
|
inlineprotectedvirtual |
Reimplemented from HValue.
Definition at line 3672 of file hydrogen-instructions.h.
References HValue::cast().
Reimplemented from HValue.
Definition at line 1549 of file hydrogen-instructions.cc.
References HValue::InferRange(), HBinaryOperation::left(), Range::Mask(), v8::internal::NULL, HBitwise::op(), HValue::range(), and HBinaryOperation::right().
|
inlinevirtual |
Reimplemented from HBinaryOperation.
Definition at line 3657 of file hydrogen-instructions.h.
|
static |
Definition at line 2461 of file hydrogen-instructions.cc.
References HValue::cast(), H_CONSTANT_INT32, HConstant::HasNumberValue(), HBitwise::HBitwise(), HConstant::NumberValueAsInteger32(), and UNREACHABLE.
|
inline |
Definition at line 3655 of file hydrogen-instructions.h.
Referenced by HBitwise::Canonicalize(), and HBitwise::InferRange().
|
virtual |
Reimplemented from HBinaryOperation.
Definition at line 2550 of file hydrogen-instructions.cc.
References StringStream::Add(), Token::Name(), and HBinaryOperation::PrintDataTo().