hsail_code.hh (11308:7d8836fd043d) | hsail_code.hh (12603:ab2cec4483af) |
---|---|
1/* 2 * Copyright (c) 2012-2015 Advanced Micro Devices, Inc. 3 * All rights reserved. 4 * 5 * For use for simulation and test purposes only 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are met: --- 231 unchanged lines hidden (view full) --- 240 typedef std::map<const Brig::BrigDirectiveVariable*, StorageElement*> 241 DirVarToSE_map; 242 243 std::list<StorageElement*> elements; 244 AddrRangeMap<StorageElement*> elements_by_addr; 245 DirVarToSE_map elements_by_brigptr; 246 247 uint64_t nextOffset; | 1/* 2 * Copyright (c) 2012-2015 Advanced Micro Devices, Inc. 3 * All rights reserved. 4 * 5 * For use for simulation and test purposes only 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are met: --- 231 unchanged lines hidden (view full) --- 240 typedef std::map<const Brig::BrigDirectiveVariable*, StorageElement*> 241 DirVarToSE_map; 242 243 std::list<StorageElement*> elements; 244 AddrRangeMap<StorageElement*> elements_by_addr; 245 DirVarToSE_map elements_by_brigptr; 246 247 uint64_t nextOffset; |
248 Brig::BrigSegment segment; | |
249 250 public: | 248 249 public: |
251 StorageSpace(Brig::BrigSegment _class) 252 : nextOffset(0), segment(_class) | 250 StorageSpace(Brig::BrigSegment _class) : nextOffset(0) |
253 { 254 } 255 256 StorageElement *addSymbol(const Brig::BrigDirectiveVariable *sym, 257 const BrigObject *obj); 258 259 StorageElement* findSymbol(std::string name); 260 StorageElement* findSymbol(uint64_t addr); --- 187 unchanged lines hidden --- | 251 { 252 } 253 254 StorageElement *addSymbol(const Brig::BrigDirectiveVariable *sym, 255 const BrigObject *obj); 256 257 StorageElement* findSymbol(std::string name); 258 StorageElement* findSymbol(uint64_t addr); --- 187 unchanged lines hidden --- |