Displaying 4 results from an estimated 4 matches for "jdkunk".
Did you mean:
jdkunk3
2010 Oct 15
2
[LLVMdev] [LLVMDev] Trouble Linking
...llowing 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
2
[LLVMdev] [LLVMDev] Trouble Linking
I am writing my register allocator directly in the LLVM tree, and I am
having trouble linking my project on windows msvc 10.0 compiler. The
error are below, but let me say what I have changed.
1. I added "(void) llvm::createJDKunkRegisterAllocator();" to the
struct ForcePassLinking::ForcePassLinking() method in
"llvm\include\llvm\LinkAllPasses.h"
2. I added "FunctionPass* createJDKunkRegisterAllocator();" to header
"llvm\CodeGen\Passes.h."
3. I implemented "FunctionPass* createJDKunkRe...
2010 Oct 15
0
[LLVMdev] [LLVMDev] Trouble Linking
Jeff Kunkel <jdkunk3 at gmail.com> writes:
> I ran cmake to build the visual studio projects. Then I included my
> code under the Visual Studio interface, but I placed my code separate
> from the CodeGen code. Visual studio was smart enough to compile and
> link in my code into the CodeGen library. Thu...
2010 Oct 15
3
[LLVMdev] [LLVMDev] Trouble Linking
...he CodeGen library. Thus, I did not need to add
my code into the same directory as the CodeGen files, and I did 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 bee...