• Home
  • Raw
  • Download

Lines Matching refs:memchr

2 ; Test that the memchr library call simplifier works correctly.
16 declare i8* @memchr(i8*, i32, i32)
24 %dst = call i8* @memchr(i8* %str, i32 119, i32 14)
35 %dst = call i8* @memchr(i8* %str, i32 119, i32 1)
46 %dst = call i8* @memchr(i8* %src, i32 0, i32 14)
53 ; CHECK-NEXT: [[DST:%.*]] = call i8* @memchr(i8* nonnull dereferenceable(14) getelementptr inbou…
58 %dst = call i8* @memchr(i8* %src, i32 %chr, i32 14)
69 %dst = call i8* @memchr(i8* %src, i32 65280, i32 14)
81 %dst = call i8* @memchr(i8* %src, i32 119, i32 100)
93 %dst = call i8* @memchr(i8* %src, i32 120, i32 100)
104 %dst = call i8* @memchr(i8* %str, i32 119, i32 14)
115 %dst = call i8* @memchr(i8* %str, i32 119, i32 12)
126 %dst = call i8* @memchr(i8* %str, i32 119, i32 6)
131 ; Check transformation memchr("\r\n", C, 2) != nullptr -> (C & 9216) != 0
143 …%dst = call i8* @memchr(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @newlines, i64 0, i64 0), …
151 ; CHECK-NEXT: [[DST:%.*]] = call i8* @memchr(i8* nonnull dereferenceable(3) getelementptr inboun…
155 …%dst = call i8* @memchr(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @spaces, i64 0, i64 0), i3…
170 …%dst = call i8* @memchr(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @single, i64 0, i64 0), i3…
181 …%dst = call i8* @memchr(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @single, i64 0, i64 0), i3…
188 ; CHECK-NEXT: [[DST:%.*]] = call i8* @memchr(i8* nonnull dereferenceable(3) getelementptr inboun…
192 …%dst = call i8* @memchr(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @negative, i64 0, i64 0), …
202 …%res = tail call i8* @memchr(i8* getelementptr ([1 x i8], [1 x i8]* @s, i64 0, i64 0), i32 0, i32 …
208 ; CHECK-NEXT: [[RET:%.*]] = call i8* @memchr(i8* [[STR:%.*]], i32 [[C:%.*]], i32 [[N:%.*]])
212 %ret = call i8* @memchr(i8* %str, i32 %c, i32 %n)
218 ; CHECK-NEXT: [[RET:%.*]] = call i8* @memchr(i8* nonnull [[STR:%.*]], i32 [[C:%.*]], i32 [[N:%.*…
222 %ret = call i8* @memchr(i8* nonnull %str, i32 %c, i32 %n)
228 ; CHECK-NEXT: [[RET:%.*]] = call i8* @memchr(i8* nonnull dereferenceable(5) [[STR:%.*]], i32 [[C…
232 %ret = call i8* @memchr(i8* %str, i32 %c, i32 5)
238 ; CHECK-NEXT: [[RET:%.*]] = call i8* @memchr(i8* dereferenceable(5) [[STR:%.*]], i32 [[C:%.*]], …
242 %ret = call i8* @memchr(i8* %str, i32 %c, i32 5)