Lines Matching refs:strpbrk
1 ; Test that the strpbrk library call simplifier works correctly.
11 declare i8* @strpbrk(i8*, i8*)
13 ; Check strpbrk(s, "") -> NULL.
19 %ret = call i8* @strpbrk(i8* %str, i8* %pat)
24 ; Check strpbrk("", s) -> NULL.
30 %ret = call i8* @strpbrk(i8* %str, i8* %pat)
35 ; Check strpbrk(s1, s2), where s1 and s2 are constants.
42 %ret = call i8* @strpbrk(i8* %str, i8* %pat)
47 ; Check strpbrk(s, "a") -> strchr(s, 'a').
53 %ret = call i8* @strpbrk(i8* %str, i8* %pat)
64 %ret = call i8* @strpbrk(i8* %str, i8* %pat)
65 ; CHECK-NEXT: %ret = call i8* @strpbrk(i8* %str, i8* %pat)