search for: foooffsetptr

Displaying 1 result from an estimated 1 matches for "foooffsetptr".

2015 Apr 25
3
[LLVMdev] alias analysis on llvm internal globals
...s it can take on and then compare with fooPtr which can not point to local_fooBuf as it has a function scope. Also, LLVM global variables do not have seem to have scope information. where can i get that information ? Thanks, Xin int foo(int *fooPtr,int aconst) { int i; int sum; int *fooOffsetPtr; static int init = 1; static int *fooBuf = NULL; static int local_fooBuf[512*4] = {}; if (init == 1) { fooBuf = local_fooBuf; init = 0; } fooOffsetPtr = &fooBuf[aconst/2]; #pragma nounroll for (i=0;i<aconst;++i) { /// fooPtr can not point...