Home
last modified time | relevance | path

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

12345

/external/clang/test/Index/
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("cdecl", AT_cdecl) in getKind()
[all …]
/external/clang/lib/Driver/
DTypes.cpp140 .Case("c", TY_C) in lookupTypeForExtension()
141 .Case("i", TY_PP_C) in lookupTypeForExtension()
142 .Case("m", TY_ObjC) in lookupTypeForExtension()
143 .Case("M", TY_ObjCXX) in lookupTypeForExtension()
144 .Case("h", TY_CHeader) in lookupTypeForExtension()
145 .Case("C", TY_CXX) in lookupTypeForExtension()
146 .Case("H", TY_CXXHeader) in lookupTypeForExtension()
147 .Case("f", TY_PP_Fortran) in lookupTypeForExtension()
148 .Case("F", TY_Fortran) in lookupTypeForExtension()
149 .Case("s", TY_PP_Asm) in lookupTypeForExtension()
[all …]
DToolChain.cpp83 .Case("armv3", "arm6") in getARMTargetCPU()
84 .Case("armv3m", "arm7m") in getARMTargetCPU()
88 .Case("armv5tej", "arm926ej-s") in getARMTargetCPU()
90 .Case("armv6j", "arm1136j-s") in getARMTargetCPU()
92 .Case("armv6t2", "arm1156t2-s") in getARMTargetCPU()
96 .Case("ep9312", "ep9312") in getARMTargetCPU()
97 .Case("iwmmxt", "iwmmxt") in getARMTargetCPU()
98 .Case("xscale", "xscale") in getARMTargetCPU()
123 .Case("cortex-m3", "v7m") in getLLVMArchSuffixForARM()
124 .Case("cortex-m4", "v7m") in getLLVMArchSuffixForARM()
[all …]
DTools.cpp446 .Case("cortex-m3", "v7m") in getLLVMArchSuffixForARM()
447 .Case("cortex-m4", "v7m") in getLLVMArchSuffixForARM()
448 .Case("cortex-m0", "v6m") in getLLVMArchSuffixForARM()
492 .Case("armv3", "arm6") in getARMTargetCPU()
493 .Case("armv3m", "arm7m") in getARMTargetCPU()
497 .Case("armv5tej", "arm926ej-s") in getARMTargetCPU()
499 .Case("armv6j", "arm1136j-s") in getARMTargetCPU()
501 .Case("armv6t2", "arm1156t2-s") in getARMTargetCPU()
505 .Case("ep9312", "ep9312") in getARMTargetCPU()
506 .Case("iwmmxt", "iwmmxt") in getARMTargetCPU()
[all …]
/external/llvm/utils/yaml2obj/
Dyaml2obj.cpp156 .Case( "IMAGE_FILE_MACHINE_UNKNOWN" in parseHeader()
158 .Case( "IMAGE_FILE_MACHINE_AM33" in parseHeader()
160 .Case( "IMAGE_FILE_MACHINE_AMD64" in parseHeader()
162 .Case( "IMAGE_FILE_MACHINE_ARM" in parseHeader()
164 .Case( "IMAGE_FILE_MACHINE_ARMV7" in parseHeader()
166 .Case( "IMAGE_FILE_MACHINE_EBC" in parseHeader()
168 .Case( "IMAGE_FILE_MACHINE_I386" in parseHeader()
170 .Case( "IMAGE_FILE_MACHINE_IA64" in parseHeader()
172 .Case( "IMAGE_FILE_MACHINE_M32R" in parseHeader()
174 .Case( "IMAGE_FILE_MACHINE_MIPS16" in parseHeader()
[all …]
/external/clang/lib/Lex/
DPPMacroExpansion.cpp627 .Case("address_sanitizer", LangOpts.AddressSanitizer) in HasFeature()
628 .Case("attribute_analyzer_noreturn", true) in HasFeature()
629 .Case("attribute_availability", true) in HasFeature()
630 .Case("attribute_availability_with_message", true) in HasFeature()
631 .Case("attribute_cf_returns_not_retained", true) in HasFeature()
632 .Case("attribute_cf_returns_retained", true) in HasFeature()
633 .Case("attribute_deprecated_with_message", true) in HasFeature()
634 .Case("attribute_ext_vector_type", true) in HasFeature()
635 .Case("attribute_ns_returns_not_retained", true) in HasFeature()
636 .Case("attribute_ns_returns_retained", true) in HasFeature()
[all …]
/external/llvm/lib/Support/
DTriple.cpp150 .Case("arm", arm) in getArchTypeForLLVMName()
151 .Case("cellspu", cellspu) in getArchTypeForLLVMName()
152 .Case("mips", mips) in getArchTypeForLLVMName()
153 .Case("mipsel", mipsel) in getArchTypeForLLVMName()
154 .Case("mips64", mips64) in getArchTypeForLLVMName()
155 .Case("mips64el", mips64el) in getArchTypeForLLVMName()
156 .Case("msp430", msp430) in getArchTypeForLLVMName()
157 .Case("ppc64", ppc64) in getArchTypeForLLVMName()
158 .Case("ppc32", ppc) in getArchTypeForLLVMName()
159 .Case("ppc", ppc) in getArchTypeForLLVMName()
[all …]
DHost.cpp439 .Case("604e", "604e") in getHostCPUName()
440 .Case("604", "604") in getHostCPUName()
441 .Case("7400", "7400") in getHostCPUName()
442 .Case("7410", "7400") in getHostCPUName()
443 .Case("7447", "7400") in getHostCPUName()
444 .Case("7455", "7450") in getHostCPUName()
445 .Case("G4", "g4") in getHostCPUName()
446 .Case("POWER4", "970") in getHostCPUName()
447 .Case("PPC970FX", "970") in getHostCPUName()
448 .Case("PPC970MP", "970") in getHostCPUName()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DNoReturnFunctionChecker.cpp58 .Case("exit", true) in checkPostStmt()
59 .Case("panic", true) in checkPostStmt()
60 .Case("error", true) in checkPostStmt()
61 .Case("Assert", true) in checkPostStmt()
64 .Case("ziperr", true) in checkPostStmt()
65 .Case("assfail", true) in checkPostStmt()
66 .Case("db_error", true) in checkPostStmt()
67 .Case("__assert", true) in checkPostStmt()
68 .Case("__assert_rtn", true) in checkPostStmt()
69 .Case("__assert_fail", true) in checkPostStmt()
[all …]
DGenericTaintChecker.cpp213 .Case("atoi", TaintPropagationRule(0, ReturnValueIndex)) in getTaintPropagationRule()
214 .Case("atol", TaintPropagationRule(0, ReturnValueIndex)) in getTaintPropagationRule()
215 .Case("atoll", TaintPropagationRule(0, ReturnValueIndex)) in getTaintPropagationRule()
216 .Case("getc", TaintPropagationRule(0, ReturnValueIndex)) in getTaintPropagationRule()
217 .Case("fgetc", TaintPropagationRule(0, ReturnValueIndex)) in getTaintPropagationRule()
218 .Case("getc_unlocked", TaintPropagationRule(0, ReturnValueIndex)) in getTaintPropagationRule()
219 .Case("getw", TaintPropagationRule(0, ReturnValueIndex)) in getTaintPropagationRule()
220 .Case("toupper", TaintPropagationRule(0, ReturnValueIndex)) in getTaintPropagationRule()
221 .Case("tolower", TaintPropagationRule(0, ReturnValueIndex)) in getTaintPropagationRule()
222 .Case("strchr", TaintPropagationRule(0, ReturnValueIndex)) in getTaintPropagationRule()
[all …]
DCheckSecuritySyntaxOnly.cpp130 .Case("gets", &WalkAST::checkCall_gets) in VisitCallExpr()
131 .Case("getpw", &WalkAST::checkCall_getpw) in VisitCallExpr()
132 .Case("mktemp", &WalkAST::checkCall_mktemp) in VisitCallExpr()
133 .Case("mkstemp", &WalkAST::checkCall_mkstemp) in VisitCallExpr()
134 .Case("mkdtemp", &WalkAST::checkCall_mkstemp) in VisitCallExpr()
135 .Case("mkstemps", &WalkAST::checkCall_mkstemp) in VisitCallExpr()
138 .Case("drand48", &WalkAST::checkCall_rand) in VisitCallExpr()
139 .Case("erand48", &WalkAST::checkCall_rand) in VisitCallExpr()
140 .Case("jrand48", &WalkAST::checkCall_rand) in VisitCallExpr()
141 .Case("lrand48", &WalkAST::checkCall_rand) in VisitCallExpr()
[all …]
DUnixAPIChecker.cpp337 .Case("open", &UnixAPIChecker::CheckOpen) in checkPreStmt()
338 .Case("pthread_once", &UnixAPIChecker::CheckPthreadOnce) in checkPreStmt()
339 .Case("calloc", &UnixAPIChecker::CheckCallocZero) in checkPreStmt()
340 .Case("malloc", &UnixAPIChecker::CheckMallocZero) in checkPreStmt()
341 .Case("realloc", &UnixAPIChecker::CheckReallocZero) in checkPreStmt()
343 .Case("valloc", &UnixAPIChecker::CheckVallocZero) in checkPreStmt()
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp316 .Case("zero", Mips::ZERO) in matchRegisterName()
317 .Case("a0", Mips::A0) in matchRegisterName()
318 .Case("a1", Mips::A1) in matchRegisterName()
319 .Case("a2", Mips::A2) in matchRegisterName()
320 .Case("a3", Mips::A3) in matchRegisterName()
321 .Case("v0", Mips::V0) in matchRegisterName()
322 .Case("v1", Mips::V1) in matchRegisterName()
323 .Case("s0", Mips::S0) in matchRegisterName()
324 .Case("s1", Mips::S1) in matchRegisterName()
325 .Case("s2", Mips::S2) in matchRegisterName()
[all …]
/external/clang/lib/Frontend/
DFrontendOptions.cpp16 .Case("ast", IK_AST) in getInputKindForExtension()
17 .Case("c", IK_C) in getInputKindForExtension()
19 .Case("i", IK_PreprocessedC) in getInputKindForExtension()
20 .Case("ii", IK_PreprocessedCXX) in getInputKindForExtension()
21 .Case("m", IK_ObjC) in getInputKindForExtension()
22 .Case("mi", IK_PreprocessedObjC) in getInputKindForExtension()
24 .Case("mii", IK_PreprocessedObjCXX) in getInputKindForExtension()
25 .Case("C", IK_CXX) in getInputKindForExtension()
28 .Case("cl", IK_OpenCL) in getInputKindForExtension()
29 .Case("cu", IK_CUDA) in getInputKindForExtension()
/external/llvm/lib/TableGen/
DTGLexer.cpp268 .Case("int", tgtok::Int) in LexIdentifier()
269 .Case("bit", tgtok::Bit) in LexIdentifier()
270 .Case("bits", tgtok::Bits) in LexIdentifier()
271 .Case("string", tgtok::String) in LexIdentifier()
272 .Case("list", tgtok::List) in LexIdentifier()
273 .Case("code", tgtok::Code) in LexIdentifier()
274 .Case("dag", tgtok::Dag) in LexIdentifier()
275 .Case("class", tgtok::Class) in LexIdentifier()
276 .Case("def", tgtok::Def) in LexIdentifier()
277 .Case("foreach", tgtok::Foreach) in LexIdentifier()
[all …]
/external/llvm/include/llvm/ADT/
DStringSwitch.h55 StringSwitch& Case(const char (&S)[N], const T& Value) { in Case() function
87 return Case(S0, Value).Case(S1, Value); in Cases()
93 return Case(S0, Value).Case(S1, Value).Case(S2, Value); in Cases()
100 return Case(S0, Value).Case(S1, Value).Case(S2, Value).Case(S3, Value); in Cases()
107 return Case(S0, Value).Case(S1, Value).Case(S2, Value).Case(S3, Value) in Cases()
108 .Case(S4, Value); in Cases()
/external/llvm/utils/TableGen/
DCodeEmitterGen.cpp52 std::string &Case, CodeGenTarget &Target);
109 std::string &Case, CodeGenTarget &Target) { in AddCodeToMergeInOperand() argument
154 Case += " // op: " + VarName + "\n" + in AddCodeToMergeInOperand()
157 Case += ", Fixups"; in AddCodeToMergeInOperand()
158 Case += ");\n"; in AddCodeToMergeInOperand()
161 Case += " // op: " + VarName + "\n" + in AddCodeToMergeInOperand()
164 Case += ", Fixups"; in AddCodeToMergeInOperand()
165 Case += ");\n"; in AddCodeToMergeInOperand()
195 Case += " Value |= (op & UINT64_C(" + utostr(opMask) + ")) << " + in AddCodeToMergeInOperand()
198 Case += " Value |= (op & UINT64_C(" + utostr(opMask) + ")) >> " + in AddCodeToMergeInOperand()
[all …]
/external/clang/lib/Basic/
DTargets.cpp624 .Case("generic", true) in setCPU()
625 .Case("440", true) in setCPU()
626 .Case("450", true) in setCPU()
627 .Case("601", true) in setCPU()
628 .Case("602", true) in setCPU()
629 .Case("603", true) in setCPU()
630 .Case("603e", true) in setCPU()
631 .Case("603ev", true) in setCPU()
632 .Case("604", true) in setCPU()
633 .Case("604e", true) in setCPU()
[all …]
DModule.cpp56 .Case("altivec", LangOpts.AltiVec) in hasFeature()
57 .Case("blocks", LangOpts.Blocks) in hasFeature()
58 .Case("cplusplus", LangOpts.CPlusPlus) in hasFeature()
59 .Case("cplusplus11", LangOpts.CPlusPlus0x) in hasFeature()
60 .Case("objc", LangOpts.ObjC1) in hasFeature()
61 .Case("objc_arc", LangOpts.ObjCAutoRefCount) in hasFeature()
62 .Case("opencl", LangOpts.OpenCL) in hasFeature()
63 .Case("tls", Target.isTLSSupported()) in hasFeature()
/external/clang/lib/StaticAnalyzer/Core/
DAnalyzerOptions.cpp33 .Case("", CIMK_MemberFunctions) in mayInlineCXXMemberFunction()
34 .Case("constructors", CIMK_Constructors) in mayInlineCXXMemberFunction()
35 .Case("destructors", CIMK_Destructors) in mayInlineCXXMemberFunction()
36 .Case("none", CIMK_None) in mayInlineCXXMemberFunction()
37 .Case("methods", CIMK_MemberFunctions) in mayInlineCXXMemberFunction()
55 .Case("true", true) in getBooleanOption()
56 .Case("false", false) in getBooleanOption()
/external/llvm/lib/MC/
DMCExpr.cpp237 .Case("GOT", VK_GOT) in getVariantKindForName()
238 .Case("got", VK_GOT) in getVariantKindForName()
239 .Case("GOTOFF", VK_GOTOFF) in getVariantKindForName()
240 .Case("gotoff", VK_GOTOFF) in getVariantKindForName()
241 .Case("GOTPCREL", VK_GOTPCREL) in getVariantKindForName()
242 .Case("gotpcrel", VK_GOTPCREL) in getVariantKindForName()
243 .Case("GOTTPOFF", VK_GOTTPOFF) in getVariantKindForName()
244 .Case("gottpoff", VK_GOTTPOFF) in getVariantKindForName()
245 .Case("INDNTPOFF", VK_INDNTPOFF) in getVariantKindForName()
246 .Case("indntpoff", VK_INDNTPOFF) in getVariantKindForName()
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMELFObjectWriter.cpp103 .Case(".data.rel.ro.local", false) in ExplicitRelSym()
104 .Case(".data.rel", false) in ExplicitRelSym()
105 .Case(".bss", false) in ExplicitRelSym()
115 .Case(".data.rel.ro.local", false) in ExplicitRelSym()
116 .Case(".data.rel", false) in ExplicitRelSym()
117 .Case(".rodata", false) in ExplicitRelSym()
118 .Case(".bss", false) in ExplicitRelSym()
127 .Case(".data.rel.ro.local", false) in ExplicitRelSym()
128 .Case(".rodata", false) in ExplicitRelSym()
129 .Case(".data.rel", false) in ExplicitRelSym()
[all …]
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp1005 .Case("eq", 0x00) in ParseInstruction()
1006 .Case("lt", 0x01) in ParseInstruction()
1007 .Case("le", 0x02) in ParseInstruction()
1008 .Case("unord", 0x03) in ParseInstruction()
1009 .Case("neq", 0x04) in ParseInstruction()
1010 .Case("nlt", 0x05) in ParseInstruction()
1011 .Case("nle", 0x06) in ParseInstruction()
1012 .Case("ord", 0x07) in ParseInstruction()
1014 .Case("eq_uq", 0x08) in ParseInstruction()
1015 .Case("nge", 0x09) in ParseInstruction()
[all …]
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmLexer.cpp118 .Case("r13", ARM::SP) in LexTokenUAL()
119 .Case("r14", ARM::LR) in LexTokenUAL()
120 .Case("r15", ARM::PC) in LexTokenUAL()
121 .Case("ip", ARM::R12) in LexTokenUAL()
/external/llvm/lib/MC/MCParser/
DELFAsmParser.cpp159 .Case(".weak", MCSA_Weak) in ParseDirectiveSymbolAttribute()
160 .Case(".local", MCSA_Local) in ParseDirectiveSymbolAttribute()
161 .Case(".hidden", MCSA_Hidden) in ParseDirectiveSymbolAttribute()
162 .Case(".internal", MCSA_Internal) in ParseDirectiveSymbolAttribute()
163 .Case(".protected", MCSA_Protected) in ParseDirectiveSymbolAttribute()
475 .Case("function", MCSA_ELF_TypeFunction) in ParseDirectiveType()
476 .Case("object", MCSA_ELF_TypeObject) in ParseDirectiveType()
477 .Case("tls_object", MCSA_ELF_TypeTLS) in ParseDirectiveType()
478 .Case("common", MCSA_ELF_TypeCommon) in ParseDirectiveType()
479 .Case("notype", MCSA_ELF_TypeNoType) in ParseDirectiveType()
[all …]

12345