/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | StringSwitch.h | 94 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/ |
D | LowerSwitch.cpp | 83 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/ |
D | StringSwitch.h | 107 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/clang/lib/Frontend/ |
D | FrontendOptions.cpp | 16 .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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LowerSwitch.cpp | 103 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/clang/lib/ARCMigrate/ |
D | TransProtectedScope.cpp | 57 SmallVectorImpl<CaseInfo> &Cases; member in __anon76355cc10111::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 __anon76355cc10111::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-7.0/llvm/utils/TableGen/ |
D | DAGISelMatcherOpt.cpp | 391 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 …]
|
D | DAGISelMatcher.h | 459 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/ |
D | DAGISelMatcherOpt.cpp | 381 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 …]
|
D | DAGISelMatcher.cpp | 88 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()
|
D | DAGISelMatcher.h | 459 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/ |
D | Job.cpp | 44 .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/ |
D | FuzzerTraceState.cpp | 189 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/grpc-grpc/tools/http2_interop/ |
D | testsuite.go | 34 allCaseInfos.Cases = append(allCaseInfos.Cases, &caseInfo{ 51 Cases []*caseInfo `json:"cases"` member
|
/external/clang/lib/Lex/ |
D | PPDirectives.cpp | 178 .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/llvm/include/llvm/ADT/ |
D | StringSwitch.h | 91 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/ |
D | casing.txt | 25 Cases { 33 Cases { 41 Cases { 66 Cases {
|
/external/llvm/tools/llvm-cov/ |
D | llvm-cov.cpp | 74 .Cases("-h", "-help", "--help", helpMain) in main() 75 .Cases("-version", "--version", versionMain) in main()
|
/external/angle/third_party/spirv-tools/src/test/opt/ |
D | utils_test.cpp | 25 TEST(JoinAllInsts, Cases) { in TEST() argument 33 TEST(JoinNonDebugInsts, Cases) { in TEST() argument
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | utils_test.cpp | 25 TEST(JoinAllInsts, Cases) { in TEST() argument 33 TEST(JoinNonDebugInsts, Cases) { in TEST() argument
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/ |
D | llvm-cov.cpp | 76 .Cases("-h", "-help", "--help", helpMain) in main() 77 .Cases("-version", "--version", versionMain) in main()
|
/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | utils_test.cpp | 25 TEST(JoinAllInsts, Cases) { in TEST() argument 33 TEST(JoinNonDebugInsts, Cases) { in TEST() argument
|
/external/llvm/test/CodeGen/Mips/compactbranches/ |
D | beqc-bnec-register-constraint.ll | 4 ; 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/test/Transforms/LowerSwitch/ |
D | fold-popular-case-to-unreachable-default.ll | 4 ; Cases 2 and 4 are removed and become the new default case. 35 ; Cases 6 and INT64_MAX become the new default, but we still exploit the fact 92 ; Cases 2 and 4 are removed and we are left with no cases.
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LowerSwitch/ |
D | fold-popular-case-to-unreachable-default.ll | 4 ; Cases 2 and 4 are removed and become the new default case. 35 ; Cases 6 and INT64_MAX become the new default, but we still exploit the fact 92 ; Cases 2 and 4 are removed and we are left with no cases.
|