Displaying 20 results from an estimated 29 matches for "zylin".
2011 Jul 03
3
[LLVMdev] Deleting unused C++ code
...ed C++ code using global
analysis?
If I could use llvm to figure out what code I can delete in a 20
year old app with millions of lines of code, this alone would defend
spending time on making the app build with llvm, even if we don't
actually run the code generated...
--
Øyvind Harboe - Can Zylin Consulting help on your project?
US toll free 1-866-980-3434 / International +47 51 87 40 27
http://www.zylin.com/
2011 Jun 30
2
[LLVMdev] iosfwd problems
I've tried llvm 2.8 and 2.9, but they both have problems with
#include <iosfwd>.
Any pointers to what this might be?
/usr/include/c++/4.5/iosfwd:39:10: fatal error: 'bits/c++config.h'
file not found
#include <bits/c++config.h>
--
Øyvind Harboe - Can Zylin Consulting help on your project?
US toll free 1-866-980-3434 / International +47 51 87 40 27
http://www.zylin.com/
2011 Jul 03
0
[LLVMdev] Deleting unused C++ code
...see what's
actually *used* when the app is run normally. Then you can ask the
question, what percentage of all lines of code are dead?
A static analysis will not be able to see through things like virtual
method calls.
Reid
On Sun, Jul 3, 2011 at 3:07 PM, Øyvind Harboe <oyvind.harboe at zylin.com> wrote:
> Can llvm generate warnings for unused C++ code using global
> analysis?
>
> If I could use llvm to figure out what code I can delete in a 20
> year old app with millions of lines of code, this alone would defend
> spending time on making the app build with llvm, e...
2011 Jun 30
2
[LLVMdev] GCC 4.1 ABI and clang
...10 and
>>> I was wondering if clang/llvm 2.8 would do it.
>>
>> Perhaps I better try the latest, got an error when I tried 2.8:
>
> C++ support in clang 2.8 was poor.
I'll try to build & install clang from svn/git and see how that goes...
--
Øyvind Harboe - Can Zylin Consulting help on your project?
US toll free 1-866-980-3434 / International +47 51 87 40 27
http://www.zylin.com/
2008 Jun 19
2
[LLVMdev] Backend for the ZPU - a stack based / zero operand CPU
Hi all,
Zylin has implemented the world smallest 32 bit CPU with
a GCC backend. (I shall stand corrected if anyone claims
& proves otherwise :-)
Implementing a GCC backend for a zero operand/stack based
architecture proved pretty tricky, but I'm quite pleased with
the resulting code. I did make alterati...
2011 Jun 30
2
[LLVMdev] GCC 4.1 ABI and clang
On Thu, Jun 30, 2011 at 02:44:26PM +0200, Øyvind Harboe wrote:
> On Thu, Jun 30, 2011 at 2:03 PM, Duncan Sands <baldrick at free.fr> wrote:
> > Hi Øyvind,
> >
> >> I'm trying to find some written evidence to present to the powers
> >> that be that clang/llvm is ABI compatible with GCC 4.1 linux
> >> 64 bit.
> >
> > both clang and
2011 Jun 30
0
[LLVMdev] GCC 4.1 ABI and clang
...; Starting with which version?
>
> I think GCC last changed the C++ ABI with version 3.4.
Sorry, I meant from which version of clang? I'm using Ubuntu 10 and
I was wondering if clang/llvm 2.8 would do it.
clang --version
clang version 2.8 (branches/release_28)
--
Øyvind Harboe - Can Zylin Consulting help on your project?
US toll free 1-866-980-3434 / International +47 51 87 40 27
http://www.zylin.com/
2011 Jun 30
2
[LLVMdev] GCC 4.1 ABI and clang
...wondering if clang/llvm 2.8 would do it.
Perhaps I better try the latest, got an error when I tried 2.8:
In file included from testsuite/test.cpp:8:
In file included from ./testsuite/precompile.h:4:
./util/precompile.h:17:12: fatal error: 'iosfwd' file not found
--
Øyvind Harboe - Can Zylin Consulting help on your project?
US toll free 1-866-980-3434 / International +47 51 87 40 27
http://www.zylin.com/
2011 Jun 30
2
[LLVMdev] GCC 4.1 ABI and clang
...would allow me to work with clang/llvm at my day-job and
I would like nothing better!
This is a pretty big app(millions of lines of code), so it would be
interesting to see how llvm/clang behaves.
Better warnings/errors and cutting down on build times
would be huge wins.
--
Øyvind Harboe - Can Zylin Consulting help on your project?
US toll free 1-866-980-3434 / International +47 51 87 40 27
http://www.zylin.com/
2011 Jun 30
0
[LLVMdev] iosfwd problems
...ut they both have problems with
> #include <iosfwd>.
>
> Any pointers to what this might be?
>
> /usr/include/c++/4.5/iosfwd:39:10: fatal error: 'bits/c++config.h'
> file not found
> #include <bits/c++config.h>
>
>
> --
> Øyvind Harboe - Can Zylin Consulting help on your project?
> US toll free 1-866-980-3434 / International +47 51 87 40 27
> http://www.zylin.com/
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs....
2011 Jun 30
0
[LLVMdev] GCC 4.1 ABI and clang
...powers
>> that be that clang/llvm is ABI compatible with GCC 4.1 linux
>> 64 bit.
>
> both clang and gcc-4.1 are supposed to conform to the platform ABI (if they
> don't then that is a bug), and thus be ABI compatible.
Starting with which version?
--
Øyvind Harboe - Can Zylin Consulting help on your project?
US toll free 1-866-980-3434 / International +47 51 87 40 27
http://www.zylin.com/
2011 Jun 30
0
[LLVMdev] GCC 4.1 ABI and clang
On Thu, Jun 30, 2011 at 4:00 PM, Øyvind Harboe <oyvind.harboe at zylin.com> wrote:
> On Thu, Jun 30, 2011 at 3:43 PM, Duncan Sands <baldrick at free.fr> wrote:
>> On 30/06/11 15:13, Øyvind Harboe wrote:
>>>> Sorry, I meant from which version of clang? I'm using Ubuntu 10 and
>>>> I was wondering if clang/llvm 2.8 would do...
2011 Jul 04
2
[LLVMdev] Deleting unused C++ code
...non-starter.
That said, it would be interesting to add gcov to the testsuite to get a measure
of how many percent of the application we're exercising....
> A static analysis will not be able to see through things like virtual
> method calls.
Not even in theory?
--
Øyvind Harboe - Can Zylin Consulting help on your project?
US toll free 1-866-980-3434 / International +47 51 87 40 27
http://www.zylin.com/
2011 Jun 30
4
[LLVMdev] GCC 4.1 ABI and clang
Hi Øyvind,
> I'm trying to find some written evidence to present to the powers
> that be that clang/llvm is ABI compatible with GCC 4.1 linux
> 64 bit.
both clang and gcc-4.1 are supposed to conform to the platform ABI (if they
don't then that is a bug), and thus be ABI compatible.
Ciao, Duncan.
2011 Jul 04
2
[LLVMdev] Deleting unused C++ code
...generate (imperfect) call graphs for you. It sounds like you
just need a rough list of functions that might be unused to start
with.
-Scott
On Sun, Jul 3, 2011 at 11:04 PM, Daniel Berlin <dberlin at dberlin.org> wrote:
> On Mon, Jul 4, 2011 at 1:42 AM, Øyvind Harboe <oyvind.harboe at zylin.com> wrote:
>> On Sun, Jul 3, 2011 at 10:34 PM, Reid Kleckner <reid.kleckner at gmail.com> wrote:
>>> An easier way would be to use a coverage tool like gcov to see what's
>>> actually *used* when the app is run normally. Then you can ask the
>>> quest...
2010 Nov 18
0
[LLVMdev] Writing a backend for the ZPU
...123;
=>
loadsp 16 # push value at memory location sp+16 onto stack
loadsp 24 # another value
add
im 123
add
storesp 20 # store back to original location. Notice 16+4=20
LLVM represents the above as something like:
(set a, (add (add a,b), 123)
--
Øyvind Harboe
Can Zylin Consulting help on your project?
US toll free 1-866-980-3434 / International +47 51 63 25 00
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
2011 Jun 30
0
[LLVMdev] GCC 4.1 ABI and clang
...would allow me to work with clang/llvm at my day-job and
I would like nothing better!
This is a pretty big app(millions of lines of code), so it would be
interesting to see how llvm/clang behaves.
Better warnings/errors and cutting down on build times
would be huge wins.
--
Øyvind Harboe - Can Zylin Consulting help on your project?
US toll free 1-866-980-3434 / International +47 51 87 40 27
http://www.zylin.com/
2011 Jun 30
0
[LLVMdev] GCC 4.1 ABI and clang
On 30/06/11 15:13, Øyvind Harboe wrote:
>> Sorry, I meant from which version of clang? I'm using Ubuntu 10 and
>> I was wondering if clang/llvm 2.8 would do it.
>
> Perhaps I better try the latest, got an error when I tried 2.8:
C++ support in clang 2.8 was poor.
Ciao, Duncan.
>
> In file included from testsuite/test.cpp:8:
> In file included from
2011 Jul 04
0
[LLVMdev] Deleting unused C++ code
...thing.
I don't have the link right here, but I saw someone was working on a project
to list unused #include files. That too would be a big boon in untangling
large 20 year old code.
I'll settle for good guesses when iron clad guarantees are provably
impossible :-)
--
Øyvind Harboe - Can Zylin Consulting help on your project?
US toll free 1-866-980-3434 / International +47 51 87 40 27
http://www.zylin.com/
2008 Jun 24
4
[LLVMdev] jit DLLs
...at a Windows app can then use.
This would build the performance sensitive code on the target
machine making it possible to exploit CPU specific x86
vector instructions.
The code that calls fn's in the DLL should, ideally, be unaware
that a llvm JIT is being used.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer