Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] Moving Instructions."
2010 Mar 17
3
[LLVMdev] CFG Manipulation is LLVM
Hi,
Is there any API within llvm that provides methods to access the CFG and
do some manipulations on the CFG.
Thanks,
Rohith.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100317/5536c443/attachment.html>
2010 Mar 26
0
[LLVMdev] CFG Manipulation is LLVM
Hi Rohith,
> I'm actually working on building a dependence graph . I'm not able
> to find the methods which llvm uses to build the CFG. Is it possible to
> use the same functions do build a dependence graph ( i Know the CFG
> nodes are basicblocks where as dependence graph nodes will be variables)?.
LLVM does not have explicit methods to build the CFG because it is
2010 May 02
2
[LLVMdev] Unreachable Executed error.
Hi,
I've written a pass that basically does some code transformations to
enable parallel execution. After the transformation llvm runs BitCode Writer
pass , which is aborting with Unreachable Executed error. What does this
error generally mean?.
Any pointers on how to go about debugging this.
Thanks,
Rohith.
-------------- next part --------------
An HTML attachment was scrubbed...
2010 Apr 26
2
[LLVMdev] Creating a GEP instruction.
Hi,
I'm trying to create a GEP (inbounds) instruction . I was looking at the
createinboundsGEP method . I didnt get the inputiterator part. My question
how do i create a GEP instruction and what do i pass for the input iterator
arguments.
Thanks,
Rohith.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 May 02
0
[LLVMdev] Unreachable Executed error.
Run the verifier pass after your pass. The bitcode readers and
writers assume that the IR is well-formed, which yours may not be.
Reid
On Sun, May 2, 2010 at 1:08 AM, Rohith Goparaju <rgoparaj at umail.iu.edu> wrote:
> Hi,
>
> I've written a pass that basically does some code transformations to
> enable parallel execution. After the transformation llvm runs BitCode
2010 Apr 26
1
[LLVMdev] Creating a GEP instruction.
Thanks. The problem i'm facing is i want to get the address of the first
element of an array and i have also tried using the createInBoundsGEP which
takes the base pointer and the index value and a name. When i try passing
'0' as the index im running into problems.
Thanks,
Rohith.
On Sun, Apr 25, 2010 at 10:27 PM, Eli Friedman <eli.friedman at gmail.com>wrote:
> On Sun, Apr
2010 Apr 26
0
[LLVMdev] Creating a GEP instruction.
On Sun, Apr 25, 2010 at 5:15 PM, Rohith Goparaju <rgoparaj at umail.iu.edu> wrote:
> Hi,
>
> I'm trying to create a GEP (inbounds) instruction . I was looking at the
> createinboundsGEP method . I didnt get the inputiterator part. My question
> how do i create a GEP instruction and what do i pass for the input iterator
> arguments.
Generic answer to "how do I
2010 Apr 18
2
[LLVMdev] Creating a Return Instruction.
Hi all,
I have to create a return instruction in a function. The function is of
type -- void * func (void *) . So i have to create a return instruction for
the function that should return a void pointer. But actually the function
will not return anything useful . it will be something like -- return void
* null. The problem i am facing is to create a return instruction the
Create function
2010 Apr 18
2
[LLVMdev] Free Variables In a Loop.
Hi ,
I'm working on a project in which i need to find out all free variables
in a loop. I need to find all variables used inside a loop and that are not
declared(allocated) in the loop. I'm confused about what symbol tables to
use to get hold of such variables.
Thanks,
Rohith.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Apr 19
0
[LLVMdev] Free Variables In a Loop.
Rohith Goparaju wrote:
> Hi ,
>
> I'm working on a project in which i need to find out all free
> variables in a loop. I need to find all variables used inside a loop
> and that are not declared(allocated) in the loop. I'm confused about
> what symbol tables to use to get hold of such variables.
When you say "variables," are you talking about LLVM virtual
2010 Apr 19
1
[LLVMdev] Free Variables In a Loop.
John,
Thanks, this would work. But we are interested in obtaining the instruction
that defines/allocates the value of interest. Once we obtain that we can use
LoopInfo pass to check whether the basic block containing that definition
instruction belongs to the loop in question. Is there a method that returns
the defining instruction?
Thanks,
Adarsh
On Mon, Apr 19, 2010 at 10:05 AM, John Criswell
2010 Mar 01
1
[LLVMdev] Regarding Dependence Analysis
Hi ,
I'm using llvm for a project im currently working on. I got a couple of
questions . Is Dependence Analysis supported and/or implemented within
llvm?. Does llvm perform peephole optimizations before genrating the
bytecode .
Thanks,
Rohith.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Sep 20
1
[LLVMdev] AliasAnalysis Doubt.
Hi All,
I'm trying to use the inbuilt AliasAnalysis function for one of my
projects. Im trying to find out if a pair of load and store alias each
other. It would be helpful if somebody could point out the right way to do
this.
Example : %13 = load i32* %12, align 4
store i32 30, i32* %4, align 4
So in the above example i'm trying to find out if
2010 May 07
1
[LLVMdev] Unreachable code executed crash
Initially, tt was not a problem with the verifier, we were just inserting a
wrong instruction in our pass. Also we were able to figure out the error you
pointed out and our pass is running as intended!!! Thanks a lot.
On Fri, May 7, 2010 at 12:02 AM, Nick Lewycky <nicholas at mxc.ca> wrote:
> Adarsh Yoga wrote:
>
>> I was able to solve that
>>
>
> What was wrong? I
2010 May 06
2
[LLVMdev] Unreachable code executed crash
I was able to solve that but still crashing with the same error saying
"Unreachable executed". I have attached the output with this mail.
Thanks in advance.
On Thu, May 6, 2010 at 2:38 AM, Nick Lewycky <nicholas at mxc.ca> wrote:
> Adarsh Yoga wrote:
>
>> Yes. Intially the pass was crashing when the module when the module
>> verifier was running. I was able to
2010 May 07
0
[LLVMdev] Unreachable code executed crash
Adarsh Yoga wrote:
> I was able to solve that
What was wrong? I wasn't able to reproduce it and would still like to
teach the verifier whatever it missed.
but still crashing with the same error saying
> "Unreachable executed". I have attached the output with this mail.
This time you've got:
%1 = load i32** getelementptr inbounds ({ i32* }* @structobj, i64 0,
i32
2010 May 06
2
[LLVMdev] Unreachable code executed crash
Yes. Intially the pass was crashing when the module when the module verifier
was running. I was able to solve that and now it is crashing when the bit
writer pass is running.
On Wed, May 5, 2010 at 8:39 PM, Nick Lewycky <nlewycky at google.com> wrote:
> On 5 May 2010 17:12, Adarsh Yoga <ayoga at umail.iu.edu> wrote:
>
>> Hi,
>>
>> I've written a pass
2014 Apr 02
3
Typeof for character vector in dataframe returns integer
Hi ,
I want to know is this behavior expected and why is that ? Need some help
gender <- c("F", "M", "M", "F", "F", "M", "F", "F")
> age <- c(23, 25, 27, 29, 31, 33, 35, 37)
> df<- data.frame(gender,age)
> typeof(df[[1]])
[1] "integer"
2010 May 06
0
[LLVMdev] Unreachable code executed crash
Adarsh Yoga wrote:
> Yes. Intially the pass was crashing when the module when the module
> verifier was running. I was able to solve that and now it is crashing
> when the bit writer pass is running.
The output is wrong in @thread_pool_init:
<stdin>:44:27: error: '%4' defined with type 'i1'
%5 = getelementptr i32* %4, i64 %indvar ; <i32*> [#uses=1]
2010 May 06
2
[LLVMdev] Unreachable code executed crash
Hi,
I've written a pass that basically does some code transformations to
enable parallel execution of loops. After the transformation llvm runs
BitCode Writer pass , which is aborting with Unreachable Executed error.
I have attached the input llvm code and the output llvm code for reference.
I am stuck at this problem for a few days now. Please let me know if you are
able to find anything