mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-27 21:50:40 +00:00
Add MachineRegionInfoPassID to Passes.h.
Differential Revision: https://reviews.llvm.org/D31899 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299932 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a032476a5
commit
465e205500
@ -81,6 +81,9 @@ namespace llvm {
|
||||
/// MachineDominanaceFrontier - This pass is a machine dominators analysis pass.
|
||||
extern char &MachineDominanceFrontierID;
|
||||
|
||||
/// MachineRegionInfo - This pass computes SESE regions for machine functions.
|
||||
extern char &MachineRegionInfoPassID;
|
||||
|
||||
/// EdgeBundles analysis - Bundle machine CFG edges.
|
||||
extern char &EdgeBundlesID;
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
#include "llvm/CodeGen/MachineRegionInfo.h"
|
||||
#include "llvm/ADT/Statistic.h"
|
||||
#include "llvm/Analysis/RegionInfoImpl.h"
|
||||
@ -123,6 +122,7 @@ LLVM_DUMP_METHOD void MachineRegionInfoPass::dump() const {
|
||||
#endif
|
||||
|
||||
char MachineRegionInfoPass::ID = 0;
|
||||
char &MachineRegionInfoPassID = MachineRegionInfoPass::ID;
|
||||
|
||||
INITIALIZE_PASS_BEGIN(MachineRegionInfoPass, DEBUG_TYPE,
|
||||
"Detect single entry single exit regions", true, true)
|
||||
|
Loading…
Reference in New Issue
Block a user