search for: grwright

Displaying 16 results from an estimated 16 matches for "grwright".

2012 Jan 25
2
[LLVMdev] PLEASE help with Alias Analysis initialization assertion at the end of my pass
...e. I've read that AA needs a call to InitializeAliasAnalysis(this) in the main run method (in my case, runOnFunction), and I'm wondering how to properly implement it, since the parameter is supposed to be a Pass. Thank you! -Griffin On Mon, 23 Jan 2012 14:54:43 -0500, Griffin Wright <grwright at umich.edu> wrote: Hello all, I am working with someone else's LLVM code, which is about 8 months old. Part of this pass involves AliasAnalysis, and I'm getting the above assertion when the pass completes. The dump is as follows: -------------------------------- Program receive...
2012 Jan 25
1
[LLVMdev] PLEASE help with Alias Analysis initialization assertion at the end of my pass
...odulePass or > FunctionPass? You showed that it has a getAnalysisUsage method and a > runOnFunction method which only make sense on passes... > > Nick > >> >> Thank you! >> >> -Griffin >> >> On Mon, 23 Jan 2012 14:54:43 -0500, Griffin Wright<grwright at umich.edu> >> wrote: >> >> Hello all, I am working with someone else's LLVM code, which is >> about 8 >> months old. Part of this pass involves AliasAnalysis, and I'm getting the >> above assertion when the pass completes. The dump is as f...
2012 Jan 25
0
[LLVMdev] PLEASE help with Alias Analysis initialization assertion at the end of my pass
...RelRecovery not a Pass? Does it not derive from ModulePass or FunctionPass? You showed that it has a getAnalysisUsage method and a runOnFunction method which only make sense on passes... Nick > > Thank you! > > -Griffin > > On Mon, 23 Jan 2012 14:54:43 -0500, Griffin Wright<grwright at umich.edu> > wrote: > > Hello all, I am working with someone else's LLVM code, which is about 8 > months old. Part of this pass involves AliasAnalysis, and I'm getting the > above assertion when the pass completes. The dump is as follows: > > ----------------...
2012 Jan 23
1
[LLVMdev] Assertion `AA && "AA didn't call InitializeAliasAnalysis in its run method!"' failed.
...raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #2 0xf6031d52 in *__GI_abort () at abort.c:92 #3 0xf6027788 in *__GI___assert_fail (assertion=0xf78ef62c "AA && \"AA didn't call InitializeAliasAnalysis in its run method!\"", file=0xf78ef5f0 "/x/grwright/llvm/llvm-2.9/lib/Analysis/AliasAnalysis.cpp", line=59, function=0xf78f0e40 "virtual void llvm::AliasAnalysis::deleteValue(llvm::Value*)") at assert.c:81 #4 0xf6c37686 in llvm::AliasAnalysis::deleteValue (this=0x81848d0, V=0x8147000) at /x/grwright/llvm/llvm-2.9/lib/Analysis/AliasAn...
2011 Jul 27
3
[LLVMdev] Problem with llvm-gcc 'make' and arm-none-linux-gnueabi-as
...configured/make/make install'ed my llvm which executed fine, and then cleared out my llvm-gcc obj and install folders, and reconfigured gcc from within llvm-gcc/obj as follows: ../llvm-gcc-4.2-2.9.source/configure --target=arm-none-linux-gnueabi --program-prefix=llvm- --prefix=/net/coldwater/w/grwright/Research/llvm/llvm-gcc/install -with-sysroot=/net/coldwater/w/grwright/Research/llvm/arm-2011.03/arm-none-linux-gnueabi/libc --with-gnu-ld=/net/coldwater/w/grwright/Research/llvm/arm-2011.03/bin/arm-none-linux-gnueabi-ld --with-gnu-as=/net/coldwater/w/grwright/Research/llvm/arm-2011.03/bin/arm-none...
2012 Jan 30
0
[LLVMdev] initializeNAMEPass(llvm::PassRegistry&) should have been declared inside 'llvm'
...aving trouble getting this to work. I was told to also modify include/llvm/LinkAllPasses.h to add a call to (void) llvm::createRelRecoveryPass(); which I have done, but when I go to my main llvm-obj directory to build llvm so that the call is valid when I actually compile my pass files, I get: /x/grwright/llvm/llvm-obj/tools/opt/Debug+Asserts/opt.o: In function `ForcePassLinking': /x/grwright/llvm/llvm-2.9/include/llvm/LinkAllPasses.h:152: undefined reference to `llvm::createRelRecoveryPass()' So how do I fix that? Where do I need to be defining this? In addition, when I try to just compi...
2012 Feb 03
3
[LLVMdev] How can I see what opt tries to delete at the end of a pass?
Hello, I've been stuck with a problem for about a month, and it has stumped everyone in my lab. I have a function pass that runs, and when it finishes and opt goes to return, I get: While deleting: void % An asserting value handle still pointed to this value! UNREACHABLE executed at /x/grwright/llvm/llvm-2.9/lib/VMCore/Value.cpp:569! On a simple test case, the error becomes 'i32 %' instead of 'void %'. I cannot for the life of me figure out what is happening. I'm not deleting anything extra internal to my pass that I can tell, and I'm not sure how to go about de...
2012 Jan 12
3
[LLVMdev] 'opt' Aborted "While deleting: void %"
...this is happening for the life of me - does anyone have any ideas? I'm not trying to do any crazy deallocation or anything, it just seems like a normal pass to me. Thanks, Griffin Wright While deleting: void % An asserting value handle still pointed to this value! UNREACHABLE executed at /x/grwright/llvm/llvm-2.9/lib/VMCore/Value.cpp:569! 0 libLLVM-2.9.so 0xf6ef856b 1 libLLVM-2.9.so 0xf6ef82f8 2 0xf7782400 __kernel_sigreturn + 0 3 libc.so.6 0xf57d4d52 abort + 386 4 libLLVM-2.9.so 0xf6ee40d4 llvm::SmallVector<char, 64u>::~SmallVector() + 0 5 libLLVM-2.9.so 0xf6a5...
2012 Feb 03
0
[LLVMdev] How can I see what opt tries to delete at the end of a pass?
On Fri, Feb 3, 2012 at 1:20 PM, Griffin Wright <grwright at umich.edu> wrote: > > Hello, > > I've been stuck with a problem for about a month, and it has stumped > everyone in my lab.  I have a function pass that runs, and when it finishes > and opt goes to return, I get: > > While deleting: void % > An asserting value h...
2012 Jan 12
0
[LLVMdev] 'opt' Aborted "While deleting: void %"
...s anyone have any ideas? I'm not trying > to do any crazy deallocation or anything, it just seems like a normal pass > to me. > > Thanks, > Griffin Wright > > While deleting: void % > An asserting value handle still pointed to this value! > UNREACHABLE executed at /x/grwright/llvm/llvm-2.9/lib/VMCore/Value.cpp:569! > 0 libLLVM-2.9.so 0xf6ef856b > 1 libLLVM-2.9.so 0xf6ef82f8 > 2 0xf7782400 __kernel_sigreturn + 0 > 3 libc.so.6 0xf57d4d52 abort + 386 > 4 libLLVM-2.9.so 0xf6ee40d4 llvm::SmallVector<char, 64u>::~SmallVector() + &...
2012 Feb 04
1
[LLVMdev] How can I see what opt tries to delete at the end of a pass?
...alue was created by a stack allocation ==16471== at 0xEA55407: llvm::IntervalPartition::runOnFunction(llvm::Function&) (IntervalPartition.cpp:68) On Fri, 3 Feb 2012 13:44:10 -0800, Eli Friedman <eli.friedman at gmail.com> wrote: > On Fri, Feb 3, 2012 at 1:20 PM, Griffin Wright <grwright at umich.edu> wrote: >> >> Hello, >> >> I've been stuck with a problem for about a month, and it has stumped >> everyone in my lab.  I have a function pass that runs, and when it >> finishes >> and opt goes to return, I get: >> >> While d...
2012 Jan 13
1
[LLVMdev] 'opt' Aborted "While deleting: void %"
...to do any crazy deallocation or anything, it just seems like a normal >> pass >> to me. >> >> Thanks, >> Griffin Wright >> >> While deleting: void % >> An asserting value handle still pointed to this value! >> UNREACHABLE executed at >> /x/grwright/llvm/llvm-2.9/lib/VMCore/Value.cpp:569! >> 0 libLLVM-2.9.so 0xf6ef856b >> 1 libLLVM-2.9.so 0xf6ef82f8 >> 2 0xf7782400 __kernel_sigreturn + 0 >> 3 libc.so.6 0xf57d4d52 abort + 386 >> 4 libLLVM-2.9.so 0xf6ee40d4 llvm::SmallVector<char, 64u>...
2011 Jul 28
0
[LLVMdev] Problem with llvm-gcc 'make' and arm-none-linux-gnueabi-as
Hi, Griffin > /net/coldwater/w/grwright/Research/llvm/arm-2010q1/bin/arm-none-linux-gnueabi-as: ^^^^^^^^^^^ Maybe using a newer codesourcery toolchain can help you? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.)...
2011 Jun 10
1
[LLVMdev] Annotating resulting assembly code from an LLVM pass
Hello, I'm working on an LLVM IR pass and would like to insert comments into the generated .bc file during the pass. I've been having trouble finding documentation for this process, and was wondering if there is a simple way to do it. At the moment, I have a stringstream whose .str() I'd like to stick in this generated file every once in a while. Thanks, Griffin Wright
2011 Jul 28
1
[LLVMdev] Problem with llvm-gcc 'make' and arm-none-linux-gnueabi-as
I tried using 2011-03 for gnu/linux, but I got the exact same problem. -Griffin On Jul 27, 2011 9:29 PM, "陳韋任" <chenwj at iis.sinica.edu.tw> wrote: > > Hi, Griffin > > > /net/coldwater/w/grwright/Research/llvm/arm-2010q1/bin/arm-none-linux-gnueabi-as: > ^^^^^^^^^^^ > > Maybe using a newer codesourcery toolchain can help you? > > Regards, > chenwj > > -- > Wei-Ren Chen (陳韋任) > Computer Systems Lab, Institute of Informatio...
2011 Jun 02
3
[LLVMdev] LLVM Instruction Operands
Hello all: I apologize for what I imagine is a rather silly question, but I'm still somewhat new to LLVM and am stuck. I am reworking some code that was originally in the backend involving MachineInstructions and MachineOperands, and I now need for it to function as an LLVM IR pass, using just Instructions, etc, and nothing related to 'Machine'. However, I am not sure how to get the