Displaying 20 results from an estimated 10080 matches for "emitting".
2009 Sep 16
3
[LLVMdev] [OT] GCC specs language and adding options
Hi,
I have been trying to get to grips with GCC's specs language in order to add
COFF and ELF emission options.
I have noticed that the '-emit-llvm-bc' option does not appear to work at
all either with -S or without, giving :-
llvm-gcc: unrecognized option '-emit-llvm-bc'
Also this seems by default seems for '-emit-llvm' to produce a '.o' file
instead of
2008 Jun 09
4
[LLVMdev] llvm-gcc and -emit-llvm
Just thought I'd mention this to keep other people from stubbing their toes on it...
Using llvm-gcc/llvm-g++ and -emit-llvm, you need to make sure to pass -S as well, like so:
./llvm-g++ -S -emit-llvm hello.cpp
not: /llvm-g++ -emit-llvm hello.cpp
I'm sure that's old news to most of the people on the list, but I thought it couldn't hurt to mention it in case other people happen
2009 Oct 14
0
[PATCH 3/7] nv50: submit user vbo data through the fifo
Requesting a new real buffer from the kernel and
copying all the data is wasteful e.g. if only a
few (but widely spread) vertices are accessed.
---
src/gallium/drivers/nv50/nv50_context.h | 3 +
src/gallium/drivers/nv50/nv50_vbo.c | 409 +++++++++++++++++++++++++++++--
2 files changed, 394 insertions(+), 18 deletions(-)
diff --git a/src/gallium/drivers/nv50/nv50_context.h
2008 Jun 09
0
[LLVMdev] llvm-gcc and -emit-llvm
...hose flags, compilation
stops earlier. -c -emit-llvm will produce llvm IR in its binary
format (suitable for feeding into llc).
It seems clear the current interface can be confusing; you are not the
first. Perhaps -emit-llvm should be renamed to indicate it does not
necessarily result in emitting llvm IR?
-output-format-llvm? Seems pretty ugly, maybe someone can do better.
2014 Mar 21
2
[LLVMdev] Unwind, exception handling, debuggers and profilers
On 21 March 2014 18:47, Logan Chien <tzuhsiang.chien at gmail.com> wrote:
> * There's the table for ARM target:
>
> - no attribute => emit unwind table
> - with nounwind => emit unwind table with cantunwind
> - with uwtable => emit unwind table
> - with uwtable+nounwind => emit unwind table WITHOUT the cantunwind
>
> The cantunwind record will stop the
2014 Mar 20
2
[LLVMdev] Unwind, exception handling, debuggers and profilers
...the behaviour I want to create. But that
can't be encoded in IR right now wrt. nothrow.
These are the options:
1. no attr: don't emit tables
2. nounwind: emit CantUnwind
3. uwtable: emit table
4. uwtable + nounwind: emit table
This is because uwtable means *also* debug/profiler use, and emitting
CantUnwind could stop them from unwinding, since there is no
information on how to continue unwinding the stack.
The semantics I want is to be able to separate between EH unwinding
and Debug/Profiler unwinding (even though they map to the same
physical tables), so that we DO emit CantUnwind in tho...
2009 Sep 18
0
[LLVMdev] [OT] GCC specs language and adding options
To add to what Duncan said,
On Wed, Sep 16, 2009 at 1:28 PM, Aaron Gray
<aaronngray.lists at googlemail.com> wrote:
> Hi,
> I have been trying to get to grips with GCC's specs language in order to add
> COFF and ELF emission options.
Good luck. :)
> I have noticed that the '-emit-llvm-bc' option does not appear to work at
> all either with -S or without, giving
2016 May 30
1
Why can't clang -emit-llvm when linking?
I know right, but if I do -emit-llvm clang will emit an IR module as .ll file for each source I give him. So why can't it just emit the modules for the sources and then continue the compilation? I don't get the point of this error. Just for curiosity
> On May 30, 2016, at 6:17 PM, David Blaikie <dblaikie at gmail.com> wrote:
>
> There is no single LLVM IR for the entire
2009 Feb 26
0
[LLVMdev] LLVM compile with -emit-llvm
On Feb 26, 2009, at 12:40 PM, Brice Lin wrote:
> Sorry, I should have been clearer. My question deals with -emit-llvm
> and -c, not -g and debug information. If you remove the -g flag from
> the command I posted previously, the problem remains. Either way, I
> updated my tree recently.
>
> Oddly enough, -emit-llvm affects the compile for me without -c or -S.
> When I run the
2009 Feb 26
3
[LLVMdev] LLVM compile with -emit-llvm
Sorry, I should have been clearer. My question deals with -emit-llvm
and -c, not -g and debug information. If you remove the -g flag from
the command I posted previously, the problem remains. Either way, I
updated my tree recently.
Oddly enough, -emit-llvm affects the compile for me without -c or -S.
When I run the aforementioned command, llvm-gcc outputs the following:
ld warning: in
2016 May 30
2
Why can't clang -emit-llvm when linking?
When I try to do
clang++ main.cpp -emit-llvm
without -S, clang says that he can’t:
clang: error: -emit-llvm cannot be used when linking
why can’t it emit the IR in a complete compilation process?
Is there a particular technical reason or just to avoid confusing jobs?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2015 Aug 21
4
[RFC] AlwaysInline codegen
Hi,
There is a problem with the handling of alwaysinline functions in
Clang: they are not always inlined. AFAIK, this may only happen when
the caller is in the dead code, but then we don't always successfully
remove all dead code.
Because of this, we may end up emitting an undefined reference for an
"inline __attribute__((always_inline))" function. Libc++ relies on the
compiler never doing that - it has lots of functions in the headers
marked this way and does _not_ export them from libc++.so.
Current implementation in clang emits alwaysinline+inline fu...
2008 Jul 17
3
[LLVMdev] RFC: debug_line Emission
In CodeGen/DwarfWriter.cpp's EmitDebugLine file, these lines are
causing havoc on Mac OS X systems:
// If there are no lines to emit (such as when we're using .loc
directives
// to emit .debug_line information) don't emit a .debug_line
header.
if (SectionSourceLines.empty())
return;
Basically, if there's a file with only data in it, we still need the
debug_line
2006 Jun 07
1
[LLVMdev] llvm-gcc 4.0 for Linux@x86
Hi John,
llvm-gcc4 by default emits object files, just as gcc does. This is by
design. If you want to get bytecode output you need to use the --emit-
llvm-bc option. A complete list of the options that llvm-gcc4 supports
can be obtained with "llvm-gcc -v --help" (lots of output). Here are the
descriptions of the --emit-llvm options:
-emit-llvm Emit LLVM code to the
2020 Jul 12
2
Emit LLVM bitcode after ThinLTO
Hi,
I wanted to get the linked result in LLVM bitcode format.
With LTO, this can be done by -flto -Wl,-plugin-opt,emit-llvm. Instead of
generating native executables, it outputs a file with bitcode format.
Does this still work with -flto=thin? -flto=thin -Wl,-plugin-opt,emit-llvm
outputs a bitcode file, but its file size is too small, and does not
contain all contents.
What is the correct way
2010 Sep 17
2
[LLVMdev] Emitting .zero
With LLVM 2.7, I see very inefficient emitting of zeros in .s files:
test_: # @test_
.quad 0 # 0x0
.quad 0 # 0x0
.quad 0 # 0x0
.quad 0 # 0x0
.quad 0 # 0x0
.quad 0 # 0x0...
2008 Jun 10
2
[LLVMdev] llvm-gcc and -emit-llvm
...n stops earlier. -c -emit-llvm will produce llvm IR in
> its binary format (suitable for feeding into llc).
>
> It seems clear the current interface can be confusing; you are not
> the first. Perhaps -emit-llvm should be renamed to indicate it does
> not necessarily result in emitting llvm IR?
> -output-format-llvm? Seems pretty ugly, maybe someone can do better.
2013 Dec 19
3
[LLVMdev] LLVM ARM VMLA instruction
Hi all,
Thanks for the info. Few observations from my side :
LLVM :
cortex-a8 vfpv3 : no vmla or vfma instruction emitted
cortex-a8 vfpv4 : no vmla or vfma instruction emitted (This is invalid
though as cortex-a8 does not have vfpv4)
cortex-a8 vfpv4 with ffp-contract=fast : vfma instruction emitted ( this
seems a bug to me!! If cortex-a8 doesn't come with vfpv4 then vfma
instructions
2008 Feb 22
3
[LLVMdev] Directly emit LLVM IR?
...rested in using LLVM as a target for a compiler I've
written in common lisp (SBCL). While I looked at perhaps wrapping the
LLVM C++ interface, wrapping C++ in, well, anything not C++ is a pain.
Someone on IRC mentioned that they didn't think I'd miss out on any
functionality by directly emitting IR, but suggested I query the list.
Do I miss out on any optimizations or other neat trickery by using the
IR directly? Does anyone know of any other platforms which directly
target LLVM via emitting IR?
Thanks,
...Eric Jonas
2016 May 30
0
Why can't clang -emit-llvm when linking?
There is no single LLVM IR for the entire compilation process in such a
command line - separate IR is created for each source file, an object file
is created, then those (native, non-IR) object files are linked together.
So it's somewhat a invalid concept.
In your case, since there's only one file anyway, just add -c and you
should be fine (your IR won't include the standard