Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] AsmPrinter : SwitchToSection"
2009 Aug 12
4
[LLVMdev] XCore & PIC16 AsmPrinters
Hi XCore and PIC16 maintainers,
I'd appreciate it if you guys could move your AsmPrinter
implementation to be in a subdirectory like the rest of the other
targets (e.g. make it live in lib/Target/PIC16/AsmPrinter). Anton is
planning to move MSP430 to use the same approach. Having all the
targets use the same design simplifies the build system and keeps the
target architecture more
2009 Jan 30
1
[LLVMdev] AsmPrinter question
> Hi Sachin,
>
> The declaration of functions called via the "call" instruction is a
> GlobalValue in your Module. You can go through all of the
> GlobalValues, look for those that are Function declarations (use the
> "Function::isDeclaration()" method), and then placing them in the
> appropriate place in your assembly file.
>
> Would that work?
Hi
2009 Jan 29
0
[LLVMdev] AsmPrinter question
Hi Sachin,
The declaration of functions called via the "call" instruction is a
GlobalValue in your Module. You can go through all of the
GlobalValues, look for those that are Function declarations (use the
"Function::isDeclaration()" method), and then placing them in the
appropriate place in your assembly file.
Would that work?
-bw
On Jan 28, 2009, at 12:23 AM,
2009 Jan 28
2
[LLVMdev] AsmPrinter question
Hi,
Probably I did not mention my question correctly.
I need to emit declarations of the libcalls (that are made in the
current module) at the beginning of the assembly file. The class
"Module" does not maintain any list of the libcalls made during the
program. Although, it maintains lists of all the global variables and
functions in the current module.
Traversing each
2007 Apr 30
0
[LLVMdev] Boostrap Failure -- Expected Differences?
On Apr 27, 2007, at 3:50 PM, David Greene wrote:
> The saga continues.
>
> I've been tracking the interface changes and merging them with
> the refactoring work I'm doing. I got as far as building stage3
> of llvm-gcc but the object files from stage2 and stage3 differ:
>
>
> warning: ./cc1-checksum.o differs
> warning: ./cc1plus-checksum.o differs
>
>
2009 Aug 13
0
[LLVMdev] XCore & PIC16 AsmPrinters
Chris,
I will try to get it done before 2.6. (8/21).
- Sanjiv
-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu on behalf of Chris Lattner
Sent: Wed 8/12/2009 10:08 PM
To: LLVM Developers Mailing List
Subject: [LLVMdev] XCore & PIC16 AsmPrinters
Hi XCore and PIC16 maintainers,
I'd appreciate it if you guys could move your AsmPrinter
implementation to be in a
2015 Oct 05
0
[PATCH 2/4] Remove unused linker scripts
From: Sylvain Gault <sylvain.gault at gmail.com>
Some linker scripts were splitted into i386 and x86_64 versions in
commit d8eede3f2a360163235fad222a0190cd7c5bef38 but older scripts were
left there.
Signed-off-by: Sylvain Gault <sylvain.gault at gmail.com>
---
core/syslinux.ld | 414 ------------------------------------------------
core/x86_64/syslinux.ld | 389
2009 Jan 28
0
[LLVMdev] AsmPrinter question
See MachineOperand.h. If a MachineOperand represents an external
symbol, getSymbolName() returns a string.
Evan
On Jan 27, 2009, at 8:26 PM, Sachin.Punyani at microchip.com wrote:
> Hi All,
>
> I need to print some extra information about libcall names in
> assembly. Libcall names are managed as ExternalSymbols in LLVM.
>
> How do I access these ExternalSymbols from
2009 Jun 24
2
[LLVMdev] patch for llc/ARM: added mechanism to move switch tables from .text -> .data; also cleanup and documentation
Evan:
Sorry for the late follow up, I was out of town last week.
Enclosed please find the updated patch including all
your suggestions and a dejagnus test.
Robert
On Thu, Jun 11, 2009 at 2:27 PM, Evan Cheng <evan.cheng at apple.com> wrote:
>
> On Jun 8, 2009, at 2:42 PM, robert muth wrote:
>
> > On Sun, Jun 7, 2009 at 11:53 PM, Evan Cheng <evan.cheng at apple.com>
2009 Jan 28
2
[LLVMdev] AsmPrinter question
Hi All,
I need to print some extra information about libcall names in assembly.
Libcall names are managed as ExternalSymbols in LLVM.
How do I access these ExternalSymbols from Asmprinter?
AsmPrinter uses class Module that lists all the global variables
(including extern variables) and functions (include extern functions).
But it does not list any information about the libcalls
2009 Aug 13
2
[LLVMdev] XCore & PIC16 AsmPrinters
On Aug 12, 2009, at 9:48 PM, Sanjiv.Gupta at microchip.com wrote:
> Chris,
> I will try to get it done before 2.6. (8/21).
>
Thanks Sanjiv! One other nice cleanup (but which is not time critical
at all) would be to merge the contents of "PIC16Section" into the new
"MCSectionPIC16" class. Unlike the previous design, you're now
allowed to store arbitrary
2019 Jan 18
0
[klibc:master] mips: use -Ttext-segment when linking shared library
Commit-ID: 048bfb0df170d4a43142adcee8a2dffdfc2c1e9f
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=048bfb0df170d4a43142adcee8a2dffdfc2c1e9f
Author: James Cowgill <james.cowgill at mips.com>
AuthorDate: Fri, 2 Mar 2018 08:33:01 -0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Wed, 2 Jan 2019 03:08:04 +0000
[klibc] mips: use -Ttext-segment
2010 May 07
0
[LLVMdev] AsmPrinter behavior
On 7 May 2010 18:14, Chris Lattner <clattner at apple.com> wrote:
>
> On May 7, 2010, at 10:02 AM, Aaron Gray wrote:
>
> On 7 May 2010 17:53, Chris Lattner <clattner at apple.com> wrote:
>
>>
>> On May 7, 2010, at 9:51 AM, Nathan Jeffords wrote:
>>
>> This seems counter intuitive to me, I can understand that C assigned that
>>> behavior
2009 Jun 21
4
[LLVMdev] proposal to simplify isel/asmprinter interaction with globals
Hi All,
I'm working on various cleanups and simplifications to the
asmprinters. One thing that is driving me nuts is that the
asmprinters currently "reverse engineer" a lot of information when
printing an operand that isel had when it created it.
I'm specifically talking about all the suffixes generated by isel,
like $non_lazy_ptr, @TLSGD, @NTPOFF, (%rip) etc. These
2010 May 07
0
[LLVMdev] AsmPrinter behavior
On Fri, May 7, 2010 at 10:14 AM, Chris Lattner <clattner at apple.com> wrote:
>
> On May 7, 2010, at 10:02 AM, Aaron Gray wrote:
>
> On 7 May 2010 17:53, Chris Lattner <clattner at apple.com> wrote:
>
>>
>> On May 7, 2010, at 9:51 AM, Nathan Jeffords wrote:
>>
>> This seems counter intuitive to me, I can understand that C assigned that
2017 Mar 10
3
[cfe-dev] proposal - pragma section directive in clang
+llvm-dev properly this time.
On Fri, 10 Mar 2017 at 09:42 James Molloy <james at jamesmolloy.co.uk> wrote:
> Hi Reid, all,
>
> +llvm-dev as this RFC involves changes in Clang and LLVM.
>
> This RFC has stagnated and I think that's partially because the proposal
> isn't particularly elegant and is light on details. We've been having a
> rethink and have a
2019 Jan 21
0
[PATCH] ia64: Fix shared build
We need to build with -mno-pic to disable all uses of GP, as well as use
a custom linker script to avoid collisions between klibc.so's and the
executable's segments.
Signed-off-by: James Clarke <jrtc27 at jrtc27.com>
---
usr/klibc/arch/ia64/MCONFIG | 3 +
usr/klibc/arch/ia64/crt0.S | 4 -
usr/klibc/arch/ia64/klibc.ld | 267 ++++++++++++++++++++++++++++++++++++++++++
2009 Jun 22
0
[LLVMdev] proposal to simplify isel/asmprinter interaction with globals
On Jun 20, 2009, at 7:30 PM, Chris Lattner wrote:
>
>
> My proposed fix for this is to add an 'unsigned char' slot to
> MachineOperand that holds a target-specific enum value. The code in
> asmprinter would be reduced to:
>
> switch (theoperandenum) {
> case X86::MO_Flag_non_lazy_ptr:
> O << "$non_lazy_ptr";
> break;
> case
2019 Jan 21
0
[klibc:master] ia64: Fix shared build
Commit-ID: 8418552770110e9864ab24d60d8481fac58d3a65
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=8418552770110e9864ab24d60d8481fac58d3a65
Author: James Clarke <jrtc27 at jrtc27.com>
AuthorDate: Mon, 21 Jan 2019 21:26:57 +0000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Mon, 21 Jan 2019 22:51:27 +0000
[klibc] ia64: Fix shared build
We
2009 Aug 06
0
[LLVMdev] PIC16 asmprinter
Hi Sanjiv,
Can you guys split the PIC16 asmprinter out to a PIC16/AsmPrinter
subdirectory at some point? This will make it more similar to other
targets and simplify some build system stuff.
Thanks,
-Chris