Home
last modified time | relevance | path

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

12345678910>>...29

/llvm-project/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
/llvm-project/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/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/llvm/test/Transforms/InstCombine/
H A Dshl-factor.ll14 %diff = add i6 %xs, %ys
15 ret i6 %diff
26 %diff = add nsw <2 x i4> %xs, %ys
27 ret <2 x i4> %diff
38 %diff = add nuw i64 %xs, %ys
39 ret i64 %diff
53 %diff = add nsw i8 %xs, %ys
54 ret i8 %diff
68 %diff = add nsw nuw i8 %xs, %ys
69 ret i8 %diff
[all...]
/llvm-project/clang/tools/clang-diff/
H A DClangDiff.cpp248 static std::string getChangeKindAbbr(diff::ChangeKind Kind) { in getChangeKindAbbr()
250 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()
266 static unsigned printHtmlForNode(raw_ostream &OS, const diff::ASTDiff &Diff, in printHtmlForNode()
267 diff::SyntaxTree &Tree, bool IsLeft, in printHtmlForNode()
268 diff::NodeId Id, unsigned Offset) { in printHtmlForNode()
[all …]
/llvm-project/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/lld/test/COFF/
H A Dlinkrepro.test18 # RUN: diff %t.obj repro/%:t.obj
19 # RUN: diff %p/Inputs/std32.lib repro/%:p/Inputs/std32.lib
26 # RUN: diff %t.obj repro2/%:t.obj
27 # RUN: diff %p/Inputs/std32.lib repro2/%:p/Inputs/std32.lib
36 # RUN: diff %t.obj repro/%:t.obj
37 # RUN: diff %p/Inputs/std32.lib repro/%:p/Inputs/std32.lib
48 # RUN: diff %t.obj repro/%:t.obj
49 # RUN: diff %t.order repro/%:t.order
50 # RUN: diff %t.def repro/%:t.def
51 # RUN: diff
[all...]
/llvm-project/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
29 ; RUN: diff %t-specify.txt %t-detect.txt
34 ; RUN: diff %t-specify.txt %t-detect.txt
39 ; RUN: diff %t-specify.txt %t-detect.txt
44 ; RUN: diff %t-specify.txt %t-detect.txt
49 ; RUN: diff %t-specify.txt %t-detect.txt
54 ; RUN: diff %t-specify.txt %t-detect.txt
59 ; RUN: diff
[all...]
/llvm-project/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
66 temps/test.%.xx.diff: temps/test.%.ref.out temps/test.%.xx.out
67 $(Verb) diff $^ > $@ || true
68 .PRECIOUS: temps/test.%.xy.diff
69 temps/test.%.xy.diff: temps/test.%.ref.out temps/test.%.xy.out
70 $(Verb) diff $^ > $@ || true
71 .PRECIOUS: temps/test.%.yx.diff
72 temps/test.%.yx.diff: temps/test.%.ref.out temps/test.%.yx.out
[all …]
/llvm-project/libc/src/__support/FPUtil/
H A Dnearest_integer.h46 float diff = x - r; in nearest_integer()
50 if (LIBC_UNLIKELY(diff > 0.5f)) in nearest_integer()
52 if (LIBC_UNLIKELY(diff < -0.5f)) in nearest_integer()
62 double diff = x - r;
66 if (LIBC_UNLIKELY(diff > 0.5))
68 if (LIBC_UNLIKELY(diff < -0.5))
33 float diff = x - r; nearest_integer() local
49 double diff = x - r; nearest_integer() local
/llvm-project/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/llvm/test/tools/UpdateTestChecks/update_test_checks/
H A Dvarious_ir_values_dbgrecords.test3 # RUN: diff -u %t.ll %S/Inputs/various_ir_values_dbgrecords.ll.expected
6 # RUN: diff -u %t.ll %S/Inputs/various_ir_values_dbgrecords.ll.expected
9 # RUN: diff -u %t.ll %S/Inputs/various_ir_values_dbgrecords.ll.funcsig.expected
15 # RUN: diff -u %t.ll %S/Inputs/various_ir_values_dbgrecords.ll.funcsig.expected
18 # RUN: diff -u %t.ll %S/Inputs/various_ir_values_dbgrecords.ll.funcsig.globals.expected
20 # RUN: diff -u %t.ll %S/Inputs/various_ir_values_dbgrecords.ll.funcsig.globals.expected
22 # RUN: diff -u %t.ll %S/Inputs/various_ir_values_dbgrecords.ll.funcsig.noglobals.expected
24 # RUN: diff -u %t.ll %S/Inputs/various_ir_values_dbgrecords.ll.funcsig.transitiveglobals.expected
H A Dvarious_ir_values.test3 # RUN: diff -u %t.ll %S/Inputs/various_ir_values.ll.expected
6 # RUN: diff -u %t.ll %S/Inputs/various_ir_values.ll.expected
9 # RUN: diff -u %t.ll %S/Inputs/various_ir_values.ll.funcsig.expected
15 # RUN: diff -u %t.ll %S/Inputs/various_ir_values.ll.funcsig.expected
18 # RUN: diff -u %t.ll %S/Inputs/various_ir_values.ll.funcsig.globals.expected
20 # RUN: diff -u %t.ll %S/Inputs/various_ir_values.ll.funcsig.globals.expected
22 # RUN: diff -u %t.ll %S/Inputs/various_ir_values.ll.funcsig.noglobals.expected
24 # RUN: diff -u %t.ll %S/Inputs/various_ir_values.ll.funcsig.transitiveglobals.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
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
/llvm-project/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
43 %diff = sub i32 %v1, %v2
44 ret i32 %diff
/llvm-project/llvm/docs/CommandGuide/
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/clang/test/utils/update_cc_test_checks/
H A Dgenerated-funcs.test4 # RUN: diff -u %S/Inputs/generated-funcs.c.generated.expected %t-generated.c
6 # RUN: diff -u %S/Inputs/generated-funcs.c.no-generated.expected %t-no-generated.c
10 # RUN: diff -u %S/Inputs/generated-funcs.c.generated.expected %t-generated.c
12 # RUN: diff -u %S/Inputs/generated-funcs.c.no-generated.expected %t-no-generated.c
16 # RUN: diff -u %S/Inputs/generated-funcs.c.generated.all.expected %t-generated.c
18 # RUN: diff -u %S/Inputs/generated-funcs.c.no-generated.all.expected %t-no-generated.c
22 # RUN: diff -u %S/Inputs/generated-funcs.c.generated.all.expected %t-generated.c
24 # RUN: diff -u %S/Inputs/generated-funcs.c.no-generated.all.expected %t-no-generated.c
H A Dmangled_names.test4 # RUN: diff -u %t.c %S/Inputs/mangled_names.c.expected
7 # RUN: diff -u %t.c %S/Inputs/mangled_names.c.expected
10 # RUN: diff -u %t.c %S/Inputs/mangled_names.c.funcsig.expected
13 # RUN: diff -u %t.c %S/Inputs/mangled_names.c.funcsig.expected
18 # RUN: diff -u %t-no-args.c %S/Inputs/mangled_names.c.expected
21 # RUN: diff -u %t.c %S/Inputs/mangled_names.c.funcsig.v2.expected
26 # RUN: diff -u %t.c %S/Inputs/mangled_names.c.v2.expected
/llvm-project/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/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/libcxx/test/std/time/time.clock/time.clock.file/
H A Dto_from_sys.pass.cpp46 auto diff = sys_now - std::chrono::file_clock::to_sys(file_now); in main() local
47 assert(std::chrono::milliseconds(-500) < diff && diff < std::chrono::milliseconds(500)); in main()
50 auto diff = std::chrono::file_clock::from_sys(sys_now) - file_now; in main() local
51 assert(std::chrono::milliseconds(-500) < diff && diff < std::chrono::milliseconds(500)); in main()

12345678910>>...29