Displaying 20 results from an estimated 5000 matches similar to: "[LLVMdev] llc and Assembler Location Control Directives"
2011 Oct 27
0
[LLVMdev] llc with long-longs and hex floating point
In the following sequence:
$llc -march=c -o diag01_c.c diag01.ll
$vpolcc.ss -S -k diag01_c.c <<== **FAILS**
$vpolcc.ss -o diag01 diag01_c.s
I am using llc (from llvm) to convert an .ll file into a .c file. I am then
running the .c file through vpolcc.ss (from zephyr) to further process it
for mips architecture. The vpolcc.ss script fails at lcc (not to be
confused with llc), with
2009 Aug 19
2
[LLVMdev] Solaris (sparc) llc bugs
Hello.
I have been trying to check, how llvm works on Solaris recently.
First I have tested lli, whitch seems to execute the bytecode generated
on Linux without any problems. However, llc has failed to generate valid
SPARC assembler code even on the helloworld example. Here is the generated
code:
sakharov at trillian:~$ cat ./test.s
.text
.align 16
.globl main
2015 Apr 22
3
[LLVMdev] what is the Line number of Phi Node with addr2line
reg2mem does not eliminate phi nodes the way codegen does, it just
converts ssa values to non-ssa values.
It's not the same thing.
On Tue, Apr 21, 2015 at 10:14 PM, Eric Lu <eirc.lew at gmail.com> wrote:
> By the way. When I remove these phi nodes with -reg2mem, some new load
> operations will be inserted, but when I try cache load operations with:
> visitFunction
>
2007 Apr 18
0
[PATCH 3/5] XEN: Update ELF notes to xen-head.S to the new interface
Again pretty self explanatory. Should be merged into 024-head.patch
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
diff -r bc6940cd08ed arch/i386/paravirt-xen/xen-head.S
--- a/arch/i386/paravirt-xen/xen-head.S Wed Aug 23 15:12:48 2006 +0100
+++ b/arch/i386/paravirt-xen/xen-head.S Wed Aug 23 15:14:47 2006 +0100
@@ -2,6 +2,7 @@
place in head.S */
#include
2002 Mar 15
0
Failed to initialize locking database
Hi Lew,
You might get this message if it's a fresh install of samba and there has
never been a connection to samba - can't remember for sure.
As to your question about error messages, well, you can grep the source (the
only -TRUE- -FOR SURE- correct documentation) - but then you've gotta
interpret the code around the error message.
The other place that is useful to see if a particular
2015 Apr 22
2
[LLVMdev] Use clang to generate LLVM IR with -O3, how to visit these load operations after -reg2mem
Best Regards!
Eric Lew
On 周三, 4月 22, 2015 at 12:11 下午, David Blaikie < dblaikie at gmail.com [dblaikie at gmail.com] > wrote:
On Tue, Apr 21, 2015 at 8:34 PM, Eric Lu <eirc.lew at gmail.com> wrote:
> Hi, all
>
> I want to instrument load/store operations in LLVM IR. And I find the LLVM
> IR generated with flag -o3 is much more efficient than -o0, so I try to
>
2015 Apr 22
3
[LLVMdev] what is the Line number of Phi Node with addr2line
Hi, Daniel
I want to profile load/store operations, in order to reduce the overhead of
profiling, I try to instrument the optimized llvm ir, which has phi nodes.
BTW, when the value of some load/store operations may have multi-source,
then the load will be translated into phi nodes, and all phi nodes are
placed in the front of BB. Sometimes, the position is not where the load
happens, is there
2012 Nov 27
1
[LLVMdev] Purpose of -debug-compile in NVPTX backend
Hi!
My general understanding of the debug symbol support is that:
- the backend defines in the XXXMCAsmInfo class if debug information is
supported (e.g. SupportsDebugInformation = true / false)
- if I don't want to output debug information then I can use the
(hidden) command line option -disable-debug-info-print (defined in
DwarfDebug.cpp).
However, in NVPTXMCAsmInfo.cpp I found:
- a
2013 Jul 12
0
[LLVMdev] How to recognize the declaring code scopes of stack variables
On Thu, Jul 11, 2013 at 9:33 PM, Eric Lu <eirc.lew at gmail.com> wrote:
> Hi, David
> yes, it is similar to your description. And do you know any methods to do
> this in LLVM IR?
I don't know the mid-level optimizers especially well - I doubt
there's a thing that does exactly what you need - but a combination of
existing passes/analyses might be able to tell you what you
2013 Jul 15
0
[LLVMdev] Fwd: Regarding scope information for variable declaration.
Thank your reply. Pankaj.
Actually, I have done it very similar to yours. But I think for my demand,
it is better to implement in Front End. Maybe I will re-implement it later
in clang.
---------- Forwarded message ----------
From: Pankaj Gode [via LLVM] <ml-node+s1065342n59345h22 at n5.nabble.com>
Date: Mon, Jul 15, 2013 at 2:35 PM
Subject: Re: Regarding scope information for variable
2007 Apr 18
1
[PATCH] Translate asm version of ELFNOTE macro into preprocessor macro
Hi,
I've come across some problems with the assembly version of the ELFNOTE
macro currently in -mm. (in
x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch)
The first is that older gas does not support :varargs in .macro
definitions (in my testing 2.17 does while 2.15 does not, I don't know
when it became supported). The Changes file says binutils >= 2.12 so I
think we need
2007 Apr 18
0
[PATCH 1/5] ELFNOTES: use a preprocessor macro to define the ELFNOTE helper
There are a bunch of issues with defining elf notes using assembler
macros, as described here:
http://marc.theaimsgroup.com/?l=linux-kernel&m=115633393226158&w=2
Therefore I replaced it with a pre-processor macro.
This is a new patch, it should fit into the series anywhere after the
-mm patch. It's been submitted to Andrew M so hopefully it'll get picked
up for next -mm.
2013 Dec 13
0
[PATCH V10 10/14] xen/pvh: specify xen features strings cleanly for PVH
From: Mukesh Rathor <mukesh.rathor@oracle.com>
Use .ascii and .asciz to define xen feature string. Note, the PVH
string must be in a single line (not multiple lines with \) to keep the
assembler from putting null char after each string before \.
Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
---
2013 Jun 28
0
[LLVMdev] does clang and llvm take more time to compile c code
On Thu, Jun 27, 2013 at 6:04 PM, Eric Lu <eirc.lew at gmail.com> wrote:
> Hi, Ben
> gcc version is: 4.7.0
> clang version is: 3.2
>
> The command options are:
> 1) clang
> generated object files: clang -O3 -c *.c -o x.o
> link: clang *.o -lm -o mpeg2enc
>
> 2) gcc
> generated object files: gcc -O3 -c *.c -o x.o
> link: gcc *.o -lm -o mpeg2enc
>
2013 Jun 29
2
[LLVMdev] does clang and llvm take more time to compile c code
The options is
cmake -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_INSTALL_PREFIX=~software/llvmsvn
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON /home/xxx/lsoftware/llvm-3.2-svn
$make
$make install
On Fri, Jun 28, 2013 at 12:37 PM, Eric Christopher <echristo at gmail.com>wrote:
> On Thu, Jun 27, 2013 at 6:04 PM, Eric Lu <eirc.lew at gmail.com> wrote:
> > Hi, Ben
> > gcc
2012 Mar 20
0
[LLVMdev] Runtime linker issue wtih X11R6 on i386 with -O3 optimization
I was told that my writeup lacked an example and details so I reproduced
the code that X uses and I was able to boil down the issue to a couple
of lines of code. Sorry again for the length of this email.
Code was compiled on OpenBSD with clang 3.0-release.
========================================================================
With -O0 which works as X expects:
2013 Jun 20
0
[LLVMdev] -indvars issues?
It works, thank you, Andy.
On Thu, Jun 20, 2013 at 12:45 AM, Andrew Trick <atrick at apple.com> wrote:
>
> On Jun 19, 2013, at 1:04 AM, Eric Lu <eirc.lew at gmail.com> wrote:
>
> It seems the options still does not work, or I have misunderstood what you
> said.
>
> The command:
> clang -g -I/home/lxj/software/llvmsvn/include -emit-llvm $1.c -c -o
> $1.bc
2003 Dec 10
0
Having problem on paradox database.
Dear Support,
I'm newbie for this redhat 9 and samba 3.0, i having a problem on =
paradox database with samba file server, can any support would like to =
help. Your help is much appreciated. Will i have 30 PC running on WIn95 =
& Win98 and application Corel Paradox 8. I already configure samba as =
below, it having locking problems and slow.
# Samba config file created using SWAT
#
2018 Jul 14
2
Lowering a reasonably complex struct seems to create over complex and invalid assembly fixups on some targets
When I compile this LLVM IR….
@0 = private constant [19 x i8] c"V4main10Brightness\00", section "__TEXT,__swift3_typeref, regular, no_dead_strip"
@1 = private constant [9 x i8] c"Vs5UInt8\00", section "__TEXT,__swift3_typeref, regular, no_dead_strip"
@2 = private constant [18 x i8] c"currentBrightness\00", section "__TEXT,__swift3_reflstr,
2014 Feb 19
2
[LLVMdev] [lldb-dev] How is variable info retrieved in debugging for executables generated by llvm backend?
Sorry, this is the attachment.
2014-02-19 15:08 GMT+08:00 杨勇勇 <triple.yang at gmail.com>:
> Thank you.
>
> Here is an example and the attchment contains extra files including object
> file and executable file.
> I want to print for example the value of "a", but lldb command "frame
> variable a" displays "0" and so does "b", and