Displaying 5 results from an estimated 5 matches for "gunvor".
2015 Apr 08
2
[LLVMdev] want to intercept array dereferences
...just look for a pointer type plus an integer type followed by a
dereference? That would catch both a[n] and *(a+n).
Gry
On Tue, Apr 7, 2015 at 10:46 PM, Bruce Hoult <bruce at hoult.org> wrote:
> Far too late. That would need to be in Clang.
>
> On Wed, Apr 8, 2015 at 5:36 PM, Gry Gunvor <gry.gunvor at gmail.com> wrote:
>>
>> Normally for int n unknown at static time, "a[n]" and "*(a+n)" results
>> in an add and then a dereference. I want instead for it to compile to
>> a system call that takes two arguments, a and n. Where should...
2015 Apr 07
4
[LLVMdev] how much RAM do I really need to build a devel version of LLVM?
I tried half a gig and that didn't work. I just want to know before I
go buy a new machine.
Gry
2015 Apr 08
2
[LLVMdev] want to intercept array dereferences
Normally for int n unknown at static time, "a[n]" and "*(a+n)" results
in an add and then a dereference. I want instead for it to compile to
a system call that takes two arguments, a and n. Where should I
intercept this in LLVM?
Gry
2015 Apr 09
3
[LLVMdev] [cfe-dev] want to intercept array dereferences
On Thu, Apr 9, 2015 at 10:47 AM, Jonathan Roelofs
<jonathan at codesourcery.com> wrote:
>> Again, I asked the LLVM list if, since LLVM is a typed assembly
>> language, if I could just look for pointer plus offset followed by a
>> dereference. They seemed to suggest that looking for that idiom would
> JFTR, we're one big community, and it's not as segregated
2015 Dec 20
2
Fwd: getting started changing the emitted code: at one instruction at function top
I'm just getting started changing the emitted code. Suppose I want to
just add one new instruction to the function prologue at the top.
Where would I do this? Does it depend on the backend? I'm targeting
RISCV64.
Gry