We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d28af7c commit b4f352cCopy full SHA for b4f352c
llvm/include/llvm/MC/MCSubtargetInfo.h
@@ -226,6 +226,14 @@ class MCSubtargetInfo {
226
return Found != ProcDesc.end() && StringRef(Found->Key) == CPU;
227
}
228
229
+ ArrayRef<SubtargetSubTypeKV> getCPUTable() const {
230
+ return ProcDesc;
231
+ }
232
+
233
+ ArrayRef<SubtargetFeatureKV> getFeatureTable() const {
234
+ return ProcFeatures;
235
236
237
virtual unsigned getHwMode() const { return 0; }
238
239
/// Return the cache size in bytes for the given level of cache.
0 commit comments