Lines Matching refs:StringRef
30 static inline bool hasFlag(const StringRef Feature) {
40 static inline std::string StripFlag(const StringRef Feature) {
46 static inline bool isEnabled(const StringRef Feature) {
56 static void Split(std::vector<std::string> &V, const StringRef S) {
57 SmallVector<StringRef, 2> Tmp;
84 void SubtargetFeatures::AddFeature(const StringRef String) {
92 static const SubtargetFeatureKV *Find(StringRef S,
97 if (F == A.end() || StringRef(F->Key) != S) return nullptr;
139 SubtargetFeatures::SubtargetFeatures(const StringRef Initial) {
184 SubtargetFeatures::ToggleFeature(uint64_t Bits, const StringRef Feature,
216 SubtargetFeatures::getFeatureBits(const StringRef CPU,