Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] inlining of recursive functions"
2011 Oct 07
0
[LLVMdev] inlining of recursive functions
On Oct 4, 2011, at 4:36 PM, Christophe Raffalli wrote:
>
> Hello,
>
> In lib/Analysis/InlineCost.cpp, inlining of recursive functions is
> disabled because it is
> like loop unrolling. But
>
> - I could not find a way to have loop unrolling do the job
> - In the context of functionnal languages (I am implementing one), inlining
> small recursive functions is often
2010 Mar 03
1
[LLVMdev] llvm hangs: fibonacci numbers, recursive
Having tried out llvm I had to notice that the fibonacci example
program hangs after short:
> ./run fib
1
1
2
3
5
8
^C
For the next number it would be supposed to last twice as long as for 8.
However it hangs forever instead.
using llvm-2.5-0.pm.1.1.x86_64
Does not matter whether I compile it with gcc or interprete it with lli.
2009 Jul 08
6
Problems with rpmforge repo?
Hello,
Tried yum update all yesterday and today and seems there is a perl
dependency missing. Does anyone know if it is a problem or just a sync
thing and that I should be more patient. Error is below:
--> Processing Dependency: perl(Compress::Raw::Zlib) >= 2.020 for
package: perl-IO-Compress
--> Finished Dependency Resolution
perl-IO-Compress-2.020-1.el5.rf.noarch from rpmforge has
2010 Sep 03
6
[LLVMdev] Why clang inlines with -O3 flag and opt doesn't?
When I compile my C fibonacci example fib.c with 'clang -O3 -c -emit-llvm -o fib-clang.bc fib.c&& llvm-dis fib-clang.bc' I get fib-clang.ll that has some degree of inlining in it.
But when I get an equivalent to fib.c file fib.ll and run it through opt with the command 'llvm-as fib.ll&& opt -O3 fib.bc -o fib-opt.bc&& llvm-dis fib-opt.bc' resulting
2010 Apr 29
2
[LLVMdev] Why the same code is much slower in JIT compared to separate executable?
I run the same simple Fibonacci computing code in JIT and as a native
executable. I see that with argument 45 JIT runs for 11.3sec and
executable runs for 7.5sec.
Why there is such difference?
Yuri
-------- fib.ll --------
; ModuleID = 'all.bc'
@.str = private constant [12 x i8] c"fib(%i)=%i\0A\00", align 1 ; <[12 x
i8]*> [#uses=1]
define i32 @fib(i32 %AnArg) {
2010 Sep 03
0
[LLVMdev] Why clang inlines with -O3 flag and opt doesn't?
On Fri, Sep 3, 2010 at 12:46 AM, Yuri <yuri at rawbw.com> wrote:
> When I compile my C fibonacci example fib.c with 'clang -O3 -c -emit-llvm -o fib-clang.bc fib.c&& llvm-dis fib-clang.bc' I get fib-clang.ll that has some degree of inlining in it.
>
> But when I get an equivalent to fib.c file fib.ll and run it through opt with the command 'llvm-as
2005 May 14
4
AMD_64 Nvidia 7174 and GE Force 440 go 64
Hello all,
Does anyone know where I could turn to find out how to set up the NVIDIA
driver to work properly on my Compaq Presario R3000?
Thanks in advance,
Phil
2011 Nov 14
3
After Latest Update...
Hi All,
Using the following to ssh into my home to get mail, I suddenly get this:
ssh -o TCPKeepAlive=yes -o ServerAliveInterval=240 -L
110:192.168.100.108:110 phil at FQDN
phil at FQDN's password:
bind: Cannot assign requested address <----
Last login: Sun Nov 13 23:45:29 2011 from FQDN
I have never seen what I am indicating before and am wondering why this
would suddenly appear?
2013 Jan 16
2
Sound config
Hi All,
I have been wrestling with this problem for months now and at my wits
end. The sound is always very low and if I try to bring the sound
louder by using the sound references icon on the top panel, the sound is
choppy with lots of static.
Output of lspci for the sound device is as follows:
01:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio
Controller (rev a1)
2018 Jan 30
7
[Bug 1221] New: "fib" produces strange results with an IPv6 default route
https://bugzilla.netfilter.org/show_bug.cgi?id=1221
Bug ID: 1221
Summary: "fib" produces strange results with an IPv6 default
route
Product: nftables
Version: unspecified
Hardware: x86_64
OS: Debian GNU/Linux
Status: NEW
Severity: major
Priority: P5
2004 Aug 17
0
[LLVMdev] JIT API example (fibonacci)
Valery,
That's pretty cute actually. Do you want this "brilliant" :) example in the cvs
repository? I'd be happy to put it in.
Reid.
Valery A.Khamenya wrote:
> Hi LLVMers,
>
> the example attached I have used to prove that JIT and some visible
> optimizations are really invoked.
>
> Proved OK. I got 30% speed-up in comparison to gcc 3.3.3
>
2013 Jan 21
0
lambda.r 1.1.0 on CRAN
Dear useRs,
I'm pleased to announce that version 1.1.0 of lambda.r is now available on CRAN (http://cran.r-project.org/web/packages/lambda.r/). This package provides a complete functional programming environment within R (and is backwards compatible with S3). Lambda.r introduces many concepts including:
. Multipart function definitions
. Guard statements to control execution of functions
.
2013 Jan 21
0
lambda.r 1.1.0 on CRAN
Dear useRs,
I'm pleased to announce that version 1.1.0 of lambda.r is now available on CRAN (http://cran.r-project.org/web/packages/lambda.r/). This package provides a complete functional programming environment within R (and is backwards compatible with S3). Lambda.r introduces many concepts including:
. Multipart function definitions
. Guard statements to control execution of functions
.
2004 Aug 17
0
[LLVMdev] JIT API example (fibonacci)
On second thought, the makefiles don't (easily) allow this do they? You can
only build one program per directory. Were you suggesting that you wanted me to
move the entire directories under a "small examples" directory?
Reid.
Chris Lattner wrote:
> On Tue, 17 Aug 2004, Reid Spencer wrote:
>
>
>>That's pretty cute actually. Do you want this
2004 Aug 18
1
[LLVMdev] JIT API example (fibonacci)
On Tue, 17 Aug 2004, Reid Spencer wrote:
> On second thought, the makefiles don't (easily) allow this do they? You can
> only build one program per directory. Were you suggesting that you wanted me to
> move the entire directories under a "small examples" directory?
You're right. The simples way to do this would be to have:
projects/
SmallExamples/
2007 Nov 26
0
[LLVMdev] Fibonacci example in OCaml
Here is a complete 104-line native code compiler for a tiny subset of OCaml
that is expressive enough to compile an external Fibonacci program:
type expr =
| Int of int
| Var of string
| BinOp of [ `Add | `Sub | `Leq ] * expr * expr
| If of expr * expr * expr
| Apply of expr * expr
type defn =
| LetRec of string * string * expr
open Camlp4.PreCast;;
let expr = Gram.Entry.mk
2003 Jun 19
1
Path analysis
Dear all,
I'm new R's user and I'm looking for package dealling with Path analysis. Does it exist ? Where ?
Best,
Regis Martin PhD Student
Laboratory of Altitutdinal Population Biology UMR CNRS 5553
Universté de Savoie
Bât. Belledonnes
00 33 (0)4 79 75 86 44
regis.martin at univ-savoie.fr
2005 May 12
2
[LLVMdev] Scheme + LLVM JIT
> llvm_function_new/llvm_value_set_name/llvm_executionengine_run_function,
> etc.
>
> If kept simple, standardized, and generic, I think it would be very useful
> to people (even if incomplete). This would allow others to build on it,
> and we could 'ship' it as a standard llvm library.
It looks like my interface will look vaguely like this. Functions like
2005 May 13
0
[LLVMdev] Scheme + LLVM JIT
On Thu, 12 May 2005, Alexander Friedman wrote:
>> llvm_function_new/llvm_value_set_name/llvm_executionengine_run_function,
>> etc.
>>
>> If kept simple, standardized, and generic, I think it would be very useful
>> to people (even if incomplete). This would allow others to build on it,
>> and we could 'ship' it as a standard llvm library.
>
> It
2004 Aug 17
5
[LLVMdev] JIT API example (fibonacci)
On Tue, 17 Aug 2004, Reid Spencer wrote:
> That's pretty cute actually. Do you want this "brilliant" :) example in the cvs
> repository? I'd be happy to put it in.
Here's an idea: how about we take the ModuleMaker, Valery's previous
example, and this one and put them all in one "small examples" project?
-Chris
> Valery A.Khamenya wrote:
>
>