Displaying 20 results from an estimated 47 matches for "linkallcodegencomponents".
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::createTDRRListDAGScheduler(llvm::SelectionDAGISel*, bool)'
/home/neale/LLVM/llvm/include/llv...
2008 Sep 02
2
[LLVMdev] LLVM build failures
...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/build/llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h:34: undefined refere...
2009 Jun 16
1
[LLVMdev] undefined references in llvm
...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/LinkAllCodegenComponents.h:35: undefined
reference to `llvm::create...
2007 Dec 13
1
[LLVMdev] building LLVM with just the C backend
...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/llvm/llvm/include/llvm/CodeGe
n/LinkAllCodegenComponents.h:39: undefined reference to
`llvm::createSimpleDAGSchedule...
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
2009 Apr 09
2
[LLVMdev] Link error building llc
...-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::createTDRRListDAGScheduler(llvm::SelectionDAGISel*, bool)'
/home/neale/LLVM/llvm/include/llv...
2008 Sep 12
1
[LLVMdev] [PATCH] Link in codegen components in llvm-c
...Index: include/llvm-c/ExecutionEngine.h
===================================================================
--- include/llvm-c/ExecutionEngine.h (revision 56175)
+++ include/llvm-c/ExecutionEngine.h (working copy)
@@ -24,6 +24,7 @@
#ifdef __cplusplus
extern "C" {
+#include "llvm/LinkAllCodegenComponents.h"
#endif
typedef struct LLVMOpaqueGenericValue *LLVMGenericValueRef;
Cheers,
Jonathan
2007 Oct 09
1
[LLVMdev] Supporting pre-allocated registers in LLVM
Quoting Bill Wendling <isanbard at gmail.com>:
> Hi Nikolaos,
>
> I have an alpha version of Chow & Hennesey's priority-based graph
> coloring algorithm. It's suffering from some bit-rotting -- e.g.,
> there's some trouble with how it calculates "forbidden" registers.
> You're welcome to the code, if you'd like to hack on it. I've been
2006 Aug 03
0
[LLVMdev] Adding register allocator to LLVM
...quot; my register allocator help string",
createMyRegisterAllocator);
To force the load/linking of your register allocator into the llc/lli
tools, add your create function's global declaration to "Passes.h"
and add a "pseudo" call line to "llvm/Codegen/
LinkAllCodegenComponents.h" .
And that should do it.
Cheers,
-- Jim
On Aug 3, 2006, at 6:00 AM, Anton Vayvod wrote:
> Hi!
>
> I'm developing a register allocator and need it to be available as
> an option for llc tool. I used to edit /lib/CodeGen/Passes.cpp for
> this aim but after y...
2006 Sep 02
2
[LLVMdev] Adding register allocator to LLVM
Hi all!
I didn't manage to link my regalloc to lli (I added USEDLIBS to its
makefile). Without it I can't run tests cause they need lli to be built. So
how can I link createMyRegisterAllocator function to lli?
Thanks.
On 8/22/06, Anton Vayvod <avayvod at gmail.com> wrote:
>
> I managed to link my RegAlloc.a library to llc tool but can;t make the
> same with lli tool.
2006 Sep 02
0
[LLVMdev] Adding register allocator to LLVM
On Sat, 2 Sep 2006, Anton Vayvod wrote:
> I didn't manage to link my regalloc to lli (I added USEDLIBS to its
> makefile). Without it I can't run tests cause they need lli to be built. So
> how can I link createMyRegisterAllocator function to lli?
Make sure to add it to Codegen/LinkAllCodegenComponents.h.
-Chris
> On 8/22/06, Anton Vayvod <avayvod at gmail.com> wrote:
>>
>> I managed to link my RegAlloc.a library to llc tool but can;t make the
>> same with lli tool.
>>
>> Should I use USEDLIBS variable in lli makefile (like llc) or there is
>>...
2006 Sep 02
2
[LLVMdev] Adding register allocator to LLVM
On 9/2/06, Chris Lattner <sabre at nondot.org> wrote:
>
> Make sure to add it to Codegen/LinkAllCodegenComponents.h.
I'm sure I did. I did so from the first time and I also needed to add my
library .a file to the USEDLIBS variable within llc makefile to build llc.
I wonder how lli links with all the rest LLVM as it seems to include no lib
within its makefile. May be I need to include/link my lib somewher...
2006 Aug 03
3
[LLVMdev] Adding register allocator to LLVM
Hi!
I'm developing a register allocator and need it to be available as an option
for llc tool. I used to edit /lib/CodeGen/Passes.cpp for this aim but after
yesterday's update these options are defined somewhere else and I can't find
the place.
Thanks for your help.
Tony.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Dec 02
2
[LLVMdev] patch for portability
...ve completed a survey of llvm for unnecessary dependencies on libstdc++, and on conflicts with the upcoming C++0X standard, and am recommending several changes in the enclosed patch (created with svn diff).
Here is a summary of the patch:
---
#include <cstdlib> added to LinkAllVMCore.h and LinkAllCodegenComponents.h to declare std::getenv.
Changed next(...) to llvm::next(...) in many places. I only changed those instances which were actually required to avoid ambiguity. I left other calls to next() unqualified. I do not have strong feelings about how this particular situation should be fixed, but this so...
2006 Aug 03
3
[LLVMdev] Adding register allocator to LLVM
On Thu, 3 Aug 2006, Jim Laskey wrote:
> To force the load/linking of your register allocator into the llc/lli tools,
> add your create function's global declaration to "Passes.h" and add a
> "pseudo" call line to "llvm/Codegen/LinkAllCodegenComponents.h" .
Another note: with this new functionality you should be able to
dynamically load register allocators. Build your register allocator into
a dynamic library, like this:
http://llvm.org/docs/WritingAnLLVMPass.html#makefile
They you should be able to use:
llc -load yourregalloc.so -reg...
2012 Feb 20
1
[LLVMdev] ARM opcode format
...MContext.h"
#include "llvm/Module.h"
#include "llvm/PassManager.h"
#include "llvm/Pass.h"
#include "llvm/ADT/Triple.h"
#include "llvm/Support/IRReader.h"
#include "llvm/CodeGen/LinkAllAsmWriterComponents.h"
#include "llvm/CodeGen/LinkAllCodegenComponents.h"
#include "llvm/Config/config.h"
#include "llvm/MC/SubtargetFeature.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/ManagedStatic.h"
#include...
2009 Dec 03
0
[LLVMdev] patch for portability
...svn
> diff).
Thanks, applied here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20091130/092102.html
I fixed a few lines to stay in 80 cols.
-Chris
>
> Here is a summary of the patch:
>
> ---
>
> #include <cstdlib> added to LinkAllVMCore.h and
> LinkAllCodegenComponents.h to declare std::getenv.
>
> Changed next(...) to llvm::next(...) in many places. I only changed
> those instances which were actually required to avoid ambiguity. I
> left other calls to next() unqualified. I do not have strong
> feelings about how this particular situatio...
2006 Sep 02
0
[LLVMdev] Adding register allocator to LLVM
On Sat, 2 Sep 2006, Anton Vayvod wrote:
> I'm sure I did. I did so from the first time and I also needed to add my
> library .a file to the USEDLIBS variable within llc makefile to build llc.
> I wonder how lli links with all the rest LLVM as it seems to include no lib
> within its makefile. May be I need to include/link my lib somewhere else?
Ah, that's probably it. Try
2007 Dec 11
0
[LLVMdev] Last GC infrastructure patch
gc-7-integration.patch (+100 -15):
include/llvm/CodeGen/LinkAllCodegenComponents.h (+4)
include/llvm/CodeGen/SelectionDAGISel.h (+3 -1)
include/llvm/CodeGen/AsmPrinter.h (+4)
lib/CodeGen/LLVMTargetMachine.cpp (+23 -4)
lib/CodeGen/AsmPrinter.cpp (+19)
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp (+36 -8)
lib/CodeGen/README.txt (+5)
lib/Target/CBackend/CBack...
2009 Jun 22
0
[LLVMdev] X86 JIT
On Jun 22, 2009, at 2:19 PM, Kasra wrote:
> Hi,
>
> for some reason I could not get the machine code generator for x86
> working. The interpreter is the only thing that works, is there
> anything that I am missing here?
This recently changed. In your main program, please #include "llvm/
Target/TargetSelect.h" and call InitializeNativeTarget(); before
setting up