Lines Matching refs:strcmp
6 declare i32 @strcmp(i8*, i8*)
11 ; Fold strcmp(a5[0], a5[1]) to '1' - '1'.
20 %cmp = call i32 @strcmp(i8* %p, i8* %q)
25 ; Do not fold strcmp(a5[0], a5[I]) where the index I is not constant.
30 ; CHECK-NEXT: [[CMP:%.*]] = call i32 @strcmp(i8* noundef nonnull dereferenceable(4) getelementpt…
36 %cmp = call i32 @strcmp(i8* %p, i8* %q)
41 ; Same as above but for strcmp(a5[I], a5[0]).
46 ; CHECK-NEXT: [[CMP:%.*]] = call i32 @strcmp(i8* noundef nonnull dereferenceable(1) [[P]], i8* n…
52 %cmp = call i32 @strcmp(i8* %p, i8* %q)
57 ; Fold strcmp(a5[0], &a5[1][1]) to '1' - '2'.
66 %cmp = call i32 @strcmp(i8* %p, i8* %q)
71 ; Do not fold strcmp(a5[0], &a5[1][I]) when the index I is not constant.
76 ; CHECK-NEXT: [[CMP:%.*]] = call i32 @strcmp(i8* noundef nonnull dereferenceable(4) getelementpt…
82 %cmp = call i32 @strcmp(i8* %p, i8* %q)
87 ; Fold strcmp(&a5[0][1], a5[1]) to '2' - '1'.
96 %cmp = call i32 @strcmp(i8* %p, i8* %q)
101 ; Fold strcmp(a5[0], a5[2]) to a5[0][2] - a5[2][2] or 1.
110 %cmp = call i32 @strcmp(i8* %p, i8* %q)
115 ; Fold strcmp(a5[2], a5[0]) to a5[0][2] - a5[2][2] or 1.
124 %cmp = call i32 @strcmp(i8* %q, i8* %p)