Displaying 20 results from an estimated 51 matches for "handwritten".
2016 May 15
2
RFC: callee saved register verifier
I’ve seen this done in the past without compiler support (for the case of handwritten or JIT’d, etc functions that need checking).
It worked something like this:
1. Pass calls to the risky functions through a macro/template or such.
2. In release mode, this turns into a no-op. In debug mode, this sends the calls through a handwritten asm wrapper that sets all the callee-save regis...
2016 Apr 19
3
Backward references in assembly absolute expressions
While trying to compile an existing codebase which uses handwritten
assembly with LLVM, I ran into an issue around using backward references in
assembly absolute expressions. A simple example can be the following
snippet:
_foo:
.fill 0x100
_bar:
.fill _bar - _foo
_baz:
.fill 0x100
While gas compiles this snippet without any errors, the integrated
assembler...
2010 May 26
2
[LLVMdev] i256 for x86_64
Hello all
I have a very simple handwritten .ll file that can be translated to native
assembly on x86_64 when I use i128. But if I use i256 I get an error. see
the file and the first line of the error below. Any help is appreciated! I
played a little bit with target datalayout but it didn't help.
Best
Ehsan
Input File:
target datalayo...
2019 Nov 21
2
[Machine IR] Analyzing Assembly Source Code in MIR passes
Dear LLVM developers,
My goal is to write LLVM Machine IR (MIR) passes to analyze the assembly
source code. But it seems I need to find a way to translate the handwritten
assembly code into MIR format first.
Is there any materials, or any modules in LLVM source code, that can help
to translate assembly code into LLVM MIR for analysis?
Or is there any easier ways to analyze assembly code in MIR passes without
translating it?
Best Regards,
Lele Ma
-------------- ne...
2008 Mar 31
2
[LLVMdev] Whole-function isel
...and research purposes.
be warned that the code is merely a prototype implementation and not
ready for inclusion in LLVM. it also requires a cost augmented graph
grammar. for our ARM implementation, we could derive a basic set of
rules directly from the LLVM tablegen description, but additional
handwritten rules (e.g., replacing the c++ written address mode
selection) were necessary. the implementation has been ported from
another private backend which is still evident in some places.
if you're still interested in the code, i could prepare a small package
to play with along with some useful i...
2016 May 13
2
RFC: callee saved register verifier
...part of _LLVM_, but to verify that e.g. a custom calling
> > convention that says that a call target preserves %r10 actually does
> > preserve %r10. This is the compiler enforcing a contract, just at a
> > very low level.
>
> You mean with code generated by another compiler/handwritten, because
> otherwise, this is pretty easy to verify in the machine verifier :).
> (We probably do not verify that though, but we should.)
> Thus, could you elaborate on the use cases.
>
> >
> >
> > Implementation wise, I have a rough prototype that works by running a
&...
2013 Jul 17
1
[LLVMdev] eclipse and gdb
...I actually never did a build with Eclipse, only used it for code navigation and debugging :)
Actually that’s not really true, I did build with Eclipse from time to time to get all the sources TableGen generates automatically. This is really nice because the source navigation works just fine across handwritten and automatically generated files.
What I meant to say is that I have two build directories, one for Eclipse/Xcode to have a project file for source navigation and one for my regular build on the console which I use for all the actual development work.
Regards,
Tilmann
-------------- next part...
2010 May 26
0
[LLVMdev] i256 for x86_64
On May 25, 2010, at 5:16 PM, Ehsan Amiri wrote:
> Hello all
>
> I have a very simple handwritten .ll file that can be translated to native assembly on x86_64 when I use i128. But if I use i256 I get an error. see the file and the first line of the error below. Any help is appreciated! I played a little bit with target datalayout but it didn't help.
This works for me on mainline. Are you...
2008 Apr 02
0
[LLVMdev] Whole-function isel
...t;
> be warned that the code is merely a prototype implementation and not
> ready for inclusion in LLVM. it also requires a cost augmented graph
> grammar. for our ARM implementation, we could derive a basic set of
> rules directly from the LLVM tablegen description, but additional
> handwritten rules (e.g., replacing the c++ written address mode
> selection) were necessary. the implementation has been ported from
> another private backend which is still evident in some places.
>
>
> if you're still interested in the code, i could prepare a small
> package
> to p...
2019 Nov 25
2
[Machine IR] Analyzing Assembly Source Code in MIR passes
...lt;
llvm-dev at lists.llvm.org> wrote:
> On Thu, Nov 21, 2019 at 3:37 AM Lele Ma via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> > My goal is to write LLVM Machine IR (MIR) passes to analyze the assembly
> source code. But it seems I need to find a way to translate the handwritten
> assembly code into MIR format first.
> >
> > Is there any materials, or any modules in LLVM source code, that can
> help to translate assembly code into LLVM MIR for analysis?
> >
> > Or is there any easier ways to analyze assembly code in MIR passes
> without tra...
2002 Nov 20
1
"Add user script" option never running?
...the one that comes with Debian
unstable) in domain mode, setting up a member file server, with domain
clients authenticating to a W2k machine.
I'm trying to use the "add user script" option to create new users
automagically, but it never seems to run. The script in this case is a
handwritten perl script, and I've added a "touch" call at the top, so I
can tell whether it's really running or not.
Here's the [global] part of smb.conf:
[global]
encrypt passwords=yes
workgroup=BEDROCK
security=domain
password server=*
netbios name=newbambam
add user script = /usr/lo...
2016 May 13
4
RFC: callee saved register verifier
Hi,
This is a proposal to introduce a mechanism to LLVM that uses runtime
instrumentation to verify that a call target preserves all of the
registers it says it does. Internally, we have a diverse set of
calling conventions for runtime functions that get called from LLVM
compiled code, and having some sort of validation mechanism will give
us more confidence in selecting aggressive calling
2012 Feb 14
1
[LLVMdev] Polly and non affine branches in ScoPs
...tion.
>
> This requires techniques as described in the paper:
>
> "The Polyhedral Model Is More Widely Applicable Than You Think"
>
> Cheers
> Tobi
I'm interested in something that sounds like option 1. I'm not
interested of code generation.
Attached is a an handwritten testcase of the situation I'm into.
ScopDetection refuses to analyze the external loop because there is a
branch that depends on an SCEVUnknown generated inside the same region
(SCEVValidator.cpp:267 is the check that returns invalid).
With "this code X into Y" you mean at the sourc...
2019 Nov 27
2
Writing a Pass in LLVM MC (Machine Code) level to Analyze Assembly Code
...t;>> On Thu, Nov 21, 2019 at 3:37 AM Lele Ma via llvm-dev
>>> <llvm-dev at lists.llvm.org> wrote:
>>> > My goal is to write LLVM Machine IR (MIR) passes to analyze the
>>> assembly source code. But it seems I need to find a way to translate the
>>> handwritten assembly code into MIR format first.
>>> >
>>> > Is there any materials, or any modules in LLVM source code, that can
>>> help to translate assembly code into LLVM MIR for analysis?
>>> >
>>> > Or is there any easier ways to analyze assembly...
2005 Jan 09
0
[LLVMdev] Version Control Upgrade?
...you're doing to lose/mess up data/configuration.
Perforce is the closest thing out there to a VCS with an "undo button",
as far as I'm aware.
- Perforce is basically bug-free. For every genuine bug an LLVMer finds
in Perforce, I will send him or her a box of chocolates and a
handwritten apology. :)
It's difficult for me to make a strong case that LLVM should switch to
Perforce because I haven't had any problems with the _current_ system,
but if we are to switch, I'd recommend Perforce highly. It does
everything people ever seem to ask of a VCS, and it's quick,...
2017 Feb 19
2
Reconocimiento de texto
Buenas Juan,
Ya había visto ese paquete pero creo que no soy capaz de explotarlo del todo. Yo lo que tengo son imágenes solo de números y sobre una superficie gris. Entonces me gustaría poder entrenar a mi “modelo” para que solo muestre como posible salida números y siempre en un fondo gris.
Aun asi, muchas gracias por la recomendación
Jesús
Enviado desde
2006 Jul 12
12
pass hash as parameter
Hello,
How can I pass a hash as parameter from a template with url_for?
e.g. : if I have
test = { :a => "a", :b => "b" }
How can I pass that with my request? Is it possible to pass nested
hash''es to?
Right now,
url_for :action => :test, test
doesn''t seem to work.
Thank you,
--
2010 May 26
2
[LLVMdev] i256 for x86_64
...ms to be too old for 2.7.
Are there any restrictions on integer types for x86_64?
On Tue, May 25, 2010 at 5:25 PM, Chris Lattner <clattner at apple.com> wrote:
>
> On May 25, 2010, at 5:16 PM, Ehsan Amiri wrote:
>
> > Hello all
> >
> > I have a very simple handwritten .ll file that can be translated to
> native assembly on x86_64 when I use i128. But if I use i256 I get an error.
> see the file and the first line of the error below. Any help is appreciated!
> I played a little bit with target datalayout but it didn't help.
>
> This works for m...
2012 Nov 02
1
[LLVMdev] Avoiding the emission of metadata
You can turn off TBAA metadata by passing -fno-strict-aliasing to clang. You can turn off emitting debug metadata by not passing -g. There is no flag for turning off metadata in general (for example, range metadata will still be produced for certain casts, and if you compile Objective-C for the GNU runtimes then you will still have some metadata attached to message sends. If you want to remove
2012 Nov 20
0
[LLVMdev] Does LLVM sign ARM ELFs?
Hi Greg,
> At this point, my biggest concern is the quality of the
> ElfStreamer, and I haven't done anything to verify the linker. But
> everything seems to "just work", so maybe time to go find bigger fish
> to fry? What do you think? Should we flip the switch?
I'd be in favour of it. All of the gaps I'm aware of (haphazard build
attributes mainly) are