v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <hydrogen-instructions.h>
Protected Member Functions | |
HInstruction (HType type=HType::Tagged()) | |
virtual void | DeleteFromGraph () V8_OVERRIDE |
Protected Member Functions inherited from HValue | |
virtual bool | DataEquals (HValue *other) |
virtual Representation | RepresentationFromInputs () |
Representation | RepresentationFromUses () |
Representation | RepresentationFromUseRequirements () |
bool | HasNonSmiUse () |
virtual void | UpdateRepresentation (Representation new_rep, HInferRepresentationPhase *h_infer, const char *reason) |
void | AddDependantsToWorklist (HInferRepresentationPhase *h_infer) |
virtual void | RepresentationChanged (Representation to) |
virtual Range * | InferRange (Zone *zone) |
virtual void | InternalSetOperandAt (int index, HValue *value)=0 |
void | clear_block () |
void | set_representation (Representation r) |
HUseListNode * | RemoveUse (HValue *value, int index) |
void | RegisterUse (int index, HValue *new_value) |
Friends | |
class | HBasicBlock |
Definition at line 1218 of file hydrogen-instructions.h.
|
inlineprotected |
Definition at line 1281 of file hydrogen-instructions.h.
References HValue::SetDependsOnFlag().
Definition at line 1238 of file hydrogen-instructions.h.
Referenced by V8_FINAL< kOperandKind, kNumCachedOperands >::CreateAndInsertAfter().
bool CanDeoptimize | ( | ) |
Definition at line 850 of file hydrogen-instructions.cc.
References HValue::opcode(), HValue::OperandAt(), and HValue::OperandCount().
|
inline |
Definition at line 1266 of file hydrogen-instructions.h.
References HValue::CheckFlag(), and HValue::kTruncatingToInt32.
|
pure virtual |
|
inlineprotectedvirtual |
Implements HValue.
Reimplemented in V8_FINAL< kOperandKind, kNumCachedOperands >.
Definition at line 1289 of file hydrogen-instructions.h.
References HInstruction::Unlink().
|
inline |
Definition at line 1247 of file hydrogen-instructions.h.
References HSourcePosition::IsUnknown(), and HInstruction::position().
Referenced by HInstruction::InsertAfter(), HInstruction::InsertBefore(), and HInstruction::set_position().
|
inlinevirtual |
Reimplemented in V8_FINAL< kOperandKind, kNumCachedOperands >, and V8_FINAL< kOperandKind, kNumCachedOperands >.
Definition at line 1276 of file hydrogen-instructions.h.
void InsertAfter | ( | HInstruction * | previous | ) |
Definition at line 761 of file hydrogen-instructions.cc.
References ASSERT, HValue::block(), HInstruction::has_position(), HValue::HasObservableSideEffects(), HInstruction::HBasicBlock, HInstruction::IsLinked(), HInstruction::next(), v8::internal::NULL, HInstruction::position(), HInstruction::previous(), HInstruction::set_position(), and HValue::SetBlock().
void InsertBefore | ( | HInstruction * | next | ) |
Definition at line 743 of file hydrogen-instructions.cc.
References ASSERT, HValue::block(), HInstruction::has_position(), HInstruction::IsLinked(), HInstruction::next(), v8::internal::NULL, HInstruction::position(), HInstruction::previous(), HInstruction::set_position(), and HValue::SetBlock().
|
inline |
Definition at line 1226 of file hydrogen-instructions.h.
References HValue::block(), and v8::internal::NULL.
Referenced by HGraphBuilder::BuildCheckPrototypeMaps(), HInstruction::InsertAfter(), HInstruction::InsertBefore(), HUint32AnalysisPhase::Run(), and HInstruction::Unlink().
|
inline |
Definition at line 1220 of file hydrogen-instructions.h.
Referenced by BoundsCheckBbData::CoverCheck(), HInstruction::InsertAfter(), HInstruction::InsertBefore(), HRepresentationChangesPhase::Run(), and HComputeChangeUndefinedToNaN::Run().
|
inlinevirtual |
Reimplemented from HValue.
Definition at line 1256 of file hydrogen-instructions.h.
References HSourcePosition::IsUnknown(), HPositionInfo::operand_position(), and HInstruction::position().
|
inlinevirtual |
Reimplemented from HValue.
Reimplemented in V8_FINAL< kOperandKind, kNumCachedOperands >.
Definition at line 1244 of file hydrogen-instructions.h.
References HPositionInfo::position().
Referenced by HInstruction::has_position(), HInstruction::InsertAfter(), HInstruction::InsertBefore(), and HInstruction::operand_position().
Definition at line 1231 of file hydrogen-instructions.h.
Referenced by V8_FINAL< kOperandKind, kNumCachedOperands >::CreateAndInsertBefore().
|
inline |
Definition at line 1221 of file hydrogen-instructions.h.
Referenced by HInstruction::InsertAfter(), and HInstruction::InsertBefore().
|
virtual |
Reimplemented in V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, HStringCompareAndBranch, HCompareObjectEqAndBranch, HCompareNumericAndBranch, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, HBinaryOperation, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, HBinaryCall, V8_FINAL< kOperandKind, kNumCachedOperands >, HUnaryCall, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, HUnaryOperation, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, HUnaryControlInstruction, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, HControlInstruction, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, and V8_FINAL< kOperandKind, kNumCachedOperands >.
Definition at line 714 of file hydrogen-instructions.cc.
References StringStream::Add(), HValue::OperandAt(), HValue::OperandCount(), and HValue::PrintNameTo().
Referenced by HInstruction::PrintTo().
|
virtual |
Implements HValue.
Reimplemented in V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, V8_FINAL< kOperandKind, kNumCachedOperands >, and V8_FINAL< kOperandKind, kNumCachedOperands >.
Definition at line 699 of file hydrogen-instructions.cc.
References StringStream::Add(), HValue::CheckFlag(), HValue::kHasNoObservableSideEffects, HValue::kIsDead, HValue::PrintChangesTo(), HInstruction::PrintDataTo(), HValue::PrintRangeTo(), and HValue::PrintTypeTo().
|
inline |
Definition at line 1260 of file hydrogen-instructions.h.
References ASSERT, HPositionInfo::ensure_storage_for_operand_positions(), HValue::OperandCount(), and HPositionInfo::set_operand_position().
|
inline |
Definition at line 1250 of file hydrogen-instructions.h.
References ASSERT, HInstruction::has_position(), HSourcePosition::IsUnknown(), and HPositionInfo::set_position().
Referenced by HInstruction::InsertAfter(), and HInstruction::InsertBefore().
void Unlink | ( | ) |
Definition at line 727 of file hydrogen-instructions.cc.
References ASSERT, HValue::block(), HValue::clear_block(), HInstruction::IsLinked(), and v8::internal::NULL.
Referenced by BoundsCheckBbData::CoverCheck(), and HInstruction::DeleteFromGraph().
|
friend |
Definition at line 1303 of file hydrogen-instructions.h.
Referenced by HInstruction::InsertAfter(), and HControlInstruction::Not().