Home
last modified time | relevance | path

Searched refs:regmap (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/amd/registers/
Dregdb.py234 old_register_mappings.sort(key=lambda regmap: regmap.map.at)
237 for regmap in old_register_mappings:
238 addr = (regmap.map.to, regmap.map.at)
239 chips = set(getattr(regmap, 'chips', ['undef']))
240 type_ref = getattr(regmap, 'type_ref', None)
246 if other.name != regmap.name:
273 other.name, regmap.name))
275 addrmappings.append(regmap)
276 self.__register_mappings.append(regmap)
287 for regmap in self.__register_mappings:
[all …]
Dcanonicalize.py51 for regmap in regdb.register_mappings():
52 buckets[RE_number.sub('0', regmap.name)].append(regmap)
59 regmap.type_ref for regmap in bucket if hasattr(regmap, 'type_ref')
63 for regmap in bucket:
64 if not hasattr(regmap, 'type_ref'):
65 print('Deducing {0} -> {1}'.format(regmap.name, regtypename), file=sys.stderr)
66 regmap.type_ref = regtypename
73 for regmap in regdb.register_mappings():
74 assert not hasattr(regmap, 'chips')
75 regmap.chips = [chips]
Dmakeregheader.py143 for regmap in regdb.register_mappings():
144 type_ref = getattr(regmap, 'type_ref', None)
146 address=regmap.map.at,
147 chips=set(regmap.chips),
148 name=regmap.name,
149 regmap=regmap,
153 basename = re.sub(r'[0-9]+', '', regmap.name)
155 if type_ref is not None and regtype_emit[key].isdisjoint(regmap.chips):
156 regtype_emit[key].update(regmap.chips)
165 address=regmap.map.at,
[all …]
/third_party/mesa3d/src/amd/common/
Dsid_tables.py290 for regmap in regdb.register_mappings():
291 for chip in regmap.chips:
292 regmaps_by_chip[chip].append(regmap)
299 regmaps.sort(key=lambda regmap: (regmap.map.to, regmap.map.at))
303 for regmap in regmaps:
304 if hasattr(regmap, 'type_ref'):
305 if not regmap.type_ref in regtypes:
306 regtype = regdb.register_type(regmap.type_ref)
318 regtypes[regmap.type_ref] = (num_fields, fields_offset)
320 num_fields, fields_offset = regtypes[regmap.type_ref]
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/sb/
Dsb_sched.cpp819 regmap.clear(); in init_regmap()
842 regmap[r] = v; in init_regmap()
1126 regmap = prev_regmap; in emit_index_registers()
1163 prev_regmap = regmap; in schedule_alu()
1175 regmap = prev_regmap; in schedule_alu()
1190 regmap = prev_regmap; in schedule_alu()
1343 regmap = prev_regmap; in emit_load_ar()
1367 rv_map::iterator F = regmap.find(gpr); in unmap_dst_val()
1369 if (F != regmap.end()) in unmap_dst_val()
1383 regmap.erase(F); in unmap_dst_val()
[all …]
Dsb_sched.h263 rv_map regmap, prev_regmap; variable
272 live(), ucm(), alu(sh), regmap(), cleared_interf() {} in post_scheduler()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1656 DenseMap<unsigned, unsigned> &regmap = VRegMapping[RC]; in setAndEmitFunctionVirtualRegisters() local
1657 int n = regmap.size(); in setAndEmitFunctionVirtualRegisters()
1658 regmap.insert(std::make_pair(vr, n + 1)); in setAndEmitFunctionVirtualRegisters()
1675 DenseMap<unsigned, unsigned> &regmap = VRegMapping[RC]; in setAndEmitFunctionVirtualRegisters() local
1678 int n = regmap.size(); in setAndEmitFunctionVirtualRegisters()