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 inline std::string PrependFlag(const StringRef Feature,
68 static void Split(std::vector<std::string> &V, const StringRef S) {
112 void SubtargetFeatures::AddFeature(const StringRef String,
122 template<typename T> const T *Find(const StringRef S, const T *A, size_t L) {
131 if (F == Hi || StringRef(F->Key) != S) return NULL;
177 SubtargetFeatures::SubtargetFeatures(const StringRef Initial) {
228 SubtargetFeatures::ToggleFeature(uint64_t Bits, const StringRef Feature,
259 uint64_t SubtargetFeatures::getFeatureBits(const StringRef CPU,
306 const StringRef Feature = Features[i];
340 void *SubtargetFeatures::getItinerary(const StringRef CPU,