V8 Project
|
#include <node-properties.h>
Static Public Member Functions | |
static Node * | GetValueInput (Node *node, int index) |
static Node * | GetContextInput (Node *node) |
static Node * | GetFrameStateInput (Node *node) |
static Node * | GetEffectInput (Node *node, int index=0) |
static Node * | GetControlInput (Node *node, int index=0) |
static int | GetFrameStateIndex (Node *node) |
static bool | IsValueEdge (Node::Edge edge) |
static bool | IsContextEdge (Node::Edge edge) |
static bool | IsEffectEdge (Node::Edge edge) |
static bool | IsControlEdge (Node::Edge edge) |
static bool | IsControl (Node *node) |
static void | ReplaceControlInput (Node *node, Node *control) |
static void | ReplaceEffectInput (Node *node, Node *effect, int index=0) |
static void | ReplaceFrameStateInput (Node *node, Node *frame_state) |
static void | RemoveNonValueInputs (Node *node) |
static void | ReplaceWithValue (Node *node, Node *value, Node *effect=NULL) |
static Bounds | GetBounds (Node *node) |
static void | SetBounds (Node *node, Bounds bounds) |
static int | FirstValueIndex (Node *node) |
static int | FirstContextIndex (Node *node) |
static int | FirstFrameStateIndex (Node *node) |
static int | FirstEffectIndex (Node *node) |
static int | FirstControlIndex (Node *node) |
static int | PastValueIndex (Node *node) |
static int | PastContextIndex (Node *node) |
static int | PastFrameStateIndex (Node *node) |
static int | PastEffectIndex (Node *node) |
static int | PastControlIndex (Node *node) |
static bool | IsInputRange (Node::Edge edge, int first, int count) |
Definition at line 18 of file node-properties.h.
|
inlinestatic |
Definition at line 29 of file node-properties-inl.h.
References PastValueIndex().
Referenced by GetContextInput(), IsContextEdge(), PastContextIndex(), and v8::internal::compiler::JSONGraphEdgeWriter::PreEdge().
|
inlinestatic |
Definition at line 41 of file node-properties-inl.h.
References PastEffectIndex().
Referenced by v8::internal::compiler::Scheduler::ConnectFloatingControlSubgraph(), GetControlInput(), IsControlEdge(), PastControlIndex(), v8::internal::compiler::JSONGraphNodeWriter::Pre(), v8::internal::compiler::JSONGraphEdgeWriter::PreEdge(), v8::internal::compiler::RepresentationSelector::ProcessRemainingInputs(), ReplaceControlInput(), and v8::internal::compiler::CFGBuilder::Run().
|
inlinestatic |
Definition at line 37 of file node-properties-inl.h.
References PastFrameStateIndex().
Referenced by GetEffectInput(), IsEffectEdge(), PastEffectIndex(), v8::internal::compiler::JSONGraphEdgeWriter::PreEdge(), v8::internal::compiler::RepresentationSelector::ProcessRemainingInputs(), and ReplaceEffectInput().
|
inlinestatic |
Definition at line 33 of file node-properties-inl.h.
References PastContextIndex().
Referenced by GetFrameStateIndex(), GetFrameStateInput(), PastFrameStateIndex(), v8::internal::compiler::JSONGraphEdgeWriter::PreEdge(), ReplaceFrameStateInput(), and v8::internal::compiler::JSGenericLowering::ReplaceWithCompareIC().
|
inlinestatic |
Definition at line 27 of file node-properties-inl.h.
Referenced by GetValueInput(), IsValueEdge(), PastValueIndex(), and v8::internal::compiler::JSONGraphEdgeWriter::PreEdge().
|
inlinestatic |
Definition at line 201 of file node-properties-inl.h.
Referenced by v8::internal::compiler::GraphVisualizer::AnnotateNode(), v8::internal::compiler::RepresentationSelector::BothInputsAre(), v8::internal::compiler::Typer::Visitor::ContextType(), v8::internal::compiler::JSBinopReduction::ConvertToI32(), v8::internal::compiler::JSCallReduction::InputsMatchAll(), v8::internal::compiler::JSCallReduction::InputsMatchOne(), v8::internal::compiler::JSCallReduction::InputsMatchTwo(), v8::internal::compiler::Typer::Visitor::OperandType(), v8::internal::compiler::operator<<(), v8::internal::compiler::Typer::NarrowVisitor::Pre(), v8::internal::compiler::Typer::WidenVisitor::Pre(), v8::internal::compiler::RepresentationSelector::VisitNode(), and v8::internal::compiler::RepresentationSelector::VisitPhi().
|
inlinestatic |
Definition at line 81 of file node-properties-inl.h.
References DCHECK, FirstContextIndex(), and v8::internal::compiler::OperatorProperties::HasContextInput().
Referenced by v8::internal::compiler::JSBinopReduction::context(), v8::internal::compiler::Typer::Visitor::ContextType(), v8::internal::compiler::Verifier::Visitor::Pre(), and v8::internal::compiler::JSGenericLowering::ReplaceWithCompareIC().
|
inlinestatic |
Definition at line 97 of file node-properties-inl.h.
References DCHECK, FirstControlIndex(), and v8::internal::compiler::OperatorProperties::GetControlInputCount().
Referenced by v8::internal::compiler::CFGBuilder::ConnectBranch(), v8::internal::compiler::CFGBuilder::ConnectReturn(), v8::internal::compiler::JSBinopReduction::control(), v8::internal::compiler::Inlinee::end_block(), v8::internal::compiler::ScheduleLateNodeVisitor::GetBlockForUse(), v8::internal::compiler::GetControlCluster(), v8::internal::compiler::Scheduler::GetPlacement(), v8::internal::compiler::Inlinee::InlineAtCall(), v8::internal::compiler::IsLikelyBackEdge(), v8::internal::compiler::anonymous_namespace{graph-unittest.cc}::FINAL< T >::MatchAndExplain(), v8::internal::compiler::StructuredGraphBuilder::MergeEffect(), v8::internal::compiler::StructuredGraphBuilder::MergeValue(), v8::internal::compiler::PrepareUsesVisitor::Pre(), v8::internal::compiler::Verifier::Visitor::Pre(), v8::internal::compiler::GraphVisualizer::PrintEdge(), v8::internal::compiler::JSGenericLowering::ReplaceWithCompareIC(), v8::internal::compiler::ScheduleVerifier::Run(), v8::internal::compiler::Inlinee::UnifyReturn(), v8::internal::compiler::Inlinee::unique_return(), and v8::internal::compiler::RepresentationSelector::VisitNode().
|
inlinestatic |
Definition at line 91 of file node-properties-inl.h.
References DCHECK, FirstEffectIndex(), and v8::internal::compiler::OperatorProperties::GetEffectInputCount().
Referenced by v8::internal::compiler::JSBinopReduction::effect(), v8::internal::compiler::Inlinee::effect_output(), v8::internal::compiler::Inlinee::InlineAtCall(), v8::internal::compiler::anonymous_namespace{graph-unittest.cc}::FINAL< T >::MatchAndExplain(), v8::internal::compiler::Verifier::Visitor::Pre(), v8::internal::compiler::JSGenericLowering::ReplaceWithCompareIC(), ReplaceWithValue(), and v8::internal::compiler::Inlinee::UnifyReturn().
|
inlinestatic |
Definition at line 103 of file node-properties-inl.h.
References DCHECK, FirstFrameStateIndex(), and v8::internal::compiler::OperatorProperties::HasFrameStateInput().
|
inlinestatic |
Definition at line 86 of file node-properties-inl.h.
References DCHECK, FirstFrameStateIndex(), and v8::internal::compiler::OperatorProperties::HasFrameStateInput().
Referenced by v8::internal::compiler::JSCallFunctionAccessor::frame_state(), v8::internal::compiler::Verifier::Visitor::Pre(), v8::internal::compiler::AstGraphBuilder::PrepareFrameState(), and v8::internal::compiler::JSGenericLowering::ReplaceWithCompareIC().
|
inlinestatic |
Definition at line 75 of file node-properties-inl.h.
References DCHECK, FirstValueIndex(), and v8::internal::compiler::OperatorProperties::GetValueInputCount().
Referenced by v8::internal::compiler::JSCallReduction::GetBuiltinFunctionId(), v8::internal::compiler::JSCallReduction::GetJSCallInput(), v8::internal::compiler::JSCallReduction::HasBuiltinFunctionId(), v8::internal::compiler::Inlinee::InlineAtCall(), v8::internal::compiler::JSBinopReduction::left(), v8::internal::compiler::anonymous_namespace{graph-unittest.cc}::FINAL< T >::MatchAndExplain(), v8::internal::compiler::Typer::Visitor::OperandType(), v8::internal::compiler::Verifier::Visitor::Pre(), v8::internal::compiler::JSContextSpecializer::ReduceJSLoadContext(), v8::internal::compiler::JSContextSpecializer::ReduceJSStoreContext(), v8::internal::compiler::JSGenericLowering::ReplaceWithCompareIC(), v8::internal::compiler::JSBinopReduction::right(), v8::internal::compiler::SimplifiedLowering::StringComparison(), v8::internal::compiler::Inlinee::UnifyReturn(), and v8::internal::compiler::Inlinee::value_output().
|
inlinestatic |
Definition at line 125 of file node-properties-inl.h.
References FirstContextIndex(), v8::internal::compiler::OperatorProperties::GetContextInputCount(), and IsInputRange().
Referenced by v8::internal::compiler::GraphVisualizer::PrintEdge().
|
inlinestatic |
Definition at line 147 of file node-properties-inl.h.
References v8::internal::compiler::IrOpcode::IsControlOpcode().
Referenced by v8::internal::compiler::GraphVisualizer::AnnotateNode(), v8::internal::compiler::operator<<(), v8::internal::compiler::JSONGraphNodeWriter::Pre(), and v8::internal::compiler::Verifier::Run().
|
inlinestatic |
Definition at line 137 of file node-properties-inl.h.
References FirstControlIndex(), v8::internal::compiler::OperatorProperties::GetControlInputCount(), and IsInputRange().
Referenced by v8::internal::compiler::Scheduler::ConnectFloatingControlSubgraph(), v8::internal::compiler::Inlinee::InlineAtCall(), and v8::internal::compiler::GraphVisualizer::PrintEdge().
|
inlinestatic |
Definition at line 131 of file node-properties-inl.h.
References FirstEffectIndex(), v8::internal::compiler::OperatorProperties::GetEffectInputCount(), and IsInputRange().
Referenced by v8::internal::compiler::Inlinee::InlineAtCall(), v8::internal::compiler::GraphVisualizer::PrintEdge(), and ReplaceWithValue().
|
inlinestatic |
Definition at line 111 of file node-properties-inl.h.
Referenced by IsContextEdge(), IsControlEdge(), IsEffectEdge(), and IsValueEdge().
|
inlinestatic |
Definition at line 119 of file node-properties-inl.h.
References FirstValueIndex(), v8::internal::compiler::OperatorProperties::GetValueInputCount(), and IsInputRange().
Referenced by v8::internal::compiler::Inlinee::InlineAtCall(), and v8::internal::compiler::Verifier::Visitor::Pre().
|
inlinestatic |
Definition at line 51 of file node-properties-inl.h.
References FirstContextIndex(), and v8::internal::compiler::OperatorProperties::GetContextInputCount().
Referenced by FirstFrameStateIndex(), and v8::internal::compiler::RepresentationSelector::ProcessRemainingInputs().
|
inlinestatic |
Definition at line 66 of file node-properties-inl.h.
References FirstControlIndex(), and v8::internal::compiler::OperatorProperties::GetControlInputCount().
Referenced by v8::internal::compiler::Scheduler::ConnectFloatingControlSubgraph(), v8::internal::compiler::RepresentationSelector::ProcessRemainingInputs(), and v8::internal::compiler::CFGBuilder::Run().
|
inlinestatic |
Definition at line 61 of file node-properties-inl.h.
References FirstEffectIndex(), and v8::internal::compiler::OperatorProperties::GetEffectInputCount().
Referenced by FirstControlIndex(), and v8::internal::compiler::RepresentationSelector::ProcessRemainingInputs().
|
inlinestatic |
Definition at line 56 of file node-properties-inl.h.
References FirstFrameStateIndex(), and v8::internal::compiler::OperatorProperties::GetFrameStateInputCount().
Referenced by FirstEffectIndex().
|
inlinestatic |
Definition at line 46 of file node-properties-inl.h.
References FirstValueIndex(), and v8::internal::compiler::OperatorProperties::GetValueInputCount().
Referenced by FirstContextIndex(), and v8::internal::compiler::RepresentationSelector::ProcessRemainingInputs().
|
inlinestatic |
Definition at line 171 of file node-properties-inl.h.
References v8::internal::compiler::OperatorProperties::GetValueInputCount().
Referenced by v8::internal::compiler::JSBinopReduction::ChangeToPureOperator().
|
inlinestatic |
Definition at line 155 of file node-properties-inl.h.
References FirstControlIndex().
|
inlinestatic |
Definition at line 159 of file node-properties-inl.h.
References DCHECK, FirstEffectIndex(), and v8::internal::compiler::OperatorProperties::GetEffectInputCount().
Referenced by v8::internal::compiler::JSBinopReduction::update_effect().
|
inlinestatic |
Definition at line 165 of file node-properties-inl.h.
References DCHECK, FirstFrameStateIndex(), and v8::internal::compiler::OperatorProperties::HasFrameStateInput().
Referenced by v8::internal::compiler::AstGraphBuilder::PrepareFrameState(), and v8::internal::compiler::JSInliner::TryInlineCall().
|
inlinestatic |
Definition at line 178 of file node-properties-inl.h.
References DCHECK, DCHECK_NE, GetEffectInput(), v8::internal::compiler::OperatorProperties::HasControlOutput(), v8::internal::compiler::OperatorProperties::HasEffectInput(), IsEffectEdge(), and NULL.
Referenced by v8::internal::compiler::Inlinee::InlineAtCall(), v8::internal::compiler::ContextSpecializationVisitor::Post(), v8::internal::compiler::RelaxEffects(), v8::internal::compiler::ReplaceWithPureReduction(), v8::internal::compiler::ReplaceWithReduction(), and v8::internal::compiler::JSContextSpecializer::SpecializeToContext().
|
inlinestatic |
Definition at line 203 of file node-properties-inl.h.
Referenced by v8::internal::compiler::Typer::Init(), v8::internal::compiler::JSBuiltinReducerTest::Parameter(), v8::internal::compiler::Typer::RunVisitor::Post(), v8::internal::compiler::Typer::NarrowVisitor::Pre(), v8::internal::compiler::Typer::WidenVisitor::Pre(), and v8::internal::compiler::JSBinopReduction::TryNarrowingToI32().