/external/clang/lib/Frontend/ |
FrontendOptions.cpp | 16 .Case("ast", IK_AST) 17 .Case("c", IK_C) 19 .Case("i", IK_PreprocessedC) 20 .Case("ii", IK_PreprocessedCXX) 21 .Case("m", IK_ObjC) 22 .Case("mi", IK_PreprocessedObjC) 24 .Case("mii", IK_PreprocessedObjCXX) 25 .Case("C", IK_CXX) 28 .Case("cl", IK_OpenCL) 29 .Case("cu", IK_CUDA [all...] |
LangStandards.cpp | 22 case lang_unspecified: 25 case lang_##id: return Lang_##id; 34 .Case(name, lang_##id)
|
/external/clang/test/Index/ |
recursive-cxx-member-calls.cpp | 88 template < unsigned N > StringSwitch & Case(const char (&S)[N], 106 .Case("weak", AT_weak) 107 .Case("weakref", AT_weakref) 108 .Case("pure", AT_pure) 109 .Case("mode", AT_mode) 110 .Case("used", AT_used) 111 .Case("alias", AT_alias) 112 .Case("align", AT_aligned) 113 .Case("final", AT_final) 114 .Case("cdecl", AT_cdecl [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
NoReturnFunctionChecker.cpp | 58 .Case("exit", true) 59 .Case("panic", true) 60 .Case("error", true) 61 .Case("Assert", true) 64 .Case("ziperr", true) 65 .Case("assfail", true) 66 .Case("db_error", true) 67 .Case("__assert", true) 68 .Case("__assert_rtn", true) 69 .Case("__assert_fail", true [all...] |
GenericTaintChecker.cpp | 213 .Case("atoi", TaintPropagationRule(0, ReturnValueIndex)) 214 .Case("atol", TaintPropagationRule(0, ReturnValueIndex)) 215 .Case("atoll", TaintPropagationRule(0, ReturnValueIndex)) 216 .Case("getc", TaintPropagationRule(0, ReturnValueIndex)) 217 .Case("fgetc", TaintPropagationRule(0, ReturnValueIndex)) 218 .Case("getc_unlocked", TaintPropagationRule(0, ReturnValueIndex)) 219 .Case("getw", TaintPropagationRule(0, ReturnValueIndex)) 220 .Case("toupper", TaintPropagationRule(0, ReturnValueIndex)) 221 .Case("tolower", TaintPropagationRule(0, ReturnValueIndex)) 222 .Case("strchr", TaintPropagationRule(0, ReturnValueIndex) [all...] |
CheckSecuritySyntaxOnly.cpp | 129 .Case("gets", &WalkAST::checkCall_gets) 130 .Case("getpw", &WalkAST::checkCall_getpw) 131 .Case("mktemp", &WalkAST::checkCall_mktemp) 132 .Case("mkstemp", &WalkAST::checkCall_mkstemp) 133 .Case("mkdtemp", &WalkAST::checkCall_mkstemp) 134 .Case("mkstemps", &WalkAST::checkCall_mkstemp) 137 .Case("drand48", &WalkAST::checkCall_rand) 138 .Case("erand48", &WalkAST::checkCall_rand) 139 .Case("jrand48", &WalkAST::checkCall_rand) 140 .Case("lrand48", &WalkAST::checkCall_rand [all...] |
UnixAPIChecker.cpp | 96 // The frontend should issue a warning for this case, so this is a sanity 105 // The case where 'V' can be a location can only be due to a bad header, 106 // so in this case bail out. 334 .Case("open", &UnixAPIChecker::CheckOpen) 335 .Case("pthread_once", &UnixAPIChecker::CheckPthreadOnce) 336 .Case("calloc", &UnixAPIChecker::CheckCallocZero) 337 .Case("malloc", &UnixAPIChecker::CheckMallocZero) 338 .Case("realloc", &UnixAPIChecker::CheckReallocZero) 340 .Case("valloc", &UnixAPIChecker::CheckVallocZero)
|
/external/clang/lib/Driver/ |
Types.cpp | 78 case TY_Asm: 79 case TY_C: case TY_PP_C: 80 case TY_CL: 81 case TY_CUDA: 82 case TY_ObjC: case TY_PP_ObjC: case TY_PP_ObjC_Alias: 83 case TY_CXX: case TY_PP_CXX [all...] |
ToolChain.cpp | 54 case ObjCRuntime::NeXT: 62 case ObjCRuntime::GNU: 99 .Case("armv3", "arm6") 100 .Case("armv3m", "arm7m") 104 .Case("armv5tej", "arm926ej-s") 106 .Case("armv6j", "arm1136j-s") 108 .Case("armv6t2", "arm1156t2-s") 112 .Case("ep9312", "ep9312") 113 .Case("iwmmxt", "iwmmxt") 114 .Case("xscale", "xscale" [all...] |
/external/clang/lib/Sema/ |
AttributeList.cpp | 110 .Case("address_space", AT_address_space) 111 .Case("align", AT_aligned) // FIXME - should it be "aligned"? 112 .Case("base_check", AT_base_check) 113 .Case("bounded", IgnoredAttribute) // OpenBSD 114 .Case("__const", AT_const) // some GCC headers do contain this spelling 115 .Case("cf_returns_autoreleased", AT_cf_returns_autoreleased) 116 .Case("mode", AT_mode) 117 .Case("vec_type_hint", IgnoredAttribute) 118 .Case("ext_vector_type", AT_ext_vector_type) 119 .Case("neon_vector_type", AT_neon_vector_type [all...] |
/external/llvm/include/llvm/ADT/ |
StringSwitch.h | 32 /// .Case("red", Red) 33 /// .Case("orange", Orange) 34 /// .Case("yellow", Yellow) 35 /// .Case("green", Green) 36 /// .Case("blue", Blue) 37 /// .Case("indigo", Indigo) 55 StringSwitch& Case(const char (&S)[N], const T& Value) { 87 return Case(S0, Value).Case(S1, Value); 93 return Case(S0, Value).Case(S1, Value).Case(S2, Value) [all...] |
/external/clang/lib/Lex/ |
PPMacroExpansion.cpp | 186 // translation unit. In either case, return false. 196 // to disable the optimization in this case. 351 // heap allocations in the common case. 428 // Emit the diagnostic at the macro name in case there is a missing ). 503 // Emit the diagnostic at the macro name in case there is a missing ). 599 .Case("address_sanitizer", LangOpts.AddressSanitizer) 600 .Case("attribute_analyzer_noreturn", true) 601 .Case("attribute_availability", true) 602 .Case("attribute_cf_returns_not_retained", true) 603 .Case("attribute_cf_returns_retained", true [all...] |
/external/llvm/lib/Support/ |
Triple.cpp | 20 case UnknownArch: return "unknown"; 22 case arm: return "arm"; 23 case cellspu: return "cellspu"; 24 case hexagon: return "hexagon"; 25 case mips: return "mips"; 26 case mipsel: return "mipsel"; 27 case mips64: return "mips64"; 28 case mips64el:return "mips64el"; 29 case msp430: return "msp430"; 30 case ppc64: return "powerpc64" [all...] |
/external/llvm/lib/TableGen/ |
TGLexer.cpp | 53 case 0: { 73 case '\n': 74 case '\r': 102 case EOF: return tgtok::Eof; 103 case ':': return tgtok::colon; 104 case ';': return tgtok::semi; 105 case '.': return tgtok::period; 106 case ',': return tgtok::comma; 107 case '<': return tgtok::less; 108 case '>': return tgtok::greater [all...] |
/external/llvm/utils/TableGen/ |
CodeEmitterGen.cpp | 86 std::string &Case, CodeGenTarget &Target) { 131 Case += " // op: " + VarName + "\n" + 134 Case += ", Fixups"; 135 Case += ");\n"; 138 Case += " // op: " + VarName + "\n" + 141 Case += ", Fixups"; 142 Case += ");\n"; 172 Case += " Value |= (op & UINT64_C(" + utostr(opMask) + ")) << " + 175 Case += " Value |= (op & UINT64_C(" + utostr(opMask) + ")) >> " + 178 Case += " Value |= op & UINT64_C(" + utostr(opMask) + ");\n" [all...] |
CodeEmitterGen.h | 43 std::string &Case, CodeGenTarget &Target);
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMELFObjectWriter.cpp | 103 .Case(".data.rel.ro.local", false) 104 .Case(".data.rel", false) 105 .Case(".bss", false) 109 case ELF::R_ARM_ABS32: 111 // In this case, most things that go in .rodata show up 115 .Case(".data.rel.ro.local", false) 116 .Case(".data.rel", false) 117 .Case(".rodata", false) 118 .Case(".bss", false) 127 .Case(".data.rel.ro.local", false [all...] |
/external/llvm/lib/MC/ |
MCExpr.cpp | 33 case MCExpr::Target: 35 case MCExpr::Constant: 39 case MCExpr::SymbolRef: { 73 case MCExpr::Unary: { 76 case MCUnaryExpr::LNot: OS << '!'; break; 77 case MCUnaryExpr::Minus: OS << '-'; break; 78 case MCUnaryExpr::Not: OS << '~'; break; 79 case MCUnaryExpr::Plus: OS << '+'; break; 85 case MCExpr::Binary: { 96 case MCBinaryExpr::Add [all...] |
/external/clang/lib/Basic/ |
Targets.cpp | 231 case llvm::Triple::x86: 232 case llvm::Triple::x86_64: 265 case llvm::Triple::x86: 266 case llvm::Triple::x86_64: 269 case llvm::Triple::mips: 270 case llvm::Triple::mipsel: 271 case llvm::Triple::ppc: 272 case llvm::Triple::ppc64: 275 case llvm::Triple::arm: 378 case llvm::Triple::x86 [all...] |
Module.cpp | 56 .Case("altivec", LangOpts.AltiVec) 57 .Case("blocks", LangOpts.Blocks) 58 .Case("cplusplus", LangOpts.CPlusPlus) 59 .Case("cplusplus11", LangOpts.CPlusPlus0x) 60 .Case("objc", LangOpts.ObjC1) 61 .Case("objc_arc", LangOpts.ObjCAutoRefCount) 62 .Case("opencl", LangOpts.OpenCL) 63 .Case("tls", Target.isTLSSupported())
|
/external/llvm/lib/Target/ARM/AsmParser/ |
ARMAsmLexer.cpp | 70 case 0: 103 case AsmToken::Error: 106 case AsmToken::Identifier: { 118 .Case("r13", ARM::SP) 119 .Case("r14", ARM::LR) 120 .Case("r15", ARM::PC) 121 .Case("ip", ARM::R12)
|
/external/llvm/lib/MC/MCParser/ |
ELFAsmParser.cpp | 157 .Case(".weak", MCSA_Weak) 158 .Case(".local", MCSA_Local) 159 .Case(".hidden", MCSA_Hidden) 160 .Case(".internal", MCSA_Internal) 161 .Case(".protected", MCSA_Protected) 277 case 'a': 280 case 'x': 283 case 'w': 286 case 'M': 289 case 'S' [all...] |
/external/clang/test/SemaTemplate/ |
instantiate-non-type-template-parameter.cpp | 8 void Case(const char (&S)[N], const int & Value) {
|
/external/llvm/lib/Target/X86/AsmParser/ |
X86AsmParser.cpp | 531 case 0: RegNo = X86::ST0; break; 532 case 1: RegNo = X86::ST1; break; 533 case 2: RegNo = X86::ST2; break; 534 case 3: RegNo = X86::ST3; break; 535 case 4: RegNo = X86::ST4; break; 536 case 5: RegNo = X86::ST5; break; 537 case 6: RegNo = X86::ST6; break; 538 case 7: RegNo = X86::ST7; break; 555 case '0': RegNo = X86::DR0; break; 556 case '1': RegNo = X86::DR1; break [all...] |
/external/llvm/lib/Transforms/Utils/ |
LowerExpectIntrinsic.cpp | 76 SwitchInst::CaseIt Case = SI->findCaseValue(ExpectedValue); 79 Vec.resize(n + 1 + 1); // +1 for MDString and +1 for default case 82 Vec[1] = ConstantInt::get(Int32Ty, Case == SI->case_default() ? 85 Vec[i + 1 + 1] = ConstantInt::get(Int32Ty, i == Case.getCaseIndex() ? 128 // branch 0, in other case more likely is branch 1.
|