/external/clang/test/Index/ |
D | recursive-cxx-member-calls.cpp | 88 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/ |
D | Types.cpp | 138 .Case("c", TY_C) in lookupTypeForExtension() 139 .Case("i", TY_PP_C) in lookupTypeForExtension() 140 .Case("m", TY_ObjC) in lookupTypeForExtension() 141 .Case("M", TY_ObjCXX) in lookupTypeForExtension() 142 .Case("h", TY_CHeader) in lookupTypeForExtension() 143 .Case("C", TY_CXX) in lookupTypeForExtension() 144 .Case("H", TY_CXXHeader) in lookupTypeForExtension() 145 .Case("f", TY_PP_Fortran) in lookupTypeForExtension() 146 .Case("F", TY_Fortran) in lookupTypeForExtension() 147 .Case("s", TY_PP_Asm) in lookupTypeForExtension() [all …]
|
D | ToolChain.cpp | 99 .Case("armv3", "arm6") in getARMTargetCPU() 100 .Case("armv3m", "arm7m") in getARMTargetCPU() 104 .Case("armv5tej", "arm926ej-s") in getARMTargetCPU() 106 .Case("armv6j", "arm1136j-s") in getARMTargetCPU() 108 .Case("armv6t2", "arm1156t2-s") in getARMTargetCPU() 112 .Case("ep9312", "ep9312") in getARMTargetCPU() 113 .Case("iwmmxt", "iwmmxt") in getARMTargetCPU() 114 .Case("xscale", "xscale") in getARMTargetCPU() 139 .Case("cortex-m3", "v7m") in getLLVMArchSuffixForARM() 140 .Case("cortex-m4", "v7m") in getLLVMArchSuffixForARM() [all …]
|
D | Tools.cpp | 447 .Case("armv3", "arm6") in getARMTargetCPU() 448 .Case("armv3m", "arm7m") in getARMTargetCPU() 452 .Case("armv5tej", "arm926ej-s") in getARMTargetCPU() 454 .Case("armv6j", "arm1136j-s") in getARMTargetCPU() 456 .Case("armv6t2", "arm1156t2-s") in getARMTargetCPU() 460 .Case("ep9312", "ep9312") in getARMTargetCPU() 461 .Case("iwmmxt", "iwmmxt") in getARMTargetCPU() 462 .Case("xscale", "xscale") in getARMTargetCPU() 487 .Case("cortex-m3", "v7m") in getLLVMArchSuffixForARM() 488 .Case("cortex-m4", "v7m") in getLLVMArchSuffixForARM() [all …]
|
/external/clang/lib/Lex/ |
D | PPMacroExpansion.cpp | 599 .Case("address_sanitizer", LangOpts.AddressSanitizer) in HasFeature() 600 .Case("attribute_analyzer_noreturn", true) in HasFeature() 601 .Case("attribute_availability", true) in HasFeature() 602 .Case("attribute_cf_returns_not_retained", true) in HasFeature() 603 .Case("attribute_cf_returns_retained", true) in HasFeature() 604 .Case("attribute_deprecated_with_message", true) in HasFeature() 605 .Case("attribute_ext_vector_type", true) in HasFeature() 606 .Case("attribute_ns_returns_not_retained", true) in HasFeature() 607 .Case("attribute_ns_returns_retained", true) in HasFeature() 608 .Case("attribute_ns_consumes_self", true) in HasFeature() [all …]
|
D | ModuleMap.cpp | 577 .Case("header", MMToken::HeaderKeyword) in consumeToken() 578 .Case("explicit", MMToken::ExplicitKeyword) in consumeToken() 579 .Case("export", MMToken::ExportKeyword) in consumeToken() 580 .Case("framework", MMToken::FrameworkKeyword) in consumeToken() 581 .Case("module", MMToken::ModuleKeyword) in consumeToken() 582 .Case("requires", MMToken::RequiresKeyword) in consumeToken() 583 .Case("umbrella", MMToken::UmbrellaKeyword) in consumeToken() 862 .Case("system", AT_system) in parseModuleDecl() 1048 .Case("float.h", true) in isBuiltinHeader() 1049 .Case("iso646.h", true) in isBuiltinHeader() [all …]
|
/external/llvm/lib/Support/ |
D | Triple.cpp | 143 .Case("arm", arm) in getArchTypeForLLVMName() 144 .Case("cellspu", cellspu) in getArchTypeForLLVMName() 145 .Case("mips", mips) in getArchTypeForLLVMName() 146 .Case("mipsel", mipsel) in getArchTypeForLLVMName() 147 .Case("mips64", mips64) in getArchTypeForLLVMName() 148 .Case("mips64el", mips64el) in getArchTypeForLLVMName() 149 .Case("msp430", msp430) in getArchTypeForLLVMName() 150 .Case("ppc64", ppc64) in getArchTypeForLLVMName() 151 .Case("ppc32", ppc) in getArchTypeForLLVMName() 152 .Case("ppc", ppc) in getArchTypeForLLVMName() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | NoReturnFunctionChecker.cpp | 58 .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 …]
|
D | GenericTaintChecker.cpp | 213 .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 …]
|
D | CheckSecuritySyntaxOnly.cpp | 129 .Case("gets", &WalkAST::checkCall_gets) in VisitCallExpr() 130 .Case("getpw", &WalkAST::checkCall_getpw) in VisitCallExpr() 131 .Case("mktemp", &WalkAST::checkCall_mktemp) in VisitCallExpr() 132 .Case("mkstemp", &WalkAST::checkCall_mkstemp) in VisitCallExpr() 133 .Case("mkdtemp", &WalkAST::checkCall_mkstemp) in VisitCallExpr() 134 .Case("mkstemps", &WalkAST::checkCall_mkstemp) in VisitCallExpr() 137 .Case("drand48", &WalkAST::checkCall_rand) in VisitCallExpr() 138 .Case("erand48", &WalkAST::checkCall_rand) in VisitCallExpr() 139 .Case("jrand48", &WalkAST::checkCall_rand) in VisitCallExpr() 140 .Case("lrand48", &WalkAST::checkCall_rand) in VisitCallExpr() [all …]
|
D | UnixAPIChecker.cpp | 334 .Case("open", &UnixAPIChecker::CheckOpen) in checkPreStmt() 335 .Case("pthread_once", &UnixAPIChecker::CheckPthreadOnce) in checkPreStmt() 336 .Case("calloc", &UnixAPIChecker::CheckCallocZero) in checkPreStmt() 337 .Case("malloc", &UnixAPIChecker::CheckMallocZero) in checkPreStmt() 338 .Case("realloc", &UnixAPIChecker::CheckReallocZero) in checkPreStmt() 340 .Case("valloc", &UnixAPIChecker::CheckVallocZero) in checkPreStmt()
|
/external/clang/lib/Frontend/ |
D | FrontendOptions.cpp | 16 .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/clang/lib/Sema/ |
D | AttributeList.cpp | 110 .Case("address_space", AT_address_space) in getKind() 111 .Case("align", AT_aligned) // FIXME - should it be "aligned"? in getKind() 112 .Case("base_check", AT_base_check) in getKind() 113 .Case("bounded", IgnoredAttribute) // OpenBSD in getKind() 114 .Case("__const", AT_const) // some GCC headers do contain this spelling in getKind() 115 .Case("cf_returns_autoreleased", AT_cf_returns_autoreleased) in getKind() 116 .Case("mode", AT_mode) in getKind() 117 .Case("vec_type_hint", IgnoredAttribute) in getKind() 118 .Case("ext_vector_type", AT_ext_vector_type) in getKind() 119 .Case("neon_vector_type", AT_neon_vector_type) in getKind() [all …]
|
/external/llvm/lib/TableGen/ |
D | TGLexer.cpp | 268 .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/ |
D | StringSwitch.h | 55 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/ |
D | CodeEmitterGen.cpp | 86 std::string &Case, CodeGenTarget &Target) { in AddCodeToMergeInOperand() argument 131 Case += " // op: " + VarName + "\n" + in AddCodeToMergeInOperand() 134 Case += ", Fixups"; in AddCodeToMergeInOperand() 135 Case += ");\n"; in AddCodeToMergeInOperand() 138 Case += " // op: " + VarName + "\n" + in AddCodeToMergeInOperand() 141 Case += ", Fixups"; in AddCodeToMergeInOperand() 142 Case += ");\n"; in AddCodeToMergeInOperand() 172 Case += " Value |= (op & UINT64_C(" + utostr(opMask) + ")) << " + in AddCodeToMergeInOperand() 175 Case += " Value |= (op & UINT64_C(" + utostr(opMask) + ")) >> " + in AddCodeToMergeInOperand() 178 Case += " Value |= op & UINT64_C(" + utostr(opMask) + ");\n"; in AddCodeToMergeInOperand() [all …]
|
/external/llvm/lib/MC/ |
D | MCExpr.cpp | 230 .Case("GOT", VK_GOT) in getVariantKindForName() 231 .Case("got", VK_GOT) in getVariantKindForName() 232 .Case("GOTOFF", VK_GOTOFF) in getVariantKindForName() 233 .Case("gotoff", VK_GOTOFF) in getVariantKindForName() 234 .Case("GOTPCREL", VK_GOTPCREL) in getVariantKindForName() 235 .Case("gotpcrel", VK_GOTPCREL) in getVariantKindForName() 236 .Case("GOTTPOFF", VK_GOTTPOFF) in getVariantKindForName() 237 .Case("gottpoff", VK_GOTTPOFF) in getVariantKindForName() 238 .Case("INDNTPOFF", VK_INDNTPOFF) in getVariantKindForName() 239 .Case("indntpoff", VK_INDNTPOFF) in getVariantKindForName() [all …]
|
/external/clang/lib/Basic/ |
D | Targets.cpp | 1449 .Case("i386", CK_i386) in setCPU() 1450 .Case("i486", CK_i486) in setCPU() 1451 .Case("winchip-c6", CK_WinChipC6) in setCPU() 1452 .Case("winchip2", CK_WinChip2) in setCPU() 1453 .Case("c3", CK_C3) in setCPU() 1454 .Case("i586", CK_i586) in setCPU() 1455 .Case("pentium", CK_Pentium) in setCPU() 1456 .Case("pentium-mmx", CK_PentiumMMX) in setCPU() 1457 .Case("i686", CK_i686) in setCPU() 1458 .Case("pentiumpro", CK_PentiumPro) in setCPU() [all …]
|
D | Module.cpp | 56 .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/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMELFObjectWriter.cpp | 103 .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/ |
D | X86AsmParser.cpp | 957 .Case("eq", 0x00) in ParseInstruction() 958 .Case("lt", 0x01) in ParseInstruction() 959 .Case("le", 0x02) in ParseInstruction() 960 .Case("unord", 0x03) in ParseInstruction() 961 .Case("neq", 0x04) in ParseInstruction() 962 .Case("nlt", 0x05) in ParseInstruction() 963 .Case("nle", 0x06) in ParseInstruction() 964 .Case("ord", 0x07) in ParseInstruction() 966 .Case("eq_uq", 0x08) in ParseInstruction() 967 .Case("nge", 0x09) in ParseInstruction() [all …]
|
/external/llvm/lib/MC/MCParser/ |
D | ELFAsmParser.cpp | 157 .Case(".weak", MCSA_Weak) in ParseDirectiveSymbolAttribute() 158 .Case(".local", MCSA_Local) in ParseDirectiveSymbolAttribute() 159 .Case(".hidden", MCSA_Hidden) in ParseDirectiveSymbolAttribute() 160 .Case(".internal", MCSA_Internal) in ParseDirectiveSymbolAttribute() 161 .Case(".protected", MCSA_Protected) in ParseDirectiveSymbolAttribute() 473 .Case("function", MCSA_ELF_TypeFunction) in ParseDirectiveType() 474 .Case("object", MCSA_ELF_TypeObject) in ParseDirectiveType() 475 .Case("tls_object", MCSA_ELF_TypeTLS) in ParseDirectiveType() 476 .Case("common", MCSA_ELF_TypeCommon) in ParseDirectiveType() 477 .Case("notype", MCSA_ELF_TypeNoType) in ParseDirectiveType() [all …]
|
/external/llvm/lib/Target/ARM/AsmParser/ |
D | ARMAsmLexer.cpp | 118 .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()
|
D | ARMAsmParser.cpp | 2442 .Case("r13", ARM::SP) in tryParseRegister() 2443 .Case("r14", ARM::LR) in tryParseRegister() 2444 .Case("r15", ARM::PC) in tryParseRegister() 2445 .Case("ip", ARM::R12) in tryParseRegister() 2447 .Case("a1", ARM::R0) in tryParseRegister() 2448 .Case("a2", ARM::R1) in tryParseRegister() 2449 .Case("a3", ARM::R2) in tryParseRegister() 2450 .Case("a4", ARM::R3) in tryParseRegister() 2451 .Case("v1", ARM::R4) in tryParseRegister() 2452 .Case("v2", ARM::R5) in tryParseRegister() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGStmt.cpp | 981 const SwitchCase *Case, in CollectStatementsForCase() argument 986 return Case ? CSFC_Success : CSFC_FallThrough; in CollectStatementsForCase() 991 if (S == Case) { in CollectStatementsForCase() 998 return CollectStatementsForCase(SC->getSubStmt(), Case, FoundCase, in CollectStatementsForCase() 1004 if (Case == 0 && isa<BreakStmt>(S)) in CollectStatementsForCase() 1013 if (Case) { in CollectStatementsForCase() 1021 for (; Case && I != E; ++I) { in CollectStatementsForCase() 1024 switch (CollectStatementsForCase(*I, Case, FoundCase, ResultStmts)) { in CollectStatementsForCase() 1049 Case = 0; in CollectStatementsForCase() 1080 return Case ? CSFC_Success : CSFC_FallThrough; in CollectStatementsForCase() [all …]
|