search for: forcecodegenlink

Displaying 9 results from an estimated 9 matches for "forcecodegenlink".

2008 Oct 05
1
[LLVMdev] There are two linker error when compiling the latest llvm source...
...the message: the Error 1549 error LNK2019: unresolved external symbol "class llvm::FunctionPass * __cdecl llvm::createPBQPRegisterAllocator(void)" (?createPBQPRegisterAllocator at llvm@@YAPAVFunctionPass at 1@XZ) referenced in function "public: __thiscall `anonymous namespace'::ForceCodegenLinking::ForceCodegenLinking(void)" (??0ForceCodegenLinking@?A0x75b61eb1@@QAE at XZ) lli.obj Error 1547 error LNK2019: unresolved external symbol "class llvm::FunctionPass * __cdecl llvm::createPBQPRegisterAllocator(void)" (?createPBQPRegisterAllocator at llvm@@YAPAVFunctionPass at 1@XZ)...
2013 Apr 30
1
[LLVMdev] New Register allocation algorithm
Hi, I wanted to write a new register allocation algorithm. I wrote it the same way RegAllocFast has been written and registered it. I added it to ForceCodegenLinking struct as well. But after build, it is not listed in llc --help. I tried to change the registered name of greedy algorithm to something else and that doesnt seem to be reflecting in llc help either. Am i supposed to build llvm completely again? Or am i missing something? Thanks
2008 Sep 02
2
[LLVMdev] LLVM build failures
...lvm-config: unknown component name: alphacodegen make[2]: Entering directory `.../llvm/build/llvm/tools/lli' llvm[2]: Compiling lli.cpp for Debug build llvm-config: unknown component name: alphacodegen llvm[2]: Linking Debug executable lli .../llvm/build/llvm/tools/lli/Debug/lli.o: In function `ForceCodegenLinking': .../llvm/build/llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h:32: undefined reference to `llvm::createSimpleRegisterAllocator()' .../llvm/build/llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h:33: undefined reference to `llvm::createLocalRegisterAllocator()' .../llvm/buil...
2009 Apr 07
2
[LLVMdev] Link error building llc
With the TableGen problem circumvented the build proceeds quite well up until: llvm[2]: Linking Debug executable llc /home/neale/LLVM/llvm/tools/llc/Debug/llc.o: In function `ForceCodegenLinking': /home/neale/LLVM/llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h:45: undefined reference to `llvm::createBURRListDAGScheduler(llvm::SelectionDAGISel*, bool)' /home/neale/LLVM/llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h:46: undefined reference to `llvm::createTDRRListDAGSc...
2009 Jun 16
1
[LLVMdev] undefined references in llvm
...he libraries I get this error: Can't exec "which": No such file or directory at llvm2/bin/llvm-config line 69. Use of uninitialized value in scalar chomp at llvm2/bin/llvm-config line 70. Use of uninitialized value in -e at llvm2/bin/llvm-config line 71. /tmp/cc0b5iTo.o: In function `ForceCodegenLinking': llvm2/include/llvm/CodeGen/LinkAllCodegenComponents.h:32: undefined reference to `llvm::createDeadMachineInstructionElimPass()' llvm2/include/llvm/CodeGen/LinkAllCodegenComponents.h:34: undefined reference to `llvm::createSimpleRegisterAllocator()' llvm2/include/llvm/CodeGen/LinkAl...
2013 Apr 30
0
[LLVMdev] New Register allocation algorithm
Hi, I wanted to write a new register allocation algorithm. I wrote it the same way RegAllocFast has been written and registered it. I added it to ForceCodegenLinking struct as well. But after build, it is not listed in llc --help. I tried to change the registered name of greedy algorithm to something else and that doesnt seem to be reflecting in llc help either. Am i supposed to build llvm completely again? Or am i missing something? Thanks --------------...
2009 Apr 07
0
[LLVMdev] Link error building llc
Hello, Neale > These entry points are in modules that have been compiled and placed into an > archive. (e.g. llvm::createBURRListDAGScheduler is in ScheduleDAGRRList.cpp > whose object is placed in ./Debug/lib/libLLVMSelectionDAG.a). > > I'm sure I've missed a configuration option or something trivial like that > but my newbie brain can't determine what it is. make
2007 Dec 13
1
[LLVMdev] building LLVM with just the C backend
..._TO_BUILD It didn't work. I get these link failures: make[2]: Entering directory `/home/foad/svn/antix/toolchain/trunk/toolchain/obj/llvm-obj/tools/llc' llvm[2]: Linking Debug executable llc /home/foad/svn/antix/toolchain/trunk/toolchain/obj/llvm-obj/tools/llc/Debug/ llc.o: In function `ForceCodegenLinking': /home/foad/svn/antix/toolchain/trunk/toolchain/llvm/llvm/include/llvm/CodeGe n/LinkAllCodegenComponents.h:38: undefined reference to `llvm::createBFS_DAGScheduler(llvm::SelectionDAGISel*, llvm::SelectionDAG*, llvm::MachineBasicBlock*)' /home/foad/svn/antix/toolchain/trunk/toolchain/llv...
2009 Apr 09
2
[LLVMdev] Link error building llc
...le/LLVM/llvm/Debug/lib/LLVMCBackend.o -lLLVMCodeGen -lLLVMScalarOpts -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis /home/neale/LLVM/llvm/Debug/lib/LLVMCppBackend.o -lLLVMTarget -lLLVMCore -lLLVMSupport -lLLVMSystem -lpthread -ldl -lm -lelf /home/neale/LLVM/llvm/tools/llc/Debug/llc.o: In function `ForceCodegenLinking': /home/neale/LLVM/llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h:45: undefined reference to `llvm::createBURRListDAGScheduler(llvm::SelectionDAGISel*, bool)' /home/neale/LLVM/llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h:46: undefined reference to `llvm::createTDRRListDAGSc...