search for: grenz

Displaying 17 results from an estimated 17 matches for "grenz".

Did you mean: greno
2012 Oct 05
0
[LLVMdev] Distinguish variadic register defines/uses in MCInstrDesc?
...my current patches. At the moment two tests fail. 2011-06-16-TailCallByVal.ll because an instruction alias for a variadic instruction isn't recognized and thumb2-ldm.ll fails with "Trying to add an operand to a machine instr that is already done!" Any comments? Thanks, Christoph Grenz Am Donnerstag, 27. September 2012, 01:42:04 schrieb Christoph Grenz: > Am Mittwoch, 26. September 2012, 11:18:20 schrieb Jakob Stoklund Olesen: > > Hi Christoph, > > > > As you noticed, MCInstrDesc doesn't distinguish between variadic uses and > > defs. Since variad...
2012 Sep 26
2
[LLVMdev] Distinguish variadic register defines/uses in MCInstrDesc?
Am Mittwoch, 26. September 2012, 11:18:20 schrieb Jakob Stoklund Olesen: > Hi Christoph, > > As you noticed, MCInstrDesc doesn't distinguish between variadic uses and > defs. Since variadic instructions will always require some kind of special > handling, it doesn't seem worthwhile to make the model more detailed. I don't see what makes them so different from other
2017 Apr 03
2
AtomicCmpXchg in C bindings
Hi, is there currently a way to create a cmpxchg instruction using the C bindings? I only found LLVMBuildAtomicRMW and LLVMBuildFence in the documentation. Regards, Christoph Grenz
2012 Mar 16
0
[LLVMdev] Python bindings in tree
...s all bindings I could find were for LLVM 2.x and up to Python 2.6. I used Cython for easier coding and already ported a big part of Core.h including all Type and Value classes. https://www.gitorious.org/python-llvm3 > [...] > > Gregory Szorc > gregory.szorc at gmail.com Christoph Grenz
2015 Mar 16
4
[LLVMdev] size of const_ptr for array index
Hi all, when e.g. accessing a global variable residing in a structure, the c++API code looks like: std::vector<Constant*> const_ptr_183_indices; const_ptr_183_indices.push_back(const_int32_172); const_ptr_183_indices.push_back(const_int32_184); const_ptr_183_indices.push_back(const_int64_175); Constant* const_ptr_183 = ConstantExpr::getGetElementPtr(gvar_struct_foo,
2012 Sep 26
0
[LLVMdev] Distinguish variadic register defines/uses in MCInstrDesc?
On Sep 24, 2012, at 6:39 PM, Christoph Grenz <christophg+llvm at grenz-bonn.de> wrote: > Is it possible to extend LLVM to check if 'variable_ops' is in 'ins' and/or > 'outs' in tablegen, so that MCInstrDesc could provide something like > hasVariadicDefs() and hasVariadicUses()? > > That way han...
2013 Apr 23
0
[LLVMdev] Optimize away sqrt in simple cases?
On Apr 23, 2013, at 3:33 PM, Christoph Grenz <christophg+llvm at grenz-bonn.de> wrote: > Hello, > > Am Dienstag, 23. April 2013, 13:26:19 schrieb Owen Anderson: >> That's a pretty seriously unsafe floating point optimization. It could be >> done in fast-math mode, but I doubt we currently do it. > > I...
2013 Apr 25
1
[LLVMdev] Optimize away sqrt in simple cases?
Am Dienstag, 23. April 2013, 22:50:51 schrieben Sie: > [...] > Giving more-than-expected precision can be just as bad for the user as less. > It tends to come up in situations where the optimization would break some > symmetry, the same way that aggressively forming FMAs can break user code. > [...] > > It boils down to the fact that giving excess precision in >
2012 Mar 16
3
[LLVMdev] Python bindings in tree
There was some talk on IRC last week about desire for Python bindings to LLVM's Object.h C interface. So, I coded up some and you can now find some Python bindings in trunk at bindings/python. Currently, the interfaces for Object.h and Disassembler.h are implemented. I'd like to stress that things are still rough around the edges, so use at your own risk. I intend to smooth things over in
2013 Apr 23
2
[LLVMdev] Optimize away sqrt in simple cases?
Hello, Am Dienstag, 23. April 2013, 13:26:19 schrieb Owen Anderson: > That's a pretty seriously unsafe floating point optimization. It could be > done in fast-math mode, but I doubt we currently do it. I just saw this thread and wonder why it's "seriously" unsafe? I see only one problematic corner case. For x >= 0.0 the result cannot lose precision. For x = NaN the
2012 Sep 25
2
[LLVMdev] Distinguish variadic register defines/uses in MCInstrDesc?
Hello, I'm currently working on a rich disassembler for some ARM/Thumb environment. I wanted to keep most classes independent of the architecture, so I use MCInstrInfo and MCInstrAnalysis to find branch instructions (and other instructions writing to the program counter) and to differentiate between register definitions and uses to track all instructions the branch depends on. This works
2012 Mar 23
0
[LLVMdev] GSOC2012 idea: Python bindings for LLVM
...e are at least four Python binding projects currently running. (None of them in GSoC) I think it's a great idea to improve llvm-py, but I'd also suggest to first look at the other bindig projects. http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-March/thread.html Best regards, Christoph Grenz
2013 Feb 17
2
[LLVMdev] Emitting recursive types
Hi, I'm having a play with LLVM to implement a custom language (for my intellectual curiosity only). I'm wondering how, when using IRBuilder, one can can it to emit a recursive type definition? The code for TypeBuilder explicitly states that it doesn't handle recursive types... I'm after being able to emit, programmatically, stuff like the Named Types example in the Language
2012 Mar 23
3
[LLVMdev] GSOC2012 idea: Python bindings for LLVM
Hello all, I notice in previous gsocs of LLVM , there is no projects about language bindings for LLVM. Does that mean it has lower priority than other projects? Current python bindings for LLVM in the trunk are far from complemte. So I would like to improve python bindings for LLVM this summer if possible. My work will be based on llvm-py project ( http://code.google.com/p/llvm-py/). I obtained
2012 Mar 18
4
[LLVMdev] a place for listing LLVM binding implementations?
Hello, I didn't see any section on this site for LLVM language bindings. There is http://llvm.org/ProjectsWithLLVM/ but that seems to be more about self-contained applications of LLVM. I think it would be useful to add a page (or section to an existing page) if you all agree. My binding is https://github.com/keithshep/llvm-fs and I know that there are many others. Best, Keith
2012 Mar 17
3
[LLVMdev] Python bindings in tree
At Fri, 16 Mar 2012 14:12:08 +0100, Christoph Grenz wrote: > > Hello, > > Am Donnerstag, 15. März 2012, 21:15:02 schrieb Gregory Szorc: > > There was some talk on IRC last week about desire for Python bindings to > > LLVM's Object.h C interface. So, I coded up some and you can now find > > some Python bindings in...
2012 Dec 26
1
[LLVMdev] Getting MCInst "ins" and "outs"
Hi, Am Mittwoch, 26. Dezember 2012, 15:20:27 schrieb Manny Ko: > The MCInstrDesc has a method getNumDefs() which tells you how many 'out > registers' that MCInst has. The 'out' registers are always at the beginning > of the list. You can also use getNumOperands(). I've run into the problem, that this doesn't work for instructions which have variadic arguments