Displaying 2 results from an estimated 2 matches for "memorydependencewrapperpass".
2016 Dec 23
0
Back tracing Variables
Hi Juan:
I haven't looked at SlotTracker, but have been
using MemoryDependenceWrapperPass to do something similar.
hth...
don
On Fri, Dec 23, 2016 at 5:55 AM, Juan Ceasar via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Good Morning - Happy Holidays everyone!
>
> I had a question about the best way to do back tracing of variables via
> the IR. So for example, if...
2016 Dec 23
2
Back tracing Variables
Good Morning - Happy Holidays everyone!
I had a question about the best way to do back tracing of variables via the IR. So for example, if I have the following simple IR:
define i32 @squak(i32 %num) #0 {
%1 = alloca i32, align 4
store i32 %num, i32* %1, align 4
%2 = load i32, i32* %1, align 4
%3 = icmp sgt i32 %2, 10
I’m grabbing the predicate of “icmp”, which in this case is a simple