search for: prim_i

Displaying 2 results from an estimated 2 matches for "prim_i".

Did you mean: pred_i
2019 Jan 14
2
Aliasing rules difference between GCC and Clang
...sible to handle the array member of a struct case specifically at this point? I am tempted to believe that the extension to handle my particular case is not too far-fetched, as Eli indicated earlier: This program: struct A { int i; }; struct B { int i; }; void h(struct A *a, struct B *b, int *prim_i) {   a->i = 0;   b->i = 0;   *prim_i = 0; } translates to %i = getelementptr inbounds %struct.A, %struct.A* %a, i32 0, i32 0 store i32 0, i32* %i, align 4, !tbaa !2 %i1 = getelementptr inbounds %struct.B, %struct.B* %b, i32 0, i32 0 store i32 0, i32* %i1, align 4, !tbaa !7 store i32 0, i...
2019 Jan 18
2
Aliasing rules difference between GCC and Clang
...t; >> I am tempted to believe that the extension to handle my particular case >> is not too far-fetched, as Eli indicated earlier: >> >> This program: >> >> struct A { int i; }; >> struct B { int i; }; >> >> void h(struct A *a, struct B *b, int *prim_i) { >>   a->i = 0; >>   b->i = 0; >>   *prim_i = 0; >> } >> >> translates to >> >> %i = getelementptr inbounds %struct.A, %struct.A* %a, i32 0, i32 0 >> store i32 0, i32* %i, align 4, !tbaa !2 >> %i1 = getelementptr inbounds %struct.B...