/llvm-project/pstl/test/support/ |
H A D | utils.h | 818 template <typename Op, typename... Rest> 820 operator()(bool is_allow, Op op, Rest&&... rest) 823 op(std::forward<Rest>(rest)...); 829 template <typename Op, typename... Rest> 831 operator()(bool, Op op, Rest&&... rest) 833 op(std::forward<Rest>(rest)...); 928 template <typename Policy, typename Op, typename Iterator, typename Size, typename... Rest> 930 operator()(Policy&& exec, Op op, Iterator begin, Size n, Rest&&... rest) 933 std::forward<Rest>(rest)...); 936 template <typename Policy, typename Op, typename Iterator, typename... Rest> [all …]
|
/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_symbolizer_test.cpp | 21 const char *rest; in TEST() local 23 rest = ExtractToken("a;b;c", ";", &token); in TEST() 25 EXPECT_STREQ("b;c", rest); in TEST() 28 rest = ExtractToken("aaa-bbb.ccc", ";.-*", &token); in TEST() 30 EXPECT_STREQ("bbb.ccc", rest); in TEST() 36 const char *rest = ExtractInt("123,456;789", ";,", &token); in TEST() local 38 EXPECT_STREQ("456;789", rest); in TEST() 43 const char *rest = ExtractUptr("123,456;789", ";,", &token); in TEST() local 45 EXPECT_STREQ("456;789", rest); in TEST() 50 const char *rest = in TEST() local [all …]
|
/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_symbolizer_mac.cpp | 121 const char *rest = trim; in ParseCommandOutput() local 123 rest = ExtractTokenUpToDelimiter(rest, " (in ", &symbol_name); in ParseCommandOutput() 124 if (rest[0] == '\0') { in ParseCommandOutput() 134 rest = ExtractTokenUpToDelimiter(rest, ") ", out_module); in ParseCommandOutput() 136 if (rest[0] == '(') { in ParseCommandOutput() 138 rest++; in ParseCommandOutput() 139 rest = ExtractTokenUpToDelimiter(rest, " in ParseCommandOutput() [all...] |
/llvm-project/clang/include/clang/AST/ |
H A D | DeclContextInternals.h | 60 NewTail = &Node->Rest; in erase_if() 61 List = Node->Rest; in erase_if() 66 List = N->Rest; in erase_if() 70 // want to keep (if any) will be of the form DeclListNode(D, <rest>); in erase_if() 115 List = ToDealloc->Rest; in MaybeDeallocList() 200 Node->Rest = DeclsAsList; in replaceExternalDecls() 211 Node->Rest = DeclsAsList; in replaceExternalDecls() 240 Node->Rest = D; in addOrReplaceDecl() 250 N = N->Rest.dyn_cast<DeclListNode *>()) { in addOrReplaceDecl() 255 if (auto *ND = N->Rest in addOrReplaceDecl() [all...] |
/llvm-project/clang/include/clang/Tooling/Refactoring/ |
H A D | RefactoringActionRulesInternal.h | 29 void ignoreError(Expected<FirstT> &First, Expected<RestT> &... Rest) { in ignoreError() argument 32 ignoreError(Rest...); in ignoreError() 38 llvm::Error findError(Expected<FirstT> &First, Expected<RestT> &... Rest) { in findError() argument 40 ignoreError(Rest...); in findError() 43 return findError(Rest...); in findError() 72 const FirstT &First, const RestT &... Rest) { in visitRefactoringOptionsImpl() 83 return visitRefactoringOptionsImpl(Visitor, Rest...); in visitRefactoringOptionsImpl() 96 template <typename Base, typename First, typename... Rest> 98 HasBaseOf<Base, Rest...>::value, 106 template <typename Base, typename First, typename... Rest> [all …]
|
/llvm-project/lldb/source/Host/linux/ |
H A D | Host.cpp | 95 llvm::StringRef Rest = BufferOrError.get()->getBuffer(); in GetStatusInfo() 96 if (Rest.empty()) in GetStatusInfo() 100 Rest.data(), in GetStatusInfo() 182 Rest = BufferOrError.get()->getBuffer(); in GetStatusInfo() 183 if (Rest.empty()) in GetStatusInfo() 186 while (!Rest.empty()) { in GetStatusInfo() 188 std::tie(Line, Rest) = Rest.split('\n'); in GetStatusInfo() 259 llvm::StringRef Arg0, Rest; in GetProcessArgs() 260 std::tie(Arg0, Rest) in GetProcessArgs() 97 llvm::StringRef Rest = BufferOrError.get()->getBuffer(); GetStatusInfo() local 261 llvm::StringRef Arg0, Rest; GetProcessArgs() local 305 llvm::StringRef Rest = Environ->getBuffer(); GetProcessEnviron() local [all...] |
/llvm-project/clang/test/CXX/temp/temp.decls/temp.variadic/ |
H A D | partial-ordering.cpp | 34 template<typename T1, typename T2, typename ...Rest> 35 int &f0(T1, T2, Rest...); 45 template<typename T1, typename T2, typename ...Rest> 46 int &f1(T1, T2, Rest...); 55 template<typename T1, typename T2, typename ...Rest> 56 int &f2(T1, T2, Rest...);
|
/llvm-project/clang/test/CXX/temp/temp.arg/temp.arg.template/ |
H A D | p3-0x.cpp | 5 template <template <class, class...> class TT, class T1, class... Rest> 6 struct eval<TT<T1, Rest...>> { }; 26 template<int I, int J, int ...Rest> struct X0a; 27 template<int ...Rest> struct X0b; 44 template<int I, int J, int ...Rest> struct X1a; 45 template<long I, long ...Rest> struct X1b;
|
/llvm-project/llvm/lib/Support/ |
H A D | regengine.inc | 344 const char *rest; /* start of rest of string */ 345 const char *tail; /* string unmatched by rest of RE */ 395 rest = slow(m, sp, stp, ss, es); 396 assert(rest != NULL); /* it did match */ 397 /* could the rest match the rest? */ 398 tail = slow(m, rest, stop, es, stopst); 402 stp = step_back(m->g, sp, rest, es, stopst); 408 if (slow(m, sp, rest, ssub, esub) != NULL) { 409 const char *dp = dissect(m, sp, rest, ssub, esub); 411 assert(dp == rest); [all …]
|
/llvm-project/clang-tools-extra/clangd/ |
H A D | FileDistance.cpp | 72 llvm::StringRef Rest = Canonical; in FileDistance() local 73 llvm::hash_code Hash = llvm::hash_value(Rest); in FileDistance() 74 for (unsigned I = 0; !Rest.empty(); ++I) { in FileDistance() 75 Rest = parent_path(Rest, llvm::sys::path::Style::posix); in FileDistance() 76 auto NextHash = llvm::hash_value(Rest); in FileDistance() 125 for (llvm::StringRef Rest = Canonical; !Rest.empty(); in distance() local 126 Rest = parent_path(Rest, llvm::sys::path::Style::posix)) { in distance() 127 auto Hash = llvm::hash_value(Rest); in distance()
|
/llvm-project/third-party/benchmark/src/ |
H A D | string_util.h | 32 template <class First, class... Rest> 33 inline std::ostream& StrCatImp(std::ostream& out, First&& f, Rest&&... rest) { in StrCatImp() argument 35 return StrCatImp(out, std::forward<Rest>(rest)...); in StrCatImp()
|
/llvm-project/clang/test/SemaCXX/ |
H A D | discrim-union.cpp | 27 either_impl<Ts...> rest; member 34 constexpr either_impl(select<N>, U &&u) : rest(select<N-1>(), move(u)) {} in either_impl() 39 return decltype(rest)::index(t) + 1; in index() 44 rest.destroy(elem - 1); in destroy() 50 …template<unsigned N> constexpr const decltype(static_cast<const rest_t&>(rest).get(select<N-1>{}))… in get() 51 return rest.get(select<N-1>{});
|
/llvm-project/llvm/test/CodeGen/X86/ |
H A D | bypass-slow-division-tune.ll | 4 …triple=x86_64-unknown-linux-gnu -mcpu=x86-64 < %s | FileCheck -check-prefixes=CHECK,REST,X64 %s 5 …triple=x86_64-unknown-linux-gnu -mcpu=silvermont < %s | FileCheck -check-prefixes=CHECK,REST,SLM %s 6 …triple=x86_64-unknown-linux-gnu -mcpu=skylake < %s | FileCheck -check-prefixes=CHECK,REST,SKL %s 7 …triple=x86_64-unknown-linux-gnu -mcpu=goldmont < %s | FileCheck -check-prefixes=CHECK,REST,GMT %s 8 …triple=x86_64-unknown-linux-gnu -mcpu=gracemont < %s | FileCheck -check-prefixes=CHECK,REST,GMT %s 30 ; REST-LABEL: div32: 31 ; REST: # %bb.0: # %entry 32 ; REST-NEXT: movl %edi, %eax 33 ; REST-NEXT: cltd 34 ; REST-NEXT: idivl %esi [all …]
|
/llvm-project/mlir/utils/spirv/ |
H A D | gen_spirv_dialect.py | 663 # The rest are all enum operands that we represent with op attributes. 837 rest = split[1].split(end, 1) 838 assert len(rest) == 2, ( 842 return rest[0].rstrip(end), rest[1] 862 rest = split[1] 865 while unmatched_start > 0 and index < len(rest): 866 if rest[index:].startswith(end): 871 elif rest[index:].startswith(start): 877 assert index < len(rest), ( [all...] |
/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | Arena.cpp | 203 llvm::StringRef Rest = In; in parseFormula() local 204 auto *Result = parse(*this, Rest); in parseFormula() 206 return llvm::make_error<FormulaParseError>(In, In.size() - Rest.size()); in parseFormula() 207 Rest = Rest.ltrim(); in parseFormula() 208 if (!Rest.empty()) // parse didn't consume all the input in parseFormula() 209 return llvm::make_error<FormulaParseError>(In, In.size() - Rest.size()); in parseFormula()
|
/llvm-project/llvm/lib/IR/ |
H A D | DataLayout.cpp | 467 StringRef Rest = Spec.drop_front(2); in parseSpecifier() 469 // Drop the first ':', then split the rest of the string the usual way. in parseSpecifier() 470 if (!Rest.consume_front(":")) in parseSpecifier() 473 for (StringRef Str : split(Rest, ':')) { in parseSpecifier() 484 // The rest of the specifiers are single-character. in parseSpecifier() 497 StringRef Rest = Spec.drop_front(); in parseSpecifier() 505 if (!Rest.empty()) in parseSpecifier() 512 for (StringRef Str : split(Rest, ':')) { in parseSpecifier() 521 if (Rest.empty()) in parseSpecifier() 524 if (Error Err = parseAlignment(Rest, Alignmen in parseSpecifier() 289 StringRef &Rest = Split.second; // The rest of the string. parseSpecifier() local [all...] |
/llvm-project/llvm/lib/TextAPI/ |
H A D | Utils.cpp | 138 StringRef Name, Rest; in isPrivateLibrary() 139 std::tie(Name, Rest) = in isPrivateLibrary() 143 if (IsSymLink && Rest == "framework") in isPrivateLibrary() 154 return !(Rest.starts_with("framework/") && in isPrivateLibrary() 155 (Rest.ends_with(Name) || Rest.ends_with((Name + ".tbd").str()) || in isPrivateLibrary() 156 (IsSymLink && Rest.ends_with("Current")))); in isPrivateLibrary() 135 StringRef Name, Rest; isPrivateLibrary() local
|
/llvm-project/llvm/test/MC/AMDGPU/ |
H A D | vopc.s | 46 // TODO: Add tests for the rest of v_cmp_*_f32 53 // TODO: Add tests for the rest of v_cmp_*_f64 54 // TODO: Add tests for the rest of the floating-point comparision instructions. 60 // TODO: Add test for the rest of v_cmp_*_i32 66 // TODO: Add tests for the rest of the instructions.
|
/llvm-project/llvm/test/TableGen/ |
H A D | lisp.td | 6 // CHECK-NEXT: list<string> rest = []; 12 // CHECK-NEXT: list<string> rest = ["Dick", "Harry"]; 25 list<string> rest = r;
|
H A D | cond-list.td | 7 list<int> rest = !cond(!empty(!tail(vals)): vals[0], 14 // CHECK-NEXT: list<int> rest = [1, 2, 3]; 20 // CHECK-NEXT: list<int> rest = [4, 5, 6];
|
/llvm-project/llvm/unittests/DebugInfo/CodeView/ |
H A D | TypeIndexDiscoveryTest.cpp | 115 TypeIndex TI, Indices &&... Rest) const { in checkTypeReferencesImpl() 120 std::forward<Indices>(Rest)...); in checkTypeReferencesImpl() 141 template <typename RecType, typename... Rest> 142 void writeFieldListImpl(RecType &&Record, Rest &&... Records) { in writeFieldListImpl() 144 writeFieldListImpl(std::forward<Rest>(Records)...); in writeFieldListImpl() 150 template <typename RecType, typename... Rest> 151 void writeTypeRecordsImpl(RecType &&Record, Rest &&... Records) { in writeTypeRecordsImpl() 153 writeTypeRecordsImpl(std::forward<Rest>(Records)...); in writeTypeRecordsImpl() 159 template <typename RecType, typename... Rest> 160 void writeSymbolRecordsImpl(RecType &&Record, Rest &&... Records) { in writeSymbolRecordsImpl() [all …]
|
/llvm-project/llvm/lib/FileCheck/ |
H A D | FileCheck.cpp | 1539 StringRef Rest = Buffer.drop_front(Prefix.size()); in FindCheckType() local 1542 if (Rest.consume_front(":")) in FindCheckType() 1543 return {Check::CheckComment, Rest}; in FindCheckType() 1550 if (Rest.consume_front(":")) in FindCheckType() 1551 return {Ret, Rest}; in FindCheckType() 1552 if (!Rest.consume_front("{")) in FindCheckType() 1558 Rest = Rest.ltrim(); in FindCheckType() 1559 if (Rest.consume_front("LITERAL")) in FindCheckType() 1562 return {Check::CheckNone, Rest}; in FindCheckType() [all...] |
/llvm-project/clang/utils/analyzer/ |
H A D | SATest.py | 149 if len(args.rest) > 0: 150 if args.rest[0] != "--": 151 parser.error("REST arguments should start with '--'") 152 args.rest = args.rest[1:] 159 sys.exit(docker_run(args, " ".join(args.rest))) 419 "rest",
|
/llvm-project/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
H A D | p5-generic-lambda-1y.cpp | 20 auto NumParams = [](auto Self, auto h, auto ... rest) -> unsigned { in __anonb159e3710202() argument 21 return 1 + Self(Self, rest...); in __anonb159e3710202() 38 auto NumParams = [](auto Self, auto h, auto ... rest) { in __anonb159e3710402() argument 39 return 1 + Self(Self, rest...); in __anonb159e3710402()
|
/llvm-project/.github/workflows/ |
H A D | libcxx-restart-preempted-jobs.yaml | 48 await github.rest.checks.create({ 63 const check_suites = await github.rest.checks.listForSuite({ 89 annotations = await github.rest.checks.listAnnotations({ 150 await github.rest.actions.reRunWorkflowFailedJobs({ 181 const check_suites = await github.rest.checks.listForSuite({ 202 annotations = await github.rest.checks.listAnnotations({ 235 await github.rest.actions.reRunWorkflowFailedJobs({
|