Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] Number of Bytes a GetElementPtr ."
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 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 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 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 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 05
1
[LLVMdev] Moving Instructions.
Hi,
Is there a way in which i can move an instruction from one basicblock to
another?.(without giving the instruction a new name).
I'm actually trying to move the body of a given loop into a new function.
If i would be able to move basicblocks's that would be ideal. So is there a
way to move a basicblock into a function?.
Thanks,
Rohith.
-------------- next part --------------
An HTML
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 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
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 Sep 12
1
[LLVMdev] 'opt' command Errors.
Hi,
My pass compiles fine with Gmake,but when i run it with 'opt' it was
initially breaking with the following error message :
"Error opening '../../../Release/lib/ReusePass.so':
../../../Release/lib/ReusePass.so: undefined symbol:
_ZNK4llvm4Pass5printERSoPKNS_6ModuleE
-load request ignored.
opt: Unknown command line argument '-ReusePass'."
Then i
2006 Jun 22
6
Capistrano with Local (not file:///) repository
I''m developing an rails app. The SVN repository resides on a (Win 2k)
server on my company''s local intranet. The repository is accessed via
http (Apache + mod_dav_svn). From this machine, it is not a problem to
get out onto the Internet. However, coming in from the Internet is not
possible (at least, not without a VPN connection).
Given this, is it possible to use
2006 Jun 22
4
rendering partials in layouts?
Hello all,
Forgive me if this is a really stupid question. How do you render
partials in a layout? It''s probably way easier than i believe it to be.
thanks!
--
Posted via http://www.ruby-forum.com/.
2010 Apr 19
5
[LLVMdev] Code Size Benchmark
Hi all,
We did some benchmarks on code size with clang, gcc 4.5, and open64. Clang
performed second in the test. The benchmark is CSiBE. Clang can't compile
the linux kernel (some inline asm not supported) and replaypc (error: use of
unknown builtin '__builtin_next_arg'). The concrete results are attached.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2001 Jan 08
0
cleaning up the BUGS list
In looking over the bugs list, it seems to me that most of them are
things we can no longer do anything about, because they are on old
versions or broken systems or were features or ....
There are now so many they obscure the bugs needing attention.
I am about the remove the following. If anyone thinks they are still
relevant, could you please send a follow-up to R-bugs with details under
1.2.0
2006 Jul 21
6
pulling information from LDAP server using Ruby on Rails
Hello, I am currently working on a project using Ruby on Rails. So far,
I have a well-populated mySQL database the RoR refers to and the basic
scaffolding functions implemented. I also designed views/layouts that
furthers the basic scaffolding interface. No problem and no big
accomplishment by any means.
Now, I want to pull user information from an already existing LDAP
server and put that