search for: 89f38386

Displaying 2 results from an estimated 2 matches for "89f38386".

2020 Jul 31
2
Normalize a SCEV Expression
...t; specific location and the flags need to be valid for the whole scope the > expression can be evaluated in. > > Cheers, > Florian > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200731/89f38386/attachment.html>
2020 Jul 30
2
Normalize a SCEV Expression
Hi, I have a SCEV like this: {16,+,8}. Say that this came from a loop like: int64_t *p; for (int64_t i = 0; i < ...; ++i) p[i+2]... And assuming that I'm on a 64-bit machine. What I would like to do is normalize it like that, basically this: {2,+,1} i.e. map it to the index. Now, I tried to get the underlying element size of the pointer, then getUDivExpr(OriginalSCEV, ElementSize); But