mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
Added TargetPassConfig::enablePass
llvm-svn: 152359
This commit is contained in:
parent
6e3b9b3d5c
commit
d214a5ef98
@ -101,7 +101,10 @@ public:
|
||||
/// point where StadardID is expected, add TargetID in its place.
|
||||
void substitutePass(char &StandardID, char &TargetID);
|
||||
|
||||
/// Allow the target to disable a specific standard pass.
|
||||
/// Allow the target to enable a specific standard pass by default.
|
||||
void enablePass(char &ID) { substitutePass(ID, ID); }
|
||||
|
||||
/// Allow the target to disable a specific standard pass by default.
|
||||
void disablePass(char &ID) { substitutePass(ID, NoPassID); }
|
||||
|
||||
/// Return the pass ssubtituted for StandardID by the target.
|
||||
|
Loading…
x
Reference in New Issue
Block a user