We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2298e7 commit 082cfb1Copy full SHA for 082cfb1
llvm/include/llvm/MC/MCSubtargetInfo.h
@@ -172,10 +172,19 @@ class MCSubtargetInfo {
172
return Found != ProcDesc.end() && StringRef(Found->Key) == CPU;
173
}
174
175
+
176
/// Returns string representation of scheduler comment
177
virtual std::string getSchedInfoStr(MCInst const &MCI) const {
178
return {};
179
180
181
+ ArrayRef<SubtargetFeatureKV> getCPUTable() const {
182
+ return ProcDesc;
183
+ }
184
185
+ ArrayRef<SubtargetFeatureKV> getFeatureTable() const {
186
+ return ProcFeatures;
187
188
};
189
190
} // end namespace llvm
0 commit comments