Home
last modified time | relevance | path

Searched refs:Case (Results 1 – 25 of 627) sorted by relevance

12345678910>>...26

/llvm-project/llvm/lib/BinaryFormat/
H A DELF.cpp19 .Case("none", EM_NONE) in convertArchNameToEMachine()
20 .Case("m32", EM_M32) in convertArchNameToEMachine()
21 .Case("sparc", EM_SPARC) in convertArchNameToEMachine()
22 .Case("386", EM_386) in convertArchNameToEMachine()
23 .Case("68k", EM_68K) in convertArchNameToEMachine()
24 .Case("88k", EM_88K) in convertArchNameToEMachine()
25 .Case("iamcu", EM_IAMCU) in convertArchNameToEMachine()
26 .Case("860", EM_860) in convertArchNameToEMachine()
27 .Case("mips", EM_MIPS) in convertArchNameToEMachine()
28 .Case("s370", EM_S370) in convertArchNameToEMachine()
[all …]
H A DAMDGPUMetadataVerifier.cpp110 .Case("by_value", true) in verifyKernelArgs()
111 .Case("global_buffer", true) in verifyKernelArgs()
112 .Case("dynamic_shared_pointer", true) in verifyKernelArgs()
113 .Case("sampler", true) in verifyKernelArgs()
114 .Case("image", true) in verifyKernelArgs()
115 .Case("pipe", true) in verifyKernelArgs()
116 .Case("queue", true) in verifyKernelArgs()
117 .Case("hidden_block_count_x", true) in verifyKernelArgs()
118 .Case("hidden_block_count_y", true) in verifyKernelArgs()
119 .Case("hidden_block_count_z", true) in verifyKernelArgs()
[all …]
/llvm-project/clang/lib/Basic/Targets/
H A DX86.cpp484 .Case("+avx512f", AVX512F) in handleTargetFeatures()
485 .Case("+avx2", AVX2) in handleTargetFeatures()
486 .Case("+avx", AVX) in handleTargetFeatures()
487 .Case("+sse4.2", SSE42) in handleTargetFeatures()
488 .Case("+sse4.1", SSE41) in handleTargetFeatures()
489 .Case("+ssse3", SSSE3) in handleTargetFeatures()
490 .Case("+sse3", SSE3) in handleTargetFeatures()
491 .Case("+sse2", SSE2) in handleTargetFeatures()
492 .Case("+sse", SSE1) in handleTargetFeatures()
510 .Case(" in handleTargetFeatures()
[all...]
H A DPPC.cpp541 .Case("7400", true) in initFeatureMap()
542 .Case("g4", true) in initFeatureMap()
543 .Case("7450", true) in initFeatureMap()
544 .Case("g4+", true) in initFeatureMap()
545 .Case("970", true) in initFeatureMap()
546 .Case("g5", true) in initFeatureMap()
547 .Case("pwr6", true) in initFeatureMap()
548 .Case("pwr7", true) in initFeatureMap()
549 .Case("pwr8", true) in initFeatureMap()
550 .Case("pwr in initFeatureMap()
[all...]
/llvm-project/clang/test/Index/
H A Drecursive-cxx-member-calls.cpp88 template < unsigned N > StringSwitch & Case(const char (&S)[N], in Case() function in llvm::StringSwitch
106 .Case("weak", AT_weak) in getKind()
107 .Case("weakref", AT_weakref) in getKind()
108 .Case("pure", AT_pure) in getKind()
109 .Case("mode", AT_mode) in getKind()
110 .Case("used", AT_used) in getKind()
111 .Case("alias", AT_alias) in getKind()
112 .Case("align", AT_aligned) in getKind()
113 .Case("final", AT_final) in getKind()
114 .Case("cdec in getKind()
[all...]
/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/
H A DLoongArchMCExpr.cpp182 .Case("plt", VK_LoongArch_CALL_PLT) in getVariantKindForName()
183 .Case("b16", VK_LoongArch_B16) in getVariantKindForName()
184 .Case("b21", VK_LoongArch_B21) in getVariantKindForName()
185 .Case("b26", VK_LoongArch_B26) in getVariantKindForName()
186 .Case("abs_hi20", VK_LoongArch_ABS_HI20) in getVariantKindForName()
187 .Case("abs_lo12", VK_LoongArch_ABS_LO12) in getVariantKindForName()
188 .Case("abs64_lo20", VK_LoongArch_ABS64_LO20) in getVariantKindForName()
189 .Case("abs64_hi12", VK_LoongArch_ABS64_HI12) in getVariantKindForName()
190 .Case("pc_hi20", VK_LoongArch_PCALA_HI20) in getVariantKindForName()
191 .Case("pc_lo1 in getVariantKindForName()
[all...]
/llvm-project/clang/lib/Driver/
H A DTypes.cpp301 .Case("c", TY_C) in lookupTypeForExtension()
302 .Case("C", TY_CXX) in lookupTypeForExtension()
303 .Case("F", TY_Fortran) in lookupTypeForExtension()
304 .Case("f", TY_PP_Fortran) in lookupTypeForExtension()
305 .Case("h", TY_CHeader) in lookupTypeForExtension()
306 .Case("H", TY_CXXHeader) in lookupTypeForExtension()
307 .Case("i", TY_PP_C) in lookupTypeForExtension()
308 .Case("m", TY_ObjC) in lookupTypeForExtension()
309 .Case("M", TY_ObjCXX) in lookupTypeForExtension()
310 .Case(" in lookupTypeForExtension()
[all...]
H A DDistro.cpp38 .Case("alpine", Distro::AlpineLinux) in DetectOsRelease()
39 .Case("fedora", Distro::Fedora) in DetectOsRelease()
40 .Case("gentoo", Distro::Gentoo) in DetectOsRelease()
41 .Case("arch", Distro::ArchLinux) in DetectOsRelease()
43 .Case("sles", Distro::OpenSUSE) in DetectOsRelease()
44 .Case("opensuse", Distro::OpenSUSE) in DetectOsRelease()
45 .Case("exherbo", Distro::Exherbo) in DetectOsRelease()
64 .Case("hardy", Distro::UbuntuHardy) in DetectLsbRelease()
65 .Case("intrepid", Distro::UbuntuIntrepid) in DetectLsbRelease()
66 .Case("jaunt in DetectLsbRelease()
[all...]
/llvm-project/llvm/lib/MC/
H A DMCExpr.cpp437 .Case("dtprel", VK_DTPREL) in getVariantKindForName()
438 .Case("dtpoff", VK_DTPOFF) in getVariantKindForName()
439 .Case("got", VK_GOT) in getVariantKindForName()
440 .Case("gotent", VK_GOTENT) in getVariantKindForName()
441 .Case("gotoff", VK_GOTOFF) in getVariantKindForName()
442 .Case("gotrel", VK_GOTREL) in getVariantKindForName()
443 .Case("pcrel", VK_PCREL) in getVariantKindForName()
444 .Case("gotpcrel", VK_GOTPCREL) in getVariantKindForName()
445 .Case("gotpcrel_norelax", VK_GOTPCREL_NORELAX) in getVariantKindForName()
446 .Case("gottpof in getVariantKindForName()
[all...]
/llvm-project/llvm/lib/TargetParser/
H A DHost.cpp142 .Case("604e", "604e") in getHostCPUNameForPowerPC()
143 .Case("604", "604") in getHostCPUNameForPowerPC()
144 .Case("7400", "7400") in getHostCPUNameForPowerPC()
145 .Case("7410", "7400") in getHostCPUNameForPowerPC()
146 .Case("7447", "7400") in getHostCPUNameForPowerPC()
147 .Case("7455", "7450") in getHostCPUNameForPowerPC()
148 .Case("G4", "g4") in getHostCPUNameForPowerPC()
149 .Case("POWER4", "970") in getHostCPUNameForPowerPC()
150 .Case("PPC970FX", "970") in getHostCPUNameForPowerPC()
151 .Case("PPC970M in getHostCPUNameForPowerPC()
[all...]
H A DARMTargetParserCommon.cpp21 .Case("v5", "v5t") in getArchSynonym()
22 .Case("v5e", "v5te") in getArchSynonym()
23 .Case("v6j", "v6") in getArchSynonym()
24 .Case("v6hl", "v6k") in getArchSynonym()
28 .Case("v7r", "v7-r") in getArchSynonym()
29 .Case("v7m", "v7-m") in getArchSynonym()
30 .Case("v7em", "v7e-m") in getArchSynonym()
32 .Case("v8.1a", "v8.1-a") in getArchSynonym()
33 .Case("v8.2a", "v8.2-a") in getArchSynonym()
34 .Case("v in getArchSynonym()
[all...]
/llvm-project/llvm/lib/TableGen/
H A DTGLexer.cpp384 .Case("int", tgtok::Int) in LexIdentifier()
385 .Case("bit", tgtok::Bit) in LexIdentifier()
386 .Case("bits", tgtok::Bits) in LexIdentifier()
387 .Case("string", tgtok::String) in LexIdentifier()
388 .Case("list", tgtok::List) in LexIdentifier()
389 .Case("code", tgtok::Code) in LexIdentifier()
390 .Case("dag", tgtok::Dag) in LexIdentifier()
391 .Case("class", tgtok::Class)
392 .Case("def", tgtok::Def)
393 .Case("tru
[all...]
/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcMCExpr.cpp96 .Case("lo", VK_Sparc_LO) in parseVariantKind()
97 .Case("hi", VK_Sparc_HI) in parseVariantKind()
98 .Case("h44", VK_Sparc_H44) in parseVariantKind()
99 .Case("m44", VK_Sparc_M44) in parseVariantKind()
100 .Case("l44", VK_Sparc_L44) in parseVariantKind()
101 .Case("hh", VK_Sparc_HH) in parseVariantKind()
102 .Case("uhi", VK_Sparc_HH) // Nonstandard GNU extension in parseVariantKind()
103 .Case("hm", VK_Sparc_HM) in parseVariantKind()
104 .Case("ulo", VK_Sparc_HM) // Nonstandard GNU extension in parseVariantKind()
105 .Case("lm", VK_Sparc_LM) in parseVariantKind()
[all …]
/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DPPC.cpp25 .Case("pwr7", "-mpower7") in getPPCGenericTargetCPU()
26 .Case("power7", "-mpower7") in getPPCGenericTargetCPU()
27 .Case("pwr8", "-mpower8") in getPPCGenericTargetCPU()
28 .Case("power8", "-mpower8") in getPPCGenericTargetCPU()
29 .Case("ppc64le", "-mpower8") in getPPCGenericTargetCPU()
30 .Case("pwr9", "-mpower9") in getPPCGenericTargetCPU()
31 .Case("power9", "-mpower9") in getPPCGenericTargetCPU()
32 .Case("pwr10", "-mpower10") in getPPCGenericTargetCPU()
33 .Case("power10", "-mpower10") in getPPCGenericTargetCPU()
34 .Case("pwr1 in getPPCGenericTargetCPU()
[all...]
H A DSparc.cpp33 .Case("niagara", "-Av9b") in getSparcAsmModeForCPU()
34 .Case("niagara2", "-Av9b") in getSparcAsmModeForCPU()
35 .Case("niagara3", "-Av9d") in getSparcAsmModeForCPU()
36 .Case("niagara4", "-Av9d") in getSparcAsmModeForCPU()
40 .Case("v8", "-Av8") in getSparcAsmModeForCPU()
41 .Case("supersparc", "-Av8") in getSparcAsmModeForCPU()
42 .Case("sparclite", "-Asparclite") in getSparcAsmModeForCPU()
43 .Case("f934", "-Asparclite") in getSparcAsmModeForCPU()
44 .Case("hypersparc", "-Av8") in getSparcAsmModeForCPU()
45 .Case("sparclite86 in getSparcAsmModeForCPU()
[all...]
H A DMips.cpp62 .Case("32", "o32") in getMipsCPUAndABI()
63 .Case("64", "n64") in getMipsCPUAndABI()
90 .Case("mips1", "o32") in getMipsCPUAndABI()
91 .Case("mips2", "o32") in getMipsCPUAndABI()
92 .Case("mips3", "n64") in getMipsCPUAndABI()
93 .Case("mips4", "n64") in getMipsCPUAndABI()
94 .Case("mips5", "n64") in getMipsCPUAndABI()
95 .Case("mips32", "o32") in getMipsCPUAndABI()
96 .Case("mips32r2", "o32") in getMipsCPUAndABI()
97 .Case("mips32r in getMipsCPUAndABI()
[all...]
/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinkerBase.cpp19 .Case(getSectionName(DebugSectionKind::DebugInfo), in parseDebugTableName()
21 .Case(getSectionName(DebugSectionKind::DebugLine), in parseDebugTableName()
23 .Case(getSectionName(DebugSectionKind::DebugFrame), in parseDebugTableName()
25 .Case(getSectionName(DebugSectionKind::DebugRange), in parseDebugTableName()
27 .Case(getSectionName(DebugSectionKind::DebugRngLists), in parseDebugTableName()
29 .Case(getSectionName(DebugSectionKind::DebugLoc), in parseDebugTableName()
31 .Case(getSectionName(DebugSectionKind::DebugLocLists), in parseDebugTableName()
33 .Case(getSectionName(DebugSectionKind::DebugARanges), in parseDebugTableName()
35 .Case(getSectionName(DebugSectionKind::DebugAbbrev), in parseDebugTableName()
37 .Case(getSectionName(DebugSectionKind::DebugMacinfo), in parseDebugTableName()
[all …]
/llvm-project/lldb/source/Plugins/InstrumentationRuntime/Utility/
H A DReportRetriever.cpp151 .Case("heap-use-after-free", "Use of deallocated memory") in FormatDescription()
152 .Case("heap-buffer-overflow", "Heap buffer overflow") in FormatDescription()
153 .Case("stack-buffer-underflow", "Stack buffer underflow") in FormatDescription()
154 .Case("initialization-order-fiasco", "Initialization order problem") in FormatDescription()
155 .Case("stack-buffer-overflow", "Stack buffer overflow") in FormatDescription()
156 .Case("stack-use-after-return", "Use of stack memory after return") in FormatDescription()
157 .Case("use-after-poison", "Use of poisoned memory") in FormatDescription()
158 .Case("container-overflow", "Container overflow") in FormatDescription()
159 .Case("stack-use-after-scope", "Use of out-of-scope stack memory") in FormatDescription()
160 .Case("globa in FormatDescription()
[all...]
/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMILexer.cpp192 .Case("_", MIToken::underscore) in getIdentifierKind()
193 .Case("implicit", MIToken::kw_implicit) in getIdentifierKind()
194 .Case("implicit-def", MIToken::kw_implicit_define) in getIdentifierKind()
195 .Case("def", MIToken::kw_def) in getIdentifierKind()
196 .Case("dead", MIToken::kw_dead) in getIdentifierKind()
197 .Case("killed", MIToken::kw_killed) in getIdentifierKind()
198 .Case("undef", MIToken::kw_undef) in getIdentifierKind()
199 .Case("internal", MIToken::kw_internal) in getIdentifierKind()
200 .Case("early-clobber", MIToken::kw_early_clobber) in getIdentifierKind()
201 .Case("debu in getIdentifierKind()
[all...]
/llvm-project/clang-tools-extra/clangd/unittests/tweaks/
H A DDefineOutlineTests.cpp434 for (const auto &Case : Cases) { in TEST_F()
435 SCOPED_TRACE(Case.Test); in TEST_F()
437 EXPECT_EQ(apply(Case.Test, &EditedFiles), Case.ExpectedHeader); in TEST_F()
438 if (Case.ExpectedSource.empty()) { in TEST_F()
442 testPath("Test.cpp"), Case.ExpectedSource))); in TEST_F()
475 for (const auto &Case : Cases) { in TEST_F()
476 SCOPED_TRACE(Case.Test); in TEST_F()
477 EXPECT_EQ(apply(Case.Test, nullptr), Case in TEST_F()
379 for (const auto &Case : Cases) { TEST_F() local
415 for (const auto &Case : Cases) { TEST_F() local
525 for (const auto &Case : Cases) { TEST_F() local
575 for (auto &Case : Cases) { TEST_F() local
639 for (auto &Case : Cases) { TEST_F() local
685 for (const auto &Case : Cases) { TEST_F() local
[all...]
/llvm-project/lld/MachO/
H A DOutputSegment.cpp84 .Case(segment_names::pageZero, -4) in segmentOrder()
85 .Case(segment_names::text, -3) in segmentOrder()
86 .Case(segment_names::dataConst, -2) in segmentOrder()
87 .Case(segment_names::data, -1)
88 .Case(segment_names::llvm, std::numeric_limits<int>::max() - 1) in sectionOrder()
91 .Case(segment_names::linkEdit, std::numeric_limits<int>::max()) in sectionOrder()
113 .Case(section_names::stubs, -4) in sectionOrder()
114 .Case(section_names::stubHelper, -3) in sectionOrder()
115 .Case(section_names::objcStubs, -2) in sectionOrder()
116 .Case(section_name in sectionOrder()
[all...]
/llvm-project/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp64 std::string &Case,
67 const std::string &VarName, std::string &Case,
101 std::string &Case, in addCodeToMergeInOperand()
149 Case += " op.clearAllBits();\n"; in addCodeToMergeInOperand()
151 Case += " // op: " + VarName + "\n"; in addCodeToMergeInOperand()
156 Case += " " + EncoderMethodName + "(MI, " + utostr(OpIdx); in addCodeToMergeInOperand()
157 Case += ", op"; in addCodeToMergeInOperand()
159 Case += " op = " + EncoderMethodName + "(MI, " + utostr(OpIdx); in addCodeToMergeInOperand()
161 Case += ", Fixups, STI);\n"; in addCodeToMergeInOperand()
164 Case in addCodeToMergeInOperand()
98 addCodeToMergeInOperand(Record * R,BitsInit * BI,const std::string & VarName,std::string & Case,std::string & BitOffsetCase,CodeGenTarget & Target) addCodeToMergeInOperand() argument
282 std::string Case, BitOffsetCase; getInstructionCases() local
345 addInstructionCasesForEncoding(Record * R,Record * EncodingDef,CodeGenTarget & Target,std::string & Case,std::string & BitOffsetCase) addInstructionCasesForEncoding() argument
453 const std::string &Case = IE->first; emitCaseMap() local
549 std::string Case, BitOffsetCase; run() local
[all...]
/llvm-project/llvm/lib/Target/VE/
H A DVE.h116 .Case("gt", VECC::CC_IG) in stringToVEICondCode()
117 .Case("lt", VECC::CC_IL) in stringToVEICondCode()
118 .Case("ne", VECC::CC_INE) in stringToVEICondCode()
119 .Case("eq", VECC::CC_IEQ) in stringToVEICondCode()
120 .Case("ge", VECC::CC_IGE) in stringToVEICondCode()
121 .Case("le", VECC::CC_ILE) in stringToVEICondCode()
122 .Case("af", VECC::CC_AF) in stringToVEICondCode()
123 .Case("at", VECC::CC_AT) in stringToVEICondCode()
124 .Case("", VECC::CC_AT) in stringToVEICondCode()
130 .Case("gt", VECC::CC_G) in stringToVEFCondCode()
[all …]
/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNoReturnFunctionChecker.cpp60 .Case("exit", true) in checkPostCall()
61 .Case("panic", true) in checkPostCall()
62 .Case("error", true) in checkPostCall()
63 .Case("Assert", true) in checkPostCall()
66 .Case("ziperr", true) in checkPostCall()
67 .Case("assfail", true) in checkPostCall()
68 .Case("db_error", true) in checkPostCall()
69 .Case("__assert", true) in checkPostCall()
70 .Case("__assert2", true) in checkPostCall()
73 .Case("_wassert", true) in checkPostCall()
[all …]
/llvm-project/llvm/unittests/ADT/
H A DStringSwitchTest.cpp14 TEST(StringSwitchTest, Case) { in TEST() argument
17 .Case("0", 0) in TEST()
18 .Case("1", 1) in TEST()
19 .Case("2", 2) in TEST()
20 .Case("3", 3) in TEST()
21 .Case("4", 4) in TEST()
22 .Case("5", 5) in TEST()
23 .Case("6", 6) in TEST()
24 .Case("7", 7) in TEST()
25 .Case("8", 8) in TEST()
[all …]

12345678910>>...26