Lines Matching refs:pat
18 %pat = getelementptr inbounds [1 x i8], [1 x i8]* @.str, i32 0, i32 0
19 %ret = call i8* @strstr(i8* %str, i8* %pat)
28 %pat = getelementptr inbounds [2 x i8], [2 x i8]* @.str1, i32 0, i32 0
29 %ret = call i8* @strstr(i8* %str, i8* %pat)
39 %pat = getelementptr inbounds [4 x i8], [4 x i8]* @.str3, i32 0, i32 0
40 %ret = call i8* @strstr(i8* %str, i8* %pat)
54 ; Check strstr(str, pat) == str -> strncmp(str, pat, strlen(str)) == 0.
56 define i1 @test_simplify5(i8* %str, i8* %pat) {
58 %ret = call i8* @strstr(i8* %str, i8* %pat)
61 ; CHECK: [[LEN:%[a-z]+]] = call {{i[0-9]+}} @strlen(i8* %pat)
62 ; CHECK: [[NCMP:%[a-z]+]] = call {{i[0-9]+}} @strncmp(i8* %str, i8* %pat, {{i[0-9]+}} [[LEN]])