Home
last modified time | relevance | path

Searched refs:ReqFeatures (Results 1 – 4 of 4) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
HDRISCVCompressInstEmitter.cpp478 const std::vector<Record *> &ReqFeatures) { in getReqFeatures() argument
479 for (auto &R : ReqFeatures) { in getReqFeatures()
659 std::vector<Record *> ReqFeatures; in emitCompressInstEmitter() local
661 copy_if(RF, std::back_inserter(ReqFeatures), [](Record *R) { in emitCompressInstEmitter()
664 getReqFeatures(FeaturesSet, ReqFeatures); in emitCompressInstEmitter()
HDAsmWriterEmitter.cpp933 std::vector<Record *> ReqFeatures; in EmitPrintAliasInstruction() local
938 copy_if(RF, std::back_inserter(ReqFeatures), [](Record *R) { in EmitPrintAliasInstruction()
943 for (auto I = ReqFeatures.cbegin(); I != ReqFeatures.cend(); I++) { in EmitPrintAliasInstruction()
HDAsmMatcherEmitter.cpp2697 std::vector<Record*> ReqFeatures = R->getValueAsListOfDefs("Predicates"); in GetAliasRequiredFeatures() local
2700 if (ReqFeatures.empty()) in GetAliasRequiredFeatures()
2703 for (unsigned i = 0, e = ReqFeatures.size(); i != e; ++i) { in GetAliasRequiredFeatures()
2704 const SubtargetFeatureInfo *F = Info.getSubtargetFeature(ReqFeatures[i]); in GetAliasRequiredFeatures()
2707 PrintFatalError(R->getLoc(), "Predicate '" + ReqFeatures[i]->getName() + in GetAliasRequiredFeatures()
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCodeGenFunction.cpp2250 static bool hasRequiredFeatures(const SmallVectorImpl<StringRef> &ReqFeatures, in hasRequiredFeatures() argument
2254 if (ReqFeatures.empty()) in hasRequiredFeatures()
2265 ReqFeatures.begin(), ReqFeatures.end(), [&](StringRef Feature) { in hasRequiredFeatures()
2305 SmallVector<StringRef, 1> ReqFeatures; in checkTargetFeatures() local
2311 StringRef(FeatureList).split(ReqFeatures, ','); in checkTargetFeatures()
2312 if (!hasRequiredFeatures(ReqFeatures, CGM, FD, MissingFeature)) in checkTargetFeatures()
2325 SmallVector<StringRef, 1> ReqFeatures; in checkTargetFeatures() local
2331 ReqFeatures.push_back(StringRef(F).substr(1)); in checkTargetFeatures()
2337 ReqFeatures.push_back(F.getKey()); in checkTargetFeatures()
2339 if (!hasRequiredFeatures(ReqFeatures, CGM, FD, MissingFeature)) in checkTargetFeatures()