Home
last modified time | relevance | path

Searched refs:Cases (Results 1 – 25 of 158) sorted by relevance

1234567

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DStringSwitch.h94 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) { in Cases() function
99 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases() function
101 return Case(S0, Value).Cases(S1, S2, Value); in Cases()
105 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases() function
107 return Case(S0, Value).Cases(S1, S2, S3, Value); in Cases()
111 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases() function
113 return Case(S0, Value).Cases(S1, S2, S3, S4, Value); in Cases()
117 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases() function
120 return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value); in Cases()
124 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases() function
[all …]
/external/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp83 unsigned Clusterify(CaseVector &Cases, SwitchInst *SI);
355 unsigned LowerSwitch::Clusterify(CaseVector& Cases, SwitchInst *SI) { in Clusterify() argument
360 Cases.push_back(CaseRange(i.getCaseValue(), i.getCaseValue(), in Clusterify()
363 std::sort(Cases.begin(), Cases.end(), CaseCmp()); in Clusterify()
366 if (Cases.size() >= 2) { in Clusterify()
367 CaseItr I = Cases.begin(); in Clusterify()
368 for (CaseItr J = std::next(I), E = Cases.end(); J != E; ++J) { in Clusterify()
384 Cases.erase(std::next(I), Cases.end()); in Clusterify()
387 for (CaseItr I=Cases.begin(), E=Cases.end(); I!=E; ++I, ++numCmps) { in Clusterify()
414 CaseVector Cases; in processSwitchInst() local
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringSwitch.h107 StringSwitch &Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases() function
114 StringSwitch &Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases() function
116 return Case(S0, Value).Cases(S1, S2, Value); in Cases()
121 StringSwitch &Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases() function
124 return Case(S0, Value).Cases(S1, S2, S3, Value); in Cases()
129 StringSwitch &Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases() function
132 return Case(S0, Value).Cases(S1, S2, S3, S4, Value); in Cases()
138 StringSwitch &Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases() function
142 return Case(S0, Value).Cases(S1, S2, S3, S4, S5, Value); in Cases()
148 StringSwitch &Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases() function
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp103 unsigned Clusterify(CaseVector &Cases, SwitchInst *SI);
367 unsigned LowerSwitch::Clusterify(CaseVector& Cases, SwitchInst *SI) { in Clusterify() argument
372 Cases.push_back(CaseRange(Case.getCaseValue(), Case.getCaseValue(), in Clusterify()
375 llvm::sort(Cases.begin(), Cases.end(), CaseCmp()); in Clusterify()
378 if (Cases.size() >= 2) { in Clusterify()
379 CaseItr I = Cases.begin(); in Clusterify()
380 for (CaseItr J = std::next(I), E = Cases.end(); J != E; ++J) { in Clusterify()
396 Cases.erase(std::next(I), Cases.end()); in Clusterify()
399 for (CaseItr I=Cases.begin(), E=Cases.end(); I!=E; ++I, ++numCmps) { in Clusterify()
434 CaseVector Cases; in processSwitchInst() local
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLowerSwitch.cpp67 unsigned Clusterify(CaseVector& Cases, SwitchInst *SI);
236 unsigned LowerSwitch::Clusterify(CaseVector& Cases, SwitchInst *SI) { in Clusterify() argument
241 Cases.push_back(CaseRange(SI->getSuccessorValue(i), in Clusterify()
244 std::sort(Cases.begin(), Cases.end(), CaseCmp()); in Clusterify()
247 if (Cases.size()>=2) in Clusterify()
248 for (CaseItr I=Cases.begin(), J=llvm::next(Cases.begin()); J!=Cases.end(); ) { in Clusterify()
258 J = Cases.erase(J); in Clusterify()
264 for (CaseItr I=Cases.begin(), E=Cases.end(); I!=E; ++I, ++numCmps) { in Clusterify()
307 CaseVector Cases; in processSwitchInst() local
308 unsigned numCmps = Clusterify(Cases, SI); in processSwitchInst()
[all …]
/external/clang/lib/Frontend/
DFrontendOptions.cpp16 .Cases("ast", "pcm", IK_AST) in getInputKindForExtension()
18 .Cases("S", "s", IK_Asm) in getInputKindForExtension()
24 .Cases("mm", "M", IK_ObjCXX) in getInputKindForExtension()
26 .Cases("C", "cc", "cp", IK_CXX) in getInputKindForExtension()
27 .Cases("cpp", "CPP", "c++", "cxx", "hpp", IK_CXX) in getInputKindForExtension()
30 .Cases("ll", "bc", IK_LLVM_IR) in getInputKindForExtension()
/external/clang/lib/ARCMigrate/
DTransProtectedScope.cpp57 SmallVectorImpl<CaseInfo> &Cases; member in __anonc4b1663f0111::CaseCollector
60 CaseCollector(ParentMap &PMap, SmallVectorImpl<CaseInfo> &Cases) in CaseCollector() argument
61 : PMap(PMap), Cases(Cases) { } in CaseCollector()
80 Cases.push_back(CaseInfo(Curr,SourceRange(Curr->getLocStart(), NextLoc))); in VisitSwitchStmt()
98 SmallVector<CaseInfo, 16> Cases; member in __anonc4b1663f0111::ProtectedScopeFixer
106 CaseCollector(BodyCtx.getParentMap(), Cases) in ProtectedScopeFixer()
149 for (unsigned i = 0; i != Cases.size(); i++) { in handleProtectedNote()
150 CaseInfo &info = Cases[i]; in handleProtectedNote()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DDAGISelMatcherOpt.cpp446 SmallVector<std::pair<const SDNodeInfo*, Matcher*>, 8> Cases; in FactorNodes() local
451 Cases.push_back(std::make_pair(&COM->getOpcode(), COM->getNext())); in FactorNodes()
454 MatcherPtr.reset(new SwitchOpcodeMatcher(&Cases[0], Cases.size())); in FactorNodes()
461 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases; in FactorNodes() local
473 Matcher *PrevMatcher = Cases[Entry-1].second; in FactorNodes()
481 Cases[Entry-1].second = new ScopeMatcher(Entries, 2); in FactorNodes()
485 Entry = Cases.size()+1; in FactorNodes()
486 Cases.push_back(std::make_pair(CTMTy, MatcherWithoutCTM)); in FactorNodes()
489 if (Cases.size() != 1) { in FactorNodes()
490 MatcherPtr.reset(new SwitchTypeMatcher(&Cases[0], Cases.size())); in FactorNodes()
[all …]
DDAGISelMatcher.cpp150 for (unsigned i = 0, e = Cases.size(); i != e; ++i) { in printImpl()
151 OS.indent(indent) << "case " << Cases[i].first->getEnumName() << ":\n"; in printImpl()
152 Cases[i].second->print(OS, indent+2); in printImpl()
165 for (unsigned i = 0, e = Cases.size(); i != e; ++i) { in printImpl()
166 OS.indent(indent) << "case " << getEnumName(Cases[i].first) << ":\n"; in printImpl()
167 Cases[i].second->print(OS, indent+2); in printImpl()
DDAGISelMatcher.h474 SmallVector<std::pair<const SDNodeInfo*, Matcher*>, 8> Cases; variable
478 : Matcher(SwitchOpcode), Cases(cases, cases+numcases) {} in SwitchOpcodeMatcher()
484 unsigned getNumCases() const { return Cases.size(); } in getNumCases()
486 const SDNodeInfo &getCaseOpcode(unsigned i) const { return *Cases[i].first; } in getCaseOpcode()
487 Matcher *getCaseMatcher(unsigned i) { return Cases[i].second; } in getCaseMatcher()
488 const Matcher *getCaseMatcher(unsigned i) const { return Cases[i].second; } in getCaseMatcher()
528 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases; variable
532 : Matcher(SwitchType), Cases(cases, cases+numcases) {} in SwitchTypeMatcher()
538 unsigned getNumCases() const { return Cases.size(); } in getNumCases()
540 MVT::SimpleValueType getCaseType(unsigned i) const { return Cases[i].first; } in getCaseType()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DDAGISelMatcherOpt.cpp391 SmallVector<std::pair<const SDNodeInfo*, Matcher*>, 8> Cases; in FactorNodes() local
396 Cases.push_back(std::make_pair(&COM->getOpcode(), COM->takeNext())); in FactorNodes()
400 MatcherPtr.reset(new SwitchOpcodeMatcher(Cases)); in FactorNodes()
407 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases; in FactorNodes() local
419 Matcher *PrevMatcher = Cases[Entry-1].second; in FactorNodes()
427 Cases[Entry-1].second = new ScopeMatcher(Entries); in FactorNodes()
431 Entry = Cases.size()+1; in FactorNodes()
432 Cases.push_back(std::make_pair(CTMTy, MatcherWithoutCTM)); in FactorNodes()
436 for (auto &M : Cases) { in FactorNodes()
445 if (Cases.size() != 1) { in FactorNodes()
[all …]
DDAGISelMatcher.h459 SmallVector<std::pair<const SDNodeInfo*, Matcher*>, 8> Cases; variable
462 : Matcher(SwitchOpcode), Cases(cases.begin(), cases.end()) {} in SwitchOpcodeMatcher()
469 unsigned getNumCases() const { return Cases.size(); } in getNumCases()
471 const SDNodeInfo &getCaseOpcode(unsigned i) const { return *Cases[i].first; } in getCaseOpcode()
472 Matcher *getCaseMatcher(unsigned i) { return Cases[i].second; } in getCaseMatcher()
473 const Matcher *getCaseMatcher(unsigned i) const { return Cases[i].second; } in getCaseMatcher()
509 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases; variable
512 : Matcher(SwitchType), Cases(cases.begin(), cases.end()) {} in SwitchTypeMatcher()
519 unsigned getNumCases() const { return Cases.size(); } in getNumCases()
521 MVT::SimpleValueType getCaseType(unsigned i) const { return Cases[i].first; } in getCaseType()
[all …]
/external/llvm/utils/TableGen/
DDAGISelMatcherOpt.cpp381 SmallVector<std::pair<const SDNodeInfo*, Matcher*>, 8> Cases; in FactorNodes() local
386 Cases.push_back(std::make_pair(&COM->getOpcode(), COM->takeNext())); in FactorNodes()
390 MatcherPtr.reset(new SwitchOpcodeMatcher(Cases)); in FactorNodes()
397 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases; in FactorNodes() local
409 Matcher *PrevMatcher = Cases[Entry-1].second; in FactorNodes()
419 Cases[Entry-1].second = Case.release(); in FactorNodes()
423 Entry = Cases.size()+1; in FactorNodes()
424 Cases.push_back(std::make_pair(CTMTy, MatcherWithoutCTM)); in FactorNodes()
427 if (Cases.size() != 1) { in FactorNodes()
428 MatcherPtr.reset(new SwitchTypeMatcher(Cases)); in FactorNodes()
[all …]
DDAGISelMatcher.cpp88 for (unsigned i = 0, e = Cases.size(); i != e; ++i) in ~SwitchOpcodeMatcher()
89 delete Cases[i].second; in ~SwitchOpcodeMatcher()
93 for (unsigned i = 0, e = Cases.size(); i != e; ++i) in ~SwitchTypeMatcher()
94 delete Cases[i].second; in ~SwitchTypeMatcher()
165 for (unsigned i = 0, e = Cases.size(); i != e; ++i) { in printImpl()
166 OS.indent(indent) << "case " << Cases[i].first->getEnumName() << ":\n"; in printImpl()
167 Cases[i].second->print(OS, indent+2); in printImpl()
180 for (unsigned i = 0, e = Cases.size(); i != e; ++i) { in printImpl()
181 OS.indent(indent) << "case " << getEnumName(Cases[i].first) << ":\n"; in printImpl()
182 Cases[i].second->print(OS, indent+2); in printImpl()
DDAGISelMatcher.h459 SmallVector<std::pair<const SDNodeInfo*, Matcher*>, 8> Cases; variable
462 : Matcher(SwitchOpcode), Cases(cases.begin(), cases.end()) {} in SwitchOpcodeMatcher()
469 unsigned getNumCases() const { return Cases.size(); } in getNumCases()
471 const SDNodeInfo &getCaseOpcode(unsigned i) const { return *Cases[i].first; } in getCaseOpcode()
472 Matcher *getCaseMatcher(unsigned i) { return Cases[i].second; } in getCaseMatcher()
473 const Matcher *getCaseMatcher(unsigned i) const { return Cases[i].second; } in getCaseMatcher()
509 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases; variable
512 : Matcher(SwitchType), Cases(cases.begin(), cases.end()) {} in SwitchTypeMatcher()
519 unsigned getNumCases() const { return Cases.size(); } in getNumCases()
521 MVT::SimpleValueType getCaseType(unsigned i) const { return Cases[i].first; } in getCaseType()
[all …]
/external/clang/lib/Driver/
DJob.cpp44 .Cases("-MF", "-MT", "-MQ", "-serialize-diagnostic-file", true) in skipArgs()
45 .Cases("-o", "-coverage-file", "-dependency-file", true) in skipArgs()
46 .Cases("-fdebug-compilation-dir", "-idirafter", true) in skipArgs()
47 .Cases("-include", "-include-pch", "-internal-isystem", true) in skipArgs()
48 .Cases("-internal-externc-isystem", "-iprefix", "-iwithprefix", true) in skipArgs()
49 .Cases("-iwithprefixbefore", "-isystem", "-iquote", true) in skipArgs()
50 .Cases("-dwarf-debug-flags", "-ivfsoverlay", true) in skipArgs()
51 .Cases("-header-include-file", "-diagnostic-log-file", true) in skipArgs()
53 .Cases("-isysroot", "-I", "-F", "-resource-dir", !HaveCrashVFS) in skipArgs()
64 .Cases("-M", "-MM", "-MG", "-MP", "-MD", true) in skipArgs()
/external/llvm/lib/Fuzzer/
DFuzzerTraceState.cpp189 size_t NumCases, uint64_t *Cases, dfsan_label L);
196 size_t NumCases, uint64_t *Cases);
359 uint64_t *Cases, dfsan_label L) { in DFSanSwitchCallback() argument
367 TryShort &= IsTwoByteData(Cases[i]); in DFSanSwitchCallback()
371 AddMutation(Pos, ValSize, Cases[i]); in DFSanSwitchCallback()
376 AddMutation(Pos, 2, Cases[i]); in DFSanSwitchCallback()
459 uint64_t *Cases) { in TraceSwitchCallback() argument
464 TryShort &= IsTwoByteData(Cases[i]); in TraceSwitchCallback()
471 TryToAddDesiredData(Val, Cases[i], ValSize); in TraceSwitchCallback()
473 TryToAddDesiredData(Val, Cases[i], 2); in TraceSwitchCallback()
[all …]
/external/clang/lib/Lex/
DPPDirectives.cpp178 .Cases("assert.h", "complex.h", "ctype.h", "errno.h", "fenv.h", true) in warnByDefaultOnWrongCase()
179 .Cases("float.h", "inttypes.h", "iso646.h", "limits.h", "locale.h", true) in warnByDefaultOnWrongCase()
180 .Cases("math.h", "setjmp.h", "signal.h", "stdalign.h", "stdarg.h", true) in warnByDefaultOnWrongCase()
181 .Cases("stdatomic.h", "stdbool.h", "stddef.h", "stdint.h", "stdio.h", true) in warnByDefaultOnWrongCase()
182 .Cases("stdlib.h", "stdnoreturn.h", "string.h", "tgmath.h", "threads.h", true) in warnByDefaultOnWrongCase()
183 .Cases("time.h", "uchar.h", "wchar.h", "wctype.h", true) in warnByDefaultOnWrongCase()
186 .Cases("cassert", "ccomplex", "cctype", "cerrno", "cfenv", true) in warnByDefaultOnWrongCase()
187 .Cases("cfloat", "cinttypes", "ciso646", "climits", "clocale", true) in warnByDefaultOnWrongCase()
188 .Cases("cmath", "csetjmp", "csignal", "cstdalign", "cstdarg", true) in warnByDefaultOnWrongCase()
189 .Cases("cstdbool", "cstddef", "cstdint", "cstdio", "cstdlib", true) in warnByDefaultOnWrongCase()
[all …]
/external/grpc-grpc/tools/http2_interop/
Dtestsuite.go34 allCaseInfos.Cases = append(allCaseInfos.Cases, &caseInfo{
51 Cases []*caseInfo `json:"cases"` member
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DStringSwitch.h85 StringSwitch& Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases() function
91 StringSwitch& Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases() function
97 StringSwitch& Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases() function
104 StringSwitch& Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases() function
/external/llvm/include/llvm/ADT/
DStringSwitch.h91 StringSwitch& Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases() function
104 StringSwitch& Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases() function
118 StringSwitch& Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases() function
134 StringSwitch& Cases(const char (&S0)[N0], const char (&S1)[N1], in Cases() function
/external/icu/icu4c/source/test/testdata/
Dcasing.txt25 Cases {
33 Cases {
41 Cases {
66 Cases {
/external/llvm/test/CodeGen/Mips/compactbranches/
Dbeqc-bnec-register-constraint.ll4 ; Cases where $rs == 0 and $rt != 0 should be transformed into beqzc/bnezc.
5 ; Cases where $rs > $rt can have the operands swapped as ==,!= are commutative.
7 ; Cases where beq & bne where $rs == $rt have to inhibited from being turned
/external/llvm/tools/llvm-cov/
Dllvm-cov.cpp74 .Cases("-h", "-help", "--help", helpMain) in main()
75 .Cases("-version", "--version", versionMain) in main()
/external/deqp-deps/SPIRV-Tools/test/opt/
Dutils_test.cpp25 TEST(JoinAllInsts, Cases) { in TEST() argument
33 TEST(JoinNonDebugInsts, Cases) { in TEST() argument

1234567