Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] llvm interpreter for embedded system"
2006 Feb 03
0
[LLVMdev] llvm interpreter for embedded system
Hi chris,
I am a novice in compilers and stuff.I want to write an interpreter for AST but I haven't found any links to how to begin :( .Can u give a few pointers to where I can get some material on interpreter basics etc?
TIA.
Darthrader
--
View this message in context: http://www.nabble.com/llvm-interpreter-for-embedded-system-t308478.html#a2737316
Sent from the LLVM - Dev forum at
2008 Jun 18
2
[LLVMdev] C/C++ interpreter...
Hi,
what would be needed to make a C/C++ interpreter using the LLVM
libraries. We have in our project (http://root.cern.ch) a C/C++ interpreter
(http://root.cern.ch/twiki/bin/view/ROOT/CINT), but it has some limitations
(the biggest being maintenance). I see there is a libLLVMInterpreter that
can interpret the LLVM IR. Could this be used to interpret, or a starting
point, to an real
2010 Feb 26
1
[LLVMdev] lli --force-interpreter does not find external function
Hello everyone,
I'm trying to run a LLVM-Bytecode-file in the interpreter (lli --force-interpreter), but i'm getting the following error-message:
LLVM ERROR: Tried to execute an unknown external function: i8* (i32)* malloc
My program is calling malloc. If I omit --force-interpreter everything runs as expected. Compiling to Assembler also works without problems. I have compiled LLVM with
2010 Jul 20
1
freetype bytecode interpreter
It may yet be too early to get a definite answer about this, but I'm
wondering what the status of the formerly patented bytecode interpreter
in freetype will be in RHEL/Centos 6 and possibly future updates to
RHEL/Centos 5.
The patent on the technology has apparently now expired.
http://freetype.sourceforge.net/patents.html and
2006 Mar 23
2
[LLVMdev] Virtual "components" for llvm-config
On Mar 22, 2006, at 11:22 PM, Reid Spencer wrote:
> In looking at tools, we should also look at the example programs
> and the
> projects such as Stacker. For example, it would be nice to have a
> virtual component that includes the libraries necessary for an LLVM
> front end translator (source -> llvm bytecode). It would also be nice
> to have a virtual component that
2006 Mar 22
2
[LLVMdev] Virtual "components" for llvm-config
To ease portability headaches, I'd like to support several virtual
"components" in llvm-config. Possibilities include:
all: Include all LLVM libraries.
backend: Include either a working native backend or cbackend.
engine: Include a working subclass of ExecutionEngine, either the
JIT or interpreter.
You could, for example, get a typical set of JIT-related libs using:
2005 Apr 25
2
[LLVMdev] can bc/asm carry enough type info for C/C++ compiler/interpreter?
I am asking this question to see if it is possible or desirable to build a compilation/runtime system for C/C++ that can support the following:
1. allow bc to call native (in dynamically loaded *.so)
2. allow native to call bc (through JIT or interpreter)
3. can compile/interpret C/C++ sources _BASED_ on type info in precompiled bc
Motivation:
The class files produced by the java compiler
2014 Aug 09
3
[LLVMdev] Heuristic for choosing between MCJIT and Interpreter
I'm facing a situation where I have generated IR that only needs to be
executed once. I've noticed for simple IR it's faster to run the
interpreter on it, but for complex IR it's much better to JIT compile and
execute it. I'm seeking suggestions for a good heuristic to decide which
approach to take for any given IR. I'm leaning in favor of deciding based
on the
2013 Jun 05
2
[LLVMdev] klee linker problem
Hello everyone,
I am a novice with KLEE under LLVM. I am trying to build a KLEE project (on
a new LLVM environment) and I have the following problem:
echo Testing...
Testing...
echo There should be no assertion fails!
There should be no assertion fails!
klee -taint=direct taint_direct.o
KLEE: output directory = "klee-out-8"
klee: error: Cannot find linker input
2014 Aug 12
2
[LLVMdev] Heuristic for choosing between MCJIT and Interpreter
On 08/11/2014 04:21 AM, David Chisnall wrote:
> Hi Josh,
>
> On 9 Aug 2014, at 21:33, Josh Klontz <josh.klontz at gmail.com> wrote:
>
>> I'm facing a situation where I have generated IR that only needs to be executed once. I've noticed for simple IR it's faster to run the interpreter on it, but for complex IR it's much better to JIT compile and execute it.
2006 Mar 23
0
[LLVMdev] Virtual "components" for llvm-config
The only thing that comes to me off the top of my head is to look at the
various LLVM tools and applications and see if there are common sets of
libraries used by the tools. Ideally we'd want to "llvm-config --libs
{toolname}" for each tool where {toolname} is replaced by the virtual
component corresponding to the tool. That might be overkill, but if
there are multiple tools that
2002 Aug 29
3
running SJava
Folks,
Having problems getting started with SJava and request help.
I get this error when running .JavaInit() (within RGui 1.5.1, on Windows
2000):
Error in .JavaInit() : Couldn't start Java Virtual Machine: Cannot find
the Omegahat interface manager class. Check you classpath!
(Before you right back saying read the emails, please read further - in
short, been there, done that)
2007 Jan 08
1
[LLVMdev] reading, printing, compiling, JIT-ing LLVM modules?
Dear All (and happy new 2007 year)
As a toy hobby project of mine (unrelated to my work [on GCC]), -I'm
dreaming of building an open-source Web CGI application capable of
generating other CGIs- I would like to
(portably) store an LLVM module in bytecode format inside a MySQL
table row (probably inside a BLOB = mysql binary large object = big
array of bytes). AFAIK, this could easiy be done
2007 Jan 12
1
compiling vs interpreting
So I thought I'd write this down, in case anyone has useful input to it or
wants to read up on the decisions later.
Currnetly swfdec compiles actions from a flash file into JSScript objects
and executes them using the standard Spidermonkey API. While this allows
all the niceties that are available with SpiderMonkey (most
important: a whole debugging framework with stack inspection etc - see
2019 Sep 16
2
Setting llvm::TargetOptions::GuaranteedTailCallOpt in LTO Code Generation
Hi,
I am lead developer of a project that is using LLVM to implement an
ahead-of-time compiled functional language. We use llc -tailcallopt to
ensure that functions that end in a tail call are compiled to a tail call
at the machine level, because we have a number of cases in our interpreter
where functions with different function signatures call one another in
deeply nested recursive calls. We
2005 Apr 25
0
[LLVMdev] can bc/asm carry enough type info for C/C++ compiler/interpreter?
On Mon, Apr 25, 2005 at 04:34:07AM -0500, Zeyu Chen wrote:
> I am asking this question to see if it is possible or desirable to
> build a compilation/runtime system for C/C++ that can support the
> following:
>
> 1. allow bc to call native (in dynamically loaded *.so)
You can do this today, e.g., with lli -load=native.so file.bc
> 2. allow native to call bc (through JIT or
2013 Jun 06
0
[LLVMdev] klee linker problem
Hi,
The klee library directory is determined at compile time and cannot be
changed afterwards. Have a look at tools/klee/main.cpp to see how it is
computed.
I usually use Klee without any install step, right from the build
directory. This has never given me the error you see.
Hope this helps,
Jonas
On Wed, Jun 5, 2013 at 5:26 PM, Alexandru Ionut Diaconescu <
alexandruionutdiaconescu at
2010 Jan 02
2
ifelse and piecewise function
I am a novice user of "R" and I'm learning with R version 2.8.1, using
WinEdt_1.8.1, under Widows Vista Home Version.
## The test function below, from a vector input, returns vector values:
# and it contains an "ifelse"statement
TEST<- function(x) {
low<- -x^2
up<- x^4
ifelse(x>=0,up,low )
}
u<- seq(-1,1,0.5)
TEST(u)
2020 Aug 05
4
Deprecation of scp protocol and improving sftp client
It seems that there are a few camps here:
* The scp power users - this camp believes that scp supporting backtick
notation is fine and that running arbitrary commands is a perfectly fine
thing to do.
* The restricted shell users - this camp believes that scp supporting
backtick may not be the best, and there are various restricted shells which
can prevent this. Power users may belong to this
2011 Jun 15
2
[LLVMdev] LLVM interpreter does not support fmod
It seems llvm interpreter only supports a limited number of external
functions. fmod, in particular is not supported. any reason why it is not
supported ?
"lli -force-interpreter test.bc
LLVM ERROR: Tried to execute an unknown external function: double (double,
double)* fmod
"
--
Kind Regards
Xin Tong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: