Home
last modified time | relevance | path

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

/external/llvm-project/llvm/utils/TableGen/
DRISCVCompressInstEmitter.cpp480 const std::vector<Record *> &ReqFeatures) { in getReqFeatures() argument
481 for (auto &R : ReqFeatures) { in getReqFeatures()
678 std::vector<Record *> ReqFeatures; in emitCompressInstEmitter() local
680 copy_if(RF, std::back_inserter(ReqFeatures), [](Record *R) { in emitCompressInstEmitter()
683 getReqFeatures(FeaturesSet, AnyOfFeatureSets, ReqFeatures); in emitCompressInstEmitter()
DAsmWriterEmitter.cpp992 std::vector<Record *> ReqFeatures; in EmitPrintAliasInstruction() local
997 copy_if(RF, std::back_inserter(ReqFeatures), [](Record *R) { in EmitPrintAliasInstruction()
1002 for (auto I = ReqFeatures.cbegin(); I != ReqFeatures.cend(); I++) { in EmitPrintAliasInstruction()
DAsmMatcherEmitter.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()
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp1925 static bool hasRequiredFeatures(const SmallVectorImpl<StringRef> &ReqFeatures, in hasRequiredFeatures() argument
1929 if (ReqFeatures.empty()) in hasRequiredFeatures()
1940 ReqFeatures.begin(), ReqFeatures.end(), [&](StringRef Feature) { in hasRequiredFeatures()
1974 SmallVector<StringRef, 1> ReqFeatures; in checkTargetFeatures() local
1980 StringRef(FeatureList).split(ReqFeatures, ","); in checkTargetFeatures()
1981 if (!hasRequiredFeatures(ReqFeatures, CGM, FD, MissingFeature)) in checkTargetFeatures()
1988 SmallVector<StringRef, 1> ReqFeatures; in checkTargetFeatures() local
1994 ReqFeatures.push_back(F.getKey()); in checkTargetFeatures()
1996 if (!hasRequiredFeatures(ReqFeatures, CGM, FD, MissingFeature)) in checkTargetFeatures()
/external/llvm/utils/TableGen/
DAsmWriterEmitter.cpp801 std::vector<Record *> ReqFeatures; in EmitPrintAliasInstruction() local
806 std::copy_if(RF.begin(), RF.end(), std::back_inserter(ReqFeatures), in EmitPrintAliasInstruction()
917 for (auto I = ReqFeatures.cbegin(); I != ReqFeatures.cend(); I++) { in EmitPrintAliasInstruction()
DAsmMatcherEmitter.cpp2510 std::vector<Record*> ReqFeatures = R->getValueAsListOfDefs("Predicates"); in GetAliasRequiredFeatures() local
2513 for (unsigned i = 0, e = ReqFeatures.size(); i != e; ++i) { in GetAliasRequiredFeatures()
2514 const SubtargetFeatureInfo *F = Info.getSubtargetFeature(ReqFeatures[i]); in GetAliasRequiredFeatures()
2517 PrintFatalError(R->getLoc(), "Predicate '" + ReqFeatures[i]->getName() + in GetAliasRequiredFeatures()
/external/llvm-project/clang/lib/CodeGen/
DCodeGenFunction.cpp2383 SmallVector<StringRef, 1> ReqFeatures; in checkTargetFeatures() local
2389 ReqFeatures.push_back(StringRef(F).substr(1)); in checkTargetFeatures()
2395 ReqFeatures.push_back(F.getKey()); in checkTargetFeatures()
2397 if (!llvm::all_of(ReqFeatures, [&](StringRef Feature) { in checkTargetFeatures()