Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] Get size of operand"
2012 Nov 11
1
[LLVMdev] Find size of memory pointer is pointing to
Hi,
Can we find the size of memory a pointer is pointing to in LLVM. For example
type *p = (type *)malloc(sizeof(type)*20);
then it should give us size as sizeof(type) * 20.
--
Sunil Rathee
MTech
IIT Delhi
Not going along with the crowd can help you stand out in the crowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2012 Nov 11
1
[LLVMdev] Type of Pointer
Hi,
Can we find the type of the pointer, means can we find is it a Integer
pointer or float, etc.
--
Sunil Rathee
MTech
IIT Delhi
Not going along with the crowd can help you stand out in the crowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121112/4271572e/attachment.html>
2012 Nov 05
1
[LLVMdev] User Defined Functions
Hi,
Can we check whether a given funcion is user defined or not?
--
Sunil Rathee
MTech
IIT Delhi
Not going along with the crowd can help you stand out in the crowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121106/8d56dd24/attachment.html>
2012 Aug 17
1
[LLVMdev] Is instruction using array
I want to know that is there any way to find a given instruction is using
an array as operand?
--
Sunil Rathee
MTech
IIT Delhi
Not going along with the crowd can help you stand out in the crowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120817/ec62123c/attachment.html>
2012 Nov 11
0
[LLVMdev] (no subject)
Hi,
Can we find the type of the pointer, means can we find is it a Integer
pointer or float, etc.
--
Sunil Rathee
MTech
IIT Delhi
Not going along with the crowd can help you stand out in the crowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121112/692686e5/attachment.html>
2012 Nov 12
0
[LLVMdev] Find size of memory pointer is pointing to
On Nov 12, 2012, at 4:19 AM, <llvmdev-request at cs.uiuc.edu> wrote:
> Date: Mon, 12 Nov 2012 10:58:40 +0100
> From: Duncan Sands <baldrick at free.fr>
> To: llvmdev at cs.uiuc.edu
> Subject: Re: [LLVMdev] Find size of memory pointer is pointing to
> Message-ID: <50A0C850.8050106 at free.fr>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
2012 Oct 22
1
[LLVMdev] Use information generated by existing passes into new pass
Hi,
I want to ask is that can we use the information generated by existing
passes into a new pass? If yes, then how ?
For example -loops gives the natural loop information, so can we use this
information into new pass by calling it.
--
Sunil Rathee
MTech
IIT Delhi
Not going along with the crowd can help you stand out in the crowd
-------------- next part --------------
An HTML attachment was
2012 Nov 05
1
[LLVMdev] (no subject)
Hi,
Can we check whether a function is user defined or not?
--
Sunil Rathee
MTech
IIT Delhi
Not going along with the crowd can help you stand out in the crowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121106/68012441/attachment.html>
2010 Jan 03
2
[LLVMdev] Help Required for LLVM
Sir/Ma'am,
I am a MTech student at IIT Bombay, doing my thesis in compiler
optimization.
I am working on "Profile Based Pointer Analysis to Perform
Optimization", and would like to implement the optimization in llvm for
performing experiments.
When I was trying to build and install the compiler after configuring
llvm-gcc I got the following error:
gcc: gengtype-lex.c: No such
2011 Jul 28
0
[LLVMdev] number of static paths
Hi, I am a student at IIT Kanpur. I am working on Path Profiling, i just
came with a need to know about the number of static paths in a
program(actually in a function) before it's actually get run. As i saw in
PathProfiling.c file in llvm\runtime\libprofile they are just storing the
path information at run time and dynamically adding entries for the new
path. But i need to know the number of
2011 Jul 28
2
[LLVMdev] number of static paths
Hi, I am a student at IIT Kanpur. I am working on Path Profiling, i just
came with a need to know about the number of static paths in a
program(actually in a function) before it's actually get run. As i saw in
PathProfiling.c file in llvm\runtime\libprofile they are just storing the
path information at run time and dynamically adding entries for the new
path. But i need to know the number of
2011 Mar 28
2
[LLVMdev] regarding function pointer pass
Hi,
I am a Mtech student at IIT,Bombay and presently studying llvm as a part
of my Seminar work.Currently,i am writing a simple pass that would detect
function pointer call,use and declarations in the src program.
I could detect function pointer calls using the getCalledFunction().
However,i am stuck in identifying function pointer declaration and use.
is there a way one can distinguish between
2010 Aug 27
3
R-help
Respected R Help Team Members,
I am venkatesh .B , doing mtech in *University of Hyd,HYDERABAD. *i want
know , is there any package that contains Hungarian algorithm, that solves
linear assignment problem.
thanking you.
* *
--
*Sincerely
B.venkatesh
University of Hyd,HYDERABAD
9440186746*
[[alternative HTML version deleted]]
2010 Jan 04
0
[LLVMdev] Help Required for LLVM
Hi Ambika,
> I am a MTech student at IIT Bombay, doing my thesis in compiler
> optimization.
> I am working on "Profile Based Pointer Analysis to Perform
> Optimization", and would like to implement the optimization in llvm for
> performing experiments.
>
> When I was trying to build and install the compiler after configuring
> llvm-gcc I got the following
2013 Aug 11
2
[LLVMdev] pbqp register allocator-need help
Hello Sir,
Im trying to test run pbqp register allocator for small C programs.
by
llc -regalloc=pbqp -debug <bitcode of the file>
It is giving me segmentation fault for even very simple programs having
loops or if statements.
Please tell me where I'm going wrong.
--
Regards,
Smriti Jaiswal
MTech
Dept of Computer Science and Engg,
IIT Kanpur
-------------- next part --------------
2013 Aug 12
1
[LLVMdev] pbqp register allocator-need help
The simple C code on which im running the allocator is attached.
And these are the set of commands. I dont understand ..guess i might be
doing something very silly.
Please help
*Commands:*
clang -emit-llvm -c test.c -o test.bc
opt -mem2reg test.bc -o testssa.bc
llc -regalloc=pbqp testssa.bc
On Mon, Aug 12, 2013 at 7:59 AM, David Blaikie <dblaikie at gmail.com> wrote:
>
>
>
>
2013 Nov 04
1
[LLVMdev] DominanceFrontier/PostDominanceFrontier for PRE
On Sun, Nov 3, 2013 at 9:19 AM, Christopher Wood
<christopherwood07 at gmail.com> wrote:
> On Sun, Nov 3, 2013 at 1:02 AM, Daniel Berlin <dberlin at dberlin.org> wrote:
>>
>> As for a "better" way to implement PRE, it depends on what algorithm
>> you want to use. If you just want to write a PRE pass, that's easy
>> enough without dominance
2013 Jan 20
1
[LLVMdev] Sizeof a type?
On Jan 20, 2013, at 3:21 , Duncan Sands <baldrick at free.fr> wrote:
> if you have DataLayout available, use the getTypeAllocSize method. If you don't
> have information about the target then you can use ConstantExpr::getSizeOf. The
> advantage of DataLayout is that it returns a number (eg: 8) while getSizeOf
> returns a mysterious expression (the optimizers will simplify
2013 Jan 20
5
[LLVMdev] Sizeof a type?
Is there a way to get the sizeof a type? Say I've created a struct type without any explicit attribtues, and I want to call malloc() to allocate space for it. Can I get the size as an llvm::Constant* (or other llvm::Value*) given an llvm::StructType* or other llvm::Type*?
TIA,
--
Rick
2013 Jan 20
0
[LLVMdev] Sizeof a type?
Hi Rick,
On 20/01/13 06:23, Rick Mann wrote:
> Is there a way to get the sizeof a type? Say I've created a struct type without any explicit attribtues, and I want to call malloc() to allocate space for it. Can I get the size as an llvm::Constant* (or other llvm::Value*) given an llvm::StructType* or other llvm::Type*?
if you have DataLayout available, use the getTypeAllocSize method. If