diff options
author | Andrew Trick <atrick@apple.com> | 2012-09-17 23:00:42 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-09-17 23:00:42 +0000 |
commit | e1b53287179b4b9b5c3c549586f688d3fa2ae8ef (patch) | |
tree | 3d76841b29da81f048e4a8da6149d48575efb2d8 /include/llvm/MC/MCSubtargetInfo.h | |
parent | 419e5b9d4f8bd0e0724b7b2c2d8df0f534bc8d8d (diff) | |
download | llvm-e1b53287179b4b9b5c3c549586f688d3fa2ae8ef.tar.gz llvm-e1b53287179b4b9b5c3c549586f688d3fa2ae8ef.tar.bz2 llvm-e1b53287179b4b9b5c3c549586f688d3fa2ae8ef.tar.xz |
Revert r164061-r164067. Most of the new subtarget emitter.
I have to work out the Target/CodeGen header dependencies
before putting this back.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164072 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCSubtargetInfo.h')
-rw-r--r-- | include/llvm/MC/MCSubtargetInfo.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/include/llvm/MC/MCSubtargetInfo.h b/include/llvm/MC/MCSubtargetInfo.h index 451f435fe3..d1d40476aa 100644 --- a/include/llvm/MC/MCSubtargetInfo.h +++ b/include/llvm/MC/MCSubtargetInfo.h @@ -36,7 +36,6 @@ class MCSubtargetInfo { const MCWriteProcResEntry *WriteProcResTable; const MCWriteLatencyEntry *WriteLatencyTable; const MCReadAdvanceEntry *ReadAdvanceTable; - const MCSchedModel *CPUSchedModel; const InstrStage *Stages; // Instruction itinerary stages const unsigned *OperandCycles; // Itinerary operand cycles @@ -50,9 +49,6 @@ public: const SubtargetFeatureKV *PF, const SubtargetFeatureKV *PD, const SubtargetInfoKV *ProcSched, - const MCWriteProcResEntry *WPR, - const MCWriteLatencyEntry *WL, - const MCReadAdvanceEntry *RA, const InstrStage *IS, const unsigned *OC, const unsigned *FP, unsigned NF, unsigned NP); @@ -68,9 +64,9 @@ public: return FeatureBits; } - /// InitMCProcessorInfo - Set or change the CPU (optionally supplemented with - /// feature string). Recompute feature bits and scheduling model. - void InitMCProcessorInfo(StringRef CPU, StringRef FS); + /// ReInitMCSubtargetInfo - Change CPU (and optionally supplemented with + /// feature string), recompute and return feature bits. + uint64_t ReInitMCSubtargetInfo(StringRef CPU, StringRef FS); /// ToggleFeature - Toggle a feature and returns the re-computed feature /// bits. This version does not change the implied bits. @@ -84,10 +80,6 @@ public: /// const MCSchedModel *getSchedModelForCPU(StringRef CPU) const; - /// getSchedModel - Get the machine model for this subtarget's CPU. - /// - const MCSchedModel *getSchedModel() const { return CPUSchedModel; } - /// Return an iterator at the first process resource consumed by the given /// scheduling class. const MCWriteProcResEntry *getWriteProcResBegin( |