Home
last modified time | relevance | path

Searched refs:trivial (Results 1 – 25 of 325) sorted by relevance

12345678910>>...13

/llvm-project/clang/test/SemaObjC/
H A Dnon-trivial-c-union.m4 #include "non-trivial-c-union.h"
6 typedef union { // expected-note 12 {{'U0' has subobjects that are non-trivial to default-initialize}} expected-note 36 {{'U0' has subobjects that are non-trivial to destruct}} expected-note 28 {{'U0' has subobjects that are non-trivial to copy}}
7 id f0; // expected-note 12 {{f0 has type '__strong id' that is non-trivial to default-initialize}} expected-note 36 {{f0 has type '__strong id' that is non-trivial to destruct}} expected-note 28 {{f0 has type '__strong id' that is non-trivial to copy}}
8 __weak id f1; // expected-note 12 {{f1 has type '__weak id' that is non-trivial to default-initialize}} expected-note 36 {{f1 has type '__weak id' that is non-trivial to destruct}} expected-note 28 {{f1 has type '__weak id' that is non-trivial t
[all...]
H A Dwarn-nontrivial-struct-memaccess.m15 …__weak id f1; // expected-note 2 {{non-trivial to default-initialize}} expected-note 2 {{non-trivi…
17 …id f3[10]; // expected-note 2 {{non-trivial to default-initialize}} expected-note 2 {{non-trivial
21 …id f0; // expected-note 2 {{non-trivial to default-initialize}} expected-note 2 {{non-trivial to c…
34 …memset(d, 0, sizeof(struct NonTrivial1)); // expected-warning {{that is not trivial to primitive-d…
36 …bzero(d, sizeof(struct NonTrivial1)); // expected-warning {{that is not trivial to primitive-defau…
37 …memcpy(d, s, sizeof(struct NonTrivial1)); // expected-warning {{that is not trivial to primitive-c…
38 …memmove(d, s, sizeof(struct NonTrivial1)); // expected-warning {{that is not trivial to primitive-…
H A Dstrong-in-c-struct.m11 …callee_variadic("s", t); // expected-error {{cannot pass non-trivial C object of type 'Strong' by …
18 …Strong x; // expected-note {{jump bypasses initialization of variable of non-trivial C struct type…
30 Strong x; // expected-note {{jump exits scope of variable with non-trivial destructor}}
39 …ted-note {{jump enters lifetime of block which captures a C struct that is non-trivial to destroy}}
53 …of variable with non-trivial destructor}} expected-note {{jump exits lifetime of block which captu…
61 … }; // expected-note {{jump enters lifetime of a compound literal that is non-trivial to destruct}}
72 …x }; // expected-note {{jump exits lifetime of a compound literal that is non-trivial to destruct}}
/llvm-project/mlir/test/Dialect/SparseTensor/
H A Dsparse_conv_2d_slice_based.mlir12 // CHECK: "ne_sub<trivial<compressed[0,0]>>.begin"
14 // CHECK: "ne_sub<trivial<compressed[0,0]>>.not_end"
16 // CHECK: %[[D0:.*]] = "ne_sub<trivial<compressed[0,0]>>.deref"
17 // CHECK: "ne_sub<trivial<compressed[0,1]>>.begin"
19 // CHECK: "ne_sub<trivial<compressed[0,1]>>.not_end"
21 // CHECK: %[[D1:.*]] = "ne_sub<trivial<compressed[0,1]>>.deref"
22 // CHECK: "subsect<trivial<compressed[0,0]>>.begin"
24 // CHECK: "subsect<trivial<compressed[0,0]>>.not_end
26 // CHECK: %[[D2:.*]] = "subsect<trivial<compressed[0,0]>>.deref"
27 // CHECK: "trivial<batch[1,0]>.locate"(%{{.*}}, %[[D2]])
[all …]
/llvm-project/llvm/test/tools/llvm-readobj/
H A Darchive.test8 # RUN: yaml2obj --docnum=1 %s -o %t.dir/trivial.obj.elf-x86-64
9 # RUN: yaml2obj --docnum=2 %s -o %t.dir/trivial.obj.elf-i386
10 # RUN: yaml2obj --docnum=3 %s -o %t.dir/trivial.obj.coff-arm
12 # RUN: llvm-ar rc %t.a %t.dir/trivial.obj.elf-x86-64 %t.dir/trivial.obj.elf-i386 %t.dir/trivial.obj…
17 # LLVM-NEXT: File: [[ARFILE]](trivial.obj.elf-x86-64)
30 # GNU-NEXT: File: [[ARFILE]](trivial.obj.elf-x86-64)
37 # LLVM-NEXT: File: [[ARFILE]](trivial.obj.elf-i386)
50 # GNU-NEXT: File: [[ARFILE]](trivial.obj.elf-i386)
57 # LLVM-NEXT: File: [[ARFILE]](trivial.obj.coff-arm)
60 # GNU-NEXT: File: [[ARFILE]](trivial.obj.coff-arm)
[all …]
/llvm-project/clang/test/PCH/
H A Dnon-trivial-c-union.m13 // expected-note@-6 {{'U0' has subobjects that are non-trivial to destruct}}
14 // expected-note@-7 {{'U0' has subobjects that are non-trivial to copy}}
15 // expected-note@-8 {{'U0' has subobjects that are non-trivial to default-initialize}}
16 // expected-note@-8 {{f0 has type '__strong id' that is non-trivial to destruct}}
17 // expected-note@-9 {{f0 has type '__strong id' that is non-trivial to copy}}
18 // expected-note@-10 {{f0 has type '__strong id' that is non-trivial to default-initialize}}
20 … that is non-trivial to destruct}} expected-error {{cannot use type 'U0' for function/method retur…
22 …efault-initialize an object of type 'U0' since it is a union that is non-trivial to default-initia…
/llvm-project/clang/test/AST/HLSL/
H A DResourceStruct.hlsl
/llvm-project/llvm/test/tools/llvm-readobj/COFF/Inputs/
H A Dtrivial.ll1 ; Input used for generating checked-in binaries (trivial.obj.*)
2 ; llc -mtriple=i386-pc-win32 trivial.ll -filetype=obj -o trivial.obj.coff-i386
3 ; llc -mtriple=x86_64-pc-win32 trivial.ll -filetype=obj -o trivial.obj.coff-x86-64
/llvm-project/llvm/test/tools/llvm-readobj/MachO/Inputs/
H A Dtrivial.ll1 ; Input used for generating checked-in binaries (trivial.obj.*)
2 ; llc -mtriple=i386-apple-darwin10 trivial.ll -filetype=obj -o trivial.obj.macho-i386 -relocation-m…
3 ; llc -mtriple=x86_64-apple-darwin10 trivial.ll -filetype=obj -o trivial.obj.macho-x86-64 -relocati…
/llvm-project/llvm/test/Transforms/GlobalOpt/
H A Dresolve-static-ifunc.ll2 ; RUN: opt --passes=globalopt -o - -S < %s | FileCheck %s --implicit-check-not=trivial\.ifunc --imp…
7 @trivial.ifunc = internal ifunc void (), ptr @trivial.resolver
20 define ptr @trivial.resolver() {
21 ret ptr @trivial._Msimd
23 define void @trivial._Msimd() {
26 define void @trivial.default() {
31 @dead_ifunc.ifunc = internal ifunc void (), ptr @trivial.resolver
112 ; CHECK-NEXT: call void @trivial._Msimd()
122 call void @trivial.ifunc()
/llvm-project/llvm/test/Object/
H A Darchive-symtab.test114 # CORRUPT-NEXT: mbin in trivial-object-test.elf-x86-64
115 # CORRUPT-NEXT: foo in trivial-object-test2.elf-x86-64
116 # CORRUPT-NEXT: main in trivial-object-test2.elf-x86-64
149 # RUN: llvm-ar --format=bsd rcsU %t.a %p/Inputs/trivial-object-test.macho-x86-64 %p/Inputs/trivial-…
153 …LD=784 llvm-ar --format=darwin rcsU %t.a %p/Inputs/trivial-object-test.macho-x86-64 %p/Inputs/triv…
158 …LD=785 llvm-ar --format=darwin rcsU %t.a %p/Inputs/trivial-object-test.macho-x86-64 %p/Inputs/triv…
163 # MACHO-NEXT: _main in trivial-object-test.macho-x86-64
164 # MACHO-NEXT: _foo in trivial-object-test2.macho-x86-64
165 # MACHO-NEXT: _main in trivial-object-test2.macho-x86-64
168 # MACHO: trivial-object-test.macho-x86-64
[all …]
H A Dnm-archive.test4 COFF: trivial-object-test.coff-i386:
15 COFF-o: {{.*}}/archive-test.a-coff-i386:trivial-object-test.coff-i386: 00000000 d .data
16 COFF-o: {{.*}}/archive-test.a-coff-i386:trivial-object-test.coff-i386: 00000000 t .text
17 COFF-o: {{.*}}/archive-test.a-coff-i386:trivial-object-test.coff-i386: 00000000 d L_.str
18 COFF-o: {{.*}}/archive-test.a-coff-i386:trivial-object-test.coff-i386: U _SomeOtherFunction
19 COFF-o: {{.*}}/archive-test.a-coff-i386:trivial-object-test.coff-i386: 00000000 T _main
20 COFF-o: {{.*}}/archive-test.a-coff-i386:trivial-object-test.coff-i386: U _puts
61 CORRUPT: corrupt-archive.a(trivial-object-test2.elf-x86-64): Insufficient alignment
H A Dobjdump-relocations.test1 # RUN: llvm-objdump -r %p/Inputs/trivial-object-test.coff-i386 \
3 # RUN: llvm-objdump -r %p/Inputs/trivial-object-test.coff-x86-64 \
76 # RUN: llvm-objdump -r %p/Inputs/trivial-object-test.elf-hexagon \
78 # RUN: llvm-objdump -r %p/Inputs/trivial-object-test.elf-mips64el \
80 # RUN: llvm-objdump -r %p/Inputs/trivial-object-test.elf-mipsel \
82 # RUN: llvm-objdump -r %p/Inputs/trivial-object-test.wasm \
/llvm-project/clang/test/Analysis/Checkers/WebKit/
H A Duncounted-local-vars.cpp66 bar->trivial(); in foo5()
121 RefCountable *bar = foo->trivial() ? foo.get() : nullptr; in foo2()
158 guardian = o.trivial() ? o : *bar; in foo()
225 a->trivial(); in foo()
227 b->trivial(); in foo()
230 c->trivial();
232 d->trivial(); in bar()
235 e->trivial(); in bar()
304 if (b->trivial())
/llvm-project/llvm/test/tools/llvm-readobj/ELF/
H A Dbasic.test3 # RUN: yaml2obj %s -o %t.trivial.obj.elf-x86-64
4 # RUN: llvm-readobj %t.trivial.obj.elf-x86-64 | FileCheck --check-prefix=HEADER %s
5 # RUN: llvm-readelf %t.trivial.obj.elf-x86-64 | FileCheck --check-prefix=NO-OUTPUT --allow-empty %s
7 # HEADER: File: {{.*}}trivial.obj.elf-x86-64
/llvm-project/clang/docs/
H A DLibASTImporter.rst147 `-DefinitionData pass_in_registers standard_layout trivially_copyable trivial literal
148 |-DefaultConstructor exists trivial needs_implicit
149 |-CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param
150 |-MoveConstructor exists simple trivial needs_implicit
151 |-CopyAssignment trivial has_const_param needs_implicit implicit_has_const_param
152 |-MoveAssignment exists simple trivial needs_implicit
153 `-Destructor simple irrelevant trivial needs_implicit
174 |-DefinitionData pass_in_registers standard_layout trivially_copyable trivial literal
175 | |-DefaultConstructor exists trivial needs_implicit
176 | |-CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param
[all …]
/llvm-project/llvm/test/Transforms/SimpleLoopUnswitch/
H A Doptions.ll1 ; RUN: opt -passes='simple-loop-unswitch<no-trivial>' -S < %s | FileCheck %s --check-prefix=NOTRIVI…
3 ; RUN: opt -passes='simple-loop-unswitch<trivial>' -S < %s | FileCheck %s --check-prefix=TRIVIAL
14 br i1 %cond1, label %continue, label %loop_exit ; first trivial condition
18 br i1 %cond2, label %do_something, label %loop_exit ; second trivial condition
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dunused-local-non-trivial-variable.rst1 .. title:: clang-tidy - bugprone-unused-local-non-trivial-variable
3 bugprone-unused-local-non-trivial-variable
6 Warns when a local non trivial variable is unused within a function.
9 * trivial and trivially copyable
17 This check can be configured to warn on all non-trivial variables by setting
/llvm-project/clang/test/CodeGenCXX/
H A Dattr-loader-uninitialized.cpp16 class trivial class
22 trivial ut [[clang::loader_uninitialized]];
37 templ<trivial> templ_trivial [[clang::loader_uninitialized]];
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/modernize/
H A Dmin-max-use-initializer-list.rst25 performance degradation for non-trivial types due to the need to copy objects
29 non-trivial types:
45 A boolean specifying whether to ignore non-trivial types. Default is `true`.
49 An integer specifying the size (in bytes) above which trivial types are
/llvm-project/llvm/test/tools/llvm-readobj/wasm/Inputs/
H A Dtrivial.ll1 ; Input used for generating checked-in binaries (trivial.obj.*)
2 ; llc -mtriple=wasm32-unknown-unknown trivial.ll -filetype=obj -o trivial.obj.wasm
/llvm-project/clang/test/Sema/
H A Dattr-loader-uninitialized.cpp51 struct trivial {}; struct
53 trivial default_ok __attribute__((loader_uninitialized));
54 trivial value_rejected __attribute__((loader_uninitialized)) {};
/llvm-project/llvm/test/tools/llvm-objdump/Inputs/
H A Dtrivial.ll1 ; Input used for generating checked-in binaries (trivial.obj.*)
2 ; llc -mtriple=wasm32-unknown-unknown trivial.ll -filetype=obj -o trivial.obj.wasm
/llvm-project/llvm/test/Object/Inputs/
H A Dtrivial.ll1 ; Input used for generating checked-in binaries (trivial-object-test.*)
2 ; llc -mtriple=wasm32-unknown-unknown trivial.ll -filetype=obj -o trivial-object-test.wasm
/llvm-project/llvm/test/tools/llvm-objdump/wasm/
H A Dwasm.txt1 # RUN: llvm-objdump -h %p/Inputs/trivial.obj.wasm | FileCheck %s
13 # RUN: llvm-objdump -p %p/Inputs/trivial.obj.wasm | FileCheck %s --check-prefix CHECK-HEADER
18 # RUN: llvm-objdump -s --section=CODE %p/Inputs/trivial.obj.wasm | FileCheck %s --check-prefix CHEC…

12345678910>>...13