Home
last modified time | relevance | path

Searched refs:NodeProperties (Results 1 – 25 of 65) sorted by relevance

123

/external/v8/src/compiler/
Dtyped-optimization.cc105 Node* const value = NodeProperties::GetValueInput(node, 0); in ReduceConvertReceiver()
106 Type const value_type = NodeProperties::GetType(value); in ReduceConvertReceiver()
107 Node* const global_proxy = NodeProperties::GetValueInput(node, 1); in ReduceConvertReceiver()
119 Node* const input = NodeProperties::GetValueInput(node, 0); in ReduceCheckHeapObject()
120 Type const input_type = NodeProperties::GetType(input); in ReduceCheckHeapObject()
129 Node* const input = NodeProperties::GetValueInput(node, 0); in ReduceCheckNotTaggedHole()
130 Type const input_type = NodeProperties::GetType(input); in ReduceCheckNotTaggedHole()
144 Node* const object = NodeProperties::GetValueInput(node, 0); in ReduceCheckMaps()
145 Type const object_type = NodeProperties::GetType(object); in ReduceCheckMaps()
146 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceCheckMaps()
[all …]
Dnode-properties.cc23 int NodeProperties::PastValueIndex(Node* node) { in PastValueIndex()
29 int NodeProperties::PastContextIndex(Node* node) { in PastContextIndex()
36 int NodeProperties::PastFrameStateIndex(Node* node) { in PastFrameStateIndex()
43 int NodeProperties::PastEffectIndex(Node* node) { in PastEffectIndex()
49 int NodeProperties::PastControlIndex(Node* node) { in PastControlIndex()
55 Node* NodeProperties::GetValueInput(Node* node, int index) { in GetValueInput()
62 Node* NodeProperties::GetContextInput(Node* node) { in GetContextInput()
69 Node* NodeProperties::GetFrameStateInput(Node* node) { in GetFrameStateInput()
76 Node* NodeProperties::GetEffectInput(Node* node, int index) { in GetEffectInput()
83 Node* NodeProperties::GetControlInput(Node* node, int index) { in GetControlInput()
[all …]
Djs-intrinsic-lowering.cc87 Node* const value = NodeProperties::GetValueInput(node, 0); in ReduceCreateIterResultObject()
88 Node* const done = NodeProperties::GetValueInput(node, 1); in ReduceCreateIterResultObject()
89 Node* const context = NodeProperties::GetContextInput(node); in ReduceCreateIterResultObject()
90 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceCreateIterResultObject()
98 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceDebugIsActive()
99 Node* const control = NodeProperties::GetControlInput(node); in ReduceDebugIsActive()
106 Node* const frame_state = NodeProperties::GetFrameStateInput(node); in ReduceDeoptimizeNow()
107 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceDeoptimizeNow()
108 Node* const control = NodeProperties::GetControlInput(node); in ReduceDeoptimizeNow()
115 NodeProperties::MergeControlToEnd(graph(), common(), deoptimize); in ReduceDeoptimizeNow()
[all …]
Djs-call-reducer.cc45 Node* effect = NodeProperties::GetEffectInput(node); in ReduceMathUnary()
46 Node* control = NodeProperties::GetControlInput(node); in ReduceMathUnary()
47 Node* input = NodeProperties::GetValueInput(node, 2); in ReduceMathUnary()
68 Node* effect = NodeProperties::GetEffectInput(node); in ReduceMathBinary()
69 Node* control = NodeProperties::GetControlInput(node); in ReduceMathBinary()
71 Node* left = NodeProperties::GetValueInput(node, 2); in ReduceMathBinary()
73 ? NodeProperties::GetValueInput(node, 3) in ReduceMathBinary()
99 Node* left = NodeProperties::GetValueInput(node, 2); in ReduceMathImul()
101 ? NodeProperties::GetValueInput(node, 3) in ReduceMathImul()
103 Node* effect = NodeProperties::GetEffectInput(node); in ReduceMathImul()
[all …]
Djs-typed-lowering.cc230 NodeProperties::RemoveNonValueInputs(node_); in ChangeToPureOperator()
232 NodeProperties::ChangeOp(node_, op); in ChangeToPureOperator()
236 Type node_type = NodeProperties::GetType(node_); in ChangeToPureOperator()
237 NodeProperties::SetType(node_, Type::Intersect(node_type, type, zone())); in ChangeToPureOperator()
262 node_->RemoveInput(NodeProperties::FirstFrameStateIndex(node_)); in ChangeToSpeculativeOperator()
264 node_->RemoveInput(NodeProperties::FirstContextIndex(node_)); in ChangeToSpeculativeOperator()
266 NodeProperties::ChangeOp(node_, op); in ChangeToSpeculativeOperator()
269 Type node_type = NodeProperties::GetType(node_); in ChangeToSpeculativeOperator()
270 NodeProperties::SetType(node_, in ChangeToSpeculativeOperator()
353 Node* effect() { return NodeProperties::GetEffectInput(node_); } in effect()
[all …]
Ddead-code-elimination.cc25 NodeProperties::SetType(dead_, Type::None()); in DeadCodeElimination()
36 NodeProperties::GetTypeOrAny(node).IsNone(); in NoReturn()
82 Node* control = NodeProperties::GetControlInput(node); in PropagateDeadControl()
104 NodeProperties::ChangeOp(node, common()->End(live_input_count)); in ReduceEnd()
131 if (NodeProperties::IsPhi(use)) { in ReduceLoopOrMerge()
146 if (NodeProperties::IsPhi(use)) { in ReduceLoopOrMerge()
171 if (NodeProperties::IsPhi(use)) { in ReduceLoopOrMerge()
191 Node* control = NodeProperties::GetControlInput(node, 0); in RemoveLoopExit()
221 NodeProperties::GetTypeOrAny(node).IsNone()) { in ReducePhi()
226 Node* input = NodeProperties::GetValueInput(node, i); in ReducePhi()
[all …]
Descape-analysis-reducer.cc45 Type const replacement_type = NodeProperties::GetType(replacement); in ReplaceNode()
46 Type const original_type = NodeProperties::GetType(original); in ReplaceNode()
56 Node* effect = NodeProperties::GetEffectInput(original); in ReplaceNode()
57 Node* control = NodeProperties::GetControlInput(original); in ReplaceNode()
62 NodeProperties::SetType( in ReplaceNode()
65 NodeProperties::ChangeOp(original, in ReplaceNode()
75 node = NodeProperties::GetValueInput(node, 0); in SkipTypeGuards()
87 NodeProperties::SetType(node, Type::Object()); in ObjectIdNode()
111 Node* effect = NodeProperties::GetEffectInput(node, 0); in Reduce()
183 Node* input = NodeProperties::GetValueInput(node, i); in ReduceDeoptState()
[all …]
Djs-inlining.cc65 return NodeProperties::GetFrameStateInput(call_); in frame_state()
92 Node* control = NodeProperties::GetControlInput(call); in InlineCall()
93 Node* effect = NodeProperties::GetEffectInput(call); in InlineCall()
132 if (NodeProperties::IsEffectEdge(edge)) { in InlineCall()
134 } else if (NodeProperties::IsControlEdge(edge)) { in InlineCall()
136 } else if (NodeProperties::IsFrameStateEdge(edge)) { in InlineCall()
157 NodeProperties::ReplaceUses(subcall, subcall, subcall, on_success); in InlineCall()
158 NodeProperties::ReplaceControlInput(on_success, subcall); in InlineCall()
192 values.push_back(NodeProperties::GetValueInput(input, 1)); in InlineCall()
193 effects.push_back(NodeProperties::GetEffectInput(input)); in InlineCall()
[all …]
Djs-create-lowering.cc36 Node* const outer_state = NodeProperties::GetFrameStateInput(frame_state); in GetArgumentsFrameState()
117 Node* const target = NodeProperties::GetValueInput(node, 0); in ReduceJSCreate()
118 Type const target_type = NodeProperties::GetType(target); in ReduceJSCreate()
119 Node* const new_target = NodeProperties::GetValueInput(node, 1); in ReduceJSCreate()
120 Type const new_target_type = NodeProperties::GetType(new_target); in ReduceJSCreate()
121 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceJSCreate()
122 Node* const control = NodeProperties::GetControlInput(node); in ReduceJSCreate()
170 Node* const frame_state = NodeProperties::GetFrameStateInput(node); in ReduceJSCreateArguments()
184 Node* const callee = NodeProperties::GetValueInput(node, 0); in ReduceJSCreateArguments()
185 Node* const context = NodeProperties::GetContextInput(node); in ReduceJSCreateArguments()
[all …]
Dcommon-operator-reducer.cc52 NodeProperties::SetType(dead_, Type::None()); in CommonOperatorReducer()
99 NodeProperties::ChangeOp(use, common()->IfFalse()); in ReduceBranch()
102 NodeProperties::ChangeOp(use, common()->IfTrue()); in ReduceBranch()
113 NodeProperties::ChangeOp( in ReduceBranch()
140 Node* condition = NodeProperties::GetValueInput(node, 0); in ReduceDeoptimizeConditional()
141 Node* frame_state = NodeProperties::GetValueInput(node, 1); in ReduceDeoptimizeConditional()
142 Node* effect = NodeProperties::GetEffectInput(node); in ReduceDeoptimizeConditional()
143 Node* control = NodeProperties::GetControlInput(node); in ReduceDeoptimizeConditional()
149 NodeProperties::ReplaceValueInput(node, condition->InputAt(0), 0); in ReduceDeoptimizeConditional()
150 NodeProperties::ChangeOp( in ReduceDeoptimizeConditional()
[all …]
Dtype-narrowing-reducer.cc31 Type left_type = NodeProperties::GetType(node->InputAt(0)); in Reduce()
32 Type right_type = NodeProperties::GetType(node->InputAt(1)); in Reduce()
46 node->op(), NodeProperties::GetType(node->InputAt(0))); in Reduce()
52 new_type = op_typer_.Name(NodeProperties::GetType(node->InputAt(0)), \ in Reduce()
53 NodeProperties::GetType(node->InputAt(1))); \ in Reduce()
62 new_type = op_typer_.Name(NodeProperties::GetType(node->InputAt(0))); \ in Reduce()
73 Type original_type = NodeProperties::GetType(node); in Reduce()
76 NodeProperties::SetType(node, restricted); in Reduce()
Dload-elimination.cc40 if (!NodeProperties::GetType(a).Maybe(NodeProperties::GetType(b))) { in MayAlias()
82 Node* const value = NodeProperties::GetValueInput(node, i); in Reduce()
89 Node* const effect = NodeProperties::GetEffectInput(node, i); in Reduce()
243 !NodeProperties::GetType(index).Maybe( in Kill()
244 NodeProperties::GetType(element.index))) { in Kill()
727 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceArrayBufferWasNeutered()
740 Node* const object = NodeProperties::GetValueInput(node, 0); in ReduceMapGuard()
741 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceMapGuard()
755 Node* const object = NodeProperties::GetValueInput(node, 0); in ReduceCheckMaps()
756 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceCheckMaps()
[all …]
Dvalue-numbering-reducer.cc30 const size_t hash = NodeProperties::HashCode(node); in Reduce()
99 if (NodeProperties::Equals(entry, node)) { in Reduce()
121 if (NodeProperties::Equals(entry, node)) { in Reduce()
130 if (NodeProperties::IsTyped(replacement) && NodeProperties::IsTyped(node)) { in ReplaceIfTypesMatch()
131 Type replacement_type = NodeProperties::GetType(replacement); in ReplaceIfTypesMatch()
132 Type node_type = NodeProperties::GetType(node); in ReplaceIfTypesMatch()
140 NodeProperties::SetType(replacement, node_type); in ReplaceIfTypesMatch()
165 for (size_t j = NodeProperties::HashCode(old_entry) & mask;; in Grow()
Djs-native-context-specialization.cc149 Node* constructor = NodeProperties::GetValueInput(node, 0); in ReduceJSGetSuperConstructor()
174 Node* object = NodeProperties::GetValueInput(node, 0); in ReduceJSInstanceOf()
175 Node* constructor = NodeProperties::GetValueInput(node, 1); in ReduceJSInstanceOf()
176 Node* context = NodeProperties::GetContextInput(node); in ReduceJSInstanceOf()
177 Node* effect = NodeProperties::GetEffectInput(node); in ReduceJSInstanceOf()
178 Node* frame_state = NodeProperties::GetFrameStateInput(node); in ReduceJSInstanceOf()
179 Node* control = NodeProperties::GetControlInput(node); in ReduceJSInstanceOf()
230 NodeProperties::ReplaceValueInput(node, constructor, 0); in ReduceJSInstanceOf()
231 NodeProperties::ReplaceValueInput(node, object, 1); in ReduceJSInstanceOf()
232 NodeProperties::ReplaceEffectInput(node, effect); in ReduceJSInstanceOf()
[all …]
Dloop-peeling.cc140 if (NodeProperties::IsTyped(node)) { in CopyNodes()
141 NodeProperties::SetType(copy, NodeProperties::GetType(node)); in CopyNodes()
286 NodeProperties::ChangeOp(exit, common_->Merge(2)); in Peel()
291 NodeProperties::ChangeOp( in Peel()
297 NodeProperties::ChangeOp(exit, common_->EffectPhi(2)); in Peel()
334 if (NodeProperties::IsControlEdge(edge)) { in EliminateLoopExit()
337 NodeProperties::ReplaceUses(marker, marker->InputAt(0)); in EliminateLoopExit()
340 NodeProperties::ReplaceUses(marker, nullptr, in EliminateLoopExit()
341 NodeProperties::GetEffectInput(marker)); in EliminateLoopExit()
346 NodeProperties::ReplaceUses(node, nullptr, nullptr, in EliminateLoopExit()
[all …]
Dloop-variable-optimizer.cc50 if (!reduced_.Get(NodeProperties::GetControlInput(node, i))) { in Run()
62 if (NodeProperties::IsControlEdge(edge) && in Run()
81 << NodeProperties::GetControlInput(phi())->id() in AddUpperBound()
91 << NodeProperties::GetControlInput(phi())->id() in AddLowerBound()
104 NodeProperties::GetControlInput(constraint.left) == loop) { in VisitBackedge()
111 NodeProperties::GetControlInput(constraint.right) == loop) { in VisitBackedge()
209 limits_.Set(node, limits_.Get(NodeProperties::GetControlInput(node, 0))); in TakeConditionsFromFirstControl()
223 Node* loop = NodeProperties::GetControlInput(phi); in TryGetInductionVariable()
267 if (NodeProperties::IsControlEdge(edge) && in DetectInductionVariables()
304 NodeProperties::ChangeOp( in ChangeToInductionVariablePhis()
[all …]
Djs-context-specialization.cc55 new_context == NodeProperties::GetContextInput(node)) { in SimplifyJSLoadContext()
61 NodeProperties::ReplaceContextInput(node, new_context); in SimplifyJSLoadContext()
62 NodeProperties::ChangeOp(node, op); in SimplifyJSLoadContext()
74 new_context == NodeProperties::GetContextInput(node)) { in SimplifyJSStoreContext()
80 NodeProperties::ReplaceContextInput(node, new_context); in SimplifyJSStoreContext()
81 NodeProperties::ChangeOp(node, op); in SimplifyJSStoreContext()
89 Node* const start = NodeProperties::GetValueInput(node, 0); in IsContextParameter()
135 Node* context = NodeProperties::GetOuterContext(node, &depth); in ReduceJSLoadContext()
196 Node* context = NodeProperties::GetOuterContext(node, &depth); in ReduceJSStoreContext()
Dbranch-elimination.cc58 Node* control_input = NodeProperties::GetControlInput(node, 0); in ReduceBranch()
71 NodeProperties::ChangeOp( in ReduceBranch()
98 Node* condition = NodeProperties::GetValueInput(node, 0); in ReduceDeoptimizeConditional()
99 Node* frame_state = NodeProperties::GetValueInput(node, 1); in ReduceDeoptimizeConditional()
100 Node* effect = NodeProperties::GetEffectInput(node); in ReduceDeoptimizeConditional()
101 Node* control = NodeProperties::GetControlInput(node); in ReduceDeoptimizeConditional()
118 NodeProperties::ChangeOp( in ReduceDeoptimizeConditional()
132 NodeProperties::MergeControlToEnd(graph(), common(), control); in ReduceDeoptimizeConditional()
142 Node* branch = NodeProperties::GetControlInput(node, 0); in ReduceIf()
206 Node* input = NodeProperties::GetControlInput(node, 0); in TakeConditionsFromFirstControl()
Dconstant-folding-reducer.cc26 if (!NodeProperties::IsConstant(node) && NodeProperties::IsTyped(node) && in Reduce()
36 Type upper = NodeProperties::GetType(node); in Reduce()
56 if (!NodeProperties::IsTyped(replacement)) { in Reduce()
57 NodeProperties::SetType(replacement, upper); in Reduce()
Dsimplified-lowering.cc163 if (NodeProperties::IsControlEdge(edge)) { in ReplaceEffectControlUses()
165 } else if (NodeProperties::IsEffectEdge(edge)) { in ReplaceEffectControlUses()
168 DCHECK(NodeProperties::IsValueEdge(edge) || in ReplaceEffectControlUses()
169 NodeProperties::IsContextEdge(edge)); in ReplaceEffectControlUses()
179 Node* control = NodeProperties::GetControlInput(node); in ChangeToPureOp()
180 Node* effect = NodeProperties::GetEffectInput(node); in ChangeToPureOp()
186 NodeProperties::ChangeOp(node, new_op); in ChangeToPureOp()
393 return type.IsInvalid() ? NodeProperties::GetType(node) : type; in TypeOf()
520 GetInfo(node)->set_feedback_type(NodeProperties::GetType(node)); in UpdateFeedbackType()
548 if (NodeProperties::IsTyped(n)) { in PrintNodeFeedbackType()
[all …]
Djs-generic-lowering.cc112 NodeProperties::ChangeOp(node, common()->Call(call_descriptor)); in ReplaceWithStubCall()
130 NodeProperties::ChangeOp(node, common()->Call(call_descriptor)); in ReplaceWithRuntimeCall()
135 NodeProperties::ReplaceContextInput(node, jsgraph()->NoContextConstant()); in LowerJSStrictEqual()
145 Node* frame_state = NodeProperties::GetFrameStateInput(node); in LowerJSLoadProperty()
164 Node* frame_state = NodeProperties::GetFrameStateInput(node); in LowerJSLoadNamed()
184 Node* frame_state = NodeProperties::GetFrameStateInput(node); in LowerJSLoadGlobal()
203 Node* frame_state = NodeProperties::GetFrameStateInput(node); in LowerJSStoreProperty()
222 Node* frame_state = NodeProperties::GetFrameStateInput(node); in LowerJSStoreNamed()
241 Node* frame_state = NodeProperties::GetFrameStateInput(node); in LowerJSStoreNamedOwn()
259 Node* frame_state = NodeProperties::GetFrameStateInput(node); in LowerJSStoreGlobal()
[all …]
Dverifier.cc50 if (NodeProperties::IsTyped(node)) { in CheckNotTyped()
58 if (typing == TYPED && !NodeProperties::GetType(node).Is(type)) { in CheckTypeIs()
61 << NodeProperties::GetType(node) << " is not " << type; in CheckTypeIs()
66 if (typing == TYPED && !NodeProperties::GetType(node).Maybe(type)) { in CheckTypeMaybe()
69 << NodeProperties::GetType(node) << " must intersect " << type; in CheckTypeMaybe()
74 Node* input = NodeProperties::GetValueInput(node, i); in CheckValueInputIs()
75 if (typing == TYPED && !NodeProperties::GetType(input).Is(type)) { in CheckValueInputIs()
80 << NodeProperties::GetType(input) << " is not " << type; in CheckValueInputIs()
117 if (all.IsLive(edge.from()) && NodeProperties::IsEffectEdge(edge)) { in Check()
126 Node* frame_state = NodeProperties::GetFrameStateInput(node); in Check()
[all …]
Dcontrol-flow-optimizer.cc56 if (NodeProperties::IsControlEdge(edge)) { in VisitNode()
75 Node* cond = NodeProperties::GetValueInput(branch, 0); in TryBuildSwitch()
113 NodeProperties::ChangeOp(if_true, common()->IfValue(value, order++)); in TryBuildSwitch()
130 NodeProperties::ChangeOp(node, common()->Switch(values.size() + 1)); in TryBuildSwitch()
132 NodeProperties::ChangeOp(if_true, common()->IfValue(value, order++)); in TryBuildSwitch()
135 NodeProperties::ChangeOp(if_false, common()->IfDefault()); in TryBuildSwitch()
Dredundancy-elimination.cc220 Node* const effect = NodeProperties::GetEffectInput(node); in ReduceCheckNode()
244 Node* const effect = NodeProperties::GetEffectInput(node); in TryReuseBoundsCheckForFirstInput()
257 if (NodeProperties::GetType(bounds_check) in TryReuseBoundsCheckForFirstInput()
258 .Is(NodeProperties::GetType(left))) { in TryReuseBoundsCheckForFirstInput()
268 Node* const control = NodeProperties::GetControlInput(node); in ReduceEffectPhi()
280 Node* const effect = NodeProperties::GetEffectInput(node, i); in ReduceEffectPhi()
287 zone(), node_checks_.Get(NodeProperties::GetEffectInput(node, 0))); in ReduceEffectPhi()
289 Node* const input = NodeProperties::GetEffectInput(node, i); in ReduceEffectPhi()
315 Node* const effect = NodeProperties::GetEffectInput(node); in TakeChecksFromFirstEffect()
Dint64-lowering.cc125 NodeProperties::ChangeOp(node, op); in LowerWord64AtomicBinop()
131 NodeProperties::ChangeOp(node, op); in LowerWord64AtomicNarrowOp()
209 NodeProperties::ChangeOp(node, load_op); in LowerNode()
267 NodeProperties::ChangeOp(node, store_op); in LowerNode()
281 NodeProperties::ChangeOp(node, common()->Start(new_output_count)); in LowerNode()
305 NodeProperties::ChangeOp(node, common()->Parameter(new_index)); in LowerNode()
322 NodeProperties::ChangeOp(node, common()->Return(new_return_count)); in LowerNode()
337 NodeProperties::ChangeOp(node, common()->TailCall(new_descriptor)); in LowerNode()
349 NodeProperties::ChangeOp(node, common()->Call(GetI32WasmCallDescriptor( in LowerNode()
359 NodeProperties::CollectValueProjections(node, projections.data(), in LowerNode()
[all …]

123