mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-26 22:34:39 +00:00
Changed CPUResource to allow access to max num users for a resource.
Also added ModuloScheduling as a friend. llvm-svn: 13426
This commit is contained in:
parent
b6ecf521da
commit
f97f4f8760
@ -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…
x
Reference in New Issue
Block a user