/external/v8/src/compiler/ |
tail-call-optimization.cc | 22 Node* const call = NodeProperties::GetValueInput(node, 1); 25 NodeProperties::GetEffectInput(node) == call && 26 !NodeProperties::IsExceptionalCall(call)) { 27 Node* const control = NodeProperties::GetControlInput(node); 30 DCHECK_EQ(0, Int32Matcher(NodeProperties::GetValueInput(node, 0)).Value()); 68 DCHECK_EQ(call, NodeProperties::GetControlInput(control, 0)); 70 node->ReplaceInput(0, NodeProperties::GetEffectInput(call)); 71 node->ReplaceInput(1, NodeProperties::GetControlInput(call)); 76 NodeProperties::GetValueInput(call, index)); 78 NodeProperties::ChangeOp [all...] |
node-properties.cc | 22 int NodeProperties::PastValueIndex(Node* node) { 28 int NodeProperties::PastContextIndex(Node* node) { 35 int NodeProperties::PastFrameStateIndex(Node* node) { 42 int NodeProperties::PastEffectIndex(Node* node) { 48 int NodeProperties::PastControlIndex(Node* node) { 54 Node* NodeProperties::GetValueInput(Node* node, int index) { 61 Node* NodeProperties::GetContextInput(Node* node) { 68 Node* NodeProperties::GetFrameStateInput(Node* node) { 75 Node* NodeProperties::GetEffectInput(Node* node, int index) { 82 Node* NodeProperties::GetControlInput(Node* node, int index) [all...] |
typed-optimization.cc | 35 if (!NodeProperties::IsConstant(node) && NodeProperties::IsTyped(node) && 45 Type* upper = NodeProperties::GetType(node); 118 Node* const input = NodeProperties::GetValueInput(node, 0); 119 Type* const input_type = NodeProperties::GetType(input); 133 Node* const object = NodeProperties::GetValueInput(node, 0); 134 Type* const object_type = NodeProperties::GetType(object); 135 Node* const effect = NodeProperties::GetEffectInput(node); 139 Node* const map = NodeProperties::GetValueInput(node, i); 140 Type* const map_type = NodeProperties::GetType(map) [all...] |
js-intrinsic-lowering.cc | 106 Node* const value = NodeProperties::GetValueInput(node, 0); 107 Node* const done = NodeProperties::GetValueInput(node, 1); 108 Node* const context = NodeProperties::GetContextInput(node); 109 Node* const effect = NodeProperties::GetEffectInput(node); 117 Node* const effect = NodeProperties::GetEffectInput(node); 118 Node* const control = NodeProperties::GetControlInput(node); 126 Node* const frame_state = NodeProperties::GetFrameStateInput(node); 127 Node* const effect = NodeProperties::GetEffectInput(node); 128 Node* const control = NodeProperties::GetControlInput(node); 134 NodeProperties::MergeControlToEnd(graph(), common(), deoptimize) [all...] |
checkpoint-elimination.cc | 22 Node* effect = NodeProperties::GetEffectInput(node); 26 effect = NodeProperties::GetEffectInput(effect); 36 return Replace(NodeProperties::GetEffectInput(node));
|
js-call-reducer.cc | 41 Node* target = NodeProperties::GetValueInput(node, 0); 57 NodeProperties::ReplaceValueInput(node, target, 0); 58 NodeProperties::ReplaceValueInput(node, target, 1); 62 NodeProperties::ChangeOp(node, javascript()->CreateArray(arity, site)); 75 : NodeProperties::GetValueInput(node, 2); 76 NodeProperties::ReplaceValueInputs(node, value); 77 NodeProperties::ChangeOp(node, javascript()->ToNumber()); 85 Node* target = NodeProperties::GetValueInput(node, 0); 108 Node* arg_array = NodeProperties::GetValueInput(node, 3); 112 if (!NodeProperties::IsValueEdge(edge)) continue [all...] |
js-context-specialization.cc | 39 new_context == NodeProperties::GetContextInput(node)) { 45 NodeProperties::ReplaceContextInput(node, new_context); 46 NodeProperties::ChangeOp(node, op); 58 new_context == NodeProperties::GetContextInput(node)) { 64 NodeProperties::ReplaceContextInput(node, new_context); 65 NodeProperties::ChangeOp(node, op); 76 Node* outer = NodeProperties::GetOuterContext(node, &depth); 79 if (!NodeProperties::GetSpecializationContext(outer, context()) 125 Node* outer = NodeProperties::GetOuterContext(node, &depth); 128 if (!NodeProperties::GetSpecializationContext(outer, context() [all...] |
js-typed-lowering.cc | 190 bool handles_exception = NodeProperties::IsExceptionalCall(node_); 237 NodeProperties::RemoveNonValueInputs(node_); 239 NodeProperties::ChangeOp(node_, op); 243 Type* node_type = NodeProperties::GetType(node_); 244 NodeProperties::SetType(node_, Type::Intersect(node_type, type, zone())); 277 if (NodeProperties::IsControlEdge(edge)) { 279 user->ReplaceUses(NodeProperties::GetControlInput(node_)); 290 node_->RemoveInput(NodeProperties::FirstFrameStateIndex(node_)); 292 node_->RemoveInput(NodeProperties::FirstContextIndex(node_)); 294 NodeProperties::ChangeOp(node_, op) [all...] |
loop-peeling.cc | 133 if (NodeProperties::IsTyped(node)) { 134 NodeProperties::SetType(copy, NodeProperties::GetType(node)); 281 NodeProperties::ChangeOp(exit, common->Merge(2)); 286 NodeProperties::ChangeOp( 292 NodeProperties::ChangeOp(exit, common->EffectPhi(2)); 331 if (NodeProperties::IsControlEdge(edge)) { 334 NodeProperties::ReplaceUses(marker, marker->InputAt(0)); 337 NodeProperties::ReplaceUses(marker, nullptr, 338 NodeProperties::GetEffectInput(marker)) [all...] |
dead-code-elimination.cc | 22 NodeProperties::SetType(dead_, Type::None()); 59 NodeProperties::ChangeOp(node, common()->End(live_input_count)); 86 if (NodeProperties::IsPhi(use)) { 100 if (NodeProperties::IsPhi(use)) { 118 if (NodeProperties::IsPhi(use)) { 138 Node* control = NodeProperties::GetControlInput(node, 0); 149 Node* control = NodeProperties::GetControlInput(node); 155 Node* control = NodeProperties::GetControlInput(node, 0); 156 Node* loop = NodeProperties::GetControlInput(node, 1); 167 NodeProperties::ChangeOp(node, op) [all...] |
load-elimination.cc | 24 if (!NodeProperties::GetType(a)->Maybe(NodeProperties::GetType(b))) { 77 Node* const value = NodeProperties::GetValueInput(node, i); 84 Node* const effect = NodeProperties::GetEffectInput(node, i); 221 !NodeProperties::GetType(index)->Maybe( 222 NodeProperties::GetType(element.index))) { 594 Node* const effect = NodeProperties::GetEffectInput(node); 607 Node* const object = NodeProperties::GetValueInput(node, 0); 608 Node* const effect = NodeProperties::GetEffectInput(node); 622 Node* const object = NodeProperties::GetValueInput(node, 0) [all...] |
escape-analysis-reducer.cc | 113 Type* const replacement_type = NodeProperties::GetType(replacement); 114 Type* const original_type = NodeProperties::GetType(original); 116 Node* const control = NodeProperties::GetControlInput(original); 119 NodeProperties::SetType(replacement, original_type); 126 node = NodeProperties::GetValueInput(node, 0); 140 SkipTypeGuards(NodeProperties::GetValueInput(node, 0)))) { 160 SkipTypeGuards(NodeProperties::GetValueInput(node, 0)))) { 186 Node* effect = NodeProperties::GetEffectInput(node, 0); 214 Node* left = SkipTypeGuards(NodeProperties::GetValueInput(node, 0)); 215 Node* right = SkipTypeGuards(NodeProperties::GetValueInput(node, 1)) [all...] |
js-create-lowering.cc | 50 NodeProperties::SetType(allocation_, type); 85 NodeProperties::SetType(allocation_, NodeProperties::GetType(node)); 89 NodeProperties::ChangeOp(node, common()->FinishRegion()); 111 Node* const outer_state = NodeProperties::GetFrameStateInput(frame_state); 237 Node* const target = NodeProperties::GetValueInput(node, 0); 238 Type* const target_type = NodeProperties::GetType(target); 239 Node* const new_target = NodeProperties::GetValueInput(node, 1); 240 Type* const new_target_type = NodeProperties::GetType(new_target); 241 Node* const effect = NodeProperties::GetEffectInput(node) [all...] |
common-operator-reducer.cc | 47 NodeProperties::SetType(dead_, Type::None()); 89 NodeProperties::ChangeOp(use, common()->IfFalse()); 92 NodeProperties::ChangeOp(use, common()->IfTrue()); 103 NodeProperties::ChangeOp( 130 Node* condition = NodeProperties::GetValueInput(node, 0); 131 Node* frame_state = NodeProperties::GetValueInput(node, 1); 132 Node* effect = NodeProperties::GetEffectInput(node); 133 Node* control = NodeProperties::GetControlInput(node); 139 NodeProperties::ReplaceValueInput(node, condition->InputAt(0), 0); 140 NodeProperties::ChangeOp [all...] |
control-flow-optimizer.cc | 56 if (NodeProperties::IsControlEdge(edge)) { 75 Node* cond = NodeProperties::GetValueInput(branch, 0); 112 NodeProperties::ChangeOp(if_true, common()->IfValue(value)); 129 NodeProperties::ChangeOp(node, common()->Switch(values.size() + 1)); 131 NodeProperties::ChangeOp(if_true, common()->IfValue(value)); 134 NodeProperties::ChangeOp(if_false, common()->IfDefault());
|
loop-variable-optimizer.cc | 49 if (limits_[NodeProperties::GetControlInput(node, i)->id()] == nullptr) { 61 if (NodeProperties::IsControlEdge(edge) && 155 << NodeProperties::GetControlInput(phi())->id() << "): " << *bound 166 << NodeProperties::GetControlInput(phi())->id() << "): " << *bound; 180 NodeProperties::GetControlInput(constraint->left()) == loop) { 187 NodeProperties::GetControlInput(constraint->right()) == loop) { 286 limits_[NodeProperties::GetControlInput(node, 0)->id()]; 302 DCHECK_EQ(IrOpcode::kLoop, NodeProperties::GetControlInput(phi)->opcode()); 332 if (NodeProperties::IsControlEdge(edge) && 369 NodeProperties::ChangeOp [all...] |
value-numbering-reducer.cc | 165 if (NodeProperties::IsTyped(replacement) && NodeProperties::IsTyped(node)) { 166 Type* replacement_type = NodeProperties::GetType(replacement); 167 Type* node_type = NodeProperties::GetType(node); 175 NodeProperties::SetType(replacement, node_type);
|
js-builtin-reducer.cc | 34 HeapObjectMatcher m(NodeProperties::GetValueInput(node_, 0)); 43 HeapObjectMatcher m(NodeProperties::GetValueInput(node_, 0)); 49 return NodeProperties::GetType(receiver())->Is(type); 58 NodeProperties::GetType(GetJSCallInput(0))->Is(t1); 64 NodeProperties::GetType(GetJSCallInput(0))->Is(t1) && 65 NodeProperties::GetType(GetJSCallInput(1))->Is(t2); 71 if (!NodeProperties::GetType(GetJSCallInput(i))->Is(t)) { 78 Node* receiver() { return NodeProperties::GetValueInput(node_, 1); } 92 return NodeProperties::GetValueInput(node_, index + 2); 114 Node* receiver = NodeProperties::GetValueInput(node, 1) [all...] |
js-inlining.cc | 59 return NodeProperties::GetFrameStateInput(call_); 86 Node* control = NodeProperties::GetControlInput(call); 87 Node* effect = NodeProperties::GetEffectInput(call); 126 if (NodeProperties::IsEffectEdge(edge)) { 128 } else if (NodeProperties::IsControlEdge(edge)) { 130 } else if (NodeProperties::IsFrameStateEdge(edge)) { 183 values.push_back(NodeProperties::GetValueInput(input, 1)); 184 effects.push_back(NodeProperties::GetEffectInput(input)); 185 controls.push_back(NodeProperties::GetControlInput(input)); 190 NodeProperties::MergeControlToEnd(graph(), common(), input) [all...] |
branch-elimination.cc | 22 NodeProperties::SetType(dead_, Type::None()); 59 Node* control_input = NodeProperties::GetControlInput(node, 0); 89 Node* condition = NodeProperties::GetValueInput(node, 0); 90 Node* frame_state = NodeProperties::GetValueInput(node, 1); 91 Node* effect = NodeProperties::GetEffectInput(node); 92 Node* control = NodeProperties::GetControlInput(node); 111 NodeProperties::MergeControlToEnd(graph(), common(), control); 122 Node* branch = NodeProperties::GetControlInput(node, 0); 208 node_conditions_.Get(NodeProperties::GetControlInput(node, 0));
|
redundancy-elimination.cc | 177 Node* const effect = NodeProperties::GetEffectInput(node); 199 Node* const effect = NodeProperties::GetEffectInput(node); 212 if (NodeProperties::GetType(bounds_check) 213 ->Is(NodeProperties::GetType(left))) { 223 Node* const control = NodeProperties::GetControlInput(node); 235 Node* const effect = NodeProperties::GetEffectInput(node, i); 242 zone(), node_checks_.Get(NodeProperties::GetEffectInput(node, 0))); 244 Node* const input = NodeProperties::GetEffectInput(node, i); 270 Node* const effect = NodeProperties::GetEffectInput(node);
|
select-lowering.cc | 36 NodeProperties::ChangeOp(node, common()->Phi(p.representation(), 2));
|
verifier.cc | 45 if (NodeProperties::IsTyped(node)) { 53 if (typing == TYPED && !NodeProperties::GetType(node)->Is(type)) { 57 NodeProperties::GetType(node)->PrintTo(str); 64 if (typing == TYPED && !NodeProperties::GetType(node)->Maybe(type)) { 68 NodeProperties::GetType(node)->PrintTo(str); 75 Node* input = NodeProperties::GetValueInput(node, i); 76 if (typing == TYPED && !NodeProperties::GetType(input)->Is(type)) { 81 NodeProperties::GetType(input)->PrintTo(str); 116 Node* frame_state = NodeProperties::GetFrameStateInput(node); 125 Node* value = NodeProperties::GetValueInput(node, i) [all...] |
js-native-context-specialization.cc | 139 Node* constructor = NodeProperties::GetValueInput(node, 0); 162 NodeProperties::ChangeOp( 173 Node* object = NodeProperties::GetValueInput(node, 0); 174 Node* constructor = NodeProperties::GetValueInput(node, 1); 175 Node* context = NodeProperties::GetContextInput(node); 176 Node* effect = NodeProperties::GetEffectInput(node); 177 Node* control = NodeProperties::GetControlInput(node); 213 NodeProperties::ReplaceValueInput(node, constructor, 0); 214 NodeProperties::ReplaceValueInput(node, object, 1); 215 NodeProperties::ReplaceEffectInput(node, effect) [all...] |
simplified-lowering.cc | 164 if (NodeProperties::IsControlEdge(edge)) { 166 } else if (NodeProperties::IsEffectEdge(edge)) { 169 DCHECK(NodeProperties::IsValueEdge(edge) || 170 NodeProperties::IsContextEdge(edge)); 180 Node* control = NodeProperties::GetControlInput(node); 181 Node* effect = NodeProperties::GetEffectInput(node); 187 NodeProperties::ChangeOp(node, new_op); 388 return type == nullptr ? NodeProperties::GetType(node) : type; 483 GetInfo(node)->set_feedback_type(NodeProperties::GetType(node)); 511 if (NodeProperties::IsTyped(n)) [all...] |