Displaying 20 results from an estimated 300 matches similar to: "[LLVMdev] C Backend Ressurected"
2014 Aug 19
3
[LLVMdev] C Backend Ressurected
I don't know how good it is, but the applications seem obvious. e.g.
compiling programs in any of a number of original formats to run natively
on CPUs that have a working simple C compiler (maybe only K&R or C89) but
don't have an LLVM back end.
The source program could be in modern C, C++, or any other high level
language or assembly language with a translator to LLVM.
On Tue, Aug
2014 Aug 19
2
[LLVMdev] C Backend Ressurected
It provides a useful starting point, but I agree with Jim that it is not a complete solution and requires rework of the results in a lot cases. I think we could improve it further to address these issues but that work is nontrivial.
If you are deciding between a quick and dirty implementation of a custom backend vs. the C backend, then the C backend is sometimes preferable in my experience
2014 Sep 03
2
[LLVMdev] C Backend Ressurected
I can't see why you'd want to do this, no.
-eric
On Tue, Aug 19, 2014 at 8:02 PM, Isaac Dupree <
ml at isaac.cedarswampstudios.org> wrote:
> Is the C backend at all suitable to be adapted to emit OpenCL code? Or
> do the target-dependence, and/or things that C can do but OpenCL can't,
> make that hopeless?
> -Isaac
>
> On 08/19/2014 03:08 PM, Carback,
2015 Jul 17
7
[LLVMdev] how to transform elf binary to llvm IR?
I want to transform elf binary to llvm IR, and do some instrumentation
based on llvm.
Is there any tool which can do the transformation?
Thanks in advance.
- mudongliang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150717/abee5f23/attachment.html>
2014 Oct 24
4
[LLVMdev] Cross-Block Dead Store Elimination
Hi,
It looks like the DeadStoreElimination optimization doesn't work across BasicBlock boundaries. The project I'm working on (https://github.com/trailofbits/mcsema), would tremendously benefit from even simple cross-block DSE.
There was a patch to do non-local DSE few years ago (http://lists.cs.uiuc.edu/pipermail/llvmdev/2010-January/028751.html), but seems that the patch was never
2014 Jun 03
2
[LLVMdev] [LLVM Doc] tblgen backends
Hi all!
There is doc about tglben backends:
http://llvm.org/docs/TableGen/BackEnds.html
May be should to add link at
https://github.com/draperlaboratory/fracture/wiki/How-TableGen%27s-DAGISel-Backend-Works
I remember when I first met the LLVM it would be very useful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2014 Jun 03
3
[LLVMdev] [LLVM Doc] tblgen backends
I agree, but I have no experience with LLVM doc.
The job is very simple: add link at page
https://github.com/draperlaboratory/fracture/wiki/How-TableGen%27s-DAGISel-Backend-Works
into doc page
http://llvm.org/docs/TableGen/BackEnds.html
But how I can do it?
On Tue, Jun 3, 2014 at 4:41 PM, Renato Golin <renato.golin at linaro.org>
wrote:
> Hi Daniil,
>
> Those look great! I think
2014 Apr 02
3
[LLVMdev] decompiler
Hi -
Not sure if anyone else saw this or cares about a decompiler (not
personally tested)
https://github.com/draperlaboratory/fracture
I wonder if they have been in contact with anyone in the community in
getting this upstreamed. Does it look interesting to anyone else?
(thoughts/random comments/feedback)
2012 Mar 26
2
y needing more than 2 functions
Dear all,
I'm aware if y has two separate functions (depending on the conditions
of x) you can use the ifelse function to separate y into two separate
functions depending on input. How do you do this if there a multiple
different conditions for x?
for example,
y fits the following between t>0 & t<15----->function(t) t^2, y fits
the following between t>15 &
2011 Nov 10
2
How does once import a function from an imported script?
Hi all,
I am trying to import some functions into a script and am having
difficulty in doing so. I am able to import a series of functions from
a .tex file into my script, and call on each function by column name,
however R reads them as data rather than as functions and I am
struggling with the syntax to make R read them as a function instead.
Below is a small set of the things I have tried:
2013 Feb 19
1
latin hypercube sampling
Hi all,
I am attempting to use latin hypercube sampling to sample different
variable functions in a series of simultaneous differential equations.
There is very little code online about lhs or clhs, so from different
other help threads I have seen, it seems I need to create a
probability density function for each variable function, and then use
latin hypercube sampling on this pdf.
So far, I
2003 May 23
1
library(MASS) in .First() (PR#3085)
Full_Name: Aimee Teo Broman
Version: 1.7.0
OS: Windows XP vers5.1
Submission from: (NULL) (162.129.145.77)
My .First() function contains the command library(MASS) -- when I open R 1.7.0,
I get this error:
Error in get(x, envir, mode, inherits) : variable "biplot" was not found
Error in library(MASS) : package/namespace load failed
If I run library(MASS) outside of the .First()
2011 Jul 22
1
Plotting compound functions--help with defining x-axis as f(x)
Hi all,
I'm having trouble locating a script that will allow to me to create graphs
that show compound functions as a function of the simple function, rather
than just x (or time as it is in my case).
Currently I have the following functions defined in my script:
>
>
> T1<-function(t) {27.5-12.5*cos(2*pi*t/365)**}
> and
>
> B1<-function(T1,t)
2012 Nov 06
1
Filling matrix elements with a function
Hi all,
I have a matrix simulating migration in a spatial model. I want to be
able to define movement (the values of m1, m2 and m3) as only != 0
between adjacent patches and contingent on certain conditions as
defined in the function.
Here is the code:
WET<-function(t) {everglades$precipitation[t]} #simply reads
precipitation data from a csv, value is numeric
AB<-function(WET,t)
2011 Jun 15
2
Trouble with compound functions---differential equations
Hi all,
My apologies if this message is incredibly inept but I am very new to both
computer programming and to R.
I am working with the odesolve add-on and have the following function
defined
RVF_Single <- function(t, x, p)
within the script I also have the following functions defined:
T1<-function(t) {T1<-27.5-12.5*cos(2*pi*t/365)}
and
B1<-function(T1,t)
2013 Mar 13
1
saving vector output as numeric
Hi everybody,
I'm trying to create a numerical data frame on which to perform PRCC.
So far I have created a data frame that consists of function/vector
output that displays in numerical form, but when I try and run PRCC
(from epiR package) I get the following error message:
"Error in solve.default(C) :
Lapack routine dgesv: system is exactly singular"
It appears this is because
2013 Jul 18
0
[LLVMdev] Some experiences using LLVM C Backend
Hello,
I'm interested in LLVM as an opportunity to support C++
programming for legacy MCUs (8051, PIC1x, etc.). Recently, I tried to
use C Backend as means to achieve this. As C Backend was removed in
recent LLVM versions, I started with LLVM 3.0 which was last version to
include it.
For starters, I played with MSP430 target, which is supported by LLVM,
so allows roundtrip experiments
2015 May 14
2
[LLVMdev] Generating C code using LLVM
Hi,
Thanks for the response.
On Thu, May 14, 2015 at 5:06 PM, mats petersson <mats at planetcatfish.com>
wrote:
> From what input? Usually Clang is the tool for "rewriting C" (making
> source to source conversions), but it's not clear if that's what you are
> trying to achieve, so some more information would be useful.
>
I have successfully generated AST
2004 May 07
1
Uniden UIP200 Review
Hello Everyone,
My company is about to deploy * as replacement for our existing
commercial Altigen PBX. Meanwhile, I've been trying to find the best
cost effective SIP VoIP phone which we can use in office for 20-30
employees, as well as a few remote staff.
Normally I wouldn't post about a VoIP phone, however, this phone was
released less than a week so I thought I'd give some
2014 Apr 03
2
[LLVMdev] decompiler
On Thu, Apr 3, 2014 at 11:50 AM, Jevin Sweval <jevinsweval at gmail.com> wrote:
> On Wed, Apr 2, 2014 at 1:57 AM, "C. Bergström" <cbergstrom at pathscale.com> wrote:
>> Hi -
>>
>> Not sure if anyone else saw this or cares about a decompiler (not personally
>> tested)
>> https://github.com/draperlaboratory/fracture
>>
>> I wonder if