Home
last modified time | relevance | path

Searched refs:replace (Results 1 – 25 of 702) sorted by relevance

12345678910>>...29

/llvm-project-15.0.7/llvm/test/tools/llvm-lipo/
H A Dreplace-invalid-input.test5 # RUN: not llvm-lipo %t-universal.o -replace %t-32.o 2>&1 | FileCheck --check-prefix=MISSING_ARG %s
6 # MISSING_ARG: error: replace is missing an argument: expects -replace arch_type file_name
8 # RUN: not llvm-lipo %t-universal.o -replace i386 %t-32.o 2>&1 | FileCheck --check-prefix=OUTPUT_FI…
9 # OUTPUT_FILE: error: replace expects a single output file to be specified
12 # INPUT_ARGS: error: replace expects a single input file
17 # RUN: not llvm-lipo %t-universal.o -replace i3866 %t-32.o -o %t.o 2>&1 | FileCheck --check-prefix=…
20 # RUN: not llvm-lipo %t-universal.o -replace arm64 %t-32.o -o %t.o 2>&1 | FileCheck --check-prefix=…
24 # ARCH_NOT_IN_INPUT: error: -replace arm64 <file_name> specified but fat file: {{.*}} does not cont…
26 # RUN: not llvm-lipo %t-universal.o -replace i386 %t-32.o -replace arm64 %t-universal.o -o %t.o 2>&…
29 # RUN: not llvm-lipo %t-universal.o -replace i386 %t-32.o -replace i386 %t-32.o -o %t.o 2>&1 | File…
[all …]
/llvm-project-15.0.7/libcxx/docs/Helpers/
H A DStyles.rst33 .. |Not Started| replace:: :notstarted:`Not Started`
34 .. |Nothing To Do| replace:: :nothingtodo:`Nothing To Do`
35 .. |In Progress| replace:: :inprogress:`In Progress`
36 .. |Review| replace:: :inreview:`Review`
37 .. |Partial| replace:: :partial:`Partial`
38 .. |Complete| replace:: :complete:`Complete`
45 .. |chrono| replace:: :chrono:`chrono`
46 .. |format| replace:: :format:`format`
47 .. |ranges| replace:: :ranges:`ranges`
48 .. |spaceship| replace:: :spaceship:`spaceship`
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/
H A Dranges.replace.pass.cpp47 concept HasReplaceR = requires(Range range) { std::ranges::replace(range, 0, 0); };
115 std::ranges::replace(a, a + 4, 3, S{0}, &S::i); in test()
119 std::ranges::replace(a, 3, S{0}, &S::i); in test()
137 auto ret = std::ranges::replace(a, S{1}, S{2}, &S::identity); in test()
145 auto ret = std::ranges::replace(std::begin(a), std::end(a), 1, 2); in test()
150 auto ret = std::ranges::replace(a, 1, 2); in test()
158 auto ret = std::ranges::replace(std::begin(a), std::end(a), '\0', 2ull); in test()
163 auto ret = std::ranges::replace(a, '\0', 2ull); in test()
170 std::ranges::replace(std::array {1, 2, 3, 4}, 1, 1); in test()
178 auto ret = std::ranges::replace(std::begin(a), std::end(a), 1, 2, proj); in test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/
H A Dreplace_filename.pass.cpp35 path replace; in TEST_CASE() local
36 static_assert(noexcept(e.replace_filename(replace)) == false, in TEST_CASE()
39 std::is_same<decltype(e.replace_filename(replace)), void>::value, in TEST_CASE()
44 const path replace("bar.out"); in TEST_CASE() local
48 e.replace_filename(replace); in TEST_CASE()
59 path replace; in TEST_CASE() local
61 static_assert(noexcept(e.replace_filename(replace, ec)) == false, in TEST_CASE()
69 const path replace("bar.out"); in TEST_CASE() local
74 e.replace_filename(replace, ec); in TEST_CASE()
81 const path replace = static_env.NonEmptyFile.filename(); in TEST_CASE() local
[all …]
/llvm-project-15.0.7/polly/lib/Support/
H A DGICHelper.cpp137 static void replace(std::string &str, const std::string &find, in ISL_C_OBJECT_TO_STRING()
138 const std::string &replace) { in ISL_C_OBJECT_TO_STRING()
141 str.replace(pos, find.length(), replace); in ISL_C_OBJECT_TO_STRING()
142 pos += replace.length(); in ISL_C_OBJECT_TO_STRING()
147 replace(str, ".", "_"); in makeIslCompatible()
148 replace(str, "\"", "_"); in makeIslCompatible()
149 replace(str, " ", "__"); in makeIslCompatible()
150 replace(str, "=>", "TO"); in makeIslCompatible()
151 replace(str, "+", "_"); in makeIslCompatible()
/llvm-project-15.0.7/clang/test/utils/update_cc_test_checks/
H A Dreplace-value-regex-across-runs.test1 # Test that --replace-value-regex is applied correctly when multiple RUN lines
4 RUN: cp %S/Inputs/replace-value-regex-across-runs.c %t.c
6 RUN: --replace-value-regex '__omp_offloading_[0-9a-z]+_[0-9a-z]+'
7 RUN: diff -u %S/Inputs/replace-value-regex-across-runs.c.expected %t.c
/llvm-project-15.0.7/lld/test/ELF/lto/
H A Dthinlto-prefix-replace.ll2 ; Check that changing the output path via thinlto-prefix-replace works
9 ; RUN: ld.lld --plugin-opt=thinlto-index-only --plugin-opt=thinlto-prefix-replace="%t/oldpath/;%t/n…
14 ; RUN: ld.lld --thinlto-index-only --thinlto-prefix-replace="%t/oldpath/;%t/newpath/" -shared %t/ol…
17 ; Ensure that lld generates error if prefix replace option does not have 'old;new' format
19 ; RUN: not ld.lld --plugin-opt=thinlto-index-only --plugin-opt=thinlto-prefix-replace=abc:def -shar…
20 ; ERR: --plugin-opt=thinlto-prefix-replace= expects 'old;new' format, but got abc:def
H A Dthinlto-object-suffix-replace.ll2 ;; Test to make sure the thinlto-object-suffix-replace option is handled
20 ; RUN: ld.lld --plugin-opt=thinlto-index-only --plugin-opt=thinlto-object-suffix-replace=".thinlink…
24 ; RUN: ld.lld --thinlto-index-only --thinlto-object-suffix-replace=".thinlink.bc;.o" \
28 ;; Ensure lld generates error if object suffix replace option does not have 'old;new' format
30 ; RUN: not ld.lld --plugin-opt=thinlto-index-only --plugin-opt=thinlto-object-suffix-replace="abc:d…
32 ; ERR1: --plugin-opt=thinlto-object-suffix-replace= expects 'old;new' format, but got abc:def
37 ; RUN: ld.lld --plugin-opt=thinlto-index-only --plugin-opt=thinlto-object-suffix-replace=".abc;.o" …
/llvm-project-15.0.7/mlir/test/mlir-pdll/CodeGen/MLIR/
H A Dexpr.pdll23 // CHECK: replace %[[ROOT]] with(%[[RESULTS]] : !pdl.range<value>)
25 Pattern TestCallWithArgsAndReturn => replace root: Op with TestRewrite(op<test.op>);
33 // CHECK: replace %[[ROOT]] with(%[[RESULTS]] : !pdl.range<value>)
35 Pattern TestExternalCall => replace root: Op with TestRewrite(root);
93 // CHECK: replace %[[FIRST]] with %[[SECOND]]
98 replace tuple.0 with tuple.1;
107 // CHECK: replace %[[FIRST]] with %[[SECOND]]
112 replace tuple.first with tuple.second;
H A Dstmt.pdll31 // CHECK: replace %[[OP]] with(%[[OPERANDS]] : !pdl.range<value>)
32 Pattern ReplaceStmt => replace op<>(operands: ValueRange) with operands;
40 // CHECK: replace %[[OP]] with(%[[OPERANDS]] : !pdl.range<value>)
43 rewrite root with { replace root with operands; };
/llvm-project-15.0.7/clang/tools/scan-build-py/libscanbuild/resources/
H A Dsorttable.js98 this.className = this.className.replace('sorttable_sorted',
111 this.className = this.className.replace('sorttable_sorted_reverse',
126 cell.className = cell.className.replace('sorttable_sorted','');
213 return node.textContent.replace(/^\s+|\s+$/g, '');
216 return node.innerText.replace(/^\s+|\s+$/g, '');
219 return node.text.replace(/^\s+|\s+$/g, '');
225 return node.value.replace(/^\s+|\s+$/g, '');
228 return node.nodeValue.replace(/^\s+|\s+$/g, '');
236 return innerText.replace(/^\s+|\s+$/g, '');
260 aa = parseFloat(a[0].replace(/[^0-9.-]/g,''));
[all …]
/llvm-project-15.0.7/clang/tools/scan-build-py/lib/libscanbuild/resources/
H A Dsorttable.js103 this.className = this.className.replace('sorttable_sorted',
135 cell.className.replace('sorttable_sorted_reverse', '');
136 cell.className = cell.className.replace('sorttable_sorted', '');
228 return node.textContent.replace(/^\s+|\s+$/g, '');
230 return node.innerText.replace(/^\s+|\s+$/g, '');
232 return node.text.replace(/^\s+|\s+$/g, '');
237 return node.value.replace(/^\s+|\s+$/g, '');
240 return node.nodeValue.replace(/^\s+|\s+$/g, '');
248 return innerText.replace(/^\s+|\s+$/g, '');
272 aa = parseFloat(a[0].replace(/[^0-9.-]/g, ''));
[all …]
/llvm-project-15.0.7/clang/tools/scan-build/share/scan-build/
H A Dsorttable.js98 this.className = this.className.replace('sorttable_sorted',
111 this.className = this.className.replace('sorttable_sorted_reverse',
126 cell.className = cell.className.replace('sorttable_sorted','');
213 return node.textContent.replace(/^\s+|\s+$/g, '');
216 return node.innerText.replace(/^\s+|\s+$/g, '');
219 return node.text.replace(/^\s+|\s+$/g, '');
225 return node.value.replace(/^\s+|\s+$/g, '');
228 return node.nodeValue.replace(/^\s+|\s+$/g, '');
236 return innerText.replace(/^\s+|\s+$/g, '');
260 aa = parseFloat(a[0].replace(/[^0-9.-]/g,''));
[all …]
/llvm-project-15.0.7/lld/test/COFF/
H A Dthinlto-prefix-replace.ll2 ; Check that changing the output path via thinlto-prefix-replace works
10 ; RUN: -thinlto-prefix-replace:"%t/oldpath/;%t/newpath/" %t/oldpath/t.obj \
14 ; Ensure that lld errors if prefix replace option is not in 'old;new' format.
17 ; RUN: -thinlto-prefix-replace:"abc:def" %t/oldpath/t.obj \
19 ; ERR: -thinlto-prefix-replace: expects 'old;new' format, but got abc:def
H A Dthinlto-object-suffix-replace.ll3 ; Test to make sure the thinlto-object-suffix-replace option is handled
21 ; RUN: -thinlto-object-suffix-replace:".thinlink.bc;.obj" \
25 ; Ensure lld generates error if suffix replace option not in 'old;new' format.
28 ; RUN: -thinlto-object-suffix-replace:"abc:def" %t1.thinlink.bc \
30 ; ERR1: -thinlto-object-suffix-replace: expects 'old;new' format, but got abc:def
36 ; RUN: -thinlto-object-suffix-replace:".abc;.obj" %t1.thinlink.bc -out:%t3.exe
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvm/
H A DHeaderGuardCheck.cpp47 Guard = Guard.replace(PosLLVMProject, LLVMProject.size(), "/llvm/"); in getHeaderGuard()
54 std::replace(Guard.begin(), Guard.end(), '/', '_'); in getHeaderGuard()
55 std::replace(Guard.begin(), Guard.end(), '.', '_'); in getHeaderGuard()
56 std::replace(Guard.begin(), Guard.end(), '-', '_'); in getHeaderGuard()
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dswitch-phi-const.ll50 ; We should replace 1 with %x
56 ; We should replace 5 with %x
62 ; We should replace 13 with %x
68 ; We should replace 42 with %x
74 ; We must not replace any of the PHI arguments!
139 ; We should replace 1 with %x
145 ; We should replace 5 with %x
151 ; We should replace 13 with %x
157 ; We should replace 42 with %x
163 ; We must not replace any of the PHI arguments! (3898 == 0xf00 + 55)
/llvm-project-15.0.7/flang/test/Semantics/
H A Dtest_symbols.py47 diff1 = diff1.replace(" ", "")
48 diff3 = diff3.replace(" ", "")
56 print(diff_check.replace(" ", ""))
/llvm-project-15.0.7/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/
H A Dpatch-crashlog.py23 self.data = self.data.replace("@EXEC@", self.binary)
24 self.data = self.data.replace("@NAME@", os.path.basename(self.binary))
30 self.data = self.data.replace("@UUID@", m.group(1))
49 self.data = self.data.replace(
/llvm-project-15.0.7/mlir/test/mlir-pdll/Parser/
H A Dstmt-failure.pdll276 // `replace`
281 replace attr<""> with attr<"">;
288 replace op<>;
295 replace op<> with attr<"">;
302 replace op<> with (attr<"">);
309 replace op<>(input: Value) with (input;
316 replace op<>(input: Value) with ();
323 replace op<>(input: Value) with op<>;
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/
H A Dreplace-random-shuffle.rst1 .. title:: clang-tidy - modernize-replace-random-shuffle
3 modernize-replace-random-shuffle
6 …_shuffle`` and replace it with ``std::shuffle``. In C++17 ``std::random_shuffle`` will no longer b…
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DSubElementInterfaces.td42 would replace the very first attribute given by `walkImmediateSubElements`.
56 /// Recursively replace all of the nested sub-attributes and sub-types using the
71 /// Recursively replace all of the nested sub-attributes and sub-types using the
80 /// Recursively replace all of the nested sub-attributes and sub-types using the
98 /// Recursively replace all of the nested sub-attributes using the provided
105 /// Recursively replace all of the nested sub-types using the provided map
/llvm-project-15.0.7/compiler-rt/test/crt/
H A Dlit.cfg.py37 dir = dir.replace('\\', '/')
53 dir = dir.replace('\\', '/')
73 base_lib = base_lib.replace('\\', '/')
/llvm-project-15.0.7/llvm/tools/llvm-config/
H A Dllvm-config.cpp146 std::replace(path.begin(), path.end(), '/', '\\'); in VisitComponent()
402 std::replace(ActiveObjRoot.begin(), ActiveObjRoot.end(), '/', '\\'); in main()
403 std::replace(ActivePrefix.begin(), ActivePrefix.end(), '/', '\\'); in main()
404 std::replace(ActiveBinDir.begin(), ActiveBinDir.end(), '/', '\\'); in main()
405 std::replace(ActiveLibDir.begin(), ActiveLibDir.end(), '/', '\\'); in main()
406 std::replace(ActiveCMakeDir.begin(), ActiveCMakeDir.end(), '/', '\\'); in main()
407 std::replace(ActiveIncludeOption.begin(), ActiveIncludeOption.end(), '/', in main()
444 std::replace(path.begin(), path.end(), '/', '\\'); in main()
559 std::replace(path.begin(), path.end(), '/', '\\'); in main()
/llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/
H A Diter_iter_initializer_list.pass.cpp24 s.replace(s.cbegin() + 3, s.cbegin() + 6, {'a', 'b', 'c'}); in test()
30 s.replace(s.cbegin() + 3, s.cbegin() + 6, {'a', 'b', 'c'}); in test()

12345678910>>...29