Lines Matching full:strspn
1 ; Test that the strspn library call simplifier works correctly.
11 declare i64 @strspn(i8*, i8*)
13 ; Check strspn(s, "") -> 0.
19 %ret = call i64 @strspn(i8* %str, i8* %pat)
24 ; Check strspn("", s) -> 0.
30 %ret = call i64 @strspn(i8* %str, i8* %pat)
35 ; Check strspn(s1, s2), where s1 and s2 are constants.
42 %ret = call i64 @strspn(i8* %str, i8* %pat)
52 %ret = call i64 @strspn(i8* %str, i8* %pat)
53 ; CHECK-NEXT: %ret = call i64 @strspn(i8* %str, i8* %pat)