Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] Changing The '.' Used to Prefix Labels in Assembly Output"
2010 Sep 27
0
[LLVMdev] Any plans to add LLVM support for ARM EH EABI ?
> Is it safe to say the MC work provides a (new) foundation for
> implementing ARM EH? Or, is providing ARM EH independent of the ARM-MC
> work?
The latter. MC stuff helps somehow though.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
2010 May 19
0
[LLVMdev] ARM EABI Exceptions
Hello, Renato
> Are you actively working in that area?
No, I started to experiment with ARM EH ~year ago, but never had
anything complete, unfortunately
> My main concern is that DwarfException is not extensible at all. I can't inherit from it (DwarfWriter creates it directly) and there are no call backs to target-specific code (nor registration of such mechanism).
Why do you need
2010 May 18
6
[LLVMdev] ARM EABI Exceptions
> -----Original Message-----
> From: Anton Korobeynikov [mailto:anton at korobeynikov.info]
>
> Neither llvm-gcc nor clang support exceptions on ARM (except, maybe,
> sjlj excheptions on arm/darwin). I have some patched uncommitted for
> EH on ARM but they are too far from being complete.
Hi Anton,
Are you actively working in that area? I did some experiments and managed to
2010 Sep 27
2
[LLVMdev] Any plans to add LLVM support for ARM EH EABI ?
On Mon, Sep 27, 2010 at 09:14:05AM -0700, Jason Kim wrote:
> On Mon, Sep 27, 2010 at 8:50 AM, Dennis Taul <dtaul at codeaurora.org> wrote:
> >
> > I am new to LLVM but have perused the code alongside using llvm-gcc
> > and CLANG to build ARM EABI objects.
> >
> > Based on this superficial analysis it appears that LLVM currently does
> > not support the
2013 Mar 29
2
[LLVMdev] Print Global Prefix Issue
Hey,
I have an odd problem with printing prefixed global symbols in my
AsmPrinter.
In my MCAsmInfo subclass implementation, I set
GlobalPrefix = "%";
because my assembler needs this to avoid name collisions.
Now, whenever a global symbol (be it a label, mbb operand ,etc.) gets
printed, it is encapsulated in quotes.
With other chars than '%' everything is okay...
I also
2015 May 21
3
[LLVMdev] Moving Private Label Prefixes from MCAsmInfo to MCObjectFileInfo
Hi,
I've been having trouble properly resolving an issue with our assembly syntax. The prefix our assembler uses for private local/global labels depends on the object file format. For ELF32 they begin with '$' and for ELF64 they begin with '.L'. The object file format depends on the ABI, but multiple ABI's are usable with the same target triple so we can't select
2015 May 23
3
[LLVMdev] Moving Private Label Prefixes from MCAsmInfo to MCObjectFileInfo
On 23 May 2015 at 00:08, Jim Grosbach <grosbach at apple.com> wrote:
> This is the key question. The LLVM assumption is that these sorts of things
> are inferable from the triple. Your observation here that the GNU world’s
> notion of triples and LLVM’s need not be the same is a good one. Having a
> split and a translation up in clang seems an interesting avenue to explore.
>
2015 May 22
2
[LLVMdev] Moving Private Label Prefixes from MCAsmInfo to MCObjectFileInfo
> Why isn't the ABI reflected in the triple?
Unfortunately, there's no easy answer to that. Some targets are better than others but generally speaking triples are very ambiguous. For example, in (most) GCC mips-linux-gnu/mips64-linux-gnu toolchains both triples produce 32-bit big-endian binaries for MIPS-I by default. Vendors can override the majority of this so it's entirely
2013 Mar 29
0
[LLVMdev] Print Global Prefix Issue
> Hey,
>
> I have an odd problem with printing prefixed global symbols in my
> AsmPrinter.
>
> In my MCAsmInfo subclass implementation, I set
>
> GlobalPrefix = "%";
>
>
> because my assembler needs this to avoid name collisions.
> Now, whenever a global symbol (be it a label, mbb operand ,etc.) gets
> printed, it is encapsulated in quotes.
2011 Jul 27
2
[LLVMdev] llvm-mc build failure
Dear llvm,
Recently (approximately a week ago) Clang and LLVM started to failed at
building. Assuming it was my incompetence, I cleared everything and
started witha fresh checkout (not that I changed it though). I am on
Ubuntu 10.04 LTS 64-Bit. And I configure and compile with CMake.
The error message I get at approximatley 66% is as follows:
Linking CXX executable ../../bin/llvm-mc
2012 Oct 02
2
[LLVMdev] [patch] set AssemblerDialect
currently, there is no (easy) way to set the AssemblerDialect. the
only method i am aware of is to set that via cl:opt.
this patch fixes that by adding a public function
setAssemblerDialect() to class MCAsmInfo.
Signed-off-by: Jun Koi <junkoi2004 at gmail.com>
diff --git a/include/llvm/MC/MCAsmInfo.h b/include/llvm/MC/MCAsmInfo.h
index 97aad71..cd08a7e 100644
---
2012 Oct 03
1
[LLVMdev] [patch] set AssemblerDialect
On Wed, Oct 3, 2012 at 1:19 AM, Jim Grosbach <grosbach at apple.com> wrote:
> What's the use case?
the use case is that we can print out the assembly using alternative dialect.
currently, on Intel machine, the default dialect is AT&T, and we
cannot change that to Intel syntax without using cl:opt.
the new public method lets us change the dialect without having cl:opt involved.
2012 Oct 02
0
[LLVMdev] [patch] set AssemblerDialect
What's the use case?
On Oct 1, 2012, at 8:33 PM, Jun Koi <junkoi2004 at gmail.com> wrote:
> currently, there is no (easy) way to set the AssemblerDialect. the
> only method i am aware of is to set that via cl:opt.
>
> this patch fixes that by adding a public function
> setAssemblerDialect() to class MCAsmInfo.
>
> Signed-off-by: Jun Koi <junkoi2004 at
2018 Apr 03
4
SCEV and LoopStrengthReduction Formulae
I am attempting to implement a minor loop strength reduction optimization for
targets that support compare and jump fusion, specifically
TTI::canMacroFuseCmp(). My approach might be wrong; however, I am soliciting
the idea for feedback, so that I can implement this correctly. My plan is to
add a Supplemental LSR formula to LoopStrengthReduce.cpp that optimizes the
following case, but perhaps
2013 Jan 24
3
[LLVMdev] [lld] driver and options questions
Michael,
I'm looking at flushing out the mach-o driver and targetinfo.
Can we rename the "ld64" flavor to "darwin". The command line tool on MacOSX is called "ld" - just like on unix. The name ld64 is the current source repository name for the linker. Once lld takes over, the term ld64 won't mean anything.
I've worked through adding DarwinOpts.td
2019 Dec 04
3
ABI-specific Stack Pointer Register?
Hi,
In the runtime system for GHC Haskell, the stack pointer register is not the
same as the one defined by the operating system ABI, and it's difficult for GHC
to change that. Following the example of CoreCLR in LLVM, it seems one way to
remedy this situation is to define a new ABI (i.e., a new
llvm::Triple::EnvironmentType ) and modify the code generator as-needed to
respect to our ABI,
2016 Mar 30
4
LLD: Possible optimization for TargetInfo
On Wed, Mar 30, 2016 at 4:20 PM, Sean Silva <chisophugis at gmail.com> wrote:
> I believe the relocation stuff that Rafael is currently working on will
> make this a non-issue (it will make relocation application much friendlier
> for the CPU).
>
I don't think Rafael's patch would make this a non-issue. He's making
scanRelocs to create data, which would reduce the
2010 May 11
2
[LLVMdev] AsmPrinter::EmitLinkage
I have been looking over AsmPrinter::EmitLinkage (around line 195 of
lib\CodeGen\AsmPrinter\AsmPrinter.cpp) and it seems that its implementation
will vary quite a bit depending on what object file format is in use (MachO,
ELF, or COFF).
Would it make sense to delegate the implementation to a specialized object
from current the object file format?
I am tempted to make it the MCAsmInfo
2016 Mar 30
2
LLD: Possible optimization for TargetInfo
I was wandering how much is the overhead of virtual function calls of
TargetInfo member functions. TargetInfo handles platform-specific details,
and we have target-specific subclasses of that class. The subclasses
override functions defined in TargetInfo.
The TargetInfo member functions are called multiple times for each
relocation. So the cost of virtual function calls may be non-neglible. That
2011 Apr 08
3
[LLVMdev] dragonegg build failure
On Fri, Apr 08, 2011 at 08:28:27AM +0200, Duncan Sands wrote:
> Hi Jack,
>
> > The new dragonegg 2.9 sources fail to build against either FSF gcc 4.5.2 or 4.5.3svn
> > (with the i386_static.diff patch applied) on x86_64-apple-darwin10. In both cases, the
> > build fails as...
>
> what does the command
> ./TargetInfo -p
> return (the TargetInfo program