Home
last modified time | relevance | path

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

12345678910>>...22

/llvm-project-15.0.7/llvm/lib/BinaryFormat/
H A DELF.cpp21 .Case("m32", EM_M32) in convertArchNameToEMachine()
23 .Case("386", EM_386) in convertArchNameToEMachine()
24 .Case("68k", EM_68K) in convertArchNameToEMachine()
25 .Case("88k", EM_88K) in convertArchNameToEMachine()
27 .Case("860", EM_860) in convertArchNameToEMachine()
34 .Case("960", EM_960) in convertArchNameToEMachine()
35 .Case("ppc", EM_PPC) in convertArchNameToEMachine()
38 .Case("spu", EM_SPU) in convertArchNameToEMachine()
45 .Case("sh", EM_SH) in convertArchNameToEMachine()
94 .Case("pj", EM_PJ) in convertArchNameToEMachine()
[all …]
H A DAMDGPUMetadataVerifier.cpp112 .Case("by_value", true) in verifyKernelArgs()
115 .Case("sampler", true) in verifyKernelArgs()
116 .Case("image", true) in verifyKernelArgs()
117 .Case("pipe", true) in verifyKernelArgs()
118 .Case("queue", true) in verifyKernelArgs()
152 .Case("global", true) in verifyKernelArgs()
154 .Case("local", true) in verifyKernelArgs()
156 .Case("region", true) in verifyKernelArgs()
213 .Case("HCC", true) in verifyKernel()
214 .Case("HIP", true) in verifyKernel()
[all …]
/llvm-project-15.0.7/clang/test/Index/
H A Drecursive-cxx-member-calls.cpp106 .Case("weak", AT_weak) 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("cdecl", AT_cdecl) in getKind()
115 .Case("const", AT_const) in getKind()
116 .Case("__const", AT_const) in getKind()
[all …]
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/Arch/
H A DPPC.cpp38 .Case("440", "440") in getPPCTargetCPU()
40 .Case("450", "450") in getPPCTargetCPU()
41 .Case("601", "601") in getPPCTargetCPU()
42 .Case("602", "602") in getPPCTargetCPU()
43 .Case("603", "603") in getPPCTargetCPU()
46 .Case("604", "604") in getPPCTargetCPU()
48 .Case("620", "620") in getPPCTargetCPU()
50 .Case("G3", "g3") in getPPCTargetCPU()
52 .Case("G4", "g4") in getPPCTargetCPU()
58 .Case("G5", "g5") in getPPCTargetCPU()
[all …]
H A DSparc.cpp33 .Case("niagara", "-Av9b") in getSparcAsmModeForCPU()
34 .Case("niagara2", "-Av9b") in getSparcAsmModeForCPU()
40 .Case("v8", "-Av8") in getSparcAsmModeForCPU()
48 .Case("v9", "-Av8plus") in getSparcAsmModeForCPU()
70 .Case("leon2", "-Av8") in getSparcAsmModeForCPU()
71 .Case("at697e", "-Av8") in getSparcAsmModeForCPU()
72 .Case("at697f", "-Av8") in getSparcAsmModeForCPU()
73 .Case("leon3", "-Aleon") in getSparcAsmModeForCPU()
74 .Case("ut699", "-Av8") in getSparcAsmModeForCPU()
76 .Case("leon4", "-Aleon") in getSparcAsmModeForCPU()
[all …]
H A DMips.cpp137 .Case("o32", "") in getMipsABILibSuffix()
138 .Case("n32", "32") in getMipsABILibSuffix()
139 .Case("n64", "64"); in getMipsABILibSuffix()
145 .Case("o32", "32") in getGnuCompatibleMipsABIName()
146 .Case("n64", "64") in getGnuCompatibleMipsABIName()
408 .Case("mips1", Legacy) in getIEEE754Standard()
409 .Case("mips2", Legacy) in getIEEE754Standard()
410 .Case("mips3", Legacy) in getIEEE754Standard()
448 .Case("2008", true) in isNaN2008()
516 .Case("octeon", true) in supportsIndirectJumpHazardBarrier()
[all …]
/llvm-project-15.0.7/clang/lib/Basic/Targets/
H A DX86.cpp876 .Case("adx", true) in isValidFeatureName()
877 .Case("aes", true) in isValidFeatureName()
881 .Case("avx", true) in isValidFeatureName()
900 .Case("bmi", true) in isValidFeatureName()
910 .Case("fma", true) in isValidFeatureName()
918 .Case("kl", true) in isValidFeatureName()
920 .Case("lwp", true) in isValidFeatureName()
922 .Case("mmx", true) in isValidFeatureName()
929 .Case("pku", true) in isValidFeatureName()
938 .Case("rtm", true) in isValidFeatureName()
[all …]
H A DPPC.cpp659 .Case("powerpc", true) in hasFeature()
660 .Case("altivec", HasAltivec) in hasFeature()
661 .Case("vsx", HasVSX) in hasFeature()
662 .Case("crbits", UseCRBits) in hasFeature()
664 .Case("crypto", HasP8Crypto) in hasFeature()
666 .Case("htm", HasHTM) in hasFeature()
667 .Case("bpermd", HasBPERMD) in hasFeature()
668 .Case("extdiv", HasExtDiv) in hasFeature()
669 .Case("float128", HasFloat128) in hasFeature()
675 .Case("spe", HasSPE) in hasFeature()
[all …]
/llvm-project-15.0.7/clang/lib/Driver/
H A DTypes.cpp295 .Case("c", TY_C) in lookupTypeForExtension()
296 .Case("C", TY_CXX) in lookupTypeForExtension()
301 .Case("i", TY_PP_C) in lookupTypeForExtension()
302 .Case("m", TY_ObjC) in lookupTypeForExtension()
305 .Case("S", TY_Asm) in lookupTypeForExtension()
308 .Case("cc", TY_CXX) in lookupTypeForExtension()
309 .Case("CC", TY_CXX) in lookupTypeForExtension()
310 .Case("cl", TY_CL) in lookupTypeForExtension()
312 .Case("cp", TY_CXX) in lookupTypeForExtension()
313 .Case("cu", TY_CUDA) in lookupTypeForExtension()
[all …]
H A DDistro.cpp40 .Case("fedora", Distro::Fedora) in DetectOsRelease()
41 .Case("gentoo", Distro::Gentoo) in DetectOsRelease()
42 .Case("arch", Distro::ArchLinux) in DetectOsRelease()
44 .Case("sles", Distro::OpenSUSE) in DetectOsRelease()
46 .Case("exherbo", Distro::Exherbo) in DetectOsRelease()
80 .Case("wily", Distro::UbuntuWily) in DetectLsbRelease()
164 .Case("squeeze/sid", Distro::DebianSqueeze) in DetectDistro()
165 .Case("wheezy/sid", Distro::DebianWheezy) in DetectDistro()
166 .Case("jessie/sid", Distro::DebianJessie) in DetectDistro()
167 .Case("stretch/sid", Distro::DebianStretch) in DetectDistro()
[all …]
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCExpr.cpp393 .Case("got", VK_GOT) in getVariantKindForName()
403 .Case("plt", VK_PLT) in getVariantKindForName()
411 .Case("tlvp", VK_TLVP) in getVariantKindForName()
414 .Case("page", VK_PAGE) in getVariantKindForName()
420 .Case("size", VK_SIZE) in getVariantKindForName()
423 .Case("l", VK_PPC_LO) in getVariantKindForName()
424 .Case("h", VK_PPC_HI) in getVariantKindForName()
425 .Case("ha", VK_PPC_HA) in getVariantKindForName()
441 .Case("u", VK_PPC_U) in getVariantKindForName()
442 .Case("l", VK_PPC_L) in getVariantKindForName()
[all …]
/llvm-project-15.0.7/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("hm", VK_Sparc_HM) in parseVariantKind()
103 .Case("lm", VK_Sparc_LM) in parseVariantKind()
104 .Case("pc22", VK_Sparc_PC22) in parseVariantKind()
105 .Case("pc10", VK_Sparc_PC10) in parseVariantKind()
[all …]
/llvm-project-15.0.7/llvm/lib/TableGen/
H A DTGLexer.cpp345 .Case("int", tgtok::Int) in LexIdentifier()
362 .Case("in", tgtok::In) in LexIdentifier()
365 .Case("if", tgtok::If) in LexIdentifier()
549 .Case("eq", tgtok::XEq) in LexExclaim()
550 .Case("ne", tgtok::XNe) in LexExclaim()
551 .Case("le", tgtok::XLe) in LexExclaim()
552 .Case("lt", tgtok::XLt) in LexExclaim()
553 .Case("ge", tgtok::XGe) in LexExclaim()
554 .Case("gt", tgtok::XGt) in LexExclaim()
555 .Case("if", tgtok::XIf) in LexExclaim()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/InstrumentationRuntime/ASan/
H A DInstrumentationRuntimeASan.cpp205 .Case("container-overflow", "Container overflow") in FormatDescription()
208 .Case("unknown-crash", "Invalid memory access") in FormatDescription()
209 .Case("stack-overflow", "Stack space exhausted") in FormatDescription()
213 .Case("wild-addr-read", "Read from wild pointer") in FormatDescription()
214 .Case("wild-addr", "Access through wild pointer") in FormatDescription()
215 .Case("signal", "Deadly signal") in FormatDescription()
217 .Case("new-delete-type-mismatch", in FormatDescription()
220 .Case("alloc-dealloc-mismatch", in FormatDescription()
223 .Case("bad-__sanitizer_get_allocated_size", in FormatDescription()
225 .Case("param-overlap", in FormatDescription()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/tweaks/
H A DDefineOutlineTests.cpp297 for (const auto &Case : Cases) { in TEST_F() local
298 SCOPED_TRACE(Case.Test); in TEST_F()
299 EXPECT_EQ(apply(Case.Test, &EditedFiles), Case.ExpectedHeader); in TEST_F()
410 SCOPED_TRACE(Case.Test); in TEST_F()
411 EXPECT_EQ(apply(Case.Test, &EditedFiles), Case.ExpectedHeader); in TEST_F()
459 for (auto &Case : Cases) { in TEST_F() local
461 EXPECT_EQ(apply(Case.Test, &EditedFiles), Case.ExpectedHeader); in TEST_F()
511 for (auto &Case : Cases) { in TEST_F() local
513 EXPECT_EQ(apply(Case.TestHeader, &EditedFiles), Case.ExpectedHeader); in TEST_F()
516 << Case.TestHeader; in TEST_F()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/MIRParser/
H A DMILexer.cpp193 .Case("_", MIToken::underscore) in getIdentifierKind()
196 .Case("def", MIToken::kw_def) in getIdentifierKind()
197 .Case("dead", MIToken::kw_dead) in getIdentifierKind()
207 .Case("nnan", MIToken::kw_nnan) in getIdentifierKind()
208 .Case("ninf", MIToken::kw_ninf) in getIdentifierKind()
209 .Case("nsz", MIToken::kw_nsz) in getIdentifierKind()
212 .Case("afn", MIToken::kw_afn) in getIdentifierKind()
214 .Case("nuw", MIToken::kw_nuw) in getIdentifierKind()
215 .Case("nsw", MIToken::kw_nsw) in getIdentifierKind()
235 .Case("negate_ra_sign_state", in getIdentifierKind()
[all …]
/llvm-project-15.0.7/llvm/lib/Support/
H A DHost.cpp133 .Case("604e", "604e") in getHostCPUNameForPowerPC()
134 .Case("604", "604") in getHostCPUNameForPowerPC()
135 .Case("7400", "7400") in getHostCPUNameForPowerPC()
136 .Case("7410", "7400") in getHostCPUNameForPowerPC()
137 .Case("7447", "7400") in getHostCPUNameForPowerPC()
138 .Case("7455", "7450") in getHostCPUNameForPowerPC()
139 .Case("G4", "g4") in getHostCPUNameForPowerPC()
143 .Case("G5", "g5") in getHostCPUNameForPowerPC()
144 .Case("POWER5", "g5") in getHostCPUNameForPowerPC()
145 .Case("A2", "a2") in getHostCPUNameForPowerPC()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/VE/
H A DVE.h114 .Case("gt", VECC::CC_IG) in stringToVEICondCode()
115 .Case("lt", VECC::CC_IL) in stringToVEICondCode()
120 .Case("af", VECC::CC_AF) in stringToVEICondCode()
121 .Case("at", VECC::CC_AT) in stringToVEICondCode()
122 .Case("", VECC::CC_AT) in stringToVEICondCode()
128 .Case("gt", VECC::CC_G) in stringToVEFCondCode()
129 .Case("lt", VECC::CC_L) in stringToVEFCondCode()
130 .Case("ne", VECC::CC_NE) in stringToVEFCondCode()
131 .Case("eq", VECC::CC_EQ) in stringToVEFCondCode()
132 .Case("ge", VECC::CC_GE) in stringToVEFCondCode()
[all …]
/llvm-project-15.0.7/lld/MachO/
H A DOutputSegment.cpp71 .Case(segment_names::pageZero, -4) in segmentOrder()
72 .Case(segment_names::text, -3) in segmentOrder()
73 .Case(segment_names::dataConst, -2) in segmentOrder()
74 .Case(segment_names::data, -1) in segmentOrder()
87 .Case(section_names::header, -4) in sectionOrder()
88 .Case(section_names::text, -3) in sectionOrder()
89 .Case(section_names::stubs, -2) in sectionOrder()
114 .Case(section_names::got, -3) in sectionOrder()
121 .Case(section_names::rebase, -10) in sectionOrder()
122 .Case(section_names::binding, -9) in sectionOrder()
[all …]
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DNoReturnFunctionChecker.cpp58 .Case("exit", true) in checkPostCall()
59 .Case("panic", true) in checkPostCall()
60 .Case("error", true) in checkPostCall()
61 .Case("Assert", true) in checkPostCall()
64 .Case("ziperr", true) in checkPostCall()
65 .Case("assfail", true) in checkPostCall()
66 .Case("db_error", true) in checkPostCall()
67 .Case("__assert", true) in checkPostCall()
68 .Case("__assert2", true) in checkPostCall()
71 .Case("_wassert", true) in checkPostCall()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DDXILOperationCommon.h44 .Case("void", ParameterKind::VOID) in parameterTypeNameToKind()
45 .Case("half", ParameterKind::HALF) in parameterTypeNameToKind()
46 .Case("float", ParameterKind::FLOAT) in parameterTypeNameToKind()
47 .Case("double", ParameterKind::DOUBLE) in parameterTypeNameToKind()
48 .Case("i1", ParameterKind::I1) in parameterTypeNameToKind()
49 .Case("i8", ParameterKind::I8) in parameterTypeNameToKind()
50 .Case("i16", ParameterKind::I16) in parameterTypeNameToKind()
51 .Case("i32", ParameterKind::I32) in parameterTypeNameToKind()
52 .Case("i64", ParameterKind::I64) in parameterTypeNameToKind()
53 .Case("$o", ParameterKind::OVERLOAD) in parameterTypeNameToKind()
[all …]
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DStringSwitchTest.cpp17 .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()
26 .Case("9", 9) in TEST()
[all …]
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp153 Case += ", op"; in AddCodeToMergeInOperand()
168 Case += ");\n"; in AddCodeToMergeInOperand()
270 std::string Case; in getInstructionCase() local
284 return Case; in getInstructionCase()
292 std::string Case; in getInstructionCaseForEncoding() local
326 Case += PostEmitter; in getInstructionCaseForEncoding()
327 Case += "(MI, Value"; in getInstructionCaseForEncoding()
328 Case += ", STI"; in getInstructionCaseForEncoding()
329 Case += ");\n"; in getInstructionCaseForEncoding()
332 return Case; in getInstructionCaseForEncoding()
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/google/
H A Dupgrade-googletest-case.cpp787 testing::TestCase Case; in TestCaseInTemplate() local
801 auto Lambda = [&Case]() {}; in testCaseUses()
823 testing::TestCase Case; member
854 auto Lambda = [&Case]() {}; in testCaseUses()
866 TestCase Case; member
895 auto Lambda = [&Case]() {}; in shadowTestCaseUses()
933 auto Lambda = [&Case]() {}; in testCaseUses()
940 MyTestCase Case; member
955 auto Lambda = [&Case]() {}; in typedefTestCaseUses()
983 MyTestCase Case; member
[all …]
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DAnalyzerOptions.cpp71 .Case("unexplored_first", in getExplorationStrategy()
73 .Case("unexplored_first_queue", in getExplorationStrategy()
77 .Case("bfs_block_dfs_contents", in getExplorationStrategy()
97 .Case("none", IPAK_None) in getIPAMode()
99 .Case("inlining", IPAK_Inlining) in getIPAMode()
117 .Case("constructors", CIMK_Constructors) in mayInlineCXXMemberFunction()
118 .Case("destructors", CIMK_Destructors) in mayInlineCXXMemberFunction()
119 .Case("methods", CIMK_MemberFunctions) in mayInlineCXXMemberFunction()
120 .Case("none", CIMK_None) in mayInlineCXXMemberFunction()
168 .Case("true", true) in getCheckerBooleanOption()
[all …]

12345678910>>...22