Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] Utilizing gperf for TableGen"
2008 Jan 01
0
[LLVMdev] Utilizing gperf for TableGen
On Jan 1, 2008, at 1:51 AM, Wilhansen Li wrote:
> The output of TableGen (intrinsics.gen) seems a bit too clunky
> specifically the switching parts (input the string, output the enum).
> Moreover, the code makes MSVC barf due to its nesting limit which even
> applices to if-else statements.
Right, fixing the VC++ issue is straight-forward. I will do it in the
next couple of days
2008 Jan 03
1
[LLVMdev] Utilizing gperf for TableGen
FYI, gperf is a very good perfect hash utility written originally by Doug Schmidt (of ACE fame). I used it in XPS for speeding up XML parsing by hashing all the element and attribute names. Unfortunately, its a code generator, which we're trying to get rid of in LLVM. Still, I recommend the tool highly.
Reid.
On Tue, 1 Jan 2008 13:04:57 -0800
Chris Lattner <sabre at nondot.org>
2008 Jan 01
7
[LLVMdev] Utilizing gperf for TableGen
The output of TableGen (intrinsics.gen) seems a bit too clunky
specifically the switching parts (input the string, output the enum).
Moreover, the code makes MSVC barf due to its nesting limit which even
applices to if-else statements.
One one hand, gperf
(http://www.gnu.org/software/gperf/manual/gperf.html) offers a way to
map strings to records without much difficulty (and it does its job
2008 Jan 04
0
[LLVMdev] Fwd: Utilizing gperf for TableGen
---------- Forwarded message ----------
From: Wilhansen Li <krad at crammerz-inc.net>
Date: Jan 4, 2008 6:18 PM
Subject: Re: [LLVMdev] Utilizing gperf for TableGen
To: Chris Lattner <sabre at nondot.org>
It finally compiles well with MSVC. Thanks!
On 1/4/08, Chris Lattner <sabre at nondot.org> wrote:
>
>
> Alright, try this:
>
2008 Jan 03
3
[LLVMdev] Utilizing gperf for TableGen
On Wed, 2 Jan 2008, Chris Lattner wrote:
>This should be fixed now, please verify, thanks!
>
>-Chris
The newer code that TableGen produces is indeed lower however, MSVC
still throws the same error messages (and moreover, I don't think
they're fixing it anytime soon.. I'll try to re-open this issue to
them). Also, it seems that the new code produces an extraneous "if
2008 Jan 02
0
[LLVMdev] Utilizing gperf for TableGen
On Tue, 1 Jan 2008, Wilhansen Li wrote:
> The output of TableGen (intrinsics.gen) seems a bit too clunky
> specifically the switching parts (input the string, output the enum).
> Moreover, the code makes MSVC barf due to its nesting limit which even
> applices to if-else statements.
This should be fixed now, please verify, thanks!
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
2018 Apr 09
2
Tablegen pattern: How to emit a SDNode in an output pattern?
I'm trying to write a tablegen pattern to that matches a sequence of
SDNodes and emits again an SDNode and another instruction.
The pattern I've written looks like the folowing:
def : Pat<(foo (bar GPR:$rs1), simm12:$imm1),
(bar (BAZ GPR:$rs1, simm12:$imm1))>;
foo and bar are SDNodes, BAZ is an instruction. In particular, bar is
defined as follows:
def bar :
2008 Sep 21
2
[LLVMdev] OpenBSD port in progress
Hello,
> If anybody has an idea of how to fix this (other than using another
> version of gcc because I am sick of compiling), I would appreciate. I
> can offer backtraces or shell access if anybody is interested, just
> ask me what you need.
This was fixed couple of months ago. Please consider using current svn
top of tree, not 2.3 release.
--
WBR, Anton Korobeynikov
2008 Sep 21
0
[LLVMdev] OpenBSD port in progress
2008/9/21 Anton Korobeynikov <asl at math.spbu.ru>:
> Hello,
>
>> If anybody has an idea of how to fix this (other than using another
>> version of gcc because I am sick of compiling), I would appreciate. I
>> can offer backtraces or shell access if anybody is interested, just
>> ask me what you need.
> This was fixed couple of months ago. Please consider
2008 Oct 26
4
[LLVMdev] CMake builds clang.
Hi, Oscar
> at all, it would be great if you reflect your changes on the file list
> inside the corresponding CMakeLists.txt when you add, remove or rename
a
> .cpp file.
Isn't is possible for cmake just to glob everything in the corresponding
directory?
--
WBR, Anton Korobeynikov
2008 Jul 15
1
[LLVMdev] MS assembler support
Hi, Chris
> If the assembler is a limitation, the best solution would be to add a
> direct PECOFF writer. There is a start of direct ELF and Macho writers
> already in the tree. They are not production quality, but could be a
> useful place to start looking.
Well, maybe. But in any case I doubt there will be 'open' support for CV debug format :)
--
WBR, Anton
2008 Feb 19
1
[LLVMdev] LLVM2.2 x64 JIT trouble on VStudio build
Hello, Chuck
> I've had a look at the stubs before and I think I'm circumventing them
> in the example program since I populate the table and compile the
> functions in the order so that things never need to be done lazily, but
> I'll look further.
Well, anyway stubs are definitely wrong from windows64 and this should
be fixed, otherwise funny stuff can happen from time to
2008 Feb 19
1
[LLVMdev] cross compiling with the C backend
Hello, Kevin
> build process I described in my original message. So the difference is
> more subtle; maybe a difference in the layout of structs or something.
Also, there can be another ABI differences.
> llvmoutput.c:17976: warning: pointer targets in passing argument 1 of
> 'longjmp' differ in signedness
Hrm, are you using setjmp/longjmp stuff? They're definitely not
2008 Feb 19
1
[LLVMdev] cross compiling with the C backend
Hello, Kevin.
> Well, I already use custom includes with these options: "-nostdlib
> -nostdinc -Ipsptoolchain/psp/include
> -Ipsptoolchain/lib/gcc/psp/4.1.0/include". But that seems not enough.
> GCC has some target-specific behaviour compiled in?
Well, in general - yes. However, I'm not sure up to which margin.
--
WBR, Anton Korobeynikov
2008 Mar 18
1
[LLVMdev] GCC Merge Coming Up
Hello, Bill
> This merge should go *much* more smoothly than the last merge -- it
> could hardly be worse, right? ;-) I already did a test compile of
> llvm-test with the patch and it compiled the programs without a
> problem. Devang is currently testing it as well so that I have a
> second opinion.
One thing, which we already saw: please carefully check, that you won't
2008 Jul 27
1
[LLVMdev] Any Mercurial or Bazaar mirrors available?
Hello, Oscar
> Anyways, if there is no Mercurial or Bazaar mirrors available, I will
> try git. Recommendations on which one to use welcomed.
There is git mirror at repo.or.cz: http://repo.or.cz/w/llvm.git, llvm-gcc & clang mirrors are
available there as well. I'm updating it 'by hands' currently due to some reasons, so sometimes it
will need 2-3 days for changes in llvm
2008 Sep 02
1
[LLVMdev] LLVM build failures
Hi,
> (2) on alpha, gcc 4.2.4. The "unknown component name: alphacodegen"
> didn't use to occur.
My fault, I'll fix it. The problem is that lli wants to link in JIT
module, which does not exist for these targets.
--
WBR, Anton Korobeynikov
2008 Sep 30
1
[LLVMdev] Unwinds Gone Wild
On Mon, Sep 29, 2008 at 12:05 PM, OvermindDL1 <overminddl1 at gmail.com> wrote:
> On Mon, Sep 29, 2008 at 9:01 AM, Duncan Sands <baldrick at free.fr> wrote:
>> libgcc is also available for windows.
> Really? What license? What restrictions? Any speed impact over the
> VC runtimes?
Don't mix VC runtime and libgcc. These are totally different libraries for doing
2017 Jan 25
0
[PATCH v2 1/7] lib: Share common protocol and errnostring libraries with the library and daemon.
This commit, which is just code motion, moves the common XDR protocol
code (libprotocol) and the common errno handling (liberrnostring) into
libraries which are each built once and shared between the library and
daemon.
---
.gitignore | 20 +++++--------
Makefile.am | 1 +
common/errnostring/Makefile.am | 45 +++++++++++++++++++++++++++++
2008 Oct 12
4
[LLVMdev] Genlibdeps.pl, CMake and MSYS
Hello, Everyone
> On this specific case, IIRC, MinGW chokes if asmprinter is not on the
> list of components. This may be another consequence of the malfunctoning
> of llvm-config/GenLibDeps.pl on MinGW/MSYS.
This works for me without any problems on mingw32. What are the problems you're seeing?
--
WBR, Anton Korobeynikov