search for: cs426

Displaying 20 results from an estimated 27 matches for "cs426".

2002 Oct 30
2
[LLVMdev] problems with llvmgcc
Thanks, Chris, Below is the output of 'llvmgcc he.c -v' xli3|csil-suna27|~/cs426|[35]% llvmgcc he.c -v Reading specs from /usr/dcs/projects/cs426/Software/gcc_install/bin/../lib/gcc-lib/llvm/3.1/specs Configured with: /home/vadve/lattner/cvs/gcc/configure --srcdir=/home/vadve/lattner/cvs/gcc --prefix=/home/vadve/lattner/cvs/gcc_install_sparc --target=llvm --enable-languages=c -...
2002 Oct 31
1
[LLVMdev] problems with llvmgcc
Dear Prof. Adve, Now I can use llvmgcc to compile a .c file into .bc file. But I still have trouble simply run the .bc code. Below is the sequence I got when I tried. I really don't know what's going on here. Please let me know how can I fix it. Thanks, xiaodong xli3|csil-suna48|~/cs426|[13]% llvmgcc scalarize.c -o scalarize xli3|csil-suna48|~/cs426|[14]% scalarize Cannot load value of type void! Cannot load value of type void! testSimple: 0 Cannot load value of type void! Cannot load value of type void! Cannot load value of type void! Cannot load value of type void! Cannot load v...
2002 Oct 29
2
[LLVMdev] problems with llvmgcc
Dear llvm, I just tried to compile a simple file hello.c. But each time I used llvmgcc hello.c, it gave me the following error: xli3|csil-suna33|~/cs426|[13]% llvmgcc hello.c as: error opening '/var/tmp//ccapglpE.o': file exists! Use -f command line argument to force output I really got confused. Could you please let me know what's wrong? thanks, Jerry
2010 Apr 18
2
[LLVMdev] Debugging using gdb
...I am not able to establish a breakpoint in any function of my pass. I have compiled my pass with a debug build and I have also compiled the input file (using llvm-gcc) with the -g flag. Given below is the exact output. (gdb) break llvm::PassManager::run Breakpoint 1 at 0x86be87c: file /home/engr/cs426/llvm/llvm-2.6/lib/VMCore/PassManager.cpp, line 1558. (gdb) run pointer.bc -load ../Debug/lib/libMP1.so -basicaa -aa-eval-garg11 Starting program: /home/engr/cs426/llvm/llvm-2.6-x86/Debug/bin/opt pointer.bc -load ../Debug/lib/libMP1.so -basicaa -aa-eval-garg11 [Thread debugging using libthread_db en...
2002 Oct 30
0
[LLVMdev] problems with llvmgcc
...Xiaodong Li > Sent: Wednesday, October 30, 2002 9:31 AM > To: Chris Lattner > Cc: Xiaodong Li; llvmdev at cs.uiuc.edu > Subject: Re: [LLVMdev] problems with llvmgcc > > > Thanks, Chris, > > Below is the output of 'llvmgcc he.c -v' > > xli3|csil-suna27|~/cs426|[35]% llvmgcc he.c -v > Reading specs from > /usr/dcs/projects/cs426/Software/gcc_install/bin/../lib/gcc-li > b/llvm/3.1/specs > Configured with: /home/vadve/lattner/cvs/gcc/configure > --srcdir=/home/vadve/lattner/cvs/gcc > --prefix=/home/vadve/lattner/cvs/gcc_install_sparc &gt...
2010 Apr 19
0
[LLVMdev] Debugging using gdb
...in any function of my > pass. I have compiled my > pass with a debug build and I have also compiled the input file (using > llvm-gcc) with the -g flag. Given below is the exact output. > > > (gdb) break llvm::PassManager::run > Breakpoint 1 at 0x86be87c: file > /home/engr/cs426/llvm/llvm-2.6/lib/VMCore/PassManager.cpp, line 1558. > (gdb) run pointer.bc -load ../Debug/lib/libMP1.so -basicaa -aa-eval-garg11 > Starting program: /home/engr/cs426/llvm/llvm-2.6-x86/Debug/bin/opt > pointer.bc -load ../Debug/lib/libMP1.so -basicaa -aa-eval-garg11 > [Thread debugging...
2010 Apr 20
1
[LLVMdev] Debugging using gdb
...gt;> I have compiled my >> pass with a debug build and I have also compiled the input file (using >> llvm-gcc) with the -g flag. Given below is the exact output. >> >> >> (gdb) break llvm::PassManager::run >> Breakpoint 1 at 0x86be87c: file >> /home/engr/cs426/llvm/llvm-2.6/lib/VMCore/PassManager.cpp, line 1558. >> (gdb) run pointer.bc -load ../Debug/lib/libMP1.so -basicaa -aa-eval-garg11 >> Starting program: /home/engr/cs426/llvm/llvm-2.6-x86/Debug/bin/opt >> pointer.bc -load ../Debug/lib/libMP1.so -basicaa -aa-eval-garg11 >> [Th...
2002 Sep 30
1
[LLVMdev] llvm-g++ barfs
...for better test cases for my MP, I thought of trying the Stepanov Abstraction Penalty benchmark. But apparently llvm-g++ is not ready for such terrible things. Let me know if you want me to send the source code (it is widely available). gaeke|csil-suna37|~/cs/426/MP1/step|[1177]% /usr/dcs/projects/cs426/Software/gcc_install/bin/g++ stepanov.cpp -o stepanov In file included from /usr/dcs/projects/cs426/Software/gcc_install/llvm/include/iso/stdio_iso.h:37, from /usr/dcs/projects/cs426/Software/gcc_install/llvm/include/stdio.h:22, from stepanov.cpp:66: /usr/dcs/proje...
2007 Apr 03
3
[LLVMdev] Live Intervals vs. Live Variables
...t is defined, and where it is killed. LiveIntervals gives you a linear representation of the variables as a set of intervals. Yes, it handle holes in the live ranges. There is a very nice description of these analysis and related data structures here: http://llvm.org/ProjectsWithLLVM/2004-Fall-CS426-LS.pdf Fernando >> Toward a better register allocator, I'm attempting to understand >> the dataflow information available to the allocator. >> >> What's the difference between LiveInterval information and LiveVariable >> information? If a LiveInterval is ba...
2002 Nov 01
2
[LLVMdev] totally lost
...or like the following. I really don't know what's going on. Could you explain? Thanks a lot -Jerry Error Message: xli3|csil-suna38|~/mp2|[25]% llvmgcc testcase3.c testcase3.c: In function `init': testcase3.c:5: warning: cast to pointer from integer of different size /usr/dcs/projects/cs426/Software/gcc_install/bin/../lib/gcc-lib/llvm/3.1/as: /var/tmp//cc7nkKdc.s:428: Redefinition of value named 'reg213' in the 'int *' type plane! My code: /* --------------------testcase -----------------------*/ #include <stdio.h> int *init(int size) { int *a = (int *)m...
2007 Apr 03
0
[LLVMdev] Live Intervals vs. Live Variables
...ib/CodeGen/LiveVariables.cpp) is used and improved by LiveIntervals analysis (lies in the same directory). LiveIntervals analysis handles the false interference case (you've shown above). You can read about the idea from the paper by Alkis Evlogimenos: http://llvm.org/ProjectsWithLLVM/2004-Fall-CS426-LS.pdf. I think the current linearscan implementation of LLVM is based on the same paper, too. If you want to develop a register allocator for LLVM, the RegAllocLinearScan.cpp should be the best place to start learning LLVM from. linearscan gives the best results among LLVM's allocators so it a...
2002 Oct 29
1
[LLVMdev] something is wrong
When I tried to run the previous .bc code with lli, I got the following errors: xli3|csil-suna33|~/cs426|[48]% lli he2.bc Unresolvable reference found: <long>:1! Unresolvable reference found: <long>:1! Unresolvable reference found: <long>:2! Error parsing 'he2.bc': No module loaded: Error resolving method values! So right now, I cannot do anything. Could you please let me kn...
2002 Nov 14
1
[LLVMdev] problem checking out llvm
When I check out llvm this morning. I got this error, so I couldn't check out. Looks like the disk is full.. Please let me know how to fix this problem. Thanks, xiaodong xli3|csil-suna33|/usr/dcs/projects/cs426/xli3/llvm|[10]% cvs update cvs update: Updating . ? gnumake.out cvs update: Updating Support cvs update: Updating include cvs update: Updating include/Support cvs update: cannot close BitSetVector.h: No space left on device cvs update: could not check out include/Support/BitSetVector.h cvs update:...
2002 Nov 15
2
[LLVMdev] DSGraph question
Dear LLVM, If I have a DSGraph dsg, I want to duplicate a DSgraph which is exactly the same with dsg. How should I do that? Should I use DSGraph dsg2 = dsg; or use some other methods? Thanks, xiaodong
2002 Nov 15
1
[LLVMdev] opt can not load module
I just recompiled the opt executable, but when trying to load a dynamic module I get the following error: % opt -load $LLVM_DIR/lib/Debug/libdsgraphshow.so --help Error opening '/usr/dcs/projects/cs426/juanruiz/llvm/lib/Debug/libdsgraphshow.so': ld.so.1: opt: fatal: relocation error: file /usr/dcs/projects/cs426/juanruiz/llvm/lib/Debug/libdsgraphshow.so: symbol _ZN7DSGraphC1ER8FunctionPS_: referenced symbol not found -load request ignored. $LLVM_DIR points to the right directory, libdsgrap...
2002 Dec 08
4
[LLVMdev] Olden BM
does anyone knows how to get the Olden BM bytecode files? We're low on disk space and I don't want to build the whole test branch (even if i can, which I doubt, it failed last time i tried).
2007 Apr 03
2
[LLVMdev] Live Intervals vs. Live Variables
Toward a better register allocator, I'm attempting to understand the dataflow information available to the allocator. What's the difference between LiveInterval information and LiveVariable information? If a LiveInterval is based on a linear ordering of the machine instructions, isn't it rather conservative in nature? Let's say I have a typical diamond CFG: A
2003 Dec 12
0
[LLVMdev] Cool projects with LLVM page, please help! :)
...writeup/slides/quarterly results/whatever on the page to show some of the cool things that have been done with LLVM, but which aren't necessarily included in the mainline distribution. I know that LLVM was used in at least some course projects in the following UIUC classes: CS497CZ, CS497YYZ, CS426(2003), CS426(2002), CS321, and in COMP4133 at the University of New South Wales, AU. If there are others, please let me know, and please forward this request to anyone you know who may have worked on a project with LLVM, but isn't currently on llvmdev. If you did use LLVM in a course project...
2007 Apr 03
0
[LLVMdev] Live Intervals vs. Live Variables
...erence graph. > LiveIntervals gives you a linear representation of the variables as a set > of intervals. Yes, it handle holes in the live ranges. There is a very > nice description of these analysis and related data structures here: > > http://llvm.org/ProjectsWithLLVM/2004-Fall-CS426-LS.pdf I've been looking at this paper and reading the code but there are some things I can't figure out. Where is PHI elimination done in the linear scan algorithm? From my reading, allocation happens before PHI nodes are eliminated, so where do PHI nodes get removed? The PNE pass decl...
2002 Oct 29
0
[LLVMdev] problems with llvmgcc
> I just tried to compile a simple file hello.c. But each time I used > llvmgcc hello.c, it gave me the following error: > > xli3|csil-suna33|~/cs426|[13]% llvmgcc hello.c > as: error opening '/var/tmp//ccapglpE.o': file exists! > Use -f command line argument to force output First try doing an 'rm -f /var/tmp/*' and try again. If that still doesn't work, please post the output of: 'llvmgcc hello.c -v' It may...