search for: friedley

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

Did you mean: friedl
2010 Apr 15
2
[LLVMdev] how to set -pre-ra-sched from code?
Sanjiv Gupta wrote: > On Wed, 2010-04-14 at 11:33 -0400, Andrew Friedley wrote: >> I've found that I need to set the -pre-RA-sched parameter when using >> tools like llc to get the kind of instruction scheduling I want. >> >> However I'm normally generating and running code on the fly using the >> JIT, and can't figure out how...
2010 Apr 19
0
[LLVMdev] how to set -pre-ra-sched from code?
...ntation again this morning I noticed that setSchedulingPreference is a protected method of LLVMTargetLowering, so it looks like it's not something I can call directly anyway. Furthermore it's only called from one place with a hard-coded value for any particular platform. Andrew Andrew Friedley wrote: > Sanjiv Gupta wrote: >> On Wed, 2010-04-14 at 11:33 -0400, Andrew Friedley wrote: >>> I've found that I need to set the -pre-RA-sched parameter when using >>> tools like llc to get the kind of instruction scheduling I want. >>> >>> However I...
2010 Apr 20
1
[LLVMdev] how to set -pre-ra-sched from code?
Hi Andrew, On 04/19/10 14:27, Andrew Friedley wrote: > Sorry for responding to my own message but I would really appreciate > some help with this. > > Looking through the documentation again this morning I noticed that > setSchedulingPreference is a protected method of LLVMTargetLowering, so > it looks like it's not so...
2010 Apr 15
0
[LLVMdev] how to set -pre-ra-sched from code?
On Wed, 2010-04-14 at 11:33 -0400, Andrew Friedley wrote: > I've found that I need to set the -pre-RA-sched parameter when using > tools like llc to get the kind of instruction scheduling I want. > > However I'm normally generating and running code on the fly using the > JIT, and can't figure out how to set the -pre-RA...
2010 Apr 14
2
[LLVMdev] how to set -pre-ra-sched from code?
I've found that I need to set the -pre-RA-sched parameter when using tools like llc to get the kind of instruction scheduling I want. However I'm normally generating and running code on the fly using the JIT, and can't figure out how to set the -pre-RA-sched option anywhere other than on the command line for the provided tools. So what code would I write (or where is the API?) to
2010 Apr 02
1
[LLVMdev] Problem returning aggregate struct (complex number) by value
Duncan Sands wrote: > Hi Andrew, > >> %0 = type { float, float } >> >> define %0 @test600() { >> entry: >> ret %0 { float 4.200000e+01, float 3.500000e+01 } >> } >> >> >> Running that through llc, the x86-64 assembly looks like this (abbreviated): > > unfortunately the x86-64 ABI says that complex numbers are *not* passed the
2010 Apr 02
2
[LLVMdev] Problem returning aggregate struct (complex number) by value
I'm trying to return an aggregate structure (a complex number, really) containing two 32-bit floats or two 64-bit doubles, by value. LLVM 2.6 compiled as 64-bit on OSX 10.6/x86-64. The IR I generate for a simple test case looks like this (float case): %0 = type { float, float } define %0 @test600() { entry: ret %0 { float 4.200000e+01, float 3.500000e+01 } } Running that through