search for: ind_cal

Displaying 3 results from an estimated 3 matches for "ind_cal".

Did you mean: ind_call
2018 Apr 15
2
LLVM Alias Analysis (Load and store from same address is not showed up in same set)
Hi I have this simple c code for which I would like to use for alias analysis. #include <stdio.h> #include <stdlib.h> static int (*fp) (void); void ind_call (int (*compr)(void)){ fp = compr; fp(); } int hello(void){ return printf("hello world\n"); } int main(){ ind_call(hello); return 0; } So, I do the following: bin/opt -basicaa -cfl-anders-aa -print-alias-sets bin/test/test.bc I get the following result: A...
2018 Apr 16
0
LLVM Alias Analysis (Load and store from same address is not showed up in same set)
On 4/15/2018 11:44 AM, Mustakimur Khandaker via llvm-dev wrote: > Hi > I have this simple c code for which I would like to use for alias > analysis. > > #include <stdio.h> > #include <stdlib.h> > > static int (*fp) (void); > void ind_call (int (*compr)(void)){ >     fp = compr; >     fp(); > } > int hello(void){ >     return printf("hello world\n"); > } > int main(){ >     ind_call(hello); >     return 0; > } > > > So, I do the following: >...
2018 Apr 16
1
LLVM Alias Analysis (Load and store from same address is not showed up in same set)
...Analysis (Load and store from same address is not showed up in same set) On 4/15/2018 11:44 AM, Mustakimur Khandaker via llvm-dev wrote: Hi I have this simple c code for which I would like to use for alias analysis. #include <stdio.h> #include <stdlib.h> static int (*fp) (void); void ind_call (int (*compr)(void)){ fp = compr; fp(); } int hello(void){ return printf("hello world\n"); } int main(){ ind_call(hello); return 0; } So, I do the following: bin/opt -basicaa -cfl-anders-aa -print-alias-sets bin/test/test.bc I get the following result: Alias sets fo...