Displaying 6 results from an estimated 6 matches for "addpassestojitcompil".
Did you mean:
addpassestojitcompile
2004 Jun 24
3
[LLVMdev] Pass vs. FunctionPass
I wonder in what cases FunctionPass is better that Pass. For example,
addPassesToEmitAssembly takes PassManger and addPassesToJITCompile takes
FunctionPassManager.
Another question is about FunctionPassManager::run(Function&) and
FunctionPass(Function&). The former calls the later, which is fine, but the
latter looks like this:
bool FunctionPass::run(Function &F) {
if (F.isExternal()) return false;// Passes are n...
2004 Jun 24
0
[LLVMdev] Pass vs. FunctionPass
On Thu, 24 Jun 2004, Vladimir Prus wrote:
> I wonder in what cases FunctionPass is better that Pass. For example,
> addPassesToEmitAssembly takes PassManger and addPassesToJITCompile takes
> FunctionPassManager.
Here's a simple way to look at it. Use a Function pass whenever you can.
A function pass will always work where a Pass works (it derives from pass
as you've noticed), but not the other way around.
In particular, there are *strict* rules that must be follo...
2006 Jun 25
1
[LLVMdev] optimization passes
I am looking for a list of the
various optimizations that llvm performs
when I use the JIT execution engine.
Eg. I am assuming:
strench reduction,
dead code elimination
?
Simon.
2003 Dec 15
1
[LLVMdev] Assertion failed in Pass.cpp
Hi all,
I am trying to write a pass for the llc tool. I register this pass
with the RegisterLLC template. However, when I try to run llc and load
up the pass, I get a failed assertion:
$ /storage/anshuman/llvmCVS/llvm/tools/Debug/llc -load=./libTest.so
--help
...
...
llc: Pass.cpp:327: void
llvm::RegisterPassBase::unregisterPass(llvm::PassInfo*): Assertion `I
!= PassInfoMap->end()
2005 May 05
0
[LLVMdev] Scheme + LLVM JIT
...han welcome to do so.
> I have looked over the JIT documentation (which is a bit sparse) and
> the examples. So far I am completely unclear as to what the JIT
> compiler actually does with the code that is passed to it.
A target runs the passes listed in the method
<target>JITInfo::addPassesToJITCompile() to emit machine code.
> To be more precise, does the JIT perform all of the standard llvm
> optimizations on the code, or does it depend on it's client to do so
> himself? Are there some examples of that?
No, the JIT performs no optimizations. The method I mentioned above
just lo...
2005 May 05
4
[LLVMdev] Scheme + LLVM JIT
Hi List,
I am in the preliminary stages of adding a JIT compiler to a sizable
Scheme system (PLT Scheme). The original plan was to use GNU
Lightning, but 1) it seems to be dead, and 2) LLVM has already done a
huge amount of stuff that I would have had to write (poorly) from
scratch.
At the moment, LLVM seems to be the ideal choice for implementing the
Scheme JIT, but there are problems that need