Displaying 20 results from an estimated 80000 matches similar to: "[LLVMdev] mac laptop for llvm dev"
2014 Sep 30
2
[LLVMdev] ptrtoint
If you can't make an executable test from C or C++ code then how do you
know something works.
Just by examination of the .s?
On 09/30/2014 03:18 PM, Reed Kotler wrote:
> If I wanted to call this function that they generated by hand, from C or
> C+ code, how would that be done?
>
> if have seen cases where a real boolean gets generated but it was
> something fairly involved.
2014 Jun 11
2
[LLVMdev] constraining two virtual registers to be the same physical register
On 06/10/2014 05:51 PM, Pete Cooper wrote:
> Hi Reed
>
> You can do this on the instruction itself by telling it 2 operands
> must be the same register. For example, from X86:
>
> let Constraints = "$src1 = $dst" in
> defm INSERTPS : SS41I_insertf32<0x21, "insertps">;
>
> Thanks,
Hi Pete,
Sorry.
I should have been more specific.
I'm
2014 Sep 29
2
[LLVMdev] ptrtoint
Technically I don't need C/C++ code for it.
I'm not really very good at writing LLVM assembly code by hand
(but I should be - lol ).
I'm working on fast-isel and I want to have executable tests for all of this
and not just make check tests.
It's easier for me to do that in C/C++ and then save the .ll and morph
it into
a make check test.
I'm going through the fast-isel
2014 Sep 29
2
[LLVMdev] ptrtoint
Thanks.
So what about a fragment like this: (taken from fast-isel.ll in X86 )
define void @ptrtoint_i1(i8* %p, i1* %q) nounwind {
%t = ptrtoint i8* %p to i1
store i1 %t, i1* %q
ret void
}
TIA.
On 09/29/2014 02:16 PM, Duncan P. N. Exon Smith wrote:
>> On Sep 29, 2014, at 1:51 PM, reed kotler <rkotler at mips.com> wrote:
>>
>> What kind of C or C++ code will emit
2013 Sep 18
2
[LLVMdev] forcing two instructions to be together
I used the A9 schedule as an example:
http://llvm.org/svn/llvm-project/llvm/trunk/lib/Target/ARM/ARMScheduleA9.td
The documentation could use more clarity, but this is how I was able to do it to always get two specific instructions to be scheduled together.
________________________________________
From: reed kotler [rkotler at mips.com]
Sent: Tuesday, September 17, 2013 8:54 PM
To: Micah Villmow
2013 Sep 18
0
[LLVMdev] forcing two instructions to be together
On 09/17/2013 04:51 PM, Micah Villmow wrote:
> Reed,
> Couldn't you also use instruction scheduling classes and specify that the second instruction has a bypass from the first instruction? The scheduler should always schedule them together in that case.
>
> Micah
>
I'm not sure exactly what you mean.
Can you point me to an example of that?
TIA.
Reed
>>
2013 May 28
2
[LLVMdev] optimize for size
On 05/27/2013 10:48 PM, Evan Cheng wrote:
> I don't quite understand your question. Clang already supports -Os option.
>
> Evan
Okay.
Do I need to add anything to the llc command line?
> Sent from my iPad
>
> On May 27, 2013, at 7:47 PM, reed kotler <rkotler at mips.com> wrote:
>
>> I'm trying to set the default optimizations for mips16.
>>
2013 Sep 18
0
[LLVMdev] forcing two instructions to be together
That doesn't actually give you a guarantee that they won't be split up. Phases other than the scheduler may insert instructions in the middle of block (constant island pass, for example). Pseudo-instructions are the canonical answer to that problem.
--Owen
On Sep 17, 2013, at 11:09 PM, Micah Villmow <micah.villmow at smachines.com> wrote:
> I used the A9 schedule as an
2013 May 28
0
[LLVMdev] optimize for size
Sent from my iPad
On May 27, 2013, at 10:49 PM, reed kotler <rkotler at mips.com> wrote:
> On 05/27/2013 10:48 PM, Evan Cheng wrote:
>> I don't quite understand your question. Clang already supports -Os option.
>>
>> Evan
> Okay.
>
> Do I need to add anything to the llc command line?
No. It's captured as a function attribute.
Evan
>
>>
2013 Feb 23
0
[LLVMdev] -Os
At one of the BOFS during the llvm conference a few years back, one of
the Apple managers stated in effect that their view of -Os was to get
some modest savings but only if performance has near 0 impact.
On 02/23/2013 09:45 AM, Reed Kotler wrote:
> On 02/23/2013 04:28 AM, David Chisnall wrote:
>> Hi Reed,
>>
>> -Os could do with some love. It is more or less the same set
2013 Feb 17
2
[LLVMdev] pseudo lowering
On Feb 17, 2013, at 1:01 PM, Reed Kotler <rkotler at mips.com> wrote:
> On 02/17/2013 12:48 PM, Andrew Trick wrote:
>> On Feb 16, 2013, at 1:31 PM, Cameron Zwarich <zwarich at apple.com> wrote:
>>
>>> That's exactly the right place.
>> Really? You don't want the expansion to be optimized? You want to specify a machine model for the pseudo's
2013 Feb 17
0
[LLVMdev] pseudo lowering
On 02/17/2013 01:08 PM, Andrew Trick wrote:
>
> On Feb 17, 2013, at 1:01 PM, Reed Kotler <rkotler at mips.com
> <mailto:rkotler at mips.com>> wrote:
>
>> On 02/17/2013 12:48 PM, Andrew Trick wrote:
>>> On Feb 16, 2013, at 1:31 PM, Cameron Zwarich<zwarich at apple.com> wrote:
>>>
>>>> That's exactly the right place.
2013 Feb 23
3
[LLVMdev] -Os
On 02/23/2013 04:28 AM, David Chisnall wrote:
> Hi Reed,
>
> -Os could do with some love. It is more or less the same set of passes as -O2, but with a few things that are most likely to increase code size removed. We have had problems with it in the past for FreeBSD's bootloader. By tweaking the set of default passes added for -Os, I got the size down by about 20%, but I didn't
2011 Nov 11
2
[LLVMdev] google heap profile
On 11/11/2011 11:39 AM, Chandler Carruth wrote:
> On Fri, Nov 11, 2011 at 11:36 AM, reed kotler <rkotler at mips.com
> <mailto:rkotler at mips.com>> wrote:
>
> Is anybody using the google heap profiler to analyze clang/llvm ??
>
> http://google-perftools.googlecode.com/svn/trunk/doc/heapprofile.html
>
> If so, do you know how to modify the build
2013 Feb 14
5
[LLVMdev] changing opcode
Is there a simple way to just change the opcode of a machine instruction.
I have a lot of long/short pairs where when I know the offset, i can
replace the long version with the short version.
Tia.
REed
2013 Feb 14
0
[LLVMdev] changing opcode
----- Original Message -----
> From: "reed kotler" <rkotler at mips.com>
> To: llvmdev at cs.uiuc.edu
> Sent: Wednesday, February 13, 2013 6:00:45 PM
> Subject: [LLVMdev] changing opcode
>
> Is there a simple way to just change the opcode of a machine
> instruction.
>
> I have a lot of long/short pairs where when I know the offset, i can
> replace
2013 Apr 03
0
[LLVMdev] adding a target dependent transform pass
----- Original Message -----
> From: "Reed Kotler" <rkotler at mips.com>
> Cc: LLVMdev at cs.uiuc.edu
> Sent: Wednesday, April 3, 2013 6:30:56 PM
> Subject: Re: [LLVMdev] adding a target dependent transform pass
>
> On 04/02/2013 03:31 PM, Reed Kotler wrote:
> > On 04/02/2013 03:00 PM, reed kotler wrote:
> >> How do you add a target dependent
2013 Apr 03
2
[LLVMdev] adding a target dependent transform pass
On 04/02/2013 03:31 PM, Reed Kotler wrote:
> On 04/02/2013 03:00 PM, reed kotler wrote:
>> How do you add a target dependent transform pass?
>>
>> tia.
>>
>> eed
>
> I need to add a module pass.
Do you need to just add them to the Transform subdirectory????
2013 Nov 23
0
[LLVMdev] bugpoint question
----- Original Message -----
> From: "Reed Kotler" <rkotler at mips.com>
> To: "Hal Finkel" <hfinkel at anl.gov>
> Cc: LLVMdev at cs.uiuc.edu
> Sent: Friday, November 22, 2013 11:18:53 PM
> Subject: Re: bugpoint question
>
> In that case it tries to do something but fails.
>
> rkotler at ubuntu-rkotler:~/testmips16$
>
2013 Jul 16
3
[LLVMdev] eclipse and gdb
On 07/16/2013 05:21 AM, Tilmann Scheller wrote:
> Hi Reed,
>
> I’ve used Eclipse for a long time to do LLVM development on Linux (both for code navigation/editing and debugging), any recent Linux distribution and version of Eclipse should be fine (even older versions should be good enough as this has been working for many years).
>
> Xcode works fine as well, I started to use Xcode