Lines Matching refs:strcmp
2 ; Test that the strcmp library call simplifier works correctly.
13 declare i32 @strcmp(i8*, i8*)
15 ; strcmp("", x) -> -*x
35 %temp1 = call i32 @strcmp(i8* %str1, i8* %str2)
40 ; strcmp(x, "") -> *x
57 %temp1 = call i32 @strcmp(i8* %str1, i8* %str2)
61 ; strcmp(x, y) -> cnst
73 %temp1 = call i32 @strcmp(i8* %str1, i8* %str2)
88 %temp1 = call i32 @strcmp(i8* %str1, i8* %str2)
92 ; strcmp(x, y) -> memcmp(x, y, <known length>)
112 %temp3 = call i32 @strcmp(i8* %str1, i8* %str2)
116 ; strcmp(x,x) -> 0
126 %temp1 = call i32 @strcmp(i8* %str, i8* %str)
130 ; strcmp(x, y) == 0 -> bcmp(x, y, <known length>)
150 %temp3 = call i32 @strcmp(i8* %str1, i8* %str2)