Displaying 3 results from an estimated 3 matches for "bb_name".
Did you mean:
nb_name
2012 Apr 25
2
[LLVMdev] About Scalar Evolution Pass and SCEVAddRecExpr
...nder how many of you are familiar with scalar evolution pass. I met a
problem regarding to the SCEVAddRecExpr. Say for the code:
const int N = 100;
int a[N];
for(int i=0;i<N;i++) a[i] = 0;
For the access of a[i], the pass will transform this a[i] to a
SCEVAddRecExpr <@a, +, sizeof(int)><BB_Name>, which means the access of the
array `a' starts from the address `a' and has an access stride of
`sizeof(int)'.
However, when this code is slightly modified:
const int N=100;
int a[N];
int i;
for(i=0;i<N-1; i++) {}
a[i] = 0;
So the loop is empty and there's an access of `a[...
2012 Apr 25
0
[LLVMdev] About Scalar Evolution Pass and SCEVAddRecExpr
...iar with scalar evolution pass. I met a
> problem regarding to the SCEVAddRecExpr. Say for the code:
> const int N = 100;
> int a[N];
> for(int i=0;i<N;i++) a[i] = 0;
> For the access of a[i], the pass will transform this a[i] to a
> SCEVAddRecExpr <@a, +, sizeof(int)><BB_Name>, which means the access of the
> array `a' starts from the address `a' and has an access stride of
> `sizeof(int)'.
> However, when this code is slightly modified:
>
> const int N=100;
> int a[N];
> int i;
> for(i=0;i<N-1; i++) {}
> a[i] = 0;
>
>...
2018 Jul 15
2
llvm pass is very slow
Hi
I write a LLVM function pass. The pass will loop the basicblock in the
function, check the instruction's type with dyn_cast<switchinst>, print the
instruction and the basicblock's successors. I think it is not very complex.
My bitcode file is about 30M. My CPU is i7-7700(3.6GHz). It has been
running for 60 hours but it is still running. I am not sure whether this is
a normal