Displaying 20 results from an estimated 1600 matches similar to: "[LLVMdev] Getting number of "unnamed temporory""
2011 Sep 22
0
[LLVMdev] Getting number of "unnamed temporory"
Just forwarding it to the list.
On Wed, Sep 21, 2011 at 10:43 PM, Taemin Kim <taemin0712 at gmail.com> wrote:
> It works. =) Thank you very much.
> Taemin
>
> On Wed, Sep 21, 2011 at 6:16 PM, Douglas do Couto Teixeira
> <douglasdocouto at gmail.com> wrote:
>>
>> You can run the instnamer pass. So all instructions will get a name.
>>
>> I hope it
2011 Jan 24
3
[LLVMdev] How to change the type of an Instruction?
On Mon, Jan 24, 2011 at 3:01 PM, Nick Lewycky <nicholas at mxc.ca> wrote:
> On 01/24/2011 04:41 AM, Douglas do Couto Teixeira wrote:
>
>> Hi,
>>
>> Nick, thanks for the reply.
>> I still have a problem: I only need to "clone" an Instruction, changing
>> its type. That is, I would like to keep all characteristics of the old
>> Instruction
2011 Jan 24
3
[LLVMdev] How to change the type of an Instruction?
Hi,
Nick, thanks for the reply.
I still have a problem: I only need to "clone" an Instruction, changing its
type. That is, I would like to keep all characteristics of the old
Instruction and create a new one only with a different type. I am trying
create a new Instruction thus:
%3 = add nsw i32 %1, %2 ; <i16> [#uses=2] //Old Instruction
Value* Op0 = I->getOperand(0);
Value*
2011 Jan 28
1
[LLVMdev] How to change the type of an Instruction?
Hi, guys,
Thanks a lot for your help. As you know, I am trying to implement
something to change the types of the instructions. And I chose the trunc's
approach because it seems be simple. But I still have some problems and
questions. Would be great if you can help me.
I have used the results of my range analysis implementation to change
the intermediate representation. I am using
2011 Jan 21
2
[LLVMdev] How to change the type of an Instruction?
Hello guys,
I wonder how I can change the type of an integer variable. For instance,
given the instruction "%3 = add i32 %1, %2" I would like to alter the
instruction to "%3 = add i16 %1, %2". Is there any way to do this?
Best wishes,
Douglas
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2011 Jan 24
0
[LLVMdev] How to change the type of an Instruction?
On 01/24/2011 04:41 AM, Douglas do Couto Teixeira wrote:
> Hi,
>
> Nick, thanks for the reply.
> I still have a problem: I only need to "clone" an Instruction, changing
> its type. That is, I would like to keep all characteristics of the old
> Instruction and create a new one only with a different type.
Sure, but what about its operands? An "add" instruction
2011 Jan 24
0
[LLVMdev] How to change the type of an Instruction?
On 1/24/11 12:05 PM, Douglas do Couto Teixeira wrote:
>
>
> On Mon, Jan 24, 2011 at 3:01 PM, Nick Lewycky <nicholas at mxc.ca
> <mailto:nicholas at mxc.ca>> wrote:
>
> On 01/24/2011 04:41 AM, Douglas do Couto Teixeira wrote:
>
> Hi,
>
> Nick, thanks for the reply.
> I still have a problem: I only need to "clone" an
2011 Jan 12
2
[LLVMdev] Question about nsw and nuw flags
Hi everybody,
I saw that there are some instructions in the programs in which the flag nsw
or nuw is placed. I wonder what rules does LLVM follows to put these flags
in some instructions.
Best,
Douglas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110112/e696af22/attachment.html>
2011 Mar 14
2
[LLVMdev] How to integrate an analysis into LVI?
Hi guys,
I have an analysis that is able to answer questions like this: given an
integer variable, what is the interval of values that this variable can
assume during the program's execution?
I want to integrate this analysis into LLVM and it seems LVI (Lazy Value
Info) is the best place to do this kind of stuff. Can someone give some
hints about what I have to do to integrate my analysis
2010 Oct 13
1
[LLVMdev] Compile or link error
Hello,
I am generating profile_rt.dll by perfoming 'make' in
$LLVM_SRC_DIR/runtime/libprofile. After make, I got the following error
messages.
llvm[0]: Linking Debug+Asserts Loadable Module profile_rt.dll
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:/cygdrive/c/
llvm/runtime/libprofile/Debug+Asserts/exported_symbols.lst: file format not
reco
gnized; treating as
2011 Jan 21
0
[LLVMdev] How to change the type of an Instruction?
On 21 January 2011 12:56, Douglas do Couto Teixeira <
douglasdocouto at gmail.com> wrote:
> Hello guys,
>
> I wonder how I can change the type of an integer variable. For instance,
> given the instruction "%3 = add i32 %1, %2" I would like to alter the
> instruction to "%3 = add i16 %1, %2". Is there any way to do this?
>
No. Instead you create a new
2010 Aug 12
2
[LLVMdev] Questions about trip count
On 08/12/2010 09:41 PM, Douglas do Couto Teixeira wrote:
> Dear guys,
>
> I am having problems to obtain good information from the LoopInfo.
> I am always getting a trip count of 0, even though I am clearly passing
> a loop with a constant bound. I am using this pass below:
Hi,
I would propose to first check if the trip count is calculated
correctly. I would do this with opt
2011 Mar 24
1
[LLVMdev] Range Analysis GSoC 2011 Proposal
On Wed, Mar 23, 2011 at 6:24 PM, John Criswell <criswell at illinois.edu> wrote:
>
> > On 3/23/11 8:06 AM, Douglas do Couto Teixeira wrote:
> >
> > the execution of a program. Thus, for each integer variable, a range
> > analysis determines its lower and upper limits. A very simple range analysis
> > > would, for instance, map each variable to the limits
2011 Mar 23
3
[LLVMdev] Range Analysis GSoC 2011 Proposal
Dear LLVM community,
I would like to contribute to LLVM in the Google Summer of Code project. My
proposal is listed below. Please let me know your comments.
Adding Range Analysis to LLVM
Abstract
The objective of this work is patch our implementation of range analysis
into LLVM. I have a running implementation of range analysis in LLVM, but it
is not currently part of the main distribution. I
2010 Aug 09
1
[LLVMdev] Induction variable
Dear guys,
I am in need of discovering induction variables in loops. Does
LLVM provide a pass that already does this? For instance, given:
int a = 0, i;
for (i = 0; i < 10; i++) {
a += 5;
}
I would like to know that variable 'a' depends on variable 'i'.
Thank you very much,
Douglas
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2013 Jun 09
1
[LLVMdev] [Patch] Apply for adding PolyBench to LLVM testsuite
Hi all,
PolyBench (http://www.cse.ohio-state.edu/~pouchet/software/polybench/) is a well-known benchmark for polyhedral compiler. Since LLVM-Polly http://polly.llvm.org/) has provided a very good polyhedral optimizer for LLVM, could we add this benchmark to LLVM test-suite?
I have attached the patch file to add PolyBench to LLVM test-suite.
Best wishes,
Star Tan
-------------- next part
2011 Jan 31
0
[LLVMdev] Error : llvm/include/llvm/Pass.h:188: error: incomplete type 'llvm::DominatorTree' used in nested name specifier
Hi Surinder,
Did you remember to #include "llvm/Analysis/Dominators.h"?
Best,
Douglas
On Sun, Jan 30, 2011 at 11:24 PM, Surinder <surifilms at gmail.com> wrote:
> I am creating a new pass (function pass) called Dfl from the Hello
> example and notes on "Writing an LLVM Pass". When I compile the
> program I get inncomplete type error
2010 Aug 14
0
[LLVMdev] Questions about trip count
On Thu, Aug 12, 2010 at 5:22 PM, Tobias Grosser
<grosser at fim.uni-passau.de>wrote:
> On 08/12/2010 09:41 PM, Douglas do Couto Teixeira wrote:
>
>> Dear guys,
>>
>> I am having problems to obtain good information from the LoopInfo.
>> I am always getting a trip count of 0, even though I am clearly passing
>> a loop with a constant bound. I am using
2010 Oct 11
1
[LLVMdev] Invoking LLVM front-end
I forgot to cc the list
On Mon, Oct 11, 2010 at 6:19 PM, Jeff Kunkel <jdkunk3 at gmail.com> wrote:
> Well this is my 20,000 foot viewpoint of the project you have
> described. Also, I would appreciate if someone more knowledgeable
> revised my statements.
>
> First, I would make a mock machine with large register banks for each
> kind of operation and size combination. The
2011 Jan 31
2
[LLVMdev] Error : llvm/include/llvm/Pass.h:188: error: incomplete type 'llvm::DominatorTree' used in nested name specifier
I am creating a new pass (function pass) called Dfl from the Hello
example and notes on "Writing an LLVM Pass". When I compile the
program I get inncomplete type error (llvm/include/llvm/Pass.h:188:
error: incomplete type 'llvm::DominatorTree' used in nested name
specifier). The code is given below.
Surinder
struct Dfl : public FunctionPass {
raw_ostream *Out;
static