Lines Matching refs:StringRef
36 StringRef Mcpu = A->getValue();
56 static bool DecodeAArch64Features(const Driver &D, StringRef text,
57 std::vector<StringRef> &Features,
59 SmallVector<StringRef, 8> Split;
60 text.split(Split, StringRef("+"), -1, false);
62 for (StringRef Feature : Split) {
63 StringRef FeatureName = llvm::AArch64::getArchExtFeature(Feature);
81 static bool DecodeAArch64Mcpu(const Driver &D, StringRef Mcpu, StringRef &CPU,
82 std::vector<StringRef> &Features) {
83 std::pair<StringRef, StringRef> Split = Mcpu.split("+");
110 getAArch64ArchFeaturesFromMarch(const Driver &D, StringRef March,
112 std::vector<StringRef> &Features) {
114 std::pair<StringRef, StringRef> Split = StringRef(MarchLowerCase).split("+");
127 getAArch64ArchFeaturesFromMcpu(const Driver &D, StringRef Mcpu,
129 std::vector<StringRef> &Features) {
130 StringRef CPU;
139 getAArch64MicroArchFeaturesFromMtune(const Driver &D, StringRef Mtune,
141 std::vector<StringRef> &Features) {
144 std::vector<StringRef> MtuneFeatures;
145 StringRef Tune;
153 StringRef(MtuneLowerCase).startswith("apple")) {
161 getAArch64MicroArchFeaturesFromMcpu(const Driver &D, StringRef Mcpu,
163 std::vector<StringRef> &Features) {
164 StringRef CPU;
165 std::vector<StringRef> DecodedFeature;
176 std::vector<StringRef> &Features) {
210 StringRef Mtp = A->getValue();
223 StringRef Scope = A->getValue();
227 SmallVector<StringRef, 4> Opts;