17 std::string LowerArch = Arch.
lower();
227 return "mips_rs3_le";
233 return "sparc32plus";
359 return "arc_compact";
399 return "altera_nios2";
429 return "latticemico32";
441 return "cypress_m8c";
469 return "mcst_elbrus";
497 return "cloudshield";
503 return "arc_compact2";
551 return "csr_kalimba";
572 std::string LowerOS =
OS.lower();
This file implements the StringSwitch template, which mimics a switch() statement whose cases are str...
StringRef - Represent a constant reference to a string, i.e.
std::string lower() const
A switch()-like statement whose cases are string literals.
StringSwitch & Case(StringLiteral S, T Value)
StringSwitch & StartsWith(StringLiteral S, T Value)
uint8_t convertOSToOSAbi(StringRef OS)
Convert a OS into ELF's EI_OSABI value.
uint16_t convertArchNameToEMachine(StringRef Arch)
Convert an architecture name into ELF's e_machine value.
StringRef convertOSAbiToOS(uint8_t OSAbi)
Convert an ELF's e_machine value into an architecture name.
StringRef convertEMachineToArchName(uint16_t EMachine)
Convert an ELF's e_machine value into an architecture name.
This is an optimization pass for GlobalISel generic memory operations.