Home
last modified time | relevance | path

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

/external/v8/src/compiler/
Dinstruction-selector-impl.h25 UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER)); in DefineAsRegister()
30 UnallocatedOperand(UnallocatedOperand::SAME_AS_FIRST_INPUT)); in DefineSameAsFirst()
35 UnallocatedOperand(UnallocatedOperand::FIXED_REGISTER, in DefineAsFixed()
41 UnallocatedOperand(UnallocatedOperand::FIXED_DOUBLE_REGISTER, in DefineAsFixed()
58 new (zone()) UnallocatedOperand( in Use()
59 UnallocatedOperand::ANY, UnallocatedOperand::USED_AT_START)); in Use()
64 UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER, in UseRegister()
65 UnallocatedOperand::USED_AT_START)); in UseRegister()
71 return Use(node, new (zone()) UnallocatedOperand(UnallocatedOperand::ANY)); in UseUnique()
78 UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER)); in UseUniqueRegister()
[all …]
Dregister-allocator.cc34 const UnallocatedOperand* unalloc = UnallocatedOperand::cast(operand_); in UsePosition()
212 UnallocatedOperand* unalloc = in CreateAssignedOperand()
213 new (zone) UnallocatedOperand(UnallocatedOperand::NONE); in CreateAssignedOperand()
584 UnallocatedOperand* operand, int pos, bool is_tagged) { in AllocateFixed()
663 return LiveRangeFor(UnallocatedOperand::cast(operand)->virtual_register()); in LiveRangeFor()
689 UnallocatedOperand* unalloc_operand = UnallocatedOperand::cast(operand); in Define()
702 UnallocatedOperand* unalloc_operand = UnallocatedOperand::cast(operand); in Use()
721 if (UnallocatedOperand::cast(cur_to)->virtual_register() == in AddConstraintsGapMove()
722 UnallocatedOperand::cast(from)->virtual_register()) { in AddConstraintsGapMove()
762 UnallocatedOperand* output = UnallocatedOperand::cast(output_operand); in MeetRegisterConstraintsForLastInstructionInBlock()
[all …]
Dinstruction.cc18 const UnallocatedOperand* unalloc = UnallocatedOperand::cast(&op); in operator <<()
20 if (unalloc->basic_policy() == UnallocatedOperand::FIXED_SLOT) { in operator <<()
24 case UnallocatedOperand::NONE: in operator <<()
26 case UnallocatedOperand::FIXED_REGISTER: in operator <<()
29 case UnallocatedOperand::FIXED_DOUBLE_REGISTER: in operator <<()
32 case UnallocatedOperand::MUST_HAVE_REGISTER: in operator <<()
34 case UnallocatedOperand::SAME_AS_FIRST_INPUT: in operator <<()
36 case UnallocatedOperand::ANY: in operator <<()
Dinstruction.h96 class UnallocatedOperand : public InstructionOperand {
123 explicit UnallocatedOperand(ExtendedPolicy policy) in UnallocatedOperand() function
130 UnallocatedOperand(BasicPolicy policy, int index) in UnallocatedOperand() function
138 UnallocatedOperand(ExtendedPolicy policy, int index) in UnallocatedOperand() function
147 UnallocatedOperand(ExtendedPolicy policy, Lifetime lifetime) in UnallocatedOperand() function
154 UnallocatedOperand* CopyUnconstrained(Zone* zone) { in CopyUnconstrained()
155 UnallocatedOperand* result = new (zone) UnallocatedOperand(ANY); in CopyUnconstrained()
160 static const UnallocatedOperand* cast(const InstructionOperand* op) { in cast()
162 return static_cast<const UnallocatedOperand*>(op); in cast()
165 static UnallocatedOperand* cast(InstructionOperand* op) { in cast()
[all …]
Dregister-allocator.h21 class UnallocatedOperand; variable
354 if (vreg >= UnallocatedOperand::kMaxVirtualRegisters) { in GetVirtualRegister()
398 InstructionOperand* AllocateFixed(UnallocatedOperand* operand, int pos,
Dinstruction-selector-unittest.cc76 UnallocatedOperand::cast(output)->virtual_register()); in Build()
87 UnallocatedOperand::cast(input)->virtual_register()); in Build()
202 EXPECT_TRUE(UnallocatedOperand::cast(s[1]->Output())->HasSameAsInputPolicy()); in TARGET_TEST_F()
Dinstruction-selector-unittest.h157 return UnallocatedOperand::cast(operand)->virtual_register(); in ToVreg()
Dpipeline.cc388 if (node_count > UnallocatedOperand::kMaxVirtualRegisters) { in GenerateCode()
Dinstruction-selector.cc341 if (UnallocatedOperand::cast(op)->HasFixedSlotPolicy()) { in InitializeCallBuffer()
342 int stack_index = -UnallocatedOperand::cast(op)->fixed_slot_index() - 1; in InitializeCallBuffer()
/external/v8/test/cctest/compiler/
Dtest-instruction.cc90 UnallocatedOperand* NewUnallocated(int vreg) { in NewUnallocated()
91 UnallocatedOperand* unallocated = in NewUnallocated()
92 new (zone()) UnallocatedOperand(UnallocatedOperand::ANY); in NewUnallocated()
283 UnallocatedOperand* op1 = R.NewUnallocated(index + 6); in TEST()
284 UnallocatedOperand* op2 = R.NewUnallocated(index + 12); in TEST()
310 new (&zone) UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER), in TEST()
311 new (&zone) UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER), in TEST()
312 new (&zone) UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER), in TEST()
313 new (&zone) UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER)}; in TEST()
316 new (&zone) UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER), in TEST()
[all …]
Dinstruction-selector-tester.h119 CHECK_EQ(UnallocatedOperand::cast(exp)->virtual_register(), in CheckSameVreg()
120 UnallocatedOperand::cast(val)->virtual_register()); in CheckSameVreg()
/external/v8/src/compiler/x64/
Dinstruction-selector-x64.cc19 return new (zone()) UnallocatedOperand(UnallocatedOperand::FIXED_REGISTER, in TempRegister()
/external/v8/src/compiler/arm/
Dinstruction-selector-arm-unittest.cc1694 UnallocatedOperand::cast(s[0]->Output())->HasSameAsInputPolicy()); in TEST_F()
1711 UnallocatedOperand::cast(s[0]->Output())->HasSameAsInputPolicy()); in TEST_F()