Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] argument registers and -g"
2012 Jul 11
0
[LLVMdev] argument registers and -g
Hi Reed
I think what you need is DWARF location lists. See 2.6.4 here http://www.dwarfstd.org/doc/040408.1.html
I think you'd need to mark the values as being in a register location from the function start address, then at the point where they are saved to the stack add a new location to the list for the stack location.
Unfortunately i don't know if we support this or how to go about
2012 Jul 11
2
[LLVMdev] argument registers and -g
Hi Guys,
Pete's comment made Reed's question make sense to me :)
Pete is essentially correct, with some complications. You need to track the location of the arguments as they're going through code generation. Look at the llvm.dbg.value intrinsic as a guideline on how to track a variable through compilation and any saves should be marked.
We do support location lists in general
2012 Jul 09
0
[LLVMdev] argument registers and -g
On Jul 9, 2012, at 3:56 PM, reed kotler <rkotler at mips.com> wrote:
> On Mips, we have argument registers which are treated as scratch
> registers with a live in.
>
> This will not work with -g -O0 because the arguments to the function
> will not be displayable after they are clobbered.
>
> I'm guess others have solved this problem.
>
> Is there a
2012 Jul 11
0
[LLVMdev] argument registers and -g
On Jul 10, 2012, at 7:37 PM, Eric Christopher <echristo at apple.com> wrote:
> Hi Guys,
>
> Pete's comment made Reed's question make sense to me :)
>
> Pete is essentially correct, with some complications. You need to track the location of the arguments as they're going through code generation. Look at the llvm.dbg.value intrinsic as a guideline on how to track
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 Feb 25
3
[LLVMdev] configure with clang vs gcc
On 02/25/2014 02:38 PM, Eric Christopher wrote:
> On Tue, Feb 25, 2014 at 2:32 PM, reed kotler <rkotler at mips.com> wrote:
>> On 02/25/2014 09:30 AM, Richard Sandiford wrote:
>>> reed kotler <rkotler at mips.com> writes:
>>>> On 02/24/2014 04:42 PM, Eric Christopher wrote:
>>>>> On Mon, Feb 24, 2014 at 4:40 PM, reed kotler <rkotler at
2014 Feb 25
2
[LLVMdev] configure with clang vs gcc
I see what my problem is here....
I'll continue to move further.
Seems like Richards fix is still okay.
On 02/25/2014 02:42 PM, Eric Christopher wrote:
> On Tue, Feb 25, 2014 at 2:41 PM, reed kotler <rkotler at mips.com> wrote:
>> On 02/25/2014 02:38 PM, Eric Christopher wrote:
>>> On Tue, Feb 25, 2014 at 2:32 PM, reed kotler <rkotler at mips.com> wrote:
2014 Feb 25
3
[LLVMdev] configure with clang vs gcc
On 02/24/2014 04:42 PM, Eric Christopher wrote:
> On Mon, Feb 24, 2014 at 4:40 PM, reed kotler <rkotler at mips.com> wrote:
>> I need to leave soon and will take a look in the morning.
>>
>> I did look at the autoconf input files configure.ac
>>
>> There is a disable-zlib but not a disable-valgrind, even though it seems
>> like there used to be.
2015 Feb 04
6
[LLVMdev] llvm builtins
In the following example with gcc style builtins, in once case
llvm.powi.f64 is emitted
and in the other just a call to library function powf.
~/llvm/build/Debug+Asserts/bin/clang -S -emit-llvm pow1.c
Why is that?
Is there a way to force the call to an llvm style builtin?
Tia.
Reed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pow1.c
Type: text/x-csrc
2012 Jun 05
4
[LLVMdev] technical debt
On 06/04/2012 05:17 PM, Daniel Berlin wrote:
> Can we get back to the substantive discussion about your ideas for
> lessening the technical debt?
The lessening requires enlisting people that are willing to do this as
opposed to doing fun science like cool optimization. I,for example, find
the documentaiton, cleanup and refactoring to be interesting so I don't
feel cheated to work on
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 Feb 25
2
[LLVMdev] configure with clang vs gcc
On 02/25/2014 09:30 AM, Richard Sandiford wrote:
> reed kotler <rkotler at mips.com> writes:
>> On 02/24/2014 04:42 PM, Eric Christopher wrote:
>>> On Mon, Feb 24, 2014 at 4:40 PM, reed kotler <rkotler at mips.com> wrote:
>>>> I need to leave soon and will take a look in the morning.
>>>>
>>>> I did look at the autoconf input files
2012 Jun 05
3
[LLVMdev] technical debt
Well, differences of opinion is what makes horse races.
Reed
On 06/04/2012 04:57 PM, Daniel Berlin wrote:
> On Mon, Jun 4, 2012 at 7:53 PM, reed kotler<rkotler at mips.com> wrote:
>> On 06/04/2012 03:25 PM, Daniel Berlin wrote:
>>> I'm pretty sure neither llvm nor clang have any technical debt at all.
>>>
>>> On Mon, Jun 4, 2012 at 5:18 PM, reed
2012 Jun 05
0
[LLVMdev] technical debt
FWIW, I'm putting together (hopefully to be done by the end of this
weekend) a substantial refactoring of the TableGen backend API along with
shiny new documentation (reStructuredText with sphinx) of all of TableGen,
including documentation about how to write backends and---depending on how
adventurous I get---a more detailed coverage of the syntax.
Also, Reed, in your TableGen talk, IIRC,
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
2014 Jan 29
6
[LLVMdev] making emitInlineAsm protected
I would like to make the following member of AsmPrinter be protected
void EmitInlineAsm(StringRef Str, const MDNode *LocMDNode = 0,
InlineAsm::AsmDialect AsmDialect =
InlineAsm::AD_ATT) const;
I have some stubs that I want to emit in MipsAsmParser .
Are there any objections to doing this?
Reed
2012 Jun 28
2
[LLVMdev] recursing llvm
Okay. Cool.
So do you bootrstrap and verify as part of the usual testing?
Do the nightly scripts do this?
Reed
On 06/28/2012 11:08 AM, Eric Christopher wrote:
> On Jun 27, 2012, at 10:48 PM, Reed Kotler<rkotler at mips.com> wrote:
>
>> On 06/27/2012 05:00 PM, Eric Christopher wrote:
>>> On Jun 19, 2012, at 5:24 PM, reed kotler<rkotler at mips.com> wrote:
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
2014 Feb 25
2
[LLVMdev] configure with clang vs gcc
I need to leave soon and will take a look in the morning.
I did look at the autoconf input files configure.ac
There is a disable-zlib but not a disable-valgrind, even though it seems
like there used to be.
You can find scripts on the internet when you google of people adding
disable-valgrind to configure.
I can probably implement disable-valgrind in configure.ac.
Reed
On 02/24/2014 04:33
2013 Sep 17
2
[LLVMdev] forcing two instructions to be together
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
> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
> Behalf Of reed kotler
> Sent: Tuesday, September 17, 2013