search for: makellvm

Displaying 14 results from an estimated 14 matches for "makellvm".

2003 Sep 08
2
[LLVMdev] recompilation
LLVM, When we recompile, is it possible to "make" only one of the tools, or at least relink only the tools whose object files have changed? Thanks Dave
2002 Sep 15
0
[LLVMdev] Simple make script
I added a simple script called "makellvm" in the base llvm directory to build a library and an executable with one command. The script runs gnumake in the current directory, and if that completes successfully, it chdir's to your llvm/tools/<toolname> and runs gnumake there. <toolname> can be specified on the command...
2006 May 01
0
[LLVMdev] Re: Question about modifying LLVM
...should never have to do 'make clean'. In this case, make will recurse into lib/CodeGen, rebuild it, then eventually go into tools/llc, and relink it. There is a short-cut for this, if you are operating in a single directory. If you add 'llvm/utils' to your path, you can use the makellvm tool. If you are in the llvm/lib/CodeGen directory, for example, "makellvm llc" will do a make in the current directory, then it will do a make in the llvm/tools/llc directory. This often saves time and is simple to use. The caveat is that your tree can get out of sync if you modif...
2006 Aug 20
2
[LLVMdev] Adding register allocator to LLVM
Dear Anton, you can add your register allocator strait iin the "lib/CodeGen/Passes.cpp", and then 're-make' it: "makellvm llc", on the top of lib/CodeGen. It is faster than running make from LLVMOBJDIR. The problem is that it only add to llc the changes on the lib/CodeGen directory. If you change other parts, a make from LLVMOBJDIR will synchronize it. Try adding code like this to your Passes.cpp file: //===---...
2004 Aug 04
0
[LLVMdev] Compiler Driver Decisions
...nk we should support an optional argument, possibly -native, that would cause llvm-gen to work towards a native executable instead of an LLVM executable. > For the name, again, I'd be happy with either llvmcd or llvmgen, witha > preference for the latter. The more important thing is to makellvm > code be the default output. I'm not thrilled with llvm-gen because it has overtones of "code generation" (which actually isn't far from the truth). But, it conjures up the wrong kind of tool .. something more like yacc or bison. However, I don't have any good alternative...
2011 Jan 20
0
[LLVMdev] Warnings when compiling llvm+clang (Mac OS X system gcc)
.... BorderConstraint Entry : 8; ///< Constraint on block entry. BorderConstraint Exit : 8; ///< Constraint on block exit. }; Where only the Number member is initialized. Couldn't we initialize the other members to invalid values? In clang, the warning is: ---------------------------- makellvm[0]: Compiling SemaTemplateVariadic.cpp for Release+Asserts build /Users/filcab/dev/stuff/llvm/llvm/tools/clang/lib/Sema/SemaTemplateVariadic.cpp: In member function ‘bool clang::Sema::CheckParameterPacksForExpansion(clang::SourceLocation, clang::SourceRange, const clang::UnexpandedParameterPack*, u...
2002 Sep 16
0
[LLVMdev] cvsupdate moved
The scripts cvsupdate, makellvm, and getsrcs.sh have moved from the root llvm directory to the utils directory.
2004 Aug 04
0
[LLVMdev] Compiler Driver Decisions
...e: [LLVMdev] Compiler Driver Decisions >Date: Wed, 4 Aug 2004 01:17:24 -0500 (CDT) > >On Tue, 3 Aug 2004, Reid Spencer wrote: > > > For the name, again, I'd be happy with either llvmcd or llvmgen, witha > > > preference for the latter. The more important thing is to makellvm > > > code be the default output. > > > > I'm not thrilled with llvm-gen because it has overtones of "code > > generation" (which actually isn't far from the truth). But, it conjures > > up the wrong kind of tool .. something more like yacc or biso...
2006 Aug 22
0
[LLVMdev] Adding register allocator to LLVM
...i makefile (like llc) or there is another way? On 8/20/06, Fernando Magno Quintao Pereira <fernando at cs.ucla.edu> wrote: > > > Dear Anton, > > you can add your register allocator strait iin the > "lib/CodeGen/Passes.cpp", and then 're-make' it: "makellvm llc", on the > top of lib/CodeGen. It is faster than running make from LLVMOBJDIR. The > problem is that it only add to llc the changes on the lib/CodeGen > directory. If you change other parts, a make from LLVMOBJDIR will > synchronize it. > > Try adding code like this to yo...
2004 Aug 04
2
[LLVMdev] Compiler Driver Decisions
On Tue, 3 Aug 2004, Reid Spencer wrote: > > For the name, again, I'd be happy with either llvmcd or llvmgen, witha > > preference for the latter. The more important thing is to makellvm > > code be the default output. > > I'm not thrilled with llvm-gen because it has overtones of "code > generation" (which actually isn't far from the truth). But, it conjures > up the wrong kind of tool .. something more like yacc or bison. However, > I don...
2006 Aug 20
0
[LLVMdev] Adding register allocator to LLVM
Hi! I've did what Jim Laskey wrote but llc didn't reckognize my regalloc option. So I moved my allocator implementation into seperate folder within CodeGen and wrote separate makefile for it (like in "Writing an LLVM pass" tutorial). But when I run "make" from LLVMOBJDIR it doesn't enter the RegAlloc directory and when linking llc an error like
2004 Aug 03
4
[LLVMdev] Compiler Driver Decisions
I have been at Microsoft the last couple of days and so couldn't join the discussion earlier. Here's my view of the name issue, and (the reason this is long), a little about how I think we want users to view this tool: First, I think the name should convey the purpose of the tool -- otherwise, it just creates a confusing acronym (and goodness knows we have enough names already, even
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
2006 May 30
3
[LLVMdev] Adding an object to llc (analysis pass)
Hi > One would expect this, its a facility of the C++ language. The anonymous > namespace is, essentially, the same as declaring everything in it > static. That is, the symbols are not exported and not available for > linking. Yes, it was pretty clear after finding out that this isn't a linking error which i suspected... > > So for all those trying to add an analysis path: