Displaying 20 results from an estimated 33 matches for "danalis".
2009 Apr 13
5
[LLVMdev] MemoryDependenceAnalysis
Hello,
I have a code similar to the following:
program test
integer i, j, N
real B(10)
call bar(N, 8)
N = N+1
do i = 1, N
B(i) = (i+5)/(i+3)
enddo
j = N/2
N = N+7
call IMPORTANT_F(B, N, i, j)
end program
and I am trying to use dependence
2009 Mar 12
1
[LLVMdev] opt -O2/-O3 does not Initialize pass?
I was using 2.4, but I built 2.5 and it behaves the same. I will test
the SVN head too.
On Mar 11, 2009, at 10:41 PM, Nick Lewycky wrote:
> Anthony Danalis wrote:
>> Hello,
>>
>> I'm writing a pass that adds a function prototype to the module
>> during
>> doInitialization() and stores the pointer in a global variable. If I
>> run opt with "-O1" or less, everything works fine. However, If I
>&g...
2009 Apr 13
1
[LLVMdev] MemoryDependenceAnalysis
On Apr 13, 2009, at 3:32 PM, Eli Friedman wrote:
> On Mon, Apr 13, 2009 at 9:06 AM, Anthony Danalis <adanalis at eecs.utk.edu
> > wrote:
>> How can I use MemoryDependenceAnalysis (or any other analysis for
>> that
>> matter) to gather that the instructions
>> j = N/2 (store i32 %11, i32* %j, align 4)
>> and
>> N = N+7 (store i32 %12, i32* %n, alig...
2009 Apr 13
2
[LLVMdev] MemoryDependenceAnalysis
...ype: application/octet-stream
Size: 6384 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090413/779e1ae8/attachment.obj>
-------------- next part --------------
On Apr 13, 2009, at 2:21 PM, Chris Lattner wrote:
> On Apr 13, 2009, at 9:06 AM, Anthony Danalis wrote:
>> Hello,
>>
>> I have a code similar to the following:
>
> Hi Anthony,
>
> Can you please attach the .bc file for this?
>
> -Chris
>
>>
>>
>> program test
>> integer i, j, N
>> real B(10)
>&...
2009 Apr 25
0
[LLVMdev] MemoryDependenceAnalysis
On Apr 13, 2009, at 12:01 PM, Anthony Danalis wrote:
> I'm attaching the .bc file. Note that my analysis pass is invoked
> after "-O1" and that's why the IR I included in the original email
> is optimized.
Hi Anthony,
Sorry for the delay, things have been crazy lately.
The MemDep API assumes that you will ca...
2009 Apr 25
1
[LLVMdev] MemoryDependenceAnalysis
On Apr 25, 2009, at 5:05 PM, Chris Lattner wrote:
>
> On Apr 13, 2009, at 12:01 PM, Anthony Danalis wrote:
>
>> I'm attaching the .bc file. Note that my analysis pass is invoked
>> after "-O1" and that's why the IR I included in the original email
>> is optimized.
>
> Hi Anthony,
>
> Sorry for the delay, things have been crazy lately.
>
>...
2009 Mar 27
2
[LLVMdev] StructType field names
...er they
appear) so that this field does not exist anymore? In other words, is
it safe to do an external, trivial mapping from struct name+offset to
field name, or are there optimizations that would break it?
thanks,
Anthony
On Mar 26, 2009, at 6:25 PM, Luke Dalessandro wrote:
> Anthony Danalis wrote:
>> Hello,
>>
>> I'm trying to construct a string like "a[1][x].y" in an optimization
>> pass by digging deeper and deeper into a GetElementPtrInst. I can
>> successfully deal with the array/pointer part, but when it comes to
>> the structure...
2009 Mar 11
3
[LLVMdev] Wiki?
On Mar 11, 2009, at 10:53 AM, Jon Harrop wrote:
> On Wednesday 11 March 2009 14:19:28 Vikram S. Adve wrote:
>> In principle, having a Wiki like this would be valuable. In
>> practice,
>> I think there will need to be some sanity checking to make sure
>> incorrect or misleading information is not added to it.
>
> Yes, I think a Wiki would be extremely valuable.
2009 Mar 11
3
[LLVMdev] opt -O2/-O3 does not Initialize pass?
Hello,
I'm writing a pass that adds a function prototype to the module during
doInitialization() and stores the pointer in a global variable. If I
run opt with "-O1" or less, everything works fine. However, If I call
opt with "-O2" or "-O3" then as soon as runOnFunction() is called, the
pointer seems to be NULL. Here is a code that shows the problem:
2009 Mar 25
2
[LLVMdev] pragmas
...; c++ parser, and understand more of the front end internals. I would
> avoid this unless you feel like you want pragmas that have some sort of
> lexical semantics, and don't want to force people to use BEGIN and END
> macros.
>
> Hope this is helpful,
> Luke
>
> Anthony Danalis wrote:
>> Hello
>>
>> Is there a "generic" pragma that is supported by LLVM and is visible
>> by optimization passes? or any other way for a programmer to pass
>> meta-data information to the compiler?
>> I am writing an analysis pass that could benefi...
2009 Mar 12
0
[LLVMdev] opt -O2/-O3 does not Initialize pass?
Anthony Danalis wrote:
> Hello,
>
> I'm writing a pass that adds a function prototype to the module during
> doInitialization() and stores the pointer in a global variable. If I
> run opt with "-O1" or less, everything works fine. However, If I call
> opt with "-O2&quo...
2009 Apr 13
0
[LLVMdev] MemoryDependenceAnalysis
On Mon, Apr 13, 2009 at 9:06 AM, Anthony Danalis <adanalis at eecs.utk.edu> wrote:
> How can I use MemoryDependenceAnalysis (or any other analysis for that
> matter) to gather that the instructions
> j = N/2 (store i32 %11, i32* %j, align 4)
> and
> N = N+7 (store i32 %12, i32* %n, align 4)
> are the ones that define the...
2009 Mar 25
0
[LLVMdev] pragmas
...ernals. I would
>> avoid this unless you feel like you want pragmas that have some
>> sort of
>> lexical semantics, and don't want to force people to use BEGIN and
>> END
>> macros.
>>
>> Hope this is helpful,
>> Luke
>>
>> Anthony Danalis wrote:
>>> Hello
>>>
>>> Is there a "generic" pragma that is supported by LLVM and is visible
>>> by optimization passes? or any other way for a programmer to pass
>>> meta-data information to the compiler?
>>> I am writing an analysi...
2009 Mar 11
0
[LLVMdev] Wiki?
...ee. Being a newbie myself, I can relate to what problems someone new to
llvm would have.While I think most of the stuff I have tried will be useful,
I wouldn't be entirely sure if its the best way to go about it.
Thanks
Nipun Arora
Columbia University
On Wed, Mar 11, 2009 at 11:01 AM, Anthony Danalis <adanalis at eecs.utk.edu>wrote:
>
> On Mar 11, 2009, at 10:53 AM, Jon Harrop wrote:
>
> > On Wednesday 11 March 2009 14:19:28 Vikram S. Adve wrote:
> >> In principle, having a Wiki like this would be valuable. In
> >> practice,
> >> I think there w...
2009 Apr 13
0
[LLVMdev] MemoryDependenceAnalysis
On Apr 13, 2009, at 9:06 AM, Anthony Danalis wrote:
> Hello,
>
> I have a code similar to the following:
Hi Anthony,
Can you please attach the .bc file for this?
-Chris
>
>
> program test
> integer i, j, N
> real B(10)
>
> call bar(N, 8)
> N = N+1
>...
2009 Mar 28
0
[LLVMdev] GSoC'09 question - previous mail w/o html
On Mar 28, 2009, at 4:39 AM, Anthony Danalis wrote:
> On Mar 27, 2009, at 9:15 PM, Dan Gohman wrote:
>>
>> On Mar 26, 2009, at 8:28 AM, Mihai Balint wrote:
>>> This summer however, I plan to create an "optimization" that
>>> automatically fixes memory leaks in programs - obviously only those
>>...
2009 Mar 26
0
[LLVMdev] StructType field names
Anthony Danalis wrote:
> Hello,
>
> I'm trying to construct a string like "a[1][x].y" in an optimization
> pass by digging deeper and deeper into a GetElementPtrInst. I can
> successfully deal with the array/pointer part, but when it comes to
> the structure field name "...
2009 Mar 26
2
[LLVMdev] StructType field names
Hello,
I'm trying to construct a string like "a[1][x].y" in an optimization
pass by digging deeper and deeper into a GetElementPtrInst. I can
successfully deal with the array/pointer part, but when it comes to
the structure field name "y", I cannot figure out how to get anything
but the index into the structure. Is there a way to do that, or is
this information
2009 Mar 29
1
[LLVMdev] GSoC'09 question - previous mail w/o html
On Mar 28, 2009, at 1:34 AM, Mihai Balint wrote:
> On Mar 28, 2009, at 4:39 AM, Anthony Danalis wrote:
>> On Mar 27, 2009, at 9:15 PM, Dan Gohman wrote:
>>>
>>> On Mar 26, 2009, at 8:28 AM, Mihai Balint wrote:
>>>> This summer however, I plan to create an "optimization" that
>>>> automatically fixes memory leaks in programs - obviously...
2009 Mar 28
2
[LLVMdev] GSoC'09 question - previous mail w/o html
On Mar 27, 2009, at 9:15 PM, Dan Gohman wrote:
>
> On Mar 26, 2009, at 8:28 AM, Mihai Balint wrote:
>>
>> This summer however, I plan to create an "optimization" that
>> automatically fixes memory leaks in programs - obviously only those
>> that can be fixed with the available information, for example:
>
> Hello,
>
> This doesn't sound