Home
last modified time | relevance | path

Searched +full:check +full:- +full:next (Results 1 – 25 of 1329) sorted by relevance

12345678910>>...54

/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dhsa-metadata-from-llvm-ir-full.ll1-mtriple=amdgcn-amd-amdhsa -mcpu=gfx700 -filetype=obj -o - < %s | llvm-readobj -elf-output-style=G…
2-mtriple=amdgcn-amd-amdhsa -mcpu=gfx802 -filetype=obj -o - < %s | llvm-readobj -elf-output-style=G…
3-mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -filetype=obj -o - < %s | llvm-readobj -elf-output-style=G…
4 … llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx700 -amdgpu-dump-hsa-metadata -amdgpu-verify-hsa-metadata…
5 … llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx802 -amdgpu-dump-hsa-metadata -amdgpu-verify-hsa-metadata…
6 … llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -amdgpu-dump-hsa-metadata -amdgpu-verify-hsa-metadata…
19 ; CHECK: ---
20 ; CHECK: Version: [ 1, 0 ]
21 ; CHECK: Printf:
22 ; CHECK: - '1:1:4:%d\n'
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Other/
Dopt-O3-pipeline.ll1 ; RUN: opt -mtriple=x86_64-- -O3 -debug-pass=Structure < %s -o /dev/null 2>&1 | FileCheck %s
5 ; CHECK-LABEL: Pass Arguments:
6 ; CHECK-NEXT: Target Transform Information
7 ; CHECK-NEXT: Type-Based Alias Analysis
8 ; CHECK-NEXT: Scoped NoAlias Alias Analysis
9 ; CHECK-NEXT: Assumption Cache Tracker
10 ; CHECK-NEXT: Target Library Information
11 ; CHECK-NEXT: FunctionPass Manager
12 ; CHECK-NEXT: Module Verifier
13 ; CHECK-NEXT: Instrument function entry/exit with calls to e.g. mcount() (pre inlining)
[all …]
Dopt-O2-pipeline.ll1 ; RUN: opt -mtriple=x86_64-- -O2 -debug-pass=Structure < %s -o /dev/null 2>&1 | FileCheck %s
5 ; CHECK-LABEL: Pass Arguments:
6 ; CHECK-NEXT: Target Transform Information
7 ; CHECK-NEXT: Type-Based Alias Analysis
8 ; CHECK-NEXT: Scoped NoAlias Alias Analysis
9 ; CHECK-NEXT: Assumption Cache Tracker
10 ; CHECK-NEXT: Target Library Information
11 ; CHECK-NEXT: FunctionPass Manager
12 ; CHECK-NEXT: Module Verifier
13 ; CHECK-NEXT: Instrument function entry/exit with calls to e.g. mcount() (pre inlining)
[all …]
Dopt-Os-pipeline.ll1 ; RUN: opt -mtriple=x86_64-- -Os -debug-pass=Structure < %s -o /dev/null 2>&1 | FileCheck %s
5 ; CHECK-LABEL: Pass Arguments:
6 ; CHECK-NEXT: Target Transform Information
7 ; CHECK-NEXT: Type-Based Alias Analysis
8 ; CHECK-NEXT: Scoped NoAlias Alias Analysis
9 ; CHECK-NEXT: Assumption Cache Tracker
10 ; CHECK-NEXT: Target Library Information
11 ; CHECK-NEXT: FunctionPass Manager
12 ; CHECK-NEXT: Module Verifier
13 ; CHECK-NEXT: Instrument function entry/exit with calls to e.g. mcount() (pre inlining)
[all …]
/external/clang/test/Analysis/
Dmalloc-plist.c1 // RUN: rm -f %t
2 …: %clang_cc1 -analyze -fblocks -analyzer-checker=core,unix.Malloc -analyzer-output=plist -analyzer
3 // RUN: FileCheck -input-file %t %s
15 in++; // expected-warning {{leak}} in diagnosticTest()
21 A[0] = 0;// expected-warning {{leak}} in myArrayAllocation()
29 return;// expected-warning {{leak}} in reallocDiagnostics()
147 y--; in function_with_leak4()
195 } // expected-warning {{Potential leak of memory}} in testOnlyRefferToVisibleVariables()
206 my_malloc_into_struct(); // expected-warning {{Potential leak of memory}} in testMyMalloc()
209 // CHECK: <key>diagnostics</key>
[all …]
Dplist-output.m1--analyze %s -Xanalyzer -analyzer-checker=osx.cocoa.RetainCount -Xanalyzer -analyzer-config -Xanal…
2 // RUN: FileCheck --input-file=%t.plist %s
70 - (void) test;
74 - (void) test {
77 *p = 0xDEADBEEF; // expected-warning {{deference}}
82 // if the end-of-path node is an implicit statement, it may not have a valid
84 - (void)test2 {
98 *p = 0xDEADBEEF; // expected-warning {{dereference}}
170 - (void)test {
184 RDar13295437_f(sp->i);
[all …]
Dedges-new.mm1 … %clang -target x86_64-apple-darwin10 --analyze -Xclang -analyzer-config -Xclang path-diagnostics-
2 // RUN: FileCheck --input-file %t %s
4 //===----------------------------------------------------------------------===//
6 //===----------------------------------------------------------------------===//
39 - (instancetype) init;
40 - (instancetype)retain;
41 - (void)release;
47 //===----------------------------------------------------------------------===//
49 //===----------------------------------------------------------------------===//
108 //===----------------------------------------------------------------------===//
[all …]
Dplist-macros.cpp1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix -analyzer-eagerly-assume -verify %s
2 …1 -analyze -analyzer-checker=core,unix -analyzer-eagerly-assume -analyzer-output=plist-multi-file
3 // RUN: FileCheck --input-file=%t.plist %s
12 y--; in noteOnMacro()
16 …delete x; // expected-warning {{Memory allocated by malloc() should be deallocated by free(), not … in noteOnMacro()
21 y++; // expected-warning {{Potential leak of memory pointed to by 'x'}} in macroIsFirstInFunction()
30 return *p; // expected-warning {{Dereference of null pointer}} in macroInExpression()
39 return *p; // expected-warning {{Dereference of null pointer}} in macroInExpressionNoNote()
47 return *p; // expected-warning {{Dereference of null pointer}} in macroWithArgInExpression()
56 multiNoteMacroWithError // expected-warning {{Dereference of null pointer}} in useMultiNoteMacroWithError()
[all …]
Dconditional-path-notes.c1 // RUN: %clang --analyze %s -Xanalyzer -analyzer-output=text -Xclang -verify
2 // RUN: %clang --analyze %s -Xanalyzer -analyzer-config -Xanalyzer path-diagnostics-alternate=false…
3 // RUN: FileCheck --input-file=%t %s
7 // expected-note@-1 {{Assuming 'p' is null}} in testCondOp()
8 // expected-note@-2 {{'?' condition is false}} in testCondOp()
9 // expected-note@-3 {{'x' initialized to a null pointer value}} in testCondOp()
10 *x = 1; // expected-warning{{Dereference of null pointer (loaded from variable 'x')}} in testCondOp()
11 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'x')}} in testCondOp()
16 // expected-note@-1 {{Assuming 'p' is null}} in testCondProblem()
17 // expected-note@-2 {{Taking false branch}} in testCondProblem()
[all …]
Dinline-plist.c1 … %clang --analyze %s -fblocks -Xanalyzer -analyzer-output=text -Xanalyzer -analyzer-config -Xanaly…
2--analyze %s -fblocks -Xanalyzer -analyzer-config -Xanalyzer suppress-null-return-paths=false -Xan…
3 // RUN: FileCheck -input-file %t %s
14 // expected-note@-1 {{Assuming 'x' is equal to 0}} in foo()
15 // expected-note@-2 {{Taking false branch}} in foo()
18 return 5/x; // expected-warning{{Division by zero}} expected-note{{Division by zero}} in foo()
23 …*p = 0xDEADBEEF; // expected-warning{{Dereference of null pointer (loaded from variable 'p')}} exp… in has_bug()
28 // expected-note@-1 {{Passing null pointer value via 1st parameter 'p'}} in test_has_bug()
29 // expected-note@-2 {{Calling 'has_bug'}} in test_has_bug()
33 …*p = 0xDEADBEEF; // expected-warning{{Dereference of null pointer (loaded from variable 'p')}} exp… in triggers_bug()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/MachO/
Ddarwin-x86_64-reloc.s1 // RUN: llvm-mc -n -triple x86_64-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -r --expand-re…
3 // These examples are taken from <mach-o/x86_64/reloc.h>.
24 .quad _foo - _bar
25 .quad _foo - _bar + 4
26 .long _foo - _bar
39 .quad _foo - L_pc
40 .quad _foo - L1
42 .quad L1 - _prev
52 // Make sure local label which overlaps with non-local one is assigned to the
60 addl L2_1 - L2_0, %eax
[all …]
Dx86_64-symbols.s1 // RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -t | FileCheck %s
131 // CHECK: Symbols [
132 // CHECK-NEXT: Symbol {
133 // CHECK-NEXT: Name: D0 (139)
134 // CHECK-NEXT: Type: Section (0xE)
135 // CHECK-NEXT: Section: __text (0x1)
136 // CHECK-NEXT: RefType: UndefinedNonLazy (0x0)
137 // CHECK-NEXT: Flags [ (0x0)
138 // CHECK-NEXT: ]
139 // CHECK-NEXT: Value: 0x0
[all …]
/external/llvm/test/MC/MachO/
Ddarwin-x86_64-reloc.s1 // RUN: llvm-mc -n -triple x86_64-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -r --expand-re…
3 // These examples are taken from <mach-o/x86_64/reloc.h>.
24 .quad _foo - _bar
25 .quad _foo - _bar + 4
26 .long _foo - _bar
39 .quad _foo - L_pc
40 .quad _foo - L1
42 .quad L1 - _prev
52 // Make sure local label which overlaps with non-local one is assigned to the
60 addl L2_1 - L2_0, %eax
[all …]
Dx86_64-symbols.s1 // RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -t | FileCheck %s
131 // CHECK: Symbols [
132 // CHECK-NEXT: Symbol {
133 // CHECK-NEXT: Name: D0 (139)
134 // CHECK-NEXT: Type: Section (0xE)
135 // CHECK-NEXT: Section: __text (0x1)
136 // CHECK-NEXT: RefType: UndefinedNonLazy (0x0)
137 // CHECK-NEXT: Flags [ (0x0)
138 // CHECK-NEXT: ]
139 // CHECK-NEXT: Value: 0x0
[all …]
/external/clang/test/Analysis/inlining/
Dpath-notes.cpp1 …_cc1 -analyze -analyzer-checker=core -analyzer-output=text -analyzer-config c++-inlining=destructo…
2-analyze -analyzer-checker=core -analyzer-output=plist-multi-file -analyzer-config c++-inlining=de…
3 // RUN: FileCheck --input-file=%t.plist %s
8 *p = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'p')}} in use()
9 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'p')}} in use()
14 // expected-note@-1 {{Passing null pointer value via 1st parameter 'p'}} in Foo()
15 // expected-note@-2 {{Calling 'Foo::use'}} in Foo()
25 // expected-note@-1 {{Passing null pointer value via 1st parameter 'p'}} in ~Bar()
26 // expected-note@-2 {{Calling constructor for 'Foo'}} in ~Bar()
33 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}} in test()
[all …]
Dpath-notes.c1 // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-output=text -analyzer-config suppress-
2-analyze -analyzer-checker=core -analyzer-output=plist-multi-file -analyzer-config suppress-null-r…
3 // RUN: FileCheck --input-file=%t.plist %s
7 // expected-note@-1 {{Null pointer value stored to 'a'}} in zero()
12 // expected-note@-1 {{Calling 'zero'}} in testZero()
13 // expected-note@-2 {{Returning from 'zero'}} in testZero()
14 *a = 1; // expected-warning{{Dereference of null pointer}} in testZero()
15 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'a')}} in testZero()
20 // expected-note@-1 + {{Assuming 'a' is null}} in testCheck()
21 // expected-note@-2 + {{Taking false branch}} in testCheck()
[all …]
Dpath-notes.m1-analyze -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount -analyzer-output=text -anal…
2-analyze -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount -analyzer-output=plist-mult…
3 // RUN: FileCheck --input-file=%t.plist %s
27 - (id)copyWithZone:(NSZone *)zone;
30 - (id)mutableCopyWithZone:(NSZone *)zone;
33 - (void)encodeWithCoder:(NSCoder *)aCoder;
42 - (id)init;
44 - (id)autorelease;
48 - (NSUInteger)count;
49 - (id)objectAtIndex:(NSUInteger)index;
[all …]
/external/swiftshader/third_party/LLVM/test/MC/ELF/
Dcfi.s1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump --dump-section-data |…
215 // CHECK: # Section 4
216 // CHECK-NEXT: (('sh_name', 0x00000011) # '.eh_frame'
217 // CHECK-NEXT: ('sh_type', 0x00000001)
218 // CHECK-NEXT: ('sh_flags', 0x0000000000000002)
219 // CHECK-NEXT: ('sh_addr', 0x0000000000000000)
220 // CHECK-NEXT: ('sh_offset', 0x0000000000000068)
221 // CHECK-NEXT: ('sh_size', 0x00000000000006c8)
222 // CHECK-NEXT: ('sh_link', 0x00000000)
223 // CHECK-NEXT: ('sh_info', 0x00000000)
[all …]
/external/clang/test/Analysis/diagnostics/
Dundef-value-param.c1 // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-output=text -verify %s
2 …RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-output=plist-multi-file -analyzer-config…
3 // RUN: FileCheck --input-file=%t.plist %s
13 //expected-note@-1{{Assuming 'c' is not equal to 0}} in foo()
14 //expected-note@-2{{Taking true branch}} in foo()
20 int xx; //expected-note {{'xx' declared without an initial value}} in use()
23 //expected-note@-1{{Calling 'foo'}} in use()
24 //expected-note@-2{{Returning from 'foo'}} in use()
26 return xx+3; //expected-warning{{The left operand of '+' is a garbage value}} in use()
27 //expected-note@-1{{The left operand of '+' is a garbage value}} in use()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/dsymutil/X86/
Dbasic-lto-linking-x86.test1 RUN: dsymutil -f -o - -oso-prepend-path=%p/.. %p/../Inputs/basic-lto.macho.x86_64 | llvm-dwarfdump
2 RUN: dsymutil -oso-prepend-path=%p/.. -dump-debug-map %p/../Inputs/basic-lto.macho.x86_64 | dsymuti…
4 CHECK: file format Mach-O 64-bit x86-64
6 CHECK: debug_info contents
8 CHECK: Compile Unit:
10 CHECK: DW_TAG_compile_unit
11 CHECK: DW_AT_producer ("Apple LLVM version 6.0 (clang-600.0.39) (based on LLVM 3.5svn)")
12 CHECK: DW_AT_language (DW_LANG_C99)
13 CHECK: DW_AT_name ("basic1.c")
14 CHECK: DW_AT_stmt_list (0x00000000)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
D2008-10-28-f128-i32.ll2 ; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -o - | FileCheck %s
5 ; CHECK-LABEL: __fixunstfdi:
6 ; CHECK: # %bb.0: # %entry
7 ; CHECK-NEXT: mflr 0
8 ; CHECK-NEXT: stw 0, 4(1)
9 ; CHECK-NEXT: stwu 1, -464(1)
10 ; CHECK-NEXT: mfcr 12
11 ; CHECK-NEXT: stw 29, 412(1) # 4-byte Folded Spill
12 ; CHECK-NEXT: stw 30, 416(1) # 4-byte Folded Spill
13 ; CHECK-NEXT: lis 3, .LCPI0_0@ha
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/MachO/AArch64/
Ddarwin-ARM64-reloc.s1 ; RUN: llvm-mc -n -triple arm64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -r --expand-rel…
24 .quad _foo - _bar
25 .quad _foo - _bar + 4
27 .long _foo - _bar
30 .long _foo@got - .
37 ; CHECK: Relocations [
38 ; CHECK-NEXT: Section __text {
39 ; CHECK-NEXT: Relocation {
40 ; CHECK-NEXT: Offset: 0x24
41 ; CHECK-NEXT: PCRel: 1
[all …]
/external/llvm/test/MC/MachO/AArch64/
Ddarwin-ARM64-reloc.s1 ; RUN: llvm-mc -n -triple arm64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -r --expand-rel…
24 .quad _foo - _bar
25 .quad _foo - _bar + 4
27 .long _foo - _bar
30 .long _foo@got - .
37 ; CHECK: Relocations [
38 ; CHECK-NEXT: Section __text {
39 ; CHECK-NEXT: Relocation {
40 ; CHECK-NEXT: Offset: 0x24
41 ; CHECK-NEXT: PCRel: 1
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-rc/
Dmemoryflags.test1 ; RUN: llvm-rc /FO %t %p/Inputs/memoryflags.rc
2 ; RUN: llvm-readobj %t | FileCheck %s
4 ; CHECK: Resource type (int): 1
5 ; CHECK-NEXT: Resource name (int): 1
6 ; CHECK-NEXT: Data version: 0
7 ; CHECK-NEXT: Memory flags: 0x1050
8 ; CHECK: Resource type (int): 12
9 ; CHECK-NEXT: Resource name (int): 1
10 ; CHECK-NEXT: Data version: 0
11 ; CHECK-NEXT: Memory flags: 0x1050
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
DO3-pipeline.ll1 ; RUN: llc -mtriple=x86_64-- -O3 -debug-pass=Structure < %s -o /dev/null 2>&1 | FileCheck %s
5 ; CHECK-LABEL: Pass Arguments:
6 ; CHECK-NEXT: Target Library Information
7 ; CHECK-NEXT: Target Pass Configuration
8 ; CHECK-NEXT: Machine Module Information
9 ; CHECK-NEXT: Target Transform Information
10 ; CHECK-NEXT: Type-Based Alias Analysis
11 ; CHECK-NEXT: Scoped NoAlias Alias Analysis
12 ; CHECK-NEXT: Assumption Cache Tracker
13 ; CHECK-NEXT: Create Garbage Collector Module Metadata
[all …]

12345678910>>...54