Lines Matching refs:StringRef
32 llvm::Optional<StringRef> GetMcuFamilyName(StringRef MCU) {
33 return llvm::StringSwitch<llvm::Optional<StringRef>>(MCU)
34 .Case("atmega328", Optional<StringRef>("avr5"))
35 .Case("atmega328p", Optional<StringRef>("avr5"))
36 .Default(Optional<StringRef>());
39 const StringRef PossibleAVRLibcLocations[] = {
62 Optional<StringRef> FamilyName = GetMcuFamilyName(CPU);
105 llvm::Optional<StringRef> FamilyName = GetMcuFamilyName(CPU);
151 for (StringRef PossiblePath : PossibleAVRLibcLocations) {