mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-12 02:47:10 +00:00
MachineScheduler.h - reduce AliasAnalysis.h include to forward declaration. NFC.
Replace legacy AliasAnalysis typedef with AAResults where necessary.
This commit is contained in:
parent
9fb7e98db5
commit
bc7eb9010f
@ -80,7 +80,6 @@
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/ADT/Twine.h"
|
||||
#include "llvm/Analysis/AliasAnalysis.h"
|
||||
#include "llvm/CodeGen/MachineBasicBlock.h"
|
||||
#include "llvm/CodeGen/MachinePassRegistry.h"
|
||||
#include "llvm/CodeGen/RegisterPressure.h"
|
||||
@ -102,6 +101,7 @@ extern cl::opt<bool> ForceTopDown;
|
||||
extern cl::opt<bool> ForceBottomUp;
|
||||
extern cl::opt<bool> VerifyScheduling;
|
||||
|
||||
class AAResults;
|
||||
class LiveIntervals;
|
||||
class MachineDominatorTree;
|
||||
class MachineFunction;
|
||||
@ -121,7 +121,7 @@ struct MachineSchedContext {
|
||||
const MachineLoopInfo *MLI = nullptr;
|
||||
const MachineDominatorTree *MDT = nullptr;
|
||||
const TargetPassConfig *PassConfig = nullptr;
|
||||
AliasAnalysis *AA = nullptr;
|
||||
AAResults *AA = nullptr;
|
||||
LiveIntervals *LIS = nullptr;
|
||||
|
||||
RegisterClassInfo *RegClassInfo;
|
||||
@ -264,7 +264,7 @@ public:
|
||||
/// PreRA and PostRA MachineScheduler.
|
||||
class ScheduleDAGMI : public ScheduleDAGInstrs {
|
||||
protected:
|
||||
AliasAnalysis *AA;
|
||||
AAResults *AA;
|
||||
LiveIntervals *LIS;
|
||||
std::unique_ptr<MachineSchedStrategy> SchedImpl;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user