search for: regallocjdkunk

Displaying 5 results from an estimated 5 matches for "regallocjdkunk".

2010 Oct 15
2
[LLVMdev] [LLVMDev] Trouble Linking
...with following what "RAFast" and "RALinScan" as examples. It's a linker error, and I do not know why only opt and bugpoint does not compiler, and why llc does not show my reg alloc pass anymore. It worked before the API change e-mail was released. 1) I created my .cpp file RegAllocJDKunk.cpp in llvm/lib/CodeGen/ directory. 2) I updated the CMakeList.txt in the directory llvm/lib/CodeGen/ to include RegAllocJDKunk.cpp. 3) I added "(void) llvm::createJDKunkRegisterAllocator();" to the struct ForcePassLinking::ForcePassLinking() method in "llvm\include\llvm\LinkAllPasse...
2010 Oct 15
3
[LLVMdev] [LLVMDev] Trouble Linking
...id not need to change the CMakeList.txt. The offical name is LLVMCodeGen. However, the "opt.obj" and "bugpoint.obj" cannot find the reference function "llvm::createJDKunkRegisterAllocator." I added this file to the header described previously. I implemented it, in my RegAllocJDKunk.cpp file. Jeff Kunkel On Fri, Oct 15, 2010 at 1:43 PM, Óscar Fuentes <ofv at wanadoo.es> wrote: > The following message is a courtesy copy of an article > that has been posted to gmane.comp.compilers.llvm.devel as well. > > Jeff Kunkel <jdkunk3 at gmail.com> writes: >...
2010 Oct 15
0
[LLVMdev] [LLVMDev] Trouble Linking
...verwritten. > The offical name is LLVMCodeGen. > > However, the "opt.obj" and "bugpoint.obj" cannot find the reference > function "llvm::createJDKunkRegisterAllocator." I added this file to > the header described previously. I implemented it, in my > RegAllocJDKunk.cpp file. As you do not provide the information I asked for, I can't help you anymore.
2010 Oct 15
0
[LLVMdev] [LLVMDev] Trouble Linking
Jeff Kunkel <jdkunk3 at gmail.com> writes: > - I placed my code in the the existing CodeGen library. Ok. > - No, it is not in the CMakeLists.txt. The code is separate from the > rest of the CodeGen code, but it is linked into the code gen library > automatically through the visual studio linker. If your source code is on a separate file, and that file is not listed on the
2010 Oct 15
2
[LLVMdev] [LLVMDev] Trouble Linking
- I placed my code in the the existing CodeGen library. - No, it is not in the CMakeLists.txt. The code is separate from the rest of the CodeGen code, but it is linked into the code gen library automatically through the visual studio linker. Perhaps something funny is going on here. I will try placing the code directly in the library, and I will include it to the CMakeLists.txt. - Thanks - Jeff