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 1b534e9 commit 78a950eCopy full SHA for 78a950e
llvm/include/llvm/MC/MCSubtargetInfo.h
@@ -221,6 +221,14 @@ class MCSubtargetInfo {
221
auto Found = std::lower_bound(ProcDesc.begin(), ProcDesc.end(), CPU);
222
return Found != ProcDesc.end() && StringRef(Found->Key) == CPU;
223
}
224
+
225
+ ArrayRef<SubtargetSubTypeKV> getCPUTable() const {
226
+ return ProcDesc;
227
+ }
228
229
+ ArrayRef<SubtargetFeatureKV> getFeatureTable() const {
230
+ return ProcFeatures;
231
232
};
233
234
} // end namespace llvm
0 commit comments