Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 25 of 626) sorted by relevance

12345678910>>...26

/llvm-project-15.0.7/llvm/utils/lit/tests/Inputs/shtest-shell/
H A Ddiff-encodings.txt1 # Check that diff falls back to binary mode if it cannot decode a file.
3 # RUN: diff -u diff-in.bin diff-in.bin
4 # RUN: diff -u diff-in.utf16 diff-in.bin && false || true
5 # RUN: diff -u diff-in.utf8 diff-in.bin && false || true
6 # RUN: diff -u diff-in.bin diff-in.utf8 && false || true
8 # RUN: cat diff-in.bin | diff -u - diff-in.bin
9 # RUN: cat diff-in.bin | diff -u diff-in.bin -
10 # RUN: cat diff-in.bin | diff -u diff-in.utf16 - && false || true
11 # RUN: cat diff-in.bin | diff -u diff-in.utf8 - && false || true
12 # RUN: cat diff-in.bin | diff -u - diff-in.utf8 && false || true
H A Ddiff-strip-trailing-cr.txt3 # RUN: diff -u diff-in.dos diff-in.unix && false || true
4 # RUN: diff -u diff-in.unix diff-in.dos && false || true
6 # RUN: diff -u --strip-trailing-cr diff-in.dos diff-in.unix && false || true
7 # RUN: diff -u --strip-trailing-cr diff-in.unix diff-in.dos && false || true
H A Ddiff-pipes.txt5 # RUN: diff %t.foo %t.foo | FileCheck -allow-empty -check-prefix=EMPTY %s
6 # RUN: diff -u %t.foo %t.bar | FileCheck %s && false || true
9 # RUN: cat %t.foo | diff -u - %t.foo
10 # RUN: cat %t.foo | diff -u %t.foo -
11 # RUN: cat %t.bar | diff -u %t.foo - && false || true
12 # RUN: cat %t.bar | diff -u - %t.foo && false || true
15 # RUN: cat %t.foo | diff - %t.foo | FileCheck -allow-empty -check-prefix=EMPTY %s
16 # RUN: cat %t.bar | diff -u %t.foo - | FileCheck %s && false || true
H A Ddiff-unified.txt26 # RUN: diff -u %t.foo %t.bar && false || true
29 # RUN: diff -U 2 %t.foo %t.bar && false || true
30 # RUN: diff -U4 %t.foo %t.bar && false || true
31 # RUN: diff -U0 %t.foo %t.bar && false || true
34 # RUN: diff -U 30.1 %t.foo %t.foo && false || true
35 # RUN: diff -U-1 %t.foo %t.foo && false || true
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dfunction-template-specialization.cpp7 T* next(T* ptr, const U& diff);
10 T* next(T* ptr, const U& diff) { in next() argument
11 return ptr + diff; in next()
14 void test(int *iptr, float *fptr, int diff) { in test() argument
16 iptr = next(iptr, diff); in test()
19 fptr = next(fptr, diff); in test()
23 T* next(T* ptr, const U& diff);
25 void test2(int *iptr, double *dptr, int diff) { in test2() argument
26 iptr = next(iptr, diff); in test2()
29 dptr = next(dptr, diff); in test2()
/llvm-project-15.0.7/llvm/utils/lit/tests/Inputs/shtest-not/
H A Dnot-calls-diff.txt5 # diff fails.
6 # RUN: not diff %t.foo0 %t.bar
7 # RUN: not not not diff %t.foo0 %t.bar
8 # RUN: not not not not not diff %t.foo0 %t.bar
10 # diff succeeds.
11 # RUN: diff %t.foo0 %t.foo1
12 # RUN: not not diff %t.foo0 %t.foo1
13 # RUN: not not not not diff %t.foo0 %t.foo1
15 # diff succeeds but we expect failure.
16 # RUN: not diff %t.foo0 %t.foo1
H A Dnot-calls-diff-with-crash.txt1 # Lit's diff is out-of-process, so check that "not --crash diff" fails because
2 # diff doesn't crash rather than because "not --crash diff" isn't supported.
6 # RUN: not --crash diff -u %t.foo %t.bar
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dshl-factor.ll15 ret i6 %diff
39 ret i64 %diff
54 ret i8 %diff
69 ret i8 %diff
86 ret i8 %diff
98 ret i6 %diff
110 ret i6 %diff
122 ret i6 %diff
134 ret i6 %diff
146 ret i6 %diff
[all …]
/llvm-project-15.0.7/clang/tools/clang-diff/
H A DClangDiff.cpp250 case diff::None: in getChangeKindAbbr()
252 case diff::Delete: in getChangeKindAbbr()
254 case diff::Update: in getChangeKindAbbr()
256 case diff::Insert: in getChangeKindAbbr()
258 case diff::Move: in getChangeKindAbbr()
260 case diff::UpdateMove: in getChangeKindAbbr()
269 const diff::Node &Node = Tree.getNode(Id); in printHtmlForNode()
271 diff::NodeId LeftId, RightId; in printHtmlForNode()
301 if (Node.Change != diff::None) in printHtmlForNode()
305 for (diff::NodeId Child : Node.Children) in printHtmlForNode()
[all …]
/llvm-project-15.0.7/clang/utils/ABITest/layout/
H A DMakefile29 test.%.report: test.%.x.diff test.%.y.diff
42 .PRECIOUS: test.%.x.diff
43 test.%.x.diff: test.%.ref.out test.%.x.out
44 -diff $^ > $@
45 .PRECIOUS: test.%.y.diff
46 test.%.y.diff: test.%.ref.out test.%.y.out
47 -diff $^ > $@
/llvm-project-15.0.7/libc/src/__support/FPUtil/
H A Dnearest_integer.h32 float diff = x - r; in nearest_integer() local
36 if (unlikely(diff > 0.5f)) in nearest_integer()
38 if (unlikely(diff < -0.5f)) in nearest_integer()
48 double diff = x - r; in nearest_integer() local
52 if (unlikely(diff > 0.5)) in nearest_integer()
54 if (unlikely(diff < -0.5)) in nearest_integer()
/llvm-project-15.0.7/lld/test/COFF/
H A Dlinkrepro.test15 # RUN: diff %t.obj repro/%:t.obj
23 # RUN: diff %t.obj repro2/%:t.obj
33 # RUN: diff %t.obj repro/%:t.obj
45 # RUN: diff %t.obj repro/%:t.obj
46 # RUN: diff %t.order repro/%:t.order
47 # RUN: diff %t.def repro/%:t.def
60 # RUN: diff %t.obj repro/%:t.obj
61 # RUN: diff %t.order repro/%:t.order
62 # RUN: diff %t.def repro/%:t.def
89 # RUN: diff %t.obj repro/%:t.obj
[all …]
/llvm-project-15.0.7/llvm/test/Feature/OperandBundles/
H A Dbasic-aa-argmemonly.ll13 %diff = sub i32 %v1, %v2
14 ; CHECK: %diff = sub i32 %v1, %v2
15 ret i32 %diff
16 ; CHECK: ret i32 %diff
25 %diff = sub i32 %v1, %v2
26 ret i32 %diff
47 %diff = sub i32 %v1, %v2
48 ; CHECK: %diff = sub i32 %v1, %v2
49 ret i32 %diff
50 ; CHECK: ret i32 %diff
/llvm-project-15.0.7/clang/utils/ABITest/
H A DMakefile.test.common31 test.%.report: temps/test.%.xx.diff temps/test.%.xy.diff temps/test.%.yx.diff temps/test.%.yy.diff
47 test.%.defs-report: temps/test.%.defs.diff
65 .PRECIOUS: temps/test.%.xx.diff
67 $(Verb) diff $^ > $@ || true
68 .PRECIOUS: temps/test.%.xy.diff
70 $(Verb) diff $^ > $@ || true
71 .PRECIOUS: temps/test.%.yx.diff
73 $(Verb) diff $^ > $@ || true
74 .PRECIOUS: temps/test.%.yy.diff
76 $(Verb) diff $^ > $@ || true
[all …]
/llvm-project-15.0.7/clang/test/Tooling/
H A Dclang-diff-args.test6 RUN: clang-diff -ast-dump -extra-arg=-Da=X %t.cpp -- 2>&1 | FileCheck %s
7 RUN: clang-diff -ast-dump -extra-arg-before=-Da=X %t.cpp -- 2>&1 | FileCheck %s
8 RUN: clang-diff -ast-dump %t.cpp -- 2>&1 -Da=X | FileCheck %s
11 RUN: clang-diff %S/clang-diff-ast.cpp %S/clang-diff-ast.cpp -- 2>&1 -std=c++11 \
/llvm-project-15.0.7/llvm/test/tools/llvm-objdump/ELF/AMDGPU/
H A Dsubtarget.ll12 ; RUN: diff %t-specify.txt %t-detect.txt
17 ; RUN: diff %t-specify.txt %t-detect.txt
22 ; RUN: diff %t-specify.txt %t-detect.txt
27 ; RUN: diff %t-specify.txt %t-detect.txt
33 ; RUN: diff %t-specify.txt %t-detect.txt
38 ; RUN: diff %t-specify.txt %t-detect.txt
43 ; RUN: diff %t-specify.txt %t-detect.txt
48 ; RUN: diff %t-specify.txt %t-detect.txt
53 ; RUN: diff %t-specify.txt %t-detect.txt
58 ; RUN: diff %t-specify.txt %t-detect.txt
[all …]
/llvm-project-15.0.7/llvm/docs/CommandGuide/
H A Dllvm-remark-size-diff.rst1 llvm-remark-size-diff - diff size remarks
4 .. program:: llvm-remark-size-diff
14 :program:`llvm-remark-size-diff` diffs size
18 :program:`llvm-remark-size-diff` can be used to gain insight into which
25 :program:`llvm-remark-size-diff` handles both
70 :program:`llvm-remark-size-diff` will emit a line like below:
104 :program:`llvm-remark-size-diff` will output a high-level summary after
134 :program:`llvm-remark-size-diff` will output JSON as follows.
210 :program:`llvm-remark-size-diff` are responsible for computing the diffs
215 * Instruction count diff: ``INST_COUNT_B - INST_COUNT_A``
[all …]
H A Dllvm-diff.rst1 llvm-diff - LLVM structural 'diff'
4 .. program:: llvm-diff
9 **llvm-diff** [*options*] *module 1* *module 2* [*global name ...*]
14 **llvm-diff** compares the structure of two LLVM modules, primarily
27 **llvm-diff** compares two functions by comparing their basic blocks,
33 **llvm-diff** is intended as a debugging tool for writers of LLVM
39 If **llvm-diff** finds no differences between the modules, it will exit
/llvm-project-15.0.7/libcxx/test/std/time/time.clock/time.clock.file/
H A Dto_from_sys.pass.cpp48 auto diff = sys_now - std::chrono::file_clock::to_sys(file_now); in main() local
49 assert(std::chrono::milliseconds(-500) < diff && diff < std::chrono::milliseconds(500)); in main()
52 auto diff = std::chrono::file_clock::from_sys(sys_now) - file_now; in main() local
53 assert(std::chrono::milliseconds(-500) < diff && diff < std::chrono::milliseconds(500)); in main()
/llvm-project-15.0.7/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/
H A Dx86-filter.test5 # RUN: diff -u %t.ll %S/Inputs/x86-non-temporal.ll.filter.expected
9 # RUN: diff -u %t.ll %S/Inputs/x86-non-temporal.ll.filter.expected
13 # RUN: diff -u %t.ll %S/Inputs/x86-non-temporal.ll.filter-out.expected
17 # RUN: diff -u %t.ll %S/Inputs/x86-non-temporal.ll.filter-out.expected
21 # RUN: diff -u %t.ll %S/Inputs/x86-non-temporal.ll.multifilter.expected
25 # RUN: diff -u %t.ll %S/Inputs/x86-non-temporal.ll.multifilter.expected
29 # RUN: diff -u %t.ll %S/Inputs/x86-non-temporal.ll.nofilter.expected
33 # RUN: diff -u %t.ll %S/Inputs/x86-non-temporal.ll.nofilter.expected
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_sync.cpp123 uptr diff = RoundUp(p, kPageSize) - p; in ResetRange() local
124 if (diff != 0) { in ResetRange()
125 FreeRange(proc, p, diff, reset); in ResetRange()
126 p += diff; in ResetRange()
127 sz -= diff; in ResetRange()
129 diff = p + sz - RoundDown(p + sz, kPageSize); in ResetRange()
130 if (diff != 0) { in ResetRange()
131 FreeRange(proc, p + sz - diff, diff, reset); in ResetRange()
132 sz -= diff; in ResetRange()
249 uptr diff = dst - src; in MoveMemory() local
[all …]
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_sync.cpp134 uptr diff = RoundUp(p, kPageSize) - p; in ResetRange() local
135 if (diff != 0) { in ResetRange()
136 FreeRange(proc, p, diff); in ResetRange()
137 p += diff; in ResetRange()
138 sz -= diff; in ResetRange()
140 diff = p + sz - RoundDown(p + sz, kPageSize); in ResetRange()
141 if (diff != 0) { in ResetRange()
142 FreeRange(proc, p + sz - diff, diff); in ResetRange()
143 sz -= diff; in ResetRange()
239 uptr diff = dst - src; in MoveMemory() local
[all …]
/llvm-project-15.0.7/llvm/test/tools/UpdateTestChecks/update_test_checks/
H A Dgenerated_funcs.test3 # RUN: diff -u %t.ll %S/Inputs/generated_funcs.ll.generated.expected
7 # RUN: diff -u %t.ll %S/Inputs/generated_funcs.ll.generated.expected
10 # RUN: diff -u %t.ll %S/Inputs/generated_funcs.ll.generated.globals.expected
14 # RUN: diff -u %t.ll %S/Inputs/generated_funcs.ll.nogenerated.expected
18 # RUN: diff -u %t.ll %S/Inputs/generated_funcs.ll.nogenerated.expected
21 # RUN: diff -u %t.ll %S/Inputs/generated_funcs.ll.nogenerated.globals.expected
H A Dgenerated_funcs_prefix_reuse.test3 # RUN: diff -u %t.ll %S/Inputs/generated_funcs_prefix_reuse.ll.generated.expected
7 # RUN: diff -u %t.ll %S/Inputs/generated_funcs_prefix_reuse.ll.generated.expected
10 # RUN: diff -u %t.ll %S/Inputs/generated_funcs_prefix_reuse.ll.generated.globals.expected
14 # RUN: diff -u %t.ll %S/Inputs/generated_funcs_prefix_reuse.ll.nogenerated.expected
18 # RUN: diff -u %t.ll %S/Inputs/generated_funcs_prefix_reuse.ll.nogenerated.expected
21 # RUN: diff -u %t.ll %S/Inputs/generated_funcs_prefix_reuse.ll.nogenerated.globals.expected
/llvm-project-15.0.7/clang/test/Modules/
H A Dstress-objc.m5 // RUN: diff %t_c00.pch %t_c00_1.pch
8 // RUN: diff %t_c00.pch %t_c00_2.pch
11 // RUN: diff %t_c00.pch %t_c00_3.pch
14 // RUN: diff %t_c00.pch %t_c00_4.pch
17 // RUN: diff %t_c00.pch %t_c00_5.pch

12345678910>>...26