Home
last modified time | relevance | path

Searched refs:preallocated (Results 1 – 25 of 82) sorted by relevance

1234

/external/llvm-project/llvm/test/Verifier/
Dpreallocated-invalid.ll3 declare token @llvm.call.preallocated.setup(i32)
4 declare i8* @llvm.call.preallocated.arg(token, i32)
5 declare void @llvm.call.preallocated.teardown(token)
11 declare void @foo1(i32* preallocated(i32))
12 declare void @foo2(i32* preallocated(i32), i32*, i32* preallocated(i32))
15 ; CHECK: llvm.call.preallocated.arg must be called with a "preallocated" call site attribute
17 %cs = call token @llvm.call.preallocated.setup(i32 1)
18 %x = call i8* @llvm.call.preallocated.arg(token %cs, i32 0)
20 call void @foo1(i32* preallocated(i32) %y) ["preallocated"(token %cs)]
24 ; CHECK: preallocated as a call site attribute can only be on llvm.call.preallocated.arg
[all …]
Dpreallocated-valid.ll3 declare token @llvm.call.preallocated.setup(i32)
4 declare i8* @llvm.call.preallocated.arg(token, i32)
5 declare void @llvm.call.preallocated.teardown(token)
9 declare void @foo1(i32* preallocated(i32))
10 declare i64 @foo1_i64(i32* preallocated(i32))
11 declare void @foo2(i32* preallocated(i32), i32*, i32* preallocated(i32))
15 define void @preallocated() {
16 %cs = call token @llvm.call.preallocated.setup(i32 1)
17 %x = call i8* @llvm.call.preallocated.arg(token %cs, i32 0) preallocated(i32)
19 call void @foo1(i32* preallocated(i32) %y) ["preallocated"(token %cs)]
[all …]
Dbyref.ll17 ; CHECK: Attributes 'byval', 'byref', 'inalloca', and 'preallocated' do not support unsized types!
23 ; CHECK: Attributes 'byval', 'inalloca', 'preallocated', 'inreg', 'nest', 'byref', and 'sret' are i…
29 ; CHECK: Attributes 'byval', 'inalloca', 'preallocated', 'inreg', 'nest', 'byref', and 'sret' are i…
35 ; CHECK: Attributes 'byval', 'inalloca', 'preallocated', 'inreg', 'nest', 'byref', and 'sret' are i…
37 define void @byref_preallocated(i32* byref(i32) preallocated(i32)) {
41 ; CHECK: Attributes 'byval', 'inalloca', 'preallocated', 'inreg', 'nest', 'byref', and 'sret' are i…
47 ; CHECK: Attributes 'byval', 'inalloca', 'preallocated', 'inreg', 'nest', 'byref', and 'sret' are i…
53 ; CHECK: Attributes 'byval', 'inalloca', 'preallocated', 'inreg', 'nest', 'byref', and 'sret' are i…
59 …est noalias nocapture nonnull readnone readonly byref(i32) byval(i32) preallocated(i32) sret(i32) …
Dalign.ll3 …est noalias nocapture nonnull readnone readonly byref(i32) byval(i32) preallocated(i32) sret(i32) …
9 …def nonnull readnone readonly signext zeroext byref(void) byval(void) preallocated(void) sret(void…
Dbyval-1.ll3 …est noalias nocapture nonnull readnone readonly byref(i32) byval(i32) preallocated(i32) sret(i32) …
Dnoundef.ll3 …def nonnull readnone readonly signext zeroext byref(void) byval(void) preallocated(void) sret(void…
Damdgpu-cc.ll113 ; CHECK: Calling convention disallows preallocated
115 define amdgpu_kernel void @preallocated_as0_cc_amdgpu_kernel(i32* preallocated(i32) %ptr) {
/external/llvm-project/llvm/test/CodeGen/X86/
Dpreallocated.ll3 declare token @llvm.call.preallocated.setup(i32)
4 declare i8* @llvm.call.preallocated.arg(token, i32)
12 declare void @foo_p(%Foo* preallocated(%Foo))
16 %t = call token @llvm.call.preallocated.setup(i32 1)
17 %a = call i8* @llvm.call.preallocated.arg(token %t, i32 0) preallocated(%Foo)
21 call void @foo_p(%Foo* preallocated(%Foo) %b) ["preallocated"(token %t)]
27 %t = call token @llvm.call.preallocated.setup(i32 1)
30 %a = call i8* @llvm.call.preallocated.arg(token %t, i32 0) preallocated(%Foo)
34 call void @foo_p(%Foo* preallocated(%Foo) %b) ["preallocated"(token %t)]
41 %t = call token @llvm.call.preallocated.setup(i32 1)
[all …]
Dpreallocated-x64.ll5 declare token @llvm.call.preallocated.setup(i32)
6 declare i8* @llvm.call.preallocated.arg(token, i32)
10 declare x86_thiscallcc void @f(i32, %Foo* preallocated(%Foo))
13 %t = call token @llvm.call.preallocated.setup(i32 1)
14 %a = call i8* @llvm.call.preallocated.arg(token %t, i32 0) preallocated(%Foo)
16 call void @f(i32 0, %Foo* preallocated(%Foo) %b) ["preallocated"(token %t)]
Dpreallocated-nocall.ll5 declare token @llvm.call.preallocated.setup(i32)
6 declare i8* @llvm.call.preallocated.arg(token, i32)
14 declare void @foo_p(%Foo* preallocated(%Foo))
18 %t = call token @llvm.call.preallocated.setup(i32 1)
19 %a = call i8* @llvm.call.preallocated.arg(token %t, i32 0) preallocated(%Foo)
Dtail-call-mutable-memarg.ll12 define x86_thiscallcc void @preallocated(i32* %this, i32* preallocated(i32) %args) {
20 ; CHECK-LABEL: _preallocated: # @preallocated
Dmusttail-thiscall.ll35 define x86_thiscallcc i8* @t4(i8* %this, <{ i8*, i32 }>* preallocated(<{ i8*, i32 }>) %args) {
39 …%rv = musttail call x86_thiscallcc i8* @t4_callee(i8* %adj, <{ i8*, i32 }>* preallocated(<{ i8*, i…
42 declare x86_thiscallcc i8* @t4_callee(i8* %this, <{ i8*, i32 }>* preallocated(<{ i8*, i32 }>) %args…
Dmusttail-indirect.ll60 …thunk_preallocated(%struct.B* %this, <{ %struct.A, i32, %struct.A }>* preallocated(<{ %struct.A, i…
66 …_thiscallcc i32 %2(%struct.B* %this, <{ %struct.A, i32, %struct.A }>* preallocated(<{ %struct.A, i…
88 …thunk_preallocated(%struct.B* %this, <{ %struct.A, i32, %struct.A }>* preallocated(<{ %struct.A, i…
94 …thiscallcc void %2(%struct.B* %this, <{ %struct.A, i32, %struct.A }>* preallocated(<{ %struct.A, i…
116 …ocated(%struct.B* %this, <{ %struct.A*, %struct.A, i32, %struct.A }>* preallocated(<{ %struct.A*, …
122 ….A* %2(%struct.B* %this, <{ %struct.A*, %struct.A, i32, %struct.A }>* preallocated(<{ %struct.A*, …
159 define x86_stdcallcc i32 @stdcall_thunk_preallocated(<{ %struct.B*, %struct.A }>* preallocated(<{ %…
167 …%3 = musttail call x86_stdcallcc i32 %2(<{ %struct.B*, %struct.A }>* preallocated(<{ %struct.B*, %…
189 …@fastcall_thunk_preallocated(%struct.B* inreg %this, <{ %struct.A }>* preallocated(<{ %struct.A }>…
195 …%3 = musttail call x86_fastcallcc i32 %2(%struct.B* inreg %this, <{ %struct.A }>* preallocated(<{ …
Dshrink-wrap-chkstk.ll3 ; TODO: add preallocated versions of tests
4 ; we don't yet support conditionally called preallocated calls after the setup
/external/llvm-project/llvm/test/Transforms/GlobalOpt/
Dpreallocated.ll3 declare token @llvm.call.preallocated.setup(i32)
4 declare i8* @llvm.call.preallocated.arg(token, i32)
8 define internal i32 @preallocated_musttail(i32* preallocated(i32) %p) {
9 ; CHECK-LABEL: define internal i32 @preallocated_musttail(i32* preallocated(i32) %p)
14 define i32 @call_preallocated_musttail(i32* preallocated(i32) %a) {
15 %r = musttail call i32 @preallocated_musttail(i32* preallocated(i32) %a)
18 ; CHECK-LABEL: define i32 @call_preallocated_musttail(i32* preallocated(i32) %a)
19 ; CHECK: musttail call i32 @preallocated_musttail(i32* preallocated(i32) %a)
22 %c = call token @llvm.call.preallocated.setup(i32 1)
23 %N = call i8* @llvm.call.preallocated.arg(token %c, i32 0) preallocated(i32)
[all …]
Dfastcc.ll3 declare token @llvm.call.preallocated.setup(i32)
4 declare i8* @llvm.call.preallocated.arg(token, i32)
49 define internal i32 @preallocated(i32* preallocated(i32) %p) {
50 ; CHECK-LABEL: define internal fastcc i32 @preallocated(i32* %p)
63 %c = call token @llvm.call.preallocated.setup(i32 1)
64 %N = call i8* @llvm.call.preallocated.arg(token %c, i32 0) preallocated(i32)
66 call i32 @preallocated(i32* preallocated(i32) %n) ["preallocated"(token %c)]
75 ; CHECK-NOT: llvm.call.preallocated
76 ; CHECK: call fastcc i32 @preallocated(i32* %n)
/external/llvm-project/llvm/test/Instrumentation/ThreadSanitizer/
Dtsan_musttail.ll4 define internal i32 @preallocated_musttail(i32* preallocated(i32) %p) sanitize_thread {
9 define i32 @call_preallocated_musttail(i32* preallocated(i32) %a) sanitize_thread {
10 %r = musttail call i32 @preallocated_musttail(i32* preallocated(i32) %a)
14 ; CHECK-LABEL: define i32 @call_preallocated_musttail(i32* preallocated(i32) %a)
16 ; CHECK-NEXT: %r = musttail call i32 @preallocated_musttail(i32* preallocated(i32) %a)
20 define i32 @call_preallocated_musttail_cast(i32* preallocated(i32) %a) sanitize_thread {
21 %r = musttail call i32 @preallocated_musttail(i32* preallocated(i32) %a)
26 ; CHECK-LABEL: define i32 @call_preallocated_musttail_cast(i32* preallocated(i32) %a)
28 ; CHECK-NEXT: %r = musttail call i32 @preallocated_musttail(i32* preallocated(i32) %a)
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dcall-cast-target-preallocated.ll7 declare token @llvm.call.preallocated.setup(i32)
8 declare i8* @llvm.call.preallocated.arg(token, i32)
11 declare void @takes_i32_preallocated(i32* preallocated(i32))
15 %t = call token @llvm.call.preallocated.setup(i32 1)
16 %a = call i8* @llvm.call.preallocated.arg(token %t, i32 0) preallocated(i32)
18 …id bitcast (void (i32)* @takes_i32 to void (i32*)*)(i32* preallocated(i32) %arg) ["preallocated"(t…
/external/llvm-project/llvm/test/Transforms/DeadArgElim/
Dkeepalive.ll3 declare token @llvm.call.preallocated.setup(i32)
4 declare i8* @llvm.call.preallocated.arg(token, i32)
62 define internal x86_thiscallcc i32 @unused_this_preallocated(i32* %this, i32* preallocated(i32) %ar…
68 …e internal x86_thiscallcc i32 @unused_this_preallocated(i32* %this, i32* preallocated(i32) %argmem)
74 %c = call token @llvm.call.preallocated.setup(i32 1)
75 %M = call i8* @llvm.call.preallocated.arg(token %c, i32 0) preallocated(i32)
78 …86_thiscallcc i32 @unused_this_preallocated(i32* %t, i32* preallocated(i32) %m) ["preallocated"(to…
/external/swiftshader/src/WSI/
DDirectFBSurfaceEXT.cpp59 desc.preallocated[0].data = image->getImageMemory()->getOffsetPointer(0); in attachImage()
60 desc.preallocated[0].pitch = image->getImage()->rowPitchBytes(VK_IMAGE_ASPECT_COLOR_BIT, 0); in attachImage()
/external/llvm-project/llvm/test/Transforms/Attributor/
Dvalue-simplify.ll9 declare token @llvm.call.preallocated.setup(i32)
10 declare i8* @llvm.call.preallocated.arg(token, i32)
368 define internal i32* @test_preallocated(i32* preallocated(i32) %a) {
371 ; IS__TUNIT____-SAME: (i32* noalias nofree noundef nonnull returned writeonly preallocated(i32) ali…
376 ; IS__CGSCC____-SAME: (i32* noalias nofree noundef nonnull returned writeonly preallocated(i32) ali…
385 ; IS__TUNIT_OPM-NEXT: [[C:%.*]] = call token @llvm.call.preallocated.setup(i32 noundef 1) [[ATTR…
386 …oalias nocapture nofree noundef writeonly preallocated(i32) align 536870912 null) [[ATTR1:#.*]] [ …
392 ; IS__TUNIT_NPM-NEXT: [[C:%.*]] = call token @llvm.call.preallocated.setup(i32 noundef 1) [[ATTR…
393 …oalias nocapture nofree noundef writeonly preallocated(i32) align 536870912 null) [[ATTR1:#.*]] [ …
399 ; IS__CGSCC_OPM-NEXT: [[C:%.*]] = call token @llvm.call.preallocated.setup(i32 noundef 1) [[ATTR…
[all …]
/external/llvm-project/llvm/test/Transforms/FunctionAttrs/
Dreadattrs.ll59 ; CHECK: define void @test7_2(i32* nocapture preallocated(i32) %a)
60 ; preallocated parameters are always considered written
61 define void @test7_2(i32* preallocated(i32) %a) {
/external/e2fsprogs/doc/RelNotes/
Dv1.45.0.txt17 lose allocated blocks in preallocated files.
/external/llvm-project/llvm/test/Bitcode/
Dattributes.ll377 ; CHECK: define void @f64(i32* preallocated(i32) %a)
378 define void @f64(i32* preallocated(i32) %a)
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
Dinference_context.h83 const std::map<ValueId, id<MTLBuffer>>& preallocated);

1234