Lines Matching refs:strpbrk
2 ; Test that the strpbrk library call simplifier works correctly.
12 declare i8* @strpbrk(i8*, i8*)
14 ; Check strpbrk(s, "") -> NULL.
22 %ret = call i8* @strpbrk(i8* %str, i8* %pat)
26 ; Check strpbrk("", s) -> NULL.
34 %ret = call i8* @strpbrk(i8* %str, i8* %pat)
38 ; Check strpbrk(s1, s2), where s1 and s2 are constants.
47 %ret = call i8* @strpbrk(i8* %str, i8* %pat)
51 ; Check strpbrk(s, "a") -> strchr(s, 'a').
60 %ret = call i8* @strpbrk(i8* %str, i8* %pat)
68 ; CHECK-NEXT: [[RET:%.*]] = call i8* @strpbrk(i8* [[STR:%.*]], i8* [[PAT:%.*]])
72 %ret = call i8* @strpbrk(i8* %str, i8* %pat)