Searched refs:sym (Results 1 - 12 of 12) sorted by relevance

/gem5/src/mem/slicc/symbols/
H A DSymbolTable.py56 def newSymbol(self, sym):
57 self.registerSym(str(sym), sym)
58 self.sym_vec.append(sym)
60 def registerSym(self, id, sym):
63 sym.error("Symbol '%s' redeclared in same scope.", id)
67 if type(sym_map[id]) != type(sym):
68 sym.error("Conflicting declaration of Symbol '%s'", id)
71 self.sym_map_vec[-1][id] = sym
95 def newCurrentMachine(self, sym)
[all...]
/gem5/util/
H A Doprofile-top.py39 def category(app,sym):
41 name = sym
75 (count, percent, app, sym) = line.split()
77 cat = category(app,sym)
/gem5/src/gpu-compute/
H A Dhsail_code.cc103 const BrigDirectiveVariable *sym = local
108 obj->getString(sym->name));
110 StorageElement *se = storageMap->addSymbol(sym, obj);
112 if (sym->segment == BRIG_SEGMENT_PRIVATE) {
288 StorageSpace::addSymbol(const BrigDirectiveVariable *sym, argument
291 const char *sym_name = obj->getString(sym->name);
295 if (sym->type & BRIG_TYPE_ARRAY) {
296 size = getBrigDataTypeBytes(sym->type & ~BRIG_TYPE_ARRAY);
297 size *= (((uint64_t)sym->dim.hi) << 32 | (uint64_t)sym
367 addSymbol(const BrigDirectiveVariable *sym, const BrigObject *obj) argument
[all...]
H A Dhsail_code.hh232 const Brig::BrigDirectiveVariable *sym)
233 : name(_name), offset(_offset), size(_size), brigSymbol(sym)
254 StorageElement *addSymbol(const Brig::BrigDirectiveVariable *sym,
273 StorageElement *addSymbol(const Brig::BrigDirectiveVariable *sym,
231 StorageElement(const char *_name, uint64_t _offset, int _size, const Brig::BrigDirectiveVariable *sym) argument
/gem5/ext/libelf/
H A Delf32.h139 #define ELF32_R_INFO(sym, type) (((sym) << 8) + (unsigned char)(type))
160 * sym = ELF32_M_SYM(M.m_info)
162 * M.m_info = ELF32_M_INFO(sym, size)
166 #define ELF32_M_INFO(sym, size) (((sym)<<8)+(unsigned char)(size))
H A Dlibelf_ar.c421 Elf_Arsym *symtab, *sym; local
451 for (n = nentries, sym = symtab; n > 0; n--) {
456 sym->as_off = off;
457 sym->as_hash = elf_hash(s);
458 sym->as_name = s;
461 sym++;
473 sym->as_name = NULL;
474 sym->as_hash = ~0UL;
475 sym->as_off = (off_t) 0;
H A Delf64.h148 #define ELF64_R_INFO(sym, type) (((sym) << 32) + ((type) & 0xffffffffL))
173 #define ELF64_M_INFO(sym, size) (((sym)<<8)+(unsigned char)(size))
/gem5/ext/ply/ply/
H A Dyacc.py252 sym = YaccSymbol()
253 sym.type = '$end'
254 self.symstack.append(sym)
327 sym = YaccSymbol()
328 sym.type = "$end"
329 symstack.append(sym)
383 sym = YaccSymbol()
384 sym.type = pname # Production name
385 sym.value = None
397 targ[0] = sym
[all...]
/gem5/src/arch/hsail/
H A Doperand.cc288 const BrigDirectiveVariable *sym = local
291 type = (BrigType)sym->type;
333 const BrigDirectiveVariable *sym = (BrigDirectiveVariable*)d; local
334 name = obj->getString(sym->name);
336 if (sym->segment != BRIG_SEGMENT_ARG) {
338 obj->currentCode->storageMap->findSymbol(sym->segment, name);
341 // sym->name does not work for BRIG_SEGMENT_ARG for the following case:
373 storageMap->findSymbol((Brig::BrigSegment)sym->segment, sym);
/gem5/src/base/loader/
H A Delf_object.cc435 GElf_Sym sym; local
436 gelf_getsym(data, i, &sym);
437 if (GELF_ST_BIND(sym.st_info) == binding) {
438 char *sym_name = elf_strptr(elf, shdr.sh_link, sym.st_name);
440 Addr value = sym.st_value - base + offset;
/gem5/src/base/
H A Dcp_annotate.cc53 #define CPA_IGNORE_SYMBOL(sym) { #sym, sizeof(#sym) }
343 string sym;
347 debugSymbolTable->findNearestSymbol(next_pc, sym, sym_addr);
352 userApp[app]->findNearestSymbol(next_pc, sym, sym_addr);
356 swBegin(tc->getSystemPtr(), tc->contextId(), sym, getFrame(tc));
/gem5/util/stats/
H A Dprofile.py60 return max([ len(sym) for sym in self.iterkeys() ])

Completed in 27 milliseconds