mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
Changed CPUResource to allow access to max num users for a resource.
Also added ModuloScheduling as a friend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13426 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6b160503b5
commit
e5abfd2c05
@ -68,7 +68,7 @@ struct CPUResource {
|
||||
int maxNumUsers; // MAXINT if no restriction
|
||||
|
||||
CPUResource(const std::string& resourceName, int maxUsers);
|
||||
|
||||
static CPUResource* getCPUResource(resourceId_t id);
|
||||
private:
|
||||
static resourceId_t nextId;
|
||||
};
|
||||
@ -302,8 +302,7 @@ protected:
|
||||
conflictLists; // indexed by [opcode]
|
||||
|
||||
|
||||
friend class ModuloSchedGraph;
|
||||
friend class ModuloScheduling;
|
||||
friend class ModuloSchedulingPass;
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user