search for: nlame

Displaying 7 results from an estimated 7 matches for "nlame".

Did you mean: name
2013 Mar 28
0
[LLVMdev] LLVM Execution engine: Native call vs LLVM IR function call
nlamee at cs.mcgill.ca writes: > I would like to understand why calling a native function from a function > in LLVM IR can be much faster than calling an equivalent function in LLVM > IR. Do you optimize the LLVM IR? The IR version can inline the call and just that would make it faster than th...
2013 Mar 28
1
[LLVMdev] LLVM Execution engine: Native call vs LLVM IR function call
..... GenericValue gv = EE->runFunction(bsqr, args); ... GenericValue gv2 = EE->runFunction(cppnat, args); I am calling method runFunction of ExecutionEngine. I am using the default code gen optimization level. Best regards, Nurudeen. On Thu, March 28, 2013 7:05 am, Óscar Fuentes wrote: > nlamee at cs.mcgill.ca writes: > >> I would like to understand why calling a native function from a >> function in LLVM IR can be much faster than calling an equivalent >> function in LLVM IR. >> > > Do you optimize the LLVM IR? The IR version can inline the call and just...
2013 Mar 28
2
[LLVMdev] LLVM Execution engine: Native call vs LLVM IR function call
Hi, I would like to understand why calling a native function from a function in LLVM IR can be much faster than calling an equivalent function in LLVM IR. For instance, here are two equivalent programs. The first calls an llvm function while the second calls a native function. On my AMD machine, the first takes 4.48s to run while the second takes 3.49s. define i64 @bloop() { entry: br label
2012 Mar 23
0
[LLVMdev] Execution Engine: CodeGenOpt level
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of nlamee at cs.mcgill.ca > Subject: [LLVMdev] Execution Engine: CodeGenOpt level > How can I dynamically change the code generation optimization level (e.g., > None) of a JIT in other to recompile a function with a new optimization > level (e.g., Default)? We set the optimization level with a...
2012 Mar 22
4
[LLVMdev] Execution Engine: CodeGenOpt level
Hi, How can I dynamically change the code generation optimization level (e.g., None) of a JIT in other to recompile a function with a new optimization level (e.g., Default)? Thank you. Best regards, Nurudeen.
2012 Mar 23
1
[LLVMdev] Execution Engine: CodeGenOpt level
Hi Chenwj, Thank you for your response. The problem with this approach is that global mappings have to be recreated in the new JIT. Can this be somehow avoided? Best regards, Nurudeen. On Thu, March 22, 2012 10:15 pm, 陳韋任 wrote: >> How can I dynamically change the code generation optimization level >> (e.g., >> None) of a JIT in other to recompile a function with a new
2012 Aug 15
0
[LLVMdev] Questions on Memory Optimizations
Hi, I would like to eliminate all the load instructions and replace their uses with the stored values in the following program. The stores and loads are in the same basic block. Is there an optimization pass in LLVM 3.0 that can do this? define void @testFunc() { entry: %sVal = alloca %sTy %f1 = getelementptr %sTy* %sVal, i32 0, i32 0 store i32 789, i32* %f1 %f2 = getelementptr %sTy*