================ @@ -0,0 +1,84 @@ +// Function MultiVersioning (FMV) properties + +// Something you can add to target_version or target_clones +class FMVExtension<string n, string b, string f, int p> { + // Name, as spelled in target_version or target_clones. e.g. "memtag" + string Name = n; + + // A C++ expression giving the number of the bit in the FMV ABI. + // Currently this is given as a value from the enum "CPUFeatures". + // If this is not set, it indicates that this is not an FMV extension. + string Bit = b; + + // SubtargetFeatures to enable for code functions with this FMV feature. + // TODO list<SubtargetFeature> BackendFeatures = f; + string BackendFeatures = f; + + // The FMV priority. + int Priority = p; ---------------- labrinea wrote:
unsigned? https://github.com/llvm/llvm-project/pull/92882 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits