/third_party/mesa3d/src/imagination/rogue/ |
H A D | rogue_regalloc.c | 168 _mesa_hash_table_search(reg_ht, &instr->operands[u].vreg.number); in rogue_ra_alloc() 176 range->class = instr->operands[u].vreg.is_vector in rogue_ra_alloc() 181 &instr->operands[u].vreg.number, in rogue_ra_alloc() 184 max_vreg = MAX2(max_vreg, instr->operands[u].vreg.number); in rogue_ra_alloc() 191 assert(range->class == (instr->operands[u].vreg.is_vector in rogue_ra_alloc() 209 const uint32_t *vreg = entry->key; in rogue_ra_alloc() local 213 ra_set_node_class(g, *vreg, class); in rogue_ra_alloc() 214 /* TODO: ra_set_node_spill_cost(g, *vreg, cost); */ in rogue_ra_alloc() 250 instr->operands[0].vreg.number, in rogue_ra_alloc() 251 instr->operands[u].vreg in rogue_ra_alloc() 263 uint32_t vreg = *(uint32_t *)entry->key; rogue_ra_alloc() local [all...] |
H A D | rogue_instr.c | 198 instr->operands[index].vreg.number = number; in rogue_instr_set_operand_vreg() 199 instr->operands[index].vreg.is_vector = false; in rogue_instr_set_operand_vreg() 222 instr->operands[index].vreg.number = number; in rogue_instr_set_operand_vreg_vec() 223 instr->operands[index].vreg.is_vector = true; in rogue_instr_set_operand_vreg_vec() 224 instr->operands[index].vreg.component = component; in rogue_instr_set_operand_vreg_vec()
|
H A D | rogue_dump.c | 102 fprintf(fp, "%zu", operand->vreg.number); in rogue_dump_operand() 103 if (operand->vreg.is_vector) in rogue_dump_operand() 104 fprintf(fp, ".%c", rogue_vector_string[operand->vreg.component]); in rogue_dump_operand()
|
H A D | rogue_operand.h | 134 } vreg; member
|
/third_party/node/deps/v8/src/compiler/backend/ |
H A D | spill-placer.h | 100 int GetOrCreateIndexForLatestVreg(int vreg); 102 bool IsLatestVreg(int vreg) const { in IsLatestVreg() 104 vreg_numbers_[assigned_indices_ - 1] == vreg; in IsLatestVreg() 118 void SetSpillRequired(InstructionBlock* block, int vreg, 121 void SetDefinition(RpoNumber block, int vreg); 137 void CommitSpill(int vreg, InstructionBlock* predecessor,
|
H A D | spill-placer.cc | 69 DCHECK(!IsLatestVreg(range->vreg())); in Add() 82 SetSpillRequired(code->InstructionBlockAt(start_block), range->vreg(), in Add() 100 DCHECK(!IsLatestVreg(range->vreg())); in Add() 103 SetSpillRequired(block, range->vreg(), top_start_block_number); in Add() 110 if (!IsLatestVreg(range->vreg())) { in Add() 115 SetDefinition(top_start_block_number, range->vreg()); in Add() 205 int SpillPlacer::GetOrCreateIndexForLatestVreg(int vreg) { 207 // If this vreg isn't yet the last one in the list, then add it. 208 if (!IsLatestVreg(vreg)) { 228 vreg_numbers_[assigned_indices_] = vreg; 264 SetSpillRequired(InstructionBlock* block, int vreg, RpoNumber top_start_block) SetSpillRequired() argument 282 SetDefinition(RpoNumber block, int vreg) SetDefinition() argument 465 CommitSpill(int vreg, InstructionBlock* predecessor, InstructionBlock* successor) CommitSpill() argument [all...] |
H A D | register-allocator-verifier.h | 70 // matches a particular use. We allow more than one vreg association with 98 bool IsAliasOf(int vreg) const { return aliases_.count(vreg) > 0; } in IsAliasOf() 99 void AddAlias(int vreg) { aliases_.insert(vreg); } in AddAlias() argument 251 void AddDelayedAssessment(InstructionOperand op, int vreg) { in AddDelayedAssessment() argument 254 map_.insert(std::make_pair(op, vreg)); in AddDelayedAssessment() 256 CHECK_EQ(it->second, vreg); in AddDelayedAssessment()
|
H A D | mid-tier-register-allocator.cc | 264 // Trys to adds |vreg| to the list of variables to potentially defer their 267 bool TryDeferSpillOutputUntilEntry(int vreg) { in TryDeferSpillOutputUntilEntry() argument 268 if (spilled_vregs_.count(vreg) != 0) return true; in TryDeferSpillOutputUntilEntry() 270 spilled_vregs_.insert(vreg); in TryDeferSpillOutputUntilEntry() 376 int vreg() const { return vreg_; } in vreg() function in v8::internal::compiler::final 600 data->spilled_virtual_registers().Add(vreg()); in EnsureSpillRange() 629 vreg()); in TrySpillOnEntryToDeferred() 1359 VirtualRegisterData& vreg, int instr_index); 1360 void AllocateOutput(UnallocatedOperand* operand, VirtualRegisterData& vreg, 1362 void AllocateInput(UnallocatedOperand* operand, VirtualRegisterData& vreg, [all...] |
H A D | register-allocator.cc | 138 DCHECK_EQ(range->vreg(), operand_index); in ArrayFor() 690 if (pos == other_pos) return TopLevel()->vreg() < other->TopLevel()->vreg(); in ShouldBeAllocatedBefore() 695 return TopLevel()->vreg() < other->TopLevel()->vreg(); in ShouldBeAllocatedBefore() 811 TopLevelLiveRange::TopLevelLiveRange(int vreg, MachineRepresentation rep) in TopLevelLiveRange() argument 813 vreg_(vreg), in TopLevelLiveRange() 951 TRACE_COND(trace_alloc, "Shorten live range %d to [%d\n", vreg(), in ShortenTo() 962 TRACE_COND(trace_alloc, "Ensure live range %d in interval [%d %d[\n", vreg(), in EnsureInterval() 983 TRACE_COND(trace_alloc, "Add to live range %d interval [%d %d[\n", vreg(), in AddUseInterval() 2243 int vreg = unalloc->virtual_register(); ProcessInstructions() local 4888 int vreg = *it; ResolveControlFlow() local [all...] |
H A D | instruction-selector-impl.h | 242 InstructionOperand DefineSameAsFirstForVreg(int vreg) { in DefineSameAsFirstForVreg() argument 243 return UnallocatedOperand(UnallocatedOperand::SAME_AS_INPUT, vreg); in DefineSameAsFirstForVreg() 246 InstructionOperand DefineAsRegistertForVreg(int vreg) { in DefineAsRegistertForVreg() argument 247 return UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER, vreg); in DefineAsRegistertForVreg() 250 InstructionOperand UseRegisterForVreg(int vreg) { in UseRegisterForVreg() argument 252 UnallocatedOperand::USED_AT_START, vreg); in UseRegisterForVreg()
|
H A D | register-allocator-verifier.cc | 172 int vreg = unallocated->virtual_register(); in BuildConstraint() local 173 constraint->virtual_register_ = vreg; in BuildConstraint() 181 if (sequence()->IsFP(vreg)) { in BuildConstraint() 188 DCHECK(!sequence()->IsFP(vreg)); in BuildConstraint() 205 if (sequence()->IsFP(vreg)) { in BuildConstraint() 214 ElementSizeLog2Of(sequence()->GetRepresentation(vreg)); in BuildConstraint() 608 int vreg = pair.second; in VerifyGapMoves() local 617 vreg); in VerifyGapMoves() 622 vreg); in VerifyGapMoves()
|
H A D | instruction-scheduler.cc | 187 int32_t vreg = UnallocatedOperand::cast(input)->virtual_register(); in AddInstruction() local 188 auto it = operands_map_.find(vreg); in AddInstruction()
|
H A D | instruction.cc | 789 int vreg = (output->IsConstant()) 792 CHECK(!definitions.Contains(vreg)); 793 definitions.Add(vreg);
|
/third_party/mesa3d/src/util/tests/ |
H A D | register_allocate_test.cpp | 99 int vreg = next_vreg++; in TEST_F() local 100 ra_class_add_reg(reg32low, vreg); in TEST_F() 101 ra_add_transitive_reg_conflict(regs, i, vreg); in TEST_F() 108 int vreg = next_vreg++; in TEST_F() local 109 ra_class_add_reg(reg64low, vreg); in TEST_F() 110 ra_add_transitive_reg_conflict(regs, i, vreg); in TEST_F() 111 ra_add_transitive_reg_conflict(regs, (i + 1) % 8, vreg); in TEST_F() 117 int vreg = next_vreg++; in TEST_F() local 118 ra_class_add_reg(reg96, vreg); in TEST_F() 120 ra_add_transitive_reg_conflict(regs, i + j, vreg); in TEST_F() [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
H A D | sb_bc_finalize.cpp | 516 unsigned vreg = v->gpr.sel(); in copy_fetch_src() local 520 reg = vreg; in copy_fetch_src() 521 else if ((unsigned)reg != vreg) { in copy_fetch_src() 623 unsigned vreg = v->gpr.sel(); in finalize_fetch() local 627 reg = vreg; in finalize_fetch() 628 else if ((unsigned)reg != vreg) { in finalize_fetch() 670 unsigned vreg = v->gpr.sel(); in finalize_fetch() local 674 reg = vreg; in finalize_fetch() 675 else if ((unsigned)reg != vreg) { in finalize_fetch() 747 unsigned vreg in finalize_cf() local 799 unsigned vreg = v->gpr.sel(); finalize_cf() local 833 unsigned vreg = v->gpr.sel(); finalize_cf() local [all...] |
/third_party/node/deps/v8/src/execution/arm64/ |
H A D | simulator-arm64.cc | 1483 ? vreg(code).Get<float>(lane) 1484 : vreg(code).Get<double>(lane); 3126 SimVRegister& rd = vreg(instr->Rd()); 3127 SimVRegister& rn = vreg(instr->Rn()); 3142 fabs_(vform, vreg(fd), vreg(fn)); 3148 fneg(vform, vreg(fd), vreg(fn)); 3217 SimVRegister& rd = vreg(instr->Rd()); 3218 SimVRegister& rn = vreg(inst [all...] |
H A D | simulator-arm64.h | 1003 T vreg(unsigned code) const { in vreg() function in v8::internal::Simulator 1013 inline SimVRegister& vreg(unsigned code) { return vregisters_[code]; } in vreg() function in v8::internal::Simulator 1021 // Common specialized accessors for the vreg() template. 1022 uint8_t breg(unsigned code) const { return vreg<uint8_t>(code); } in breg() 1024 float hreg(unsigned code) const { return vreg<uint16_t>(code); } in hreg() 1026 float sreg(unsigned code) const { return vreg<float>(code); } in sreg() 1028 uint32_t sreg_bits(unsigned code) const { return vreg<uint32_t>(code); } in sreg_bits() 1030 double dreg(unsigned code) const { return vreg<double>(code); } in dreg() 1032 uint64_t dreg_bits(unsigned code) const { return vreg<uint64_t>(code); } in dreg_bits() 1034 qreg_t qreg(unsigned code) const { return vreg<qreg_ 1039 T vreg(unsigned size, unsigned code) const { vreg() function in v8::internal::Simulator [all...] |
/third_party/node/deps/v8/src/codegen/x64/ |
H A D | assembler-x64-inl.h | 188 void Assembler::emit_vex_prefix(XMMRegister reg, XMMRegister vreg, in emit_vex_prefix() argument 194 emit_vex3_byte2(w, vreg, l, pp); in emit_vex_prefix() 197 emit_vex2_byte1(reg, vreg, l, pp); in emit_vex_prefix() 201 void Assembler::emit_vex_prefix(Register reg, Register vreg, Register rm, in emit_vex_prefix() argument 205 XMMRegister ivreg = XMMRegister::from_code(vreg.code()); in emit_vex_prefix() 210 void Assembler::emit_vex_prefix(XMMRegister reg, XMMRegister vreg, Operand rm, in emit_vex_prefix() argument 216 emit_vex3_byte2(w, vreg, l, pp); in emit_vex_prefix() 219 emit_vex2_byte1(reg, vreg, l, pp); in emit_vex_prefix() 223 void Assembler::emit_vex_prefix(Register reg, Register vreg, Operand rm, in emit_vex_prefix() argument 227 XMMRegister ivreg = XMMRegister::from_code(vreg in emit_vex_prefix() [all...] |
H A D | assembler-x64.cc | 3874 void Assembler::bmi1q(byte op, Register reg, Register vreg, Register rm) { in bmi1q() argument 3877 emit_vex_prefix(reg, vreg, rm, kLZ, kNoPrefix, k0F38, kW1); in bmi1q() 3882 void Assembler::bmi1q(byte op, Register reg, Register vreg, Operand rm) { in bmi1q() argument 3885 emit_vex_prefix(reg, vreg, rm, kLZ, kNoPrefix, k0F38, kW1); in bmi1q() 3890 void Assembler::bmi1l(byte op, Register reg, Register vreg, Register rm) { in bmi1l() argument 3893 emit_vex_prefix(reg, vreg, rm, kLZ, kNoPrefix, k0F38, kW0); in bmi1l() 3898 void Assembler::bmi1l(byte op, Register reg, Register vreg, Operand rm) { in bmi1l() argument 3901 emit_vex_prefix(reg, vreg, rm, kLZ, kNoPrefix, k0F38, kW0); in bmi1l() 4026 void Assembler::bmi2q(SIMDPrefix pp, byte op, Register reg, Register vreg, in bmi2q() argument 4030 emit_vex_prefix(reg, vreg, r in bmi2q() 4035 bmi2q(SIMDPrefix pp, byte op, Register reg, Register vreg, Operand rm) bmi2q() argument 4044 bmi2l(SIMDPrefix pp, byte op, Register reg, Register vreg, Register rm) bmi2l() argument 4053 bmi2l(SIMDPrefix pp, byte op, Register reg, Register vreg, Operand rm) bmi2l() argument 4065 Register vreg = Register::from_code(0); // VEX.vvvv unused rorxq() local 4076 Register vreg = Register::from_code(0); // VEX.vvvv unused rorxq() local 4087 Register vreg = Register::from_code(0); // VEX.vvvv unused rorxl() local 4098 Register vreg = Register::from_code(0); // VEX.vvvv unused rorxl() local [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | graph-visualizer.cc | 435 void PrintLiveRange(const LiveRange* range, const char* type, int vreg); 722 int vreg = range->vreg(); in PrintLiveRangeChain() local 725 PrintLiveRange(child, type, vreg); in PrintLiveRangeChain() 730 int vreg) { in PrintLiveRange() 733 os_ << vreg << ":" << range->relative_id() << " " << type; in PrintLiveRange() 766 os_ << " " << parent->vreg() << ":" << parent->relative_id(); in PrintLiveRange() 1017 int vreg = top_level_live_range_json.range_.vreg(); in operator <<() local 1019 os << "\"" << (vreg > in operator <<() 729 PrintLiveRange(const LiveRange* range, const char* type, int vreg) PrintLiveRange() argument 1138 int vreg = ConstantOperand::cast(op)->virtual_register(); operator <<() local 1140 os << "\\"text\\": \\"v" << vreg << "\\","; operator <<() local [all...] |
/third_party/optimized-routines/string/arm/ |
H A D | memcpy.S | 85 .macro cpy_line_vfp vreg, base 86 vstr \vreg, [dst, #\base] 87 vldr \vreg, [src, #\base] 94 vstr \vreg, [dst, #\base + 32] 95 vldr \vreg, [src, #\base + prefetch_lines * 64 - 32] 104 .macro cpy_tail_vfp vreg, base 105 vstr \vreg, [dst, #\base] 106 vldr \vreg, [src, #\base] 113 vstr \vreg, [dst, #\base + 32]
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_optimizer.cpp | 536 old_use(old_use_), vreg(vreg_), index(i),success(false) {} in ReplaceConstSource() 543 RegisterVec4& vreg; member in r600::ReplaceConstSource 623 vreg[index]->del_use(old_use); in visit() 624 auto reg = new Register(vreg.sel(), override_chan, vreg[index]->pin()); in visit() 625 vreg.set_value(index, reg); in visit()
|
H A D | sfn_valuefactory.cpp | 373 auto vreg = new Register( sel, chan, pin_channel); 375 vreg->set_is_ssa(true); 376 m_registers[key] = vreg; 377 sfn_log << SfnLog::reg << "allocate Ssa " << key << ":" << *vreg << "\n"; 378 return vreg;
|
/third_party/vixl/test/aarch64/ |
H A D | test-utils-aarch64.cc | 215 const VRegister& vreg) { in Equal128() 216 VIXL_ASSERT(vreg.Is128Bits()); in Equal128() 220 QRegisterValue result = core->qreg(vreg.GetCode()); in Equal128() 293 const VRegister& vreg) { in Equal64() 294 VIXL_ASSERT(vreg.Is64Bits()); in Equal64() 295 uint64_t result = core->dreg_bits(vreg.GetCode()); in Equal64() 212 Equal128(uint64_t expected_h, uint64_t expected_l, const RegisterDump* core, const VRegister& vreg) Equal128() argument 291 Equal64(uint64_t expected, const RegisterDump* core, const VRegister& vreg) Equal64() argument
|
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/ |
H A D | gpir.h | 190 } vreg; member
|