/external/v8/src/compiler/ |
D | simplified-operator-reducer.cc | 49 HeapObjectMatcher m(node->InputAt(0)); in Reduce() 52 if (m.IsBooleanNot()) return Replace(m.InputAt(0)); in Reduce() 56 Int32Matcher m(node->InputAt(0)); in Reduce() 59 if (m.IsChangeTaggedToBit()) return Replace(m.InputAt(0)); in Reduce() 63 HeapObjectMatcher m(node->InputAt(0)); in Reduce() 67 if (m.IsChangeBitToTagged()) return Replace(m.InputAt(0)); in Reduce() 71 Float64Matcher m(node->InputAt(0)); in Reduce() 73 if (m.IsChangeTaggedToFloat64()) return Replace(m.node()->InputAt(0)); in Reduce() 78 Int32Matcher m(node->InputAt(0)); in Reduce() 81 return Replace(m.InputAt(0)); in Reduce() [all …]
|
D | int64-lowering.cc | 59 Node* input = top.node->InputAt(top.input_index++); in LowerGraph() 122 Node* value = node->InputAt(2); in LowerWord64AtomicBinop() 182 Node* base = node->InputAt(0); in LowerNode() 183 Node* index = node->InputAt(1); in LowerNode() 198 Node* effect_high = node->InputAt(2); in LowerNode() 199 Node* control_high = node->InputAt(3); in LowerNode() 231 Node* base = node->InputAt(0); in LowerNode() 232 Node* index = node->InputAt(1); in LowerNode() 236 Node* value = node->InputAt(2); in LowerNode() 253 Node* effect_high = node->InputAt(3); in LowerNode() [all …]
|
D | code-generator-impl.h | 31 return ToRegister(instr_->InputAt(index)); in InputRegister() 35 return ToFloatRegister(instr_->InputAt(index)); in InputFloatRegister() 39 return ToDoubleRegister(instr_->InputAt(index)); in InputDoubleRegister() 43 return ToSimd128Register(instr_->InputAt(index)); in InputSimd128Register() 46 double InputDouble(size_t index) { return ToDouble(instr_->InputAt(index)); } in InputDouble() 48 float InputFloat32(size_t index) { return ToFloat32(instr_->InputAt(index)); } in InputFloat32() 51 return ToConstant(instr_->InputAt(index)).ToInt32(); in InputInt32() 59 return ToConstant(instr_->InputAt(index)).ToInt64(); in InputInt64() 87 return ToExternalReference(instr_->InputAt(index)); in InputExternalReference() 91 return ToCode(instr_->InputAt(index)); in InputCode() [all …]
|
D | simplified-lowering.cc | 328 Node* input = current.node->InputAt(current.input_index); in RunTypePropagationPhase() 403 Type type = FeedbackTypeOf(node->InputAt(0)); in TypePhi() 405 type = op_typer_.Merge(type, FeedbackTypeOf(node->InputAt(i))); in TypePhi() 411 return op_typer_.Merge(FeedbackTypeOf(node->InputAt(1)), in TypeSelect() 412 FeedbackTypeOf(node->InputAt(2))); in TypeSelect() 427 if (GetInfo(node->InputAt(i))->feedback_type().IsInvalid()) { in UpdateFeedbackType() 436 new_type = op_typer_.Name(FeedbackTypeOf(node->InputAt(0)), \ in UpdateFeedbackType() 437 FeedbackTypeOf(node->InputAt(1))); \ in UpdateFeedbackType() 447 Type::Intersect(op_typer_.Name(FeedbackTypeOf(node->InputAt(0)), \ in UpdateFeedbackType() 448 FeedbackTypeOf(node->InputAt(1))), \ in UpdateFeedbackType() [all …]
|
D | common-operator-reducer.cc | 84 Node* const cond = node->InputAt(0); in ReduceBranch() 92 DecideCondition(js_heap_broker(), cond->InputAt(1)) == in ReduceBranch() 94 DecideCondition(js_heap_broker(), cond->InputAt(2)) == in ReduceBranch() 111 node->ReplaceInput(0, cond->InputAt(0)); in ReduceBranch() 119 Node* const control = node->InputAt(1); in ReduceBranch() 149 NodeProperties::ReplaceValueInput(node, condition->InputAt(0), 0); in ReduceDeoptimizeConditional() 187 Node* if_true = node->InputAt(0); in ReduceMerge() 188 Node* if_false = node->InputAt(1); in ReduceMerge() 192 if_true->InputAt(0) == if_false->InputAt(0) && if_true->OwnedBy(node) && in ReduceMerge() 194 Node* const branch = if_true->InputAt(0); in ReduceMerge() [all …]
|
D | loop-peeling.cc | 150 copy->ReplaceInput(i, map(original->InputAt(i))); in CopyNodes() 186 unmarked_exit = (node->InputAt(1) != loop_node); in CanPeel() 190 unmarked_exit = (node->InputAt(1)->InputAt(1) != loop_node); in CanPeel() 227 peeling.Insert(node, node->InputAt(kAssumedLoopEntryIndex)); in Peel() 245 inputs.push_back(peeling.map(loop_node->InputAt(i))); in Peel() 255 inputs.push_back(peeling.map(node->InputAt(1 + i))); in Peel() 272 node->ReplaceInput(0, peeling.map(node->InputAt(1))); in Peel() 274 new_entry = peeling.map(loop_node->InputAt(1)); in Peel() 285 exit->ReplaceInput(1, peeling.map(exit->InputAt(0))); in Peel() 290 exit->InsertInput(graph_->zone(), 1, peeling.map(exit->InputAt(0))); in Peel() [all …]
|
D | type-narrowing-reducer.cc | 31 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()
|
D | effect-control-linearizer.cc | 102 Node* input = node->InputAt(i); in UpdateEffectPhi() 163 edge.UpdateTo(node->InputAt(0)); in RemoveRenameNode() 292 inputs[index] = phi->InputAt(index); in TryCloneBranch() 1015 Node* value = node->InputAt(0); in LowerChangeFloat64ToTagged() 1072 Node* value = node->InputAt(0); in LowerChangeFloat64ToTaggedPointer() 1077 Node* value = node->InputAt(0); in LowerChangeBitToTagged() 1093 Node* value = node->InputAt(0); in LowerChangeInt31ToTaggedSigned() 1098 Node* value = node->InputAt(0); in LowerChangeInt32ToTagged() 1124 Node* value = node->InputAt(0); in LowerChangeUint32ToTagged() 1143 Node* value = node->InputAt(0); in LowerChangeTaggedSignedToInt32() [all …]
|
D | machine-operator-reducer.cc | 149 return ReduceProjection(ProjectionIndexOf(node->op()), node->InputAt(0)); in Reduce() 339 if (m.right().InputAt(0)->opcode() == IrOpcode::kFloat32Sub) { in Reduce() 340 Float32BinopMatcher mright0(m.right().InputAt(0)); in Reduce() 382 if (m.right().InputAt(0)->opcode() == IrOpcode::kFloat64Sub) { in Reduce() 383 Float64BinopMatcher mright0(m.right().InputAt(0)); in Reduce() 469 Float64Matcher m(node->InputAt(0)); in Reduce() 474 Float64Matcher m(node->InputAt(0)); in Reduce() 479 Float64Matcher m(node->InputAt(0)); in Reduce() 484 Float64Matcher m(node->InputAt(0)); in Reduce() 489 Float64Matcher m(node->InputAt(0)); in Reduce() [all …]
|
D | loop-variable-optimizer.cc | 141 VariableLimits merged = limits_.Get(node->InputAt(0)); in VisitMerge() 143 merged.ResetToCommonAncestor(limits_.Get(node->InputAt(i))); in VisitMerge() 155 Node* branch = node->InputAt(0); in VisitIf() 156 Node* cond = branch->InputAt(0); in VisitIf() 183 Node* left = node->InputAt(0); in AddCmpToLimits() 184 Node* right = node->InputAt(1); in AddCmpToLimits() 225 Node* initial = phi->InputAt(0); in TryGetInductionVariable() 226 Node* arith = phi->InputAt(1); in TryGetInductionVariable() 241 Node* input = arith->InputAt(0); in TryGetInductionVariable() 245 input = input->InputAt(0); in TryGetInductionVariable() [all …]
|
D | simd-scalar-lowering.cc | 58 Node* input = top.node->InputAt(top.input_index++); in LowerGraph() 374 Node* base = node->InputAt(0); in LowerLoadOp() 375 Node* index = node->InputAt(1); in LowerLoadOp() 385 Node* effect_input = node->InputAt(2); in LowerLoadOp() 386 Node* control_input = node->InputAt(3); in LowerLoadOp() 408 SimdType rep_type = ReplacementType(node->InputAt(2)); in LowerStoreOp() 437 Node* base = node->InputAt(0); in LowerStoreOp() 438 Node* index = node->InputAt(1); in LowerStoreOp() 442 Node* value = node->InputAt(2); in LowerStoreOp() 452 Node* effect_input = node->InputAt(3); in LowerStoreOp() [all …]
|
D | node-matchers.cc | 38 Node* input0 = merge->InputAt(0); in DiamondMatcher() 40 Node* input1 = merge->InputAt(1); in DiamondMatcher() 42 Node* branch = input0->InputAt(0); in DiamondMatcher() 43 if (branch != input1->InputAt(0)) return; in DiamondMatcher()
|
D | node-matchers.h | 34 Node* InputAt(int index) const { return node()->InputAt(index); } in InputAt() function 220 : NodeMatcher(node), object_(InputAt(0)), index_(InputAt(1)) {} in LoadMatcher() 239 : NodeMatcher(node), left_(InputAt(0)), right_(InputAt(1)) { in BinopMatcher() 243 : NodeMatcher(node), left_(InputAt(0)), right_(InputAt(1)) { in BinopMatcher() 370 return this->left().node()->InputAt(0); in IndexInput() 687 if (from->InputAt(2) == node) return false; in OwnedByAddressingOperand() 735 DCHECK_EQ(Merge(), phi->InputAt(2)); in TrueInputOf() 736 return phi->InputAt(if_true_ == Merge()->InputAt(0) ? 0 : 1); in TrueInputOf() 742 DCHECK_EQ(Merge(), phi->InputAt(2)); in FalseInputOf() 743 return phi->InputAt(if_true_ == Merge()->InputAt(0) ? 1 : 0); in FalseInputOf()
|
D | js-inlining-heuristic.cc | 37 HeapObjectMatcher m(node->InputAt(n)); in CollectFunctions() 92 Node* callee = node->InputAt(0); in Reduce() 230 Node* input = state_values->InputAt(i); in CollectStateValuesOwnedUses() 255 Node* input = state_values->InputAt(i); in DuplicateStateValuesAndRename() 281 if (frame_state->InputAt(kFrameStateStackInput) == node) { in CollectFrameStateUniqueUses() 287 frame_state->InputAt(kFrameStateLocalsInput), in CollectFrameStateUniqueUses() 303 if (frame_state->InputAt(kFrameStateStackInput) == from) { in DuplicateFrameStateAndRename() 309 Node* locals = frame_state->InputAt(kFrameStateLocalsInput); in DuplicateFrameStateAndRename() 479 checkpoint_state = checkpoint->InputAt(0); in TryReuseDispatch() 518 Node* target = callee->InputAt(i); in TryReuseDispatch() [all …]
|
D | select-lowering.cc | 27 Node* cond = node->InputAt(0); in Reduce() 28 Node* vthen = node->InputAt(1); in Reduce() 29 Node* velse = node->InputAt(2); in Reduce()
|
/external/v8/src/compiler/ia32/ |
D | instruction-selector-ia32.cc | 161 inputs[(*input_count)++] = UseRegister(node->InputAt(0)); in GetEffectiveAddressMemoryOperand() 162 inputs[(*input_count)++] = UseRegister(node->InputAt(1)); in GetEffectiveAddressMemoryOperand() 188 selector->Emit(opcode, g.DefineAsRegister(node), g.Use(node->InputAt(0))); in VisitRO() 196 g.UseRegister(node->InputAt(0))); in VisitRR() 203 InstructionOperand operand0 = g.UseRegister(node->InputAt(0)); in VisitRROFloat() 204 InstructionOperand operand1 = g.Use(node->InputAt(1)); in VisitRROFloat() 226 InstructionOperand operand0 = g.UseRegister(node->InputAt(0)); in VisitRRSimd() 237 InstructionOperand operand0 = g.UseRegister(node->InputAt(0)); in VisitRRISimd() 246 InstructionOperand operand0 = g.UseRegister(node->InputAt(0)); in VisitRRISimd() 269 Emit(kArchDebugAbort, g.NoOutput(), g.UseFixed(node->InputAt(0), edx)); in VisitDebugAbort() [all …]
|
/external/v8/src/compiler/mips/ |
D | instruction-selector-mips.cc | 115 g.UseRegister(node->InputAt(0)), in VisitRRR() 116 g.UseRegister(node->InputAt(1))); in VisitRRR() 122 opcode, g.DefineSameAsFirst(node), g.UseRegister(node->InputAt(0)), in VisitRRRR() 123 g.UseRegister(node->InputAt(1)), g.UseRegister(node->InputAt(2))); in VisitRRRR() 130 g.UseRegister(node->InputAt(0))); in VisitRR() 138 g.UseRegister(node->InputAt(0)), g.UseImmediate(imm)); in VisitRRI() 146 g.UseRegister(node->InputAt(0)), g.UseImmediate(imm), in VisitRRIR() 147 g.UseRegister(node->InputAt(1))); in VisitRRIR() 154 g.UseRegister(node->InputAt(0)), in VisitRRO() 155 g.UseOperand(node->InputAt(1), opcode)); in VisitRRO() [all …]
|
D | instruction-scheduler-mips.cc | 1388 return AdduLatency(instr->InputAt(1)->IsRegister()); in GetInstructionLatency() 1390 return AndLatency(instr->InputAt(1)->IsRegister()); in GetInstructionLatency() 1392 return OrLatency(instr->InputAt(1)->IsRegister()); in GetInstructionLatency() 1394 return XorLatency(instr->InputAt(1)->IsRegister()); in GetInstructionLatency() 1396 return SubuLatency(instr->InputAt(1)->IsRegister()); in GetInstructionLatency() 1398 return NorLatency(instr->InputAt(1)->IsRegister()); in GetInstructionLatency() 1406 return MulhLatency(instr->InputAt(1)->IsRegister()); in GetInstructionLatency() 1408 return MulhuLatency(instr->InputAt(1)->IsRegister()); in GetInstructionLatency() 1412 return ModLatency(instr->InputAt(1)->IsRegister()); in GetInstructionLatency() 1414 return ModuLatency(instr->InputAt(1)->IsRegister()); in GetInstructionLatency() [all …]
|
/external/v8/src/compiler/mips64/ |
D | instruction-selector-mips64.cc | 127 g.UseRegister(node->InputAt(0))); in VisitRR() 135 g.UseRegister(node->InputAt(0)), g.UseImmediate(imm)); in VisitRRI() 143 g.UseRegister(node->InputAt(0)), g.UseImmediate(imm), in VisitRRIR() 144 g.UseRegister(node->InputAt(1))); in VisitRRIR() 151 g.UseRegister(node->InputAt(0)), in VisitRRR() 152 g.UseRegister(node->InputAt(1))); in VisitRRR() 158 opcode, g.DefineSameAsFirst(node), g.UseRegister(node->InputAt(0)), in VisitRRRR() 159 g.UseRegister(node->InputAt(1)), g.UseRegister(node->InputAt(2))); in VisitRRRR() 166 g.UseRegister(node->InputAt(0)), in VisitRRO() 167 g.UseOperand(node->InputAt(1), opcode)); in VisitRRO() [all …]
|
/external/v8/src/compiler/arm/ |
D | instruction-selector-arm.cc | 95 g.UseRegister(node->InputAt(0))); in VisitRR() 101 g.UseRegister(node->InputAt(0)), in VisitRRR() 102 g.UseRegister(node->InputAt(1))); in VisitRRR() 114 Node* in0 = node->InputAt(0); in VisitRRRShuffle() 115 Node* in1 = node->InputAt(1); in VisitRRRShuffle() 122 g.UseRegister(node->InputAt(0)), in VisitRRRShuffle() 123 g.UseRegister(node->InputAt(1))); in VisitRRRShuffle() 130 g.UseRegister(node->InputAt(0)), g.UseImmediate(imm)); in VisitRRI() 137 g.UseRegister(node->InputAt(0)), g.UseImmediate(imm), in VisitRRIR() 138 g.UseRegister(node->InputAt(1))); in VisitRRIR() [all …]
|
/external/v8/src/compiler/ppc/ |
D | instruction-selector-ppc.cc | 89 g.UseRegister(node->InputAt(0))); in VisitRR() 96 g.UseRegister(node->InputAt(0)), in VisitRRR() 97 g.UseRegister(node->InputAt(1))); in VisitRRR() 104 g.UseRegister(node->InputAt(0)), in VisitRRO() 105 g.UseOperand(node->InputAt(1), operand_mode)); in VisitRRO() 113 InstructionOperand inputs[] = {g.UseRegister(node->InputAt(0))}; in VisitTryTruncateDouble() 183 Emit(kArchDebugAbort, g.NoOutput(), g.UseFixed(node->InputAt(0), r4)); in VisitDebugAbort() 189 Node* base = node->InputAt(0); in VisitLoad() 190 Node* offset = node->InputAt(1); in VisitLoad() 258 Node* base = node->InputAt(0); in VisitStore() [all …]
|
/external/v8/src/compiler/x64/ |
D | instruction-selector-x64.cc | 194 inputs[(*input_count)++] = UseRegister(operand->InputAt(0)); in GetEffectiveAddressMemoryOperand() 195 inputs[(*input_count)++] = UseRegister(operand->InputAt(1)); in GetEffectiveAddressMemoryOperand() 298 Emit(kArchDebugAbort, g.NoOutput(), g.UseFixed(node->InputAt(0), rdx)); in VisitDebugAbort() 333 Node* base = node->InputAt(0); in VisitStore() 334 Node* index = node->InputAt(1); in VisitStore() 335 Node* value = node->InputAt(2); in VisitStore() 378 value = value->InputAt(0); in VisitStore() 390 Node* value = node->InputAt(2); in VisitProtectedStore() 632 Node* index = node->InputAt(0); in VisitWord32Shl() 646 Node* index = node->InputAt(0); in VisitWord64Shl() [all …]
|
D | code-generator-x64.cc | 33 return ToImmediate(instr_->InputAt(index)); in InputImmediate() 37 return ToOperand(instr_->InputAt(index), extra); in InputOperand() 158 return instr->InputAt(index)->IsImmediate(); in HasImmediateInput() 374 if (instr->InputAt(0)->IsRegister()) { \ 380 if (instr->InputAt(1)->IsRegister()) { \ 401 if (instr->InputAt(0)->IsRegister()) { \ 407 if (instr->InputAt(1)->IsRegister()) { \ 419 if (instr->InputAt(0)->IsRegister()) { \ 427 if (instr->InputAt(1)->IsRegister()) { \ 458 } else if (instr->InputAt(0)->IsRegister()) { \ [all …]
|
/external/v8/src/compiler/arm64/ |
D | instruction-selector-arm64.cc | 155 g.UseRegister(node->InputAt(0))); in VisitRR() 162 g.UseRegister(node->InputAt(0)), in VisitRRR() 163 g.UseRegister(node->InputAt(1))); in VisitRRR() 170 g.UseRegister(node->InputAt(0)), g.UseImmediate(imm)); in VisitRRI() 177 g.UseRegister(node->InputAt(0)), in VisitRRO() 178 g.UseOperand(node->InputAt(1), operand_mode)); in VisitRRO() 185 g.UseRegister(node->InputAt(0)), g.UseImmediate(imm), in VisitRRIR() 186 g.UseRegister(node->InputAt(1))); in VisitRRIR() 227 Node* offset = load->InputAt(1); in Initialize() 228 base_ = load->InputAt(0); in Initialize() [all …]
|
/external/v8/src/compiler/s390/ |
D | instruction-selector-s390.cc | 229 inputs[(*input_count)++] = UseRegister(operand->InputAt(0)); in GetEffectiveAddressMemoryOperand() 230 inputs[(*input_count)++] = UseRegister(operand->InputAt(1)); in GetEffectiveAddressMemoryOperand() 434 InstructionOperand inputs[] = {g.UseRegister(node->InputAt(0))}; in VisitTryTruncateDouble() 582 Node* input = node->InputAt(0); in VisitUnaryOp() 690 Emit(kArchDebugAbort, g.NoOutput(), g.UseFixed(node->InputAt(0), r3)); in VisitDebugAbort() 720 Node* base = node->InputAt(0); in VisitStore() 721 Node* offset = node->InputAt(1); in VisitStore() 722 Node* value = node->InputAt(2); in VisitStore() 791 value = value->InputAt(0); in VisitStore() 802 value = value->InputAt(0); in VisitStore() [all …]
|