Home
last modified time | relevance | path

Searched refs:UnallocatedOperand (Results 1 – 15 of 15) sorted by relevance

/external/v8/src/compiler/
Dinstruction-selector-impl.h42 UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER, in DefineAsRegister()
48 UnallocatedOperand(UnallocatedOperand::SAME_AS_FIRST_INPUT, in DefineSameAsFirst()
53 return Define(node, UnallocatedOperand(UnallocatedOperand::FIXED_REGISTER, in DefineAsFixed()
59 UnallocatedOperand(UnallocatedOperand::FIXED_DOUBLE_REGISTER, in DefineAsFixed()
84 return Use(node, UnallocatedOperand(UnallocatedOperand::NONE, in Use()
85 UnallocatedOperand::USED_AT_START, in Use()
90 return Use(node, UnallocatedOperand(UnallocatedOperand::ANY, in UseAny()
91 UnallocatedOperand::USED_AT_START, in UseAny()
96 return Use(node, UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER, in UseRegister()
97 UnallocatedOperand::USED_AT_START, in UseRegister()
[all …]
Dinstruction.cc85 const UnallocatedOperand* unalloc = UnallocatedOperand::cast(&op); in operator <<()
87 if (unalloc->basic_policy() == UnallocatedOperand::FIXED_SLOT) { in operator <<()
91 case UnallocatedOperand::NONE: in operator <<()
93 case UnallocatedOperand::FIXED_REGISTER: in operator <<()
98 case UnallocatedOperand::FIXED_DOUBLE_REGISTER: in operator <<()
103 case UnallocatedOperand::MUST_HAVE_REGISTER: in operator <<()
105 case UnallocatedOperand::MUST_HAVE_SLOT: in operator <<()
107 case UnallocatedOperand::SAME_AS_FIRST_INPUT: in operator <<()
109 case UnallocatedOperand::ANY: in operator <<()
529 output_(UnallocatedOperand(UnallocatedOperand::NONE, virtual_register)), in PhiInstruction()
Dregister-allocator.cc124 const UnallocatedOperand* unalloc = UnallocatedOperand::cast(operand_); in UsePosition()
1494 UnallocatedOperand* operand, int pos, bool is_tagged) { in AllocateFixed()
1557 UnallocatedOperand* output = UnallocatedOperand::cast(output_operand); in MeetRegisterConstraintsForLastInstructionInBlock()
1578 UnallocatedOperand output_copy(UnallocatedOperand::ANY, output_vreg); in MeetRegisterConstraintsForLastInstructionInBlock()
1600 UnallocatedOperand* temp = UnallocatedOperand::cast(first->TempAt(i)); in MeetConstraintsAfter()
1613 UnallocatedOperand* first_output = UnallocatedOperand::cast(output); in MeetConstraintsAfter()
1619 UnallocatedOperand output_copy(UnallocatedOperand::ANY, output_vreg); in MeetConstraintsAfter()
1658 UnallocatedOperand* cur_input = UnallocatedOperand::cast(input); in MeetConstraintsBefore()
1661 UnallocatedOperand input_copy(UnallocatedOperand::ANY, input_vreg); in MeetConstraintsBefore()
1671 UnallocatedOperand* second_output = UnallocatedOperand::cast(output); in MeetConstraintsBefore()
[all …]
Dinstruction-scheduler.cc238 (UnallocatedOperand::cast(output)->virtual_register() == in HasOperandDependency()
239 UnallocatedOperand::cast(input)->virtual_register())) { in HasOperandDependency()
245 UnallocatedOperand::cast(input)->virtual_register())) { in HasOperandDependency()
Dinstruction.h144 class UnallocatedOperand : public InstructionOperand {
172 UnallocatedOperand(ExtendedPolicy policy, int virtual_register) in UnallocatedOperand() function
173 : UnallocatedOperand(virtual_register) { in UnallocatedOperand()
179 UnallocatedOperand(BasicPolicy policy, int index, int virtual_register) in UnallocatedOperand() function
180 : UnallocatedOperand(virtual_register) { in UnallocatedOperand()
187 UnallocatedOperand(ExtendedPolicy policy, int index, int virtual_register) in UnallocatedOperand() function
188 : UnallocatedOperand(virtual_register) { in UnallocatedOperand()
196 UnallocatedOperand(ExtendedPolicy policy, Lifetime lifetime, in UnallocatedOperand() function
198 : UnallocatedOperand(virtual_register) { in UnallocatedOperand()
204 UnallocatedOperand(int reg_id, int slot_id, int virtual_register) in UnallocatedOperand() function
[all …]
Dregister-allocator-verifier.cc158 const auto* unallocated = UnallocatedOperand::cast(op); in BuildConstraint()
161 if (unallocated->basic_policy() == UnallocatedOperand::FIXED_SLOT) { in BuildConstraint()
166 case UnallocatedOperand::ANY: in BuildConstraint()
167 case UnallocatedOperand::NONE: in BuildConstraint()
174 case UnallocatedOperand::FIXED_REGISTER: in BuildConstraint()
183 case UnallocatedOperand::FIXED_DOUBLE_REGISTER: in BuildConstraint()
187 case UnallocatedOperand::MUST_HAVE_REGISTER: in BuildConstraint()
194 case UnallocatedOperand::MUST_HAVE_SLOT: in BuildConstraint()
197 case UnallocatedOperand::SAME_AS_FIRST_INPUT: in BuildConstraint()
Dinstruction-scheduler.h128 UnallocatedOperand::cast(instr->OutputAt(0))->HasFixedRegisterPolicy(); in IsFixedRegisterParameter()
Dinstruction-selector.cc285 UnallocatedOperand unalloc = UnallocatedOperand::cast(op); in MarkAsRepresentation()
624 if (UnallocatedOperand::cast(op).HasFixedSlotPolicy() && !call_tail) { in InitializeCallBuffer()
625 int stack_index = -UnallocatedOperand::cast(op).fixed_slot_index() - 1; in InitializeCallBuffer()
Dregister-allocator.h869 InstructionOperand* AllocateFixed(UnallocatedOperand* operand, int pos,
/external/v8/test/cctest/compiler/
Dtest-instruction.cc84 UnallocatedOperand Unallocated(int vreg) { in Unallocated()
85 return UnallocatedOperand(UnallocatedOperand::ANY, vreg); in Unallocated()
256 UnallocatedOperand op1 = R.Unallocated(index++); in TEST()
257 UnallocatedOperand op2 = R.Unallocated(index++); in TEST()
282 UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER, vreg), in TEST()
283 UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER, vreg), in TEST()
284 UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER, vreg), in TEST()
285 UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER, vreg)}; in TEST()
288 UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER, vreg), in TEST()
289 UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER, vreg), in TEST()
[all …]
/external/v8/test/unittests/compiler/
Dinstruction-sequence-unittest.cc281 CHECK(UnallocatedOperand::cast(outputs[0]).HasFixedPolicy()); in EmitCall()
331 TestOperand op, UnallocatedOperand::ExtendedPolicy policy) { in Unallocated()
332 return UnallocatedOperand(policy, op.vreg_.value_); in Unallocated()
337 TestOperand op, UnallocatedOperand::ExtendedPolicy policy, in Unallocated()
338 UnallocatedOperand::Lifetime lifetime) { in Unallocated()
339 return UnallocatedOperand(policy, lifetime, op.vreg_.value_); in Unallocated()
344 TestOperand op, UnallocatedOperand::ExtendedPolicy policy, int index) { in Unallocated()
345 return UnallocatedOperand(policy, index, op.vreg_.value_); in Unallocated()
350 TestOperand op, UnallocatedOperand::BasicPolicy policy, int index) { in Unallocated()
351 return UnallocatedOperand(policy, index, op.vreg_.value_); in Unallocated()
[all …]
Dinstruction-sequence-unittest.h199 UnallocatedOperand::ExtendedPolicy policy);
201 UnallocatedOperand::ExtendedPolicy policy,
202 UnallocatedOperand::Lifetime lifetime);
204 UnallocatedOperand::ExtendedPolicy policy,
207 UnallocatedOperand::BasicPolicy policy,
Dinstruction-selector-unittest.cc124 const UnallocatedOperand* unallocated = UnallocatedOperand::cast(operand); in IsFixed()
133 const UnallocatedOperand* unallocated = UnallocatedOperand::cast(operand); in IsSameAsFirst()
141 const UnallocatedOperand* unallocated = UnallocatedOperand::cast(operand); in IsUsedAtStart()
261 EXPECT_TRUE(UnallocatedOperand::cast(s[1]->Output())->HasSameAsInputPolicy()); in TARGET_TEST_F()
Dinstruction-selector-unittest.h185 return UnallocatedOperand::cast(operand)->virtual_register(); in ToVreg()
/external/v8/test/unittests/compiler/arm/
Dinstruction-selector-arm-unittest.cc1795 UnallocatedOperand::cast(s[0]->Output())->HasSameAsInputPolicy()); in TEST_F()
1816 UnallocatedOperand::cast(s[0]->Output())->HasSameAsInputPolicy()); in TEST_F()
1841 UnallocatedOperand::cast(s[0]->Output())->HasSameAsInputPolicy()); in TEST_F()
1862 UnallocatedOperand::cast(s[0]->Output())->HasSameAsInputPolicy()); in TEST_F()
1915 EXPECT_TRUE(UnallocatedOperand::cast(s[0]->Output())->HasSameAsInputPolicy()); in TEST_F()
1937 EXPECT_TRUE(UnallocatedOperand::cast(s[0]->Output())->HasSameAsInputPolicy()); in TEST_F()
2585 UnallocatedOperand::cast(s[0]->Output())->HasSameAsInputPolicy()); in TEST_F()
2602 UnallocatedOperand::cast(s[0]->Output())->HasSameAsInputPolicy()); in TEST_F()