• Home
  • Raw
  • Download

Lines Matching refs:preallocated

3 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)
25 %r = call i32 @preallocated_musttail(i32* preallocated(i32) %n) ["preallocated"(token %c)]
29 ; CHECK: call i32 @preallocated_musttail(i32* preallocated(i32) %n)
31 ; Check that only one alloca per preallocated arg
32 define internal i32 @preallocated(i32* preallocated(i32) %a) {
33 ; CHECK-LABEL: define internal fastcc i32 @preallocated(i32* %a)
49 ; CHECK-NEXT: call fastcc i32 @preallocated(i32* [[ARG2]])
52 %c = call token @llvm.call.preallocated.setup(i32 1)
53 %a1 = call i8* @llvm.call.preallocated.arg(token %c, i32 0) preallocated(i32)
55 %a2 = call i8* @llvm.call.preallocated.arg(token %c, i32 0) preallocated(i32)
57 %a3 = call i8* @llvm.call.preallocated.arg(token %c, i32 0) preallocated(i32)
60 %r = call i32 @preallocated(i32* preallocated(i32) %b) ["preallocated"(token %c)]
65 define internal i32 @preallocated_invoke(i32* preallocated(i32) %p) {
66 ; CHECK-LABEL: define internal i32 @preallocated_invoke(i32* preallocated(i32) %p)
72 %c = call token @llvm.call.preallocated.setup(i32 1)
73 %a = call i8* @llvm.call.preallocated.arg(token %c, i32 0) preallocated(i32)
75 %r = invoke i32 @preallocated_invoke(i32* preallocated(i32) %b) ["preallocated"(token %c)]
88 ; CHECK: invoke i32 @preallocated_invoke(i32* preallocated(i32) %b)