/external/clang/lib/Sema/ |
D | AttributeList.cpp | 108 .Case("weak", AT_weak) in getKind() 109 .Case("weakref", AT_weakref) in getKind() 110 .Case("objc_arc_weak_reference_unavailable", AT_arc_weakref_unavailable) in getKind() 111 .Case("pure", AT_pure) in getKind() 112 .Case("mode", AT_mode) in getKind() 113 .Case("used", AT_used) in getKind() 114 .Case("alias", AT_alias) in getKind() 115 .Case("align", AT_aligned) in getKind() 116 .Case("cdecl", AT_cdecl) in getKind() 117 .Case("const", AT_const) in getKind() [all …]
|
/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 | 136 .Case("c", TY_C) in lookupTypeForExtension() 137 .Case("i", TY_PP_C) in lookupTypeForExtension() 138 .Case("m", TY_ObjC) in lookupTypeForExtension() 139 .Case("M", TY_ObjCXX) in lookupTypeForExtension() 140 .Case("h", TY_CHeader) in lookupTypeForExtension() 141 .Case("C", TY_CXX) in lookupTypeForExtension() 142 .Case("H", TY_CXXHeader) in lookupTypeForExtension() 143 .Case("f", TY_PP_Fortran) in lookupTypeForExtension() 144 .Case("F", TY_Fortran) in lookupTypeForExtension() 145 .Case("s", TY_PP_Asm) in lookupTypeForExtension() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | NoReturnFunctionChecker.cpp | 54 .Case("exit", true) in checkPostStmt() 55 .Case("panic", true) in checkPostStmt() 56 .Case("error", true) in checkPostStmt() 57 .Case("Assert", true) in checkPostStmt() 60 .Case("ziperr", true) in checkPostStmt() 61 .Case("assfail", true) in checkPostStmt() 62 .Case("db_error", true) in checkPostStmt() 63 .Case("__assert", true) in checkPostStmt() 64 .Case("__assert_rtn", true) in checkPostStmt() 65 .Case("__assert_fail", true) in checkPostStmt() [all …]
|
D | CheckSecuritySyntaxOnly.cpp | 112 .Case("gets", &WalkAST::checkCall_gets) in VisitCallExpr() 113 .Case("getpw", &WalkAST::checkCall_getpw) in VisitCallExpr() 114 .Case("mktemp", &WalkAST::checkCall_mktemp) in VisitCallExpr() 117 .Case("drand48", &WalkAST::checkCall_rand) in VisitCallExpr() 118 .Case("erand48", &WalkAST::checkCall_rand) in VisitCallExpr() 119 .Case("jrand48", &WalkAST::checkCall_rand) in VisitCallExpr() 120 .Case("lrand48", &WalkAST::checkCall_rand) in VisitCallExpr() 121 .Case("mrand48", &WalkAST::checkCall_rand) in VisitCallExpr() 122 .Case("nrand48", &WalkAST::checkCall_rand) in VisitCallExpr() 123 .Case("lcong48", &WalkAST::checkCall_rand) in VisitCallExpr() [all …]
|
D | UnixAPIChecker.cpp | 241 .Case("open", &UnixAPIChecker::CheckOpen) in checkPreStmt() 242 .Case("pthread_once", &UnixAPIChecker::CheckPthreadOnce) in checkPreStmt() 243 .Case("malloc", &UnixAPIChecker::CheckMallocZero) in checkPreStmt()
|
/external/clang/lib/Lex/ |
D | PPMacroExpansion.cpp | 576 .Case("attribute_analyzer_noreturn", true) in HasFeature() 577 .Case("attribute_availability", true) in HasFeature() 578 .Case("attribute_cf_returns_not_retained", true) in HasFeature() 579 .Case("attribute_cf_returns_retained", true) in HasFeature() 580 .Case("attribute_deprecated_with_message", true) in HasFeature() 581 .Case("attribute_ext_vector_type", true) in HasFeature() 582 .Case("attribute_ns_returns_not_retained", true) in HasFeature() 583 .Case("attribute_ns_returns_retained", true) in HasFeature() 584 .Case("attribute_ns_consumes_self", true) in HasFeature() 585 .Case("attribute_ns_consumed", true) in HasFeature() [all …]
|
D | Lexer.cpp | 551 .Case("include", PDK_Skipped) in ComputePreamble() 552 .Case("__include_macros", PDK_Skipped) in ComputePreamble() 553 .Case("define", PDK_Skipped) in ComputePreamble() 554 .Case("undef", PDK_Skipped) in ComputePreamble() 555 .Case("line", PDK_Skipped) in ComputePreamble() 556 .Case("error", PDK_Skipped) in ComputePreamble() 557 .Case("pragma", PDK_Skipped) in ComputePreamble() 558 .Case("import", PDK_Skipped) in ComputePreamble() 559 .Case("include_next", PDK_Skipped) in ComputePreamble() 560 .Case("warning", PDK_Skipped) in ComputePreamble() [all …]
|
/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()
|
D | CompilerInvocation.cpp | 884 .Case(CMDFLAG, NAME##Model) in ParseAnalyzerArgs() 899 .Case(CMDFLAG, NAME##Model) in ParseAnalyzerArgs() 914 .Case(CMDFLAG, PD_##NAME) in ParseAnalyzerArgs() 1039 .Case("legacy", CodeGenOptions::Legacy) in ParseCodeGenArgs() 1040 .Case("non-legacy", CodeGenOptions::NonLegacy) in ParseCodeGenArgs() 1041 .Case("mixed", CodeGenOptions::Mixed) in ParseCodeGenArgs() 1295 .Case("c", IK_C) in ParseFrontendArgs() 1296 .Case("cl", IK_OpenCL) in ParseFrontendArgs() 1297 .Case("cuda", IK_CUDA) in ParseFrontendArgs() 1298 .Case("c++", IK_CXX) in ParseFrontendArgs() [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/clang/lib/ARCMigrate/ |
D | Transforms.cpp | 38 .Case("NSColorSpace", true) in isClassInWeakBlacklist() 39 .Case("NSFont", true) in isClassInWeakBlacklist() 40 .Case("NSFontPanel", true) in isClassInWeakBlacklist() 41 .Case("NSImage", true) in isClassInWeakBlacklist() 42 .Case("NSLazyBrowserCell", true) in isClassInWeakBlacklist() 43 .Case("NSWindow", true) in isClassInWeakBlacklist() 44 .Case("NSWindowController", true) in isClassInWeakBlacklist() 45 .Case("NSMenuView", true) in isClassInWeakBlacklist() 46 .Case("NSPersistentUIWindowInfo", true) in isClassInWeakBlacklist() 47 .Case("NSTableCellView", true) in isClassInWeakBlacklist() [all …]
|
/external/llvm/utils/TableGen/ |
D | CodeEmitterGen.cpp | 82 std::string &Case, CodeGenTarget &Target) { in AddCodeToMergeInOperand() argument 127 Case += " // op: " + VarName + "\n" + in AddCodeToMergeInOperand() 130 Case += ", Fixups"; in AddCodeToMergeInOperand() 131 Case += ");\n"; in AddCodeToMergeInOperand() 134 Case += " // op: " + VarName + "\n" + in AddCodeToMergeInOperand() 137 Case += ", Fixups"; in AddCodeToMergeInOperand() 138 Case += ");\n"; in AddCodeToMergeInOperand() 168 Case += " Value |= (op & " + utostr(opMask) + "U) << " + in AddCodeToMergeInOperand() 171 Case += " Value |= (op & " + utostr(opMask) + "U) >> " + in AddCodeToMergeInOperand() 174 Case += " Value |= op & " + utostr(opMask) + "U;\n"; in AddCodeToMergeInOperand() [all …]
|
D | TGLexer.cpp | 418 .Case("eq", tgtok::XEq) in LexExclaim() 419 .Case("if", tgtok::XIf) in LexExclaim() 420 .Case("head", tgtok::XHead) in LexExclaim() 421 .Case("tail", tgtok::XTail) in LexExclaim() 422 .Case("con", tgtok::XConcat) in LexExclaim() 423 .Case("shl", tgtok::XSHL) in LexExclaim() 424 .Case("sra", tgtok::XSRA) in LexExclaim() 425 .Case("srl", tgtok::XSRL) in LexExclaim() 426 .Case("cast", tgtok::XCast) in LexExclaim() 427 .Case("empty", tgtok::XEmpty) in LexExclaim() [all …]
|
D | ClangAttrEmitter.cpp | 47 .Case("QualType", "GetType(Record[Idx++])") in ReadPCHRecord() 48 .Case("Expr *", "ReadSubExpr()") in ReadPCHRecord() 49 .Case("IdentifierInfo *", "GetIdentifierInfo(Record, Idx)") in ReadPCHRecord() 58 .Case("QualType", "AddTypeRef(" + std::string(name) + ", Record);\n") in WritePCHRecord() 59 .Case("Expr *", "AddStmt(" + std::string(name) + ");\n") in WritePCHRecord() 60 .Case("IdentifierInfo *", in WritePCHRecord()
|
/external/llvm/lib/MC/ |
D | MCExpr.cpp | 210 .Case("GOT", VK_GOT) in getVariantKindForName() 211 .Case("got", VK_GOT) in getVariantKindForName() 212 .Case("GOTOFF", VK_GOTOFF) in getVariantKindForName() 213 .Case("gotoff", VK_GOTOFF) in getVariantKindForName() 214 .Case("GOTPCREL", VK_GOTPCREL) in getVariantKindForName() 215 .Case("gotpcrel", VK_GOTPCREL) in getVariantKindForName() 216 .Case("GOTTPOFF", VK_GOTTPOFF) in getVariantKindForName() 217 .Case("gottpoff", VK_GOTTPOFF) in getVariantKindForName() 218 .Case("INDNTPOFF", VK_INDNTPOFF) in getVariantKindForName() 219 .Case("indntpoff", VK_INDNTPOFF) in getVariantKindForName() [all …]
|
/external/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 651 .Case("eq", 0) in ParseInstruction() 652 .Case("lt", 1) in ParseInstruction() 653 .Case("le", 2) in ParseInstruction() 654 .Case("unord", 3) in ParseInstruction() 655 .Case("neq", 4) in ParseInstruction() 656 .Case("nlt", 5) in ParseInstruction() 657 .Case("nle", 6) in ParseInstruction() 658 .Case("ord", 7) in ParseInstruction() 659 .Case("eq_uq", 8) in ParseInstruction() 660 .Case("nge", 9) in ParseInstruction() [all …]
|
/external/llvm/lib/Target/ARM/AsmParser/ |
D | ARMAsmParser.cpp | 1074 .Case("r13", ARM::SP) in TryParseRegister() 1075 .Case("r14", ARM::LR) in TryParseRegister() 1076 .Case("r15", ARM::PC) in TryParseRegister() 1077 .Case("ip", ARM::R12) in TryParseRegister() 1100 .Case("lsl", ARM_AM::lsl) in TryParseShiftRegister() 1101 .Case("lsr", ARM_AM::lsr) in TryParseShiftRegister() 1102 .Case("asr", ARM_AM::asr) in TryParseShiftRegister() 1103 .Case("ror", ARM_AM::ror) in TryParseShiftRegister() 1104 .Case("rrx", ARM_AM::rrx) in TryParseShiftRegister() 1371 .Case("sy", ARM_MB::SY) in tryParseMemBarrierOptOperand() [all …]
|
D | ARMAsmLexer.cpp | 134 .Case("r13", ARM::SP) in LexTokenUAL() 135 .Case("r14", ARM::LR) in LexTokenUAL() 136 .Case("r15", ARM::PC) in LexTokenUAL() 137 .Case("ip", ARM::R12) in LexTokenUAL()
|
/external/llvm/test/CodeGen/Blackfin/ |
D | promote-setcc.ll | 12 ; Case (srl (ctlz x), 5) == const 22 ; Case (zext x) == const 29 ; Case (sext x) == const
|
/external/clang/lib/CodeGen/ |
D | CGStmt.cpp | 962 const SwitchCase *Case, in CollectStatementsForCase() argument 967 return Case ? CSFC_Success : CSFC_FallThrough; in CollectStatementsForCase() 972 if (S == Case) { in CollectStatementsForCase() 979 return CollectStatementsForCase(SC->getSubStmt(), Case, FoundCase, in CollectStatementsForCase() 985 if (Case == 0 && isa<BreakStmt>(S)) in CollectStatementsForCase() 994 if (Case) { in CollectStatementsForCase() 1002 for (; Case && I != E; ++I) { in CollectStatementsForCase() 1005 switch (CollectStatementsForCase(*I, Case, FoundCase, ResultStmts)) { in CollectStatementsForCase() 1030 Case = 0; in CollectStatementsForCase() 1061 return Case ? CSFC_Success : CSFC_FallThrough; in CollectStatementsForCase() [all …]
|
/external/llvm/lib/MC/MCParser/ |
D | ELFAsmParser.cpp | 424 .Case("function", MCSA_ELF_TypeFunction) in ParseDirectiveType() 425 .Case("object", MCSA_ELF_TypeObject) in ParseDirectiveType() 426 .Case("tls_object", MCSA_ELF_TypeTLS) in ParseDirectiveType() 427 .Case("common", MCSA_ELF_TypeCommon) in ParseDirectiveType() 428 .Case("notype", MCSA_ELF_TypeNoType) in ParseDirectiveType() 429 .Case("gnu_unique_object", MCSA_ELF_TypeGnuUniqueObject) in ParseDirectiveType()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.h | 131 struct Case { struct 136 Case() : Low(0), High(0), BB(0) { } in Case() argument 137 Case(Constant* low, Constant* high, MachineBasicBlock* bb) : in Case() function 155 typedef std::vector<Case> CaseVector; argument 183 bool operator()(const Case &C1, const Case &C2) { in operator()
|
/external/clang/include/clang/Basic/ |
D | TargetInfo.h | 495 .Case("arm", CXXABI_ARM) in setCXXABI() 496 .Case("itanium", CXXABI_Itanium) in setCXXABI() 497 .Case("microsoft", CXXABI_Microsoft) in setCXXABI()
|
/external/clang/lib/Basic/ |
D | Targets.cpp | 1342 .Case("sse42", SSE42) in HandleTargetFeatures() 1343 .Case("sse41", SSE41) in HandleTargetFeatures() 1344 .Case("ssse3", SSSE3) in HandleTargetFeatures() 1345 .Case("sse3", SSE3) in HandleTargetFeatures() 1346 .Case("sse2", SSE2) in HandleTargetFeatures() 1347 .Case("sse", SSE1) in HandleTargetFeatures() 1353 .Case("3dnowa", AMD3DNowAthlon) in HandleTargetFeatures() 1354 .Case("3dnow", AMD3DNow) in HandleTargetFeatures() 1355 .Case("mmx", MMX) in HandleTargetFeatures() 2047 .Case("ep9312", "4T") in getCPUDefineSuffix() [all …]
|