search for: opttag

Displaying 7 results from an estimated 7 matches for "opttag".

2011 Nov 17
2
[LLVMdev] Fwd: Problem getting LoopInfo inside non-LoopPass
...m the first (loop) pass so the second pass can use these new names. Currently, when I print out "BB->getName().str()" after the code below, I get the correct renaming but this doesn't show up in the output file. I'm calling the opt like this: opt -load Release/lib/OptFile.so -optTag -S <file.bc> -o file.ll I have also tried: opt -load Release/lib/OptFile.so -optTag <file.bc> -o file.bc Thanks. ---------- Forwarded message ---------- From: Ryan Taylor <ryta1203 at gmail.com> Date: Wed, Nov 16, 2011 at 5:23 PM Subject: Re: [LLVMdev] Problem getting LoopInfo...
2011 Nov 17
2
[LLVMdev] Fwd: Problem getting LoopInfo inside non-LoopPass
...>> names. Currently, when I print out "BB->getName().str()" after the code >> below, I get the correct renaming but this doesn't show up in the output >> file. >> >> I'm calling the opt like this: >> >> opt -load Release/lib/OptFile.so -optTag -S <file.bc> -o file.ll >> >> I have also tried: >> >> opt -load Release/lib/OptFile.so -optTag <file.bc> -o file.bc >> >> Thanks. >> >> ---------- Forwarded message ---------- >> From: *Ryan Taylor* <ryta1203 at gmail.com <mai...
2011 Nov 17
0
[LLVMdev] Fwd: Problem getting LoopInfo inside non-LoopPass
...cond pass can use these new > names. Currently, when I print out "BB->getName().str()" after the code > below, I get the correct renaming but this doesn't show up in the output > file. > > I'm calling the opt like this: > > opt -load Release/lib/OptFile.so -optTag -S <file.bc> -o file.ll > > I have also tried: > > opt -load Release/lib/OptFile.so -optTag <file.bc> -o file.bc > > Thanks. > > ---------- Forwarded message ---------- > From: *Ryan Taylor* <ryta1203 at gmail.com <mailto:ryta1203 at gmail.com>> &g...
2011 Nov 17
0
[LLVMdev] Fwd: Problem getting LoopInfo inside non-LoopPass
...y, when I print out "BB->getName().str()" after the code >>> below, I get the correct renaming but this doesn't show up in the output >>> file. >>> >>> I'm calling the opt like this: >>> >>> opt -load Release/lib/OptFile.so -optTag -S <file.bc> -o file.ll >>> >>> I have also tried: >>> >>> opt -load Release/lib/OptFile.so -optTag <file.bc> -o file.bc >>> >>> Thanks. >>> >>> ---------- Forwarded message ---------- >>> From: *Ryan Taylo...
2011 Nov 10
1
[LLVMdev] Problem getting LoopInfo inside non-LoopPass
Ryan, [ Please continue the discussion on mailing for the benefit of everyone. ] On Nov 10, 2011, at 10:31 AM, Ryan Taylor wrote: > I need to iterate bottom up on the nodes, but within that I want to break up BBs within a loop. I could just create a loop pass as another opt and call that, I just thought it'd be easier to get the loop info inside the opt I'm already doing. It is
2011 Nov 17
0
[LLVMdev] Problem getting LoopInfo inside non-LoopPass
LLVMers, So, I'm trying to write a pass that changes the names of the basic blocks through the use of Value, so: Value *V = *BasicBlockPtr; const Twine Tname("new_name"); V->setName(Tname); But when I run the opt and look at the IR output nothing is changed? Not sure what I'm doing wrong. Thanks. -------------- next part -------------- An HTML attachment was
2011 Nov 21
5
[LLVMdev] Fwd: Problem getting LoopInfo inside non-LoopPass
...t;BB->getName().str()" after the code >>>> below, I get the correct renaming but this doesn't show up in the output >>>> file. >>>> >>>> I'm calling the opt like this: >>>> >>>> opt -load Release/lib/OptFile.so -optTag -S <file.bc> -o file.ll >>>> >>>> I have also tried: >>>> >>>> opt -load Release/lib/OptFile.so -optTag <file.bc> -o file.bc >>>> >>>> Thanks. >>>> >>>> ---------- Forwarded message ---------...