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()
60 UnallocatedOperand(UnallocatedOperand::FIXED_FP_REGISTER, in DefineAsFixed()
85 return Use(node, UnallocatedOperand(UnallocatedOperand::NONE, in Use()
86 UnallocatedOperand::USED_AT_START, in Use()
91 return Use(node, UnallocatedOperand(UnallocatedOperand::ANY, in UseAny()
92 UnallocatedOperand::USED_AT_START, in UseAny()
97 return Use(node, UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER, in UseRegister()
98 UnallocatedOperand::USED_AT_START, in UseRegister()
[all …]
Dregister-allocator-verifier.cc159 const UnallocatedOperand* unallocated = UnallocatedOperand::cast(op); in BuildConstraint()
162 if (unallocated->basic_policy() == UnallocatedOperand::FIXED_SLOT) { in BuildConstraint()
167 case UnallocatedOperand::ANY: in BuildConstraint()
168 case UnallocatedOperand::NONE: in BuildConstraint()
175 case UnallocatedOperand::FIXED_REGISTER: in BuildConstraint()
184 case UnallocatedOperand::FIXED_FP_REGISTER: in BuildConstraint()
188 case UnallocatedOperand::MUST_HAVE_REGISTER: in BuildConstraint()
195 case UnallocatedOperand::MUST_HAVE_SLOT: in BuildConstraint()
198 case UnallocatedOperand::SAME_AS_FIRST_INPUT: in BuildConstraint()
Dinstruction.cc90 const UnallocatedOperand* unalloc = UnallocatedOperand::cast(&op); in operator <<()
92 if (unalloc->basic_policy() == UnallocatedOperand::FIXED_SLOT) { in operator <<()
96 case UnallocatedOperand::NONE: in operator <<()
98 case UnallocatedOperand::FIXED_REGISTER: in operator <<()
103 case UnallocatedOperand::FIXED_FP_REGISTER: in operator <<()
108 case UnallocatedOperand::MUST_HAVE_REGISTER: in operator <<()
110 case UnallocatedOperand::MUST_HAVE_SLOT: in operator <<()
112 case UnallocatedOperand::SAME_AS_FIRST_INPUT: in operator <<()
114 case UnallocatedOperand::ANY: in operator <<()
554 output_(UnallocatedOperand(UnallocatedOperand::NONE, virtual_register)), in PhiInstruction()
[all …]
Dregister-allocator.cc289 const UnallocatedOperand* unalloc = UnallocatedOperand::cast(operand_); in UsePosition()
1589 UnallocatedOperand* operand, int pos, bool is_tagged) { in AllocateFixed()
1652 UnallocatedOperand* output = UnallocatedOperand::cast(output_operand); in MeetRegisterConstraintsForLastInstructionInBlock()
1673 UnallocatedOperand output_copy(UnallocatedOperand::ANY, output_vreg); in MeetRegisterConstraintsForLastInstructionInBlock()
1695 UnallocatedOperand* temp = UnallocatedOperand::cast(first->TempAt(i)); in MeetConstraintsAfter()
1708 UnallocatedOperand* first_output = UnallocatedOperand::cast(output); in MeetConstraintsAfter()
1714 UnallocatedOperand output_copy(UnallocatedOperand::ANY, output_vreg); in MeetConstraintsAfter()
1753 UnallocatedOperand* cur_input = UnallocatedOperand::cast(input); in MeetConstraintsBefore()
1756 UnallocatedOperand input_copy(UnallocatedOperand::ANY, input_vreg); in MeetConstraintsBefore()
1766 UnallocatedOperand* second_output = UnallocatedOperand::cast(output); in MeetConstraintsBefore()
[all …]
Dinstruction.h152 class UnallocatedOperand : public InstructionOperand {
180 UnallocatedOperand(ExtendedPolicy policy, int virtual_register) in UnallocatedOperand() function
181 : UnallocatedOperand(virtual_register) { in UnallocatedOperand()
187 UnallocatedOperand(BasicPolicy policy, int index, int virtual_register) in UnallocatedOperand() function
188 : UnallocatedOperand(virtual_register) { in UnallocatedOperand()
195 UnallocatedOperand(ExtendedPolicy policy, int index, int virtual_register) in UnallocatedOperand() function
196 : UnallocatedOperand(virtual_register) { in UnallocatedOperand()
204 UnallocatedOperand(ExtendedPolicy policy, Lifetime lifetime, in UnallocatedOperand() function
206 : UnallocatedOperand(virtual_register) { in UnallocatedOperand()
212 UnallocatedOperand(int reg_id, int slot_id, int virtual_register) in UnallocatedOperand() function
[all …]
Dinstruction-scheduler.h182 (UnallocatedOperand::cast(instr->OutputAt(0)) in IsFixedRegisterParameter()
184 UnallocatedOperand::cast(instr->OutputAt(0)) in IsFixedRegisterParameter()
Dinstruction-scheduler.cc319 (UnallocatedOperand::cast(output)->virtual_register() == in HasOperandDependency()
320 UnallocatedOperand::cast(input)->virtual_register())) { in HasOperandDependency()
326 UnallocatedOperand::cast(input)->virtual_register())) { in HasOperandDependency()
Dinstruction-selector.cc318 UnallocatedOperand unalloc = UnallocatedOperand::cast(op); in MarkAsRepresentation()
671 if (UnallocatedOperand::cast(op).HasFixedSlotPolicy() && !call_tail) { in InitializeCallBuffer()
672 int stack_index = -UnallocatedOperand::cast(op).fixed_slot_index() - 1; in InitializeCallBuffer()
Dregister-allocator.h872 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()
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()
286 UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER, vreg)}; in TEST()
289 UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER, vreg), in TEST()
290 UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER, vreg), in TEST()
[all …]
/external/v8/test/unittests/compiler/
Dinstruction-sequence-unittest.cc283 CHECK(UnallocatedOperand::cast(outputs[0]).HasFixedPolicy()); in EmitCall()
333 TestOperand op, UnallocatedOperand::ExtendedPolicy policy) { in Unallocated()
334 return UnallocatedOperand(policy, op.vreg_.value_); in Unallocated()
339 TestOperand op, UnallocatedOperand::ExtendedPolicy policy, in Unallocated()
340 UnallocatedOperand::Lifetime lifetime) { in Unallocated()
341 return UnallocatedOperand(policy, lifetime, op.vreg_.value_); in Unallocated()
346 TestOperand op, UnallocatedOperand::ExtendedPolicy policy, int index) { in Unallocated()
347 return UnallocatedOperand(policy, index, op.vreg_.value_); in Unallocated()
352 TestOperand op, UnallocatedOperand::BasicPolicy policy, int index) { in Unallocated()
353 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.cc123 const UnallocatedOperand* unallocated = UnallocatedOperand::cast(operand); in IsFixed()
132 const UnallocatedOperand* unallocated = UnallocatedOperand::cast(operand); in IsSameAsFirst()
140 const UnallocatedOperand* unallocated = UnallocatedOperand::cast(operand); in IsUsedAtStart()
258 EXPECT_TRUE(UnallocatedOperand::cast(s[1]->Output())->HasSameAsInputPolicy()); in TARGET_TEST_F()
Dinstruction-selector-unittest.h222 return UnallocatedOperand::cast(operand)->virtual_register(); in ToVreg()
/external/v8/test/unittests/compiler/arm/
Dinstruction-selector-arm-unittest.cc1828 UnallocatedOperand::cast(s[0]->Output())->HasSameAsInputPolicy()); in TEST_F()
1849 UnallocatedOperand::cast(s[0]->Output())->HasSameAsInputPolicy()); in TEST_F()
1874 UnallocatedOperand::cast(s[0]->Output())->HasSameAsInputPolicy()); in TEST_F()
1895 UnallocatedOperand::cast(s[0]->Output())->HasSameAsInputPolicy()); in TEST_F()
1948 EXPECT_TRUE(UnallocatedOperand::cast(s[0]->Output())->HasSameAsInputPolicy()); in TEST_F()
1970 EXPECT_TRUE(UnallocatedOperand::cast(s[0]->Output())->HasSameAsInputPolicy()); in TEST_F()
2639 UnallocatedOperand::cast(s[0]->Output())->HasSameAsInputPolicy()); in TEST_F()
2656 UnallocatedOperand::cast(s[0]->Output())->HasSameAsInputPolicy()); in TEST_F()