reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/StringSwitch.h
   94     return Case(S0, Value).Cases(S1, S2, Value);
include/llvm/Support/FormatProviders.h
  270                   .Cases("t", "", B ? "true" : "false")
include/llvm/Support/X86TargetParser.def
   38 X86_CPU_TYPE_COMPAT_WITH_ALIAS("bonnell",       INTEL_BONNELL,       "bonnell", "atom")
   41 X86_CPU_TYPE_COMPAT_WITH_ALIAS("amdfam10",      AMDFAM10H,           "amdfam10h", "amdfam10")
   42 X86_CPU_TYPE_COMPAT_WITH_ALIAS("bdver1",        AMDFAM15H,           "amdfam15h", "amdfam15")
   43 X86_CPU_TYPE_COMPAT_WITH_ALIAS("silvermont",    INTEL_SILVERMONT,    "silvermont", "slm")
lib/IR/AutoUpgrade.cpp
  742                               .Cases("brev32", "brev64", Intrinsic::bitreverse)
  757                         .Cases("abs.i", "abs.ll", true)
lib/MC/MCParser/ELFAsmParser.cpp
  669           .Cases("STT_FUNC", "function", MCSA_ELF_TypeFunction)
  670           .Cases("STT_OBJECT", "object", MCSA_ELF_TypeObject)
  671           .Cases("STT_TLS", "tls_object", MCSA_ELF_TypeTLS)
  672           .Cases("STT_COMMON", "common", MCSA_ELF_TypeCommon)
  673           .Cases("STT_NOTYPE", "notype", MCSA_ELF_TypeNoType)
  674           .Cases("STT_GNU_IFUNC", "gnu_indirect_function",
lib/Object/WindowsMachineFlag.cpp
   24       .Cases("x64", "amd64", COFF::IMAGE_FILE_MACHINE_AMD64)
   25       .Cases("x86", "i386", COFF::IMAGE_FILE_MACHINE_I386)
lib/Remarks/RemarkFormat.cpp
   21                     .Cases("", "yaml", Format::YAML)
lib/Support/ARMTargetParser.cpp
  142       .Cases("v6z", "v6zk", "v6kz")
  334       .Cases("fp4-sp-d16", "vfpv4-sp-d16", "fpv4-sp-d16")
  335       .Cases("fp4-dp-d16", "fpv4-dp-d16", "vfpv4-d16")
  337       .Cases("fp5-dp-d16", "fpv5-dp-d16", "fpv5-d16")
lib/Support/Triple.cpp
  394     .Cases("powerpc64le", "ppc64le", Triple::ppc64le)
  422     .Cases("s390x", "systemz", Triple::systemz)
  425     .Cases("sparcv9", "sparc64", Triple::sparcv9)
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
 5815            .Cases("at", "AT", 1)
lib/Target/RISCV/RISCVISelLowering.cpp
 2588                                .Cases("{s0}", "{fp}", RISCV::X8)
 2626             .Cases("{f0}", "{ft0}", {RISCV::F0_F, RISCV::F0_D})
 2627             .Cases("{f1}", "{ft1}", {RISCV::F1_F, RISCV::F1_D})
 2628             .Cases("{f2}", "{ft2}", {RISCV::F2_F, RISCV::F2_D})
 2629             .Cases("{f3}", "{ft3}", {RISCV::F3_F, RISCV::F3_D})
 2630             .Cases("{f4}", "{ft4}", {RISCV::F4_F, RISCV::F4_D})
 2631             .Cases("{f5}", "{ft5}", {RISCV::F5_F, RISCV::F5_D})
 2632             .Cases("{f6}", "{ft6}", {RISCV::F6_F, RISCV::F6_D})
 2633             .Cases("{f7}", "{ft7}", {RISCV::F7_F, RISCV::F7_D})
 2634             .Cases("{f8}", "{fs0}", {RISCV::F8_F, RISCV::F8_D})
 2635             .Cases("{f9}", "{fs1}", {RISCV::F9_F, RISCV::F9_D})
 2636             .Cases("{f10}", "{fa0}", {RISCV::F10_F, RISCV::F10_D})
 2637             .Cases("{f11}", "{fa1}", {RISCV::F11_F, RISCV::F11_D})
 2638             .Cases("{f12}", "{fa2}", {RISCV::F12_F, RISCV::F12_D})
 2639             .Cases("{f13}", "{fa3}", {RISCV::F13_F, RISCV::F13_D})
 2640             .Cases("{f14}", "{fa4}", {RISCV::F14_F, RISCV::F14_D})
 2641             .Cases("{f15}", "{fa5}", {RISCV::F15_F, RISCV::F15_D})
 2642             .Cases("{f16}", "{fa6}", {RISCV::F16_F, RISCV::F16_D})
 2643             .Cases("{f17}", "{fa7}", {RISCV::F17_F, RISCV::F17_D})
 2644             .Cases("{f18}", "{fs2}", {RISCV::F18_F, RISCV::F18_D})
 2645             .Cases("{f19}", "{fs3}", {RISCV::F19_F, RISCV::F19_D})
 2646             .Cases("{f20}", "{fs4}", {RISCV::F20_F, RISCV::F20_D})
 2647             .Cases("{f21}", "{fs5}", {RISCV::F21_F, RISCV::F21_D})
 2648             .Cases("{f22}", "{fs6}", {RISCV::F22_F, RISCV::F22_D})
 2649             .Cases("{f23}", "{fs7}", {RISCV::F23_F, RISCV::F23_D})
 2650             .Cases("{f24}", "{fs8}", {RISCV::F24_F, RISCV::F24_D})
 2651             .Cases("{f25}", "{fs9}", {RISCV::F25_F, RISCV::F25_D})
 2652             .Cases("{f26}", "{fs10}", {RISCV::F26_F, RISCV::F26_D})
 2653             .Cases("{f27}", "{fs11}", {RISCV::F27_F, RISCV::F27_D})
 2654             .Cases("{f28}", "{ft8}", {RISCV::F28_F, RISCV::F28_D})
 2655             .Cases("{f29}", "{ft9}", {RISCV::F29_F, RISCV::F29_D})
 2656             .Cases("{f30}", "{ft10}", {RISCV::F30_F, RISCV::F30_D})
 2657             .Cases("{f31}", "{ft11}", {RISCV::F31_F, RISCV::F31_D})
lib/Target/X86/AsmParser/X86AsmParser.cpp
 1780     .Cases("TYPE","type",IOK_TYPE)
 1781     .Cases("SIZE","size",IOK_SIZE)
 1782     .Cases("LENGTH","length",IOK_LENGTH)
 1783     .Cases("OFFSET","offset",IOK_OFFSET)
 1824     .Cases("BYTE", "byte", 8)
 1825     .Cases("WORD", "word", 16)
 1826     .Cases("DWORD", "dword", 32)
 1827     .Cases("FLOAT", "float", 32)
 1828     .Cases("LONG", "long", 32)
 1829     .Cases("FWORD", "fword", 48)
 1830     .Cases("DOUBLE", "double", 64)
 1831     .Cases("QWORD", "qword", 64)
 1832     .Cases("MMWORD","mmword", 64)
 1833     .Cases("XWORD", "xword", 80)
 1834     .Cases("TBYTE", "tbyte", 80)
 1835     .Cases("XMMWORD", "xmmword", 128)
 1836     .Cases("YMMWORD", "ymmword", 256)
 1837     .Cases("ZMMWORD", "zmmword", 512)
 2026       .Cases("b", "nae", X86::COND_B)  // Below/Neither Above nor Equal
 2027       .Cases("ae", "nb", X86::COND_AE) // Above or Equal/Not Below
 2028       .Cases("e", "z", X86::COND_E)    // Equal/Zero
 2029       .Cases("ne", "nz", X86::COND_NE) // Not Equal/Not Zero
 2030       .Cases("be", "na", X86::COND_BE) // Below or Equal/Not Above
 2031       .Cases("a", "nbe", X86::COND_A)  // Above/Neither Below nor Equal
 2034       .Cases("p", "pe", X86::COND_P)   // Parity/Parity Even
 2035       .Cases("np", "po", X86::COND_NP) // No Parity/Parity Odd
 2036       .Cases("l", "nge", X86::COND_L)  // Less/Neither Greater nor Equal
 2037       .Cases("ge", "nl", X86::COND_GE) // Greater or Equal/Not Less
 2038       .Cases("le", "ng", X86::COND_LE) // Less or Equal/Not Greater
 2039       .Cases("g", "nle", X86::COND_G)  // Greater/Neither Less nor Equal
 2559                       .Cases("xacquire", "xrelease", true)
 2560                       .Cases("acquire", "release", isParsingIntelSyntax())
 2575             .Cases("lock", "lock", X86::IP_HAS_LOCK)
 2577             .Cases("repne", "repnz", X86::IP_HAS_REPEAT_NE)
 2578             .Cases("notrack", "notrack", X86::IP_HAS_NOTRACK)
tools/clang/lib/AST/CommentSema.cpp
  223       .Cases("[in,out]", "[out,in]", ParamCommandComment::InOut)
 1128       .Cases("c", "p", InlineCommandComment::RenderMonospaced)
tools/clang/lib/Basic/Targets/Mips.cpp
   63              .Cases("mips32", "mips64", 1)
   64              .Cases("mips32r2", "mips64r2", 2)
   65              .Cases("mips32r3", "mips64r3", 3)
   66              .Cases("mips32r5", "mips64r5", 5)
   67              .Cases("mips32r6", "mips64r6", 6)
tools/clang/lib/Basic/Targets/NVPTX.cpp
  167       .Cases("ptx", "nvptx", true)
tools/clang/lib/Basic/Targets/PPC.h
  119               .Cases("power3", "pwr3", ArchDefinePpcgr)
  120               .Cases("power4", "pwr4",
  122               .Cases("power5", "pwr5",
  125               .Cases("power5x", "pwr5x",
  128               .Cases("power6", "pwr6",
  131               .Cases("power6x", "pwr6x",
  135               .Cases("power7", "pwr7",
  144               .Cases("power9", "pwr9",
tools/clang/lib/Driver/Job.cpp
   57     .Cases("-o", "-dependency-file", true)
   58     .Cases("-fdebug-compilation-dir", "-diagnostic-log-file", true)
   59     .Cases("-dwarf-debug-flags", "-ivfsoverlay", true)
   66     .Cases("-include", "-header-include-file", true)
   68     .Cases("-internal-externc-isystem", "-iprefix", true)
   71     .Cases("-iframework", "-include-pch", true)
tools/clang/lib/Driver/ToolChains/Arch/Mips.cpp
  125                   .Cases("n32", "n64", DefMips64CPU)
  453       .Cases("mips32r6", "mips64r6", true)
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
  213         .Cases("rv630", "rv635", "r600")
  217         .Cases("sumo", "sumo2", "sumo")
tools/clang/lib/Driver/ToolChains/Darwin.cpp
   54       .Cases("x86_64", "x86_64h", llvm::Triple::x86_64)
   58       .Cases("armv7s", "xscale", llvm::Triple::arm)
  801       .Cases("armv7a", "armv7-a", "armv7")
  802       .Cases("armv7r", "armv7-r", "armv7")
  803       .Cases("armv7em", "armv7e-m", "armv7em")
  804       .Cases("armv7k", "armv7-k", "armv7k")
  805       .Cases("armv7m", "armv7-m", "armv7m")
  806       .Cases("armv7s", "armv7-s", "armv7s")
tools/clang/lib/Frontend/CompilerInvocation.cpp
 1987                   .Cases("ast", "pcm",
 2475         .Cases("cl", "CL", LangStandard::lang_opencl10)
 2476         .Cases("cl1.1", "CL1.1", LangStandard::lang_opencl11)
 2477         .Cases("cl1.2", "CL1.2", LangStandard::lang_opencl12)
 2478         .Cases("cl2.0", "CL2.0", LangStandard::lang_opencl20)
 2479         .Cases("clc++", "CLC++", LangStandard::lang_openclcpp)
 2631             .Cases("swift", "swift-5.0",
tools/clang/lib/Frontend/FrontendOptions.cpp
   17       .Cases("ast", "pcm", InputKind(Language::Unknown, InputKind::Precompiled))
   19       .Cases("S", "s", Language::Asm)
   25       .Cases("mm", "M", Language::ObjCXX)
   33       .Cases("ll", "bc", Language::LLVM_IR)
tools/clang/lib/Lex/LiteralSupport.cpp
  818       .Cases("d", "y", LangOpts.CPlusPlus2a)
tools/clang/lib/Sema/SemaChecking.cpp
 7104       .Cases("printf", "printf0", FST_Printf)
 7105       .Cases("NSString", "CFString", FST_NSString)
tools/clang/lib/Sema/SemaInit.cpp
 6778         .Cases("get", "any_cast", true)
tools/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
  153     .Cases("strcpy", "__strcpy_chk", &WalkAST::checkCall_strcpy)
  154     .Cases("strcat", "__strcat_chk", &WalkAST::checkCall_strcat)
tools/clang/tools/extra/clang-tidy/cert/StrToNumCheck.cpp
   53       .Cases("atoi", "atol", ConversionKind::ToInt)
tools/clang/unittests/Driver/MultilibTest.cpp
  232                     .Cases("/one", "/two", true)
tools/lld/ELF/Driver.cpp
  133           .Cases("armelf", "armelf_linux_eabi", {ELF32LEKind, EM_ARM})
  135           .Cases("elf32btsmip", "elf32btsmipn32", {ELF32BEKind, EM_MIPS})
  136           .Cases("elf32ltsmip", "elf32ltsmipn32", {ELF32LEKind, EM_MIPS})
  138           .Cases("elf32ppc", "elf32ppclinux", {ELF32BEKind, EM_PPC})
  144           .Cases("elf_amd64", "elf_x86_64", {ELF64LEKind, EM_X86_64})
tools/lld/ELF/ScriptParser.cpp
  395       .Cases("elf32-tradbigmips", "elf32-bigmips", {ELF32BEKind, EM_MIPS})
  585       .Cases("+", "-", 7)
  586       .Cases("<<", ">>", 6)
tools/lldb/source/Host/common/File.cpp
   78           .Cases("r", "rb", eOpenOptionRead)
   79           .Cases("w", "wb", eOpenOptionWrite)
   80           .Cases("a", "ab",
tools/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp
   67       .Cases("arm64", "arm64e", Triple::aarch64)
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
 1573         .Cases("line", "line.dwo", eSectionTypeDWARFDebugLine)
 1574         .Cases("line_str", "line_str.dwo", eSectionTypeDWARFDebugLineStr)
 1575         .Cases("loc", "loc.dwo", eSectionTypeDWARFDebugLoc)
 1576         .Cases("loclists", "loclists.dwo", eSectionTypeDWARFDebugLocLists)
 1578         .Cases("macro", "macro.dwo", eSectionTypeDWARFDebugMacro)
 1595       .Cases(".bss", ".tbss", eSectionTypeZeroFill)
 1596       .Cases(".data", ".tdata", eSectionTypeData)
tools/lldb/source/Utility/Args.cpp
  432                         .Cases("ra", "lr", LLDB_REGNUM_GENERIC_RA)
tools/llvm-cov/llvm-cov.cpp
   76                             .Cases("-version", "--version", versionMain)