Lines Matching refs:IR
2 ; RUN: opt < %s -S -nvptx-lower-aggr-copies | FileCheck %s --check-prefix IR
19 ; IR-LABEL: @memcpy_caller
20 ; IR: loadstoreloop:
21 ; IR: [[LOADPTR:%[0-9]+]] = getelementptr inbounds i8, i8* %src, i64
22 ; IR-NEXT: [[VAL:%[0-9]+]] = load i8, i8* [[LOADPTR]]
23 ; IR-NEXT: [[STOREPTR:%[0-9]+]] = getelementptr inbounds i8, i8* %dst, i64
24 ; IR-NEXT: store i8 [[VAL]], i8* [[STOREPTR]]
40 ; IR-LABEL: @memcpy_volatile_caller
41 ; IR: load volatile
42 ; IR: store volatile
61 ; IR-LABEL: @memcpy_casting_caller
62 ; IR: [[DSTCAST:%[0-9]+]] = bitcast i32* %dst to i8*
63 ; IR: [[SRCCAST:%[0-9]+]] = bitcast i32* %src to i8*
64 ; IR: getelementptr inbounds i8, i8* [[SRCCAST]]
65 ; IR: getelementptr inbounds i8, i8* [[DSTCAST]]
74 ; IR-LABEL: @memset_caller
75 ; IR: [[VAL:%[0-9]+]] = trunc i32 %c to i8
76 ; IR: loadstoreloop:
77 ; IR: [[STOREPTR:%[0-9]+]] = getelementptr inbounds i8, i8* %dst, i64
78 ; IR-NEXT: store i8 [[VAL]], i8* [[STOREPTR]]
94 ; IR-LABEL: @memmove_caller
95 ; IR: icmp ult i8* %src, %dst
96 ; IR: [[PHIVAL:%[0-9a-zA-Z_]+]] = phi i64
97 ; IR-NEXT: %index_ptr = sub i64 [[PHIVAL]], 1
98 ; IR: [[FWDPHIVAL:%[0-9a-zA-Z_]+]] = phi i64
99 ; IR: {{%[0-9a-zA-Z_]+}} = add i64 [[FWDPHIVAL]], 1