Home
last modified time | relevance | path

Searched refs:FeatureList (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DBuiltinTargetFeatures.h40 FeatureListStatus getAndFeatures(StringRef FeatureList) { in getAndFeatures() argument
44 for (size_t i = 0, e = FeatureList.size(); i < e; ++i) { in getAndFeatures()
45 char CurrentToken = FeatureList[i]; in getAndFeatures()
62 StringRef F = FeatureList.slice(SubexpressionStart, i); in getAndFeatures()
68 return {HasFeatures, FeatureList.substr(SubexpressionStart)}; in getAndFeatures()
75 if (HasFeatures && SubexpressionStart != FeatureList.size()) in getAndFeatures()
77 CallerFeatureMap.lookup(FeatureList.substr(SubexpressionStart)); in getAndFeatures()
82 bool hasRequiredFeatures(StringRef FeatureList) { in hasRequiredFeatures() argument
83 FeatureListStatus FS = {false, FeatureList}; in hasRequiredFeatures()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DTargetFeaturesEmitter.cpp68 raw_ostream &OS, ArrayRef<const Record *> FeatureList, in printFeatureMask() argument
71 for (const Record *Feature : FeatureList) { in printFeatureMask()
87 std::vector<const Record *> FeatureList = in printFeatureKeyValues() local
91 llvm::erase_if(FeatureList, [](const Record *Rec) { in printFeatureKeyValues()
95 if (FeatureList.empty()) in printFeatureKeyValues()
98 llvm::sort(FeatureList, LessRecordFieldName()); in printFeatureKeyValues()
105 for (const Record *Feature : FeatureList) { in printFeatureKeyValues()
137 ConstRecVec FeatureList = Processor->getValueAsListOfDefs("Features"); in printCPUKeyValues() local
141 printFeatureMask(OS, FeatureList, FeatureMap); in printCPUKeyValues()
H A DTargetFeaturesEmitter.h40 ArrayRef<const Record *> FeatureList,
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DSubtargetEmitter.cpp144 std::vector<const Record *> FeatureList = in emitSubtargetInfoMacroCalls() local
146 llvm::sort(FeatureList, LessRecordFieldFieldName()); in emitSubtargetInfoMacroCalls()
148 for (const Record *Feature : FeatureList) { in emitSubtargetInfoMacroCalls()
184 std::vector<const Record *> FeatureList = in featureKeyValues() local
188 llvm::erase_if(FeatureList, [](const Record *Rec) { in featureKeyValues()
191 if (FeatureList.empty()) in featureKeyValues()
195 sortAndReportDuplicates(FeatureList, "Feature"); in featureKeyValues()
202 for (const Record *Feature : FeatureList) { in featureKeyValues()
224 return FeatureList.size(); in featureKeyValues()
308 ConstRecVec FeatureList = Processor->getValueAsListOfDefs("Features"); in cpuKeyValues() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp2845 StringRef FeatureList(CGM.getContext().BuiltinInfo.getRequiredFeatures(BuiltinID)); in checkTargetFeatures() local
2847 FeatureList, CallerFeatureMap) && !IsHipStdPar) { in checkTargetFeatures()
2850 << FeatureList; in checkTargetFeatures()