Home
last modified time | relevance | path

Searched refs:StringSwitch (Results 1 – 25 of 206) sorted by relevance

123456789

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DStringSwitch.h43 class StringSwitch {
53 explicit StringSwitch(StringRef S) in StringSwitch() function
57 StringSwitch(const StringSwitch &) = delete;
60 void operator=(const StringSwitch &) = delete;
61 void operator=(StringSwitch &&other) = delete;
63 StringSwitch(StringSwitch &&other) in StringSwitch() function
66 ~StringSwitch() = default;
70 StringSwitch &Case(StringLiteral S, T Value) { in Case()
78 StringSwitch& EndsWith(StringLiteral S, T Value) { in EndsWith()
86 StringSwitch& StartsWith(StringLiteral S, T Value) { in StartsWith()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringSwitch.h43 class StringSwitch {
53 explicit StringSwitch(StringRef S) in StringSwitch() function
57 StringSwitch(const StringSwitch &) = delete;
58 void operator=(const StringSwitch &) = delete;
60 StringSwitch(StringSwitch &&other) { in StringSwitch() function
63 StringSwitch &operator=(StringSwitch &&other) {
69 ~StringSwitch() = default;
74 StringSwitch& Case(const char (&S)[N], const T& Value) { in Case()
85 StringSwitch& EndsWith(const char (&S)[N], const T &Value) { in EndsWith()
96 StringSwitch& StartsWith(const char (&S)[N], const T &Value) { in StartsWith()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DStringSwitch.h42 class StringSwitch {
51 explicit StringSwitch(StringRef Str) in StringSwitch() function
55 StringSwitch& Case(const char (&S)[N], const T& Value) { in Case()
65 StringSwitch& EndsWith(const char (&S)[N], const T &Value) { in EndsWith()
75 StringSwitch& StartsWith(const char (&S)[N], const T &Value) { in StartsWith()
85 StringSwitch& Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases()
91 StringSwitch& Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases()
97 StringSwitch& Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases()
104 StringSwitch& Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases()
/external/llvm/include/llvm/ADT/
DStringSwitch.h43 class StringSwitch {
53 explicit StringSwitch(StringRef S) in StringSwitch() function
58 StringSwitch& Case(const char (&S)[N], const T& Value) { in Case()
69 StringSwitch& EndsWith(const char (&S)[N], const T &Value) { in EndsWith()
80 StringSwitch& StartsWith(const char (&S)[N], const T &Value) { in StartsWith()
91 StringSwitch& Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases()
104 StringSwitch& Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases()
118 StringSwitch& Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases()
134 StringSwitch& Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DStringSwitchTest.cpp17 return llvm::StringSwitch<int>(S) in TEST()
46 return llvm::StringSwitch<int>(S) in TEST()
76 return llvm::StringSwitch<std::function<int(int, int)>>(S) in TEST()
95 return llvm::StringSwitch<std::function<int(int, int)>>(S) in TEST()
120 return llvm::StringSwitch<Suffix>(S) in TEST()
140 return llvm::StringSwitch<Suffix>(S) in TEST()
160 return llvm::StringSwitch<OSType>(S) in TEST()
187 return llvm::StringSwitch<OSType>(S) in TEST()
/external/clang/lib/Basic/
DOpenMPKinds.cpp24 return llvm::StringSwitch<OpenMPDirectiveKind>(Str) in getOpenMPDirectiveKind()
55 return llvm::StringSwitch<OpenMPClauseKind>(Str) in getOpenMPClauseKind()
83 return llvm::StringSwitch<OpenMPDefaultClauseKind>(Str) in getOpenMPSimpleClauseType()
88 return llvm::StringSwitch<OpenMPProcBindClauseKind>(Str) in getOpenMPSimpleClauseType()
93 return llvm::StringSwitch<unsigned>(Str) in getOpenMPSimpleClauseType()
101 return llvm::StringSwitch<OpenMPDependClauseKind>(Str) in getOpenMPSimpleClauseType()
106 return llvm::StringSwitch<OpenMPLinearClauseKind>(Str) in getOpenMPSimpleClauseType()
111 return llvm::StringSwitch<OpenMPMapClauseKind>(Str) in getOpenMPSimpleClauseType()
116 return llvm::StringSwitch<OpenMPDistScheduleClauseKind>(Str) in getOpenMPSimpleClauseType()
121 return llvm::StringSwitch<unsigned>(Str) in getOpenMPSimpleClauseType()
DCuda.cpp56 return llvm::StringSwitch<CudaArch>(S) in StringToCudaArch()
103 return llvm::StringSwitch<CudaVirtualArch>(S) in StringToCudaVirtualArch()
DSanitizers.cpp21 SanitizerMask ParsedKind = llvm::StringSwitch<SanitizerMask>(Value) in parseSanitizerValue()
DTargets.cpp902 bool CPUKnown = llvm::StringSwitch<bool>(Name) in setCPU()
1203 ArchDefineTypes defs = (ArchDefineTypes)llvm::StringSwitch<int>(CPU) in getTargetDefines()
1383 Features["altivec"] = llvm::StringSwitch<bool>(CPU) in initFeatureMap()
1399 Features["crypto"] = llvm::StringSwitch<bool>(CPU) in initFeatureMap()
1404 Features["power8-vector"] = llvm::StringSwitch<bool>(CPU) in initFeatureMap()
1409 Features["bpermd"] = llvm::StringSwitch<bool>(CPU) in initFeatureMap()
1415 Features["extdiv"] = llvm::StringSwitch<bool>(CPU) in initFeatureMap()
1421 Features["direct-move"] = llvm::StringSwitch<bool>(CPU) in initFeatureMap()
1426 Features["vsx"] = llvm::StringSwitch<bool>(CPU) in initFeatureMap()
1440 return llvm::StringSwitch<bool>(Feature) in hasFeature()
[all …]
/external/llvm/lib/Support/
DDwarf.cpp32 return StringSwitch<unsigned>(TagString) in getTag()
276 return StringSwitch<unsigned>(OperationEncodingString) in getOperationEncoding()
293 return StringSwitch<unsigned>(EncodingString) in getAttributeEncoding()
352 return StringSwitch<unsigned>(VirtualityString) in getVirtuality()
371 return StringSwitch<unsigned>(LanguageString) in getLanguage()
399 return StringSwitch<unsigned>(CCString) in getCallingConvention()
476 return StringSwitch<unsigned>(MacinfoString) in getMacinfo()
DTargetParser.cpp184 return StringSwitch<unsigned>(CPU) in getDefaultFPU()
195 return StringSwitch<unsigned>(CPU) in getDefaultExtensions()
413 return StringSwitch<unsigned>(CPU) in getDefaultFPU()
424 return StringSwitch<unsigned>(CPU) in getDefaultExtensions()
544 return StringSwitch<StringRef>(HWDiv) in getHWDivSynonym()
550 return StringSwitch<StringRef>(FPU) in getFPUSynonym()
567 return StringSwitch<StringRef>(Arch) in getArchSynonym()
686 return StringSwitch<unsigned>(Arch) in parseArchISA()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/BinaryFormat/
DDwarf.cpp33 return StringSwitch<unsigned>(TagString) in getTag()
152 return StringSwitch<unsigned>(OperationEncodingString) in getOperationEncoding()
194 return StringSwitch<unsigned>(EncodingString) in getAttributeEncoding()
292 return StringSwitch<unsigned>(VirtualityString) in getVirtuality()
311 return StringSwitch<unsigned>(LanguageString) in getLanguage()
366 return StringSwitch<unsigned>(CCString) in getCallingConvention()
438 return StringSwitch<unsigned>(MacinfoString) in getMacinfo()
/external/clang/test/Index/
Drecursive-cxx-member-calls.cpp83 template < typename T, typename R = T > class StringSwitch { class
87 explicit StringSwitch(StringRef Str) : Str(Str), Result(0) {} in StringSwitch() function in llvm::StringSwitch
88 template < unsigned N > StringSwitch & Case(const char (&S)[N], in Case()
105 return llvm::StringSwitch < AttributeList::Kind > (AttrName) in getKind()
/external/clang/test/SemaTemplate/
Dinstantiate-non-type-template-parameter.cpp6 class StringSwitch { class
14 (void)StringSwitch<int>(); in test_stringswitch()
/external/clang/unittests/Driver/
DMultilibTest.cpp163 ASSERT_TRUE(llvm::StringSwitch<bool>(*I) in TEST()
205 ASSERT_TRUE(llvm::StringSwitch<bool>(I->gccSuffix()) in TEST()
209 ASSERT_TRUE(llvm::StringSwitch<bool>(I->gccSuffix()) in TEST()
216 ASSERT_TRUE(llvm::StringSwitch<bool>(I->gccSuffix()) in TEST()
232 ASSERT_TRUE(llvm::StringSwitch<bool>(I->gccSuffix()) in TEST()
/external/jacoco/org.jacoco.core.test/src-java7/org/jacoco/core/test/filter/
DStringSwitchTest.java15 import org.jacoco.core.test.filter.targets.StringSwitch;
26 super("src-java7", StringSwitch.class); in StringSwitchTest()
/external/clang/lib/StaticAnalyzer/Core/
DAnalyzerOptions.cpp30 UserMode = llvm::StringSwitch<UserModeKind>(ModeStr) in getUserMode()
56 IPAKind IPAConfig = llvm::StringSwitch<IPAKind>(ModeStr) in getIPAMode()
86 MutableMode = llvm::StringSwitch<CXXInlineableMemberKind>(ModeStr) in mayInlineCXXMemberFunction()
136 return llvm::StringSwitch<bool>(V) in getBooleanOption()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DTargetParser.cpp184 return StringSwitch<unsigned>(CPU) in getDefaultFPU()
195 return StringSwitch<unsigned>(CPU) in getDefaultExtensions()
413 return StringSwitch<unsigned>(CPU) in getDefaultFPU()
424 return StringSwitch<unsigned>(CPU) in getDefaultExtensions()
544 return StringSwitch<StringRef>(HWDiv) in getHWDivSynonym()
550 return StringSwitch<StringRef>(FPU) in getFPUSynonym()
567 return StringSwitch<StringRef>(Arch) in getArchSynonym()
687 return StringSwitch<unsigned>(Arch) in parseArchISA()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DTargetParser.cpp183 return StringSwitch<unsigned>(CPU) in getDefaultFPU()
194 return StringSwitch<unsigned>(CPU) in getDefaultExtensions()
415 return StringSwitch<unsigned>(CPU) in getDefaultFPU()
426 return StringSwitch<unsigned>(CPU) in getDefaultExtensions()
440 return StringSwitch<AArch64::ArchKind>(CPU) in getCPUArchKind()
563 return StringSwitch<StringRef>(HWDiv) in getHWDivSynonym()
569 return StringSwitch<StringRef>(FPU) in getFPUSynonym()
586 return StringSwitch<StringRef>(Arch) in getArchSynonym()
722 return StringSwitch<ARM::ISAKind>(Arch) in parseArchISA()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DIntrinsicInst.cpp119 return StringSwitch<RoundingMode>(RoundingArg) in getRoundingMode()
136 return StringSwitch<ExceptionBehavior>(ExceptionArg) in getExceptionBehavior()
/external/llvm/lib/Analysis/
DObjCARCInstKind.cpp92 return StringSwitch<ARCInstKind>(F->getName()) in GetFunctionClass()
105 return StringSwitch<ARCInstKind>(F->getName()) in GetFunctionClass()
130 return StringSwitch<ARCInstKind>(F->getName()) in GetFunctionClass()
147 return StringSwitch<ARCInstKind>(F->getName()) in GetFunctionClass()
155 return StringSwitch<ARCInstKind>(F->getName()) in GetFunctionClass()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DObjCARCInstKind.cpp92 return StringSwitch<ARCInstKind>(F->getName()) in GetFunctionClass()
108 return StringSwitch<ARCInstKind>(F->getName()) in GetFunctionClass()
131 return StringSwitch<ARCInstKind>(F->getName()) in GetFunctionClass()
151 return StringSwitch<ARCInstKind>(F->getName()) in GetFunctionClass()
159 return StringSwitch<ARCInstKind>(F->getName()) in GetFunctionClass()
/external/clang/lib/Frontend/
DCompilerInvocation.cpp161 AnalysisStores Value = llvm::StringSwitch<AnalysisStores>(Name) in ParseAnalyzerArgs()
177 AnalysisConstraints Value = llvm::StringSwitch<AnalysisConstraints>(Name) in ParseAnalyzerArgs()
193 AnalysisDiagClients Value = llvm::StringSwitch<AnalysisDiagClients>(Name) in ParseAnalyzerArgs()
209 AnalysisPurgeMode Value = llvm::StringSwitch<AnalysisPurgeMode>(Name) in ParseAnalyzerArgs()
225 AnalysisInliningMode Value = llvm::StringSwitch<AnalysisInliningMode>(Name) in ParseAnalyzerArgs()
352 llvm::StringSwitch<DiagnosticLevelMask>(Level) in parseDiagnosticLevelMask()
387 unsigned I = llvm::StringSwitch<unsigned>(S) in setPGOInstrumentor()
469 llvm::StringSwitch<unsigned>(A->getValue()) in ParseCodeGenArgs()
481 unsigned Val = llvm::StringSwitch<unsigned>(A->getValue()) in ParseCodeGenArgs()
652 unsigned Model = llvm::StringSwitch<unsigned>(Name) in ParseCodeGenArgs()
[all …]
DFrontendOptions.cpp15 return llvm::StringSwitch<InputKind>(Extension) in getInputKindForExtension()
/external/jacoco/org.jacoco.core.test/src-java7/org/jacoco/core/test/filter/targets/
DStringSwitch.java19 public class StringSwitch { class

123456789