similar to: [LLVMdev] User Defined Functions

Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] User Defined Functions"

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 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] Get size of operand
Hi, Within the basic block I got the instructions and so the operands i got the operands. Can we get the size of the operands. Specifically, if operand is of type structure, Can we get size of this 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:
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 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>
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 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>
2016 Nov 28
2
Looking for help with an ast matcher
Hi Piotr, I think I found a working matcher: match ifStmt(hasCondition(implicitCastExpr(hasImplicitDestinationType(isInteger()), has(cxxMemberCallExpr(callee(cxxMethodDecl(hasName("compare"))), hasArgument(0, declRefExpr().bind("str2")), callee(memberExpr(has(declRefExpr().bind("str1"))))))))).bind("case1") This one bind to both str1 and str2 in
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
2016 Nov 28
2
Looking for help with an ast matcher
Hi Piotr, Thanks. Yeah, it seemed a little weird, but it was what got me closest. I found out that the matcher I supplied here was working for clang-query 3.8.1. I'm working on a clang-tidy module for 4.0.0 - it's not working there. Could you elaborate on the "onImplicitObjectArgument"? There is no document on it on the clang page. So I wouldn't know how it works or what it
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
2012 Oct 01
2
[LLVMdev] Wrong type qualifier for this pointer in case of ARM compiled binary
Hi All, Was looking into a simple program - class Simple { public: void fun() {} }; int main() { Simple s; s.fun(); return 0; } When compiled using clang++ for ARM- Expected result when we run - print Simple::fun in GDB is void fun(Simple* const this) as this should be a const pointer but in case of arm compiled binary we get void fun(Simple* this). Works fine when compiled using
2012 Mar 08
1
[LLVMdev] fix a "does not name a type" bug in VASTContext.h
Hi all, I find a bug in the VASTContext.h of the latest clang. I fixed it and commit a patch for it. As follows: >From 447d31176b513a03b253eb25ef314c2a3c0e428a Mon Sep 17 00:00:00 2001 From: Tsingray <tsingray at buildbot-slave-desktop.(none)> Date: Thu, 8 Mar 2012 22:11:54 +0800 Subject: [PATCH] fix a 'does not name a type' bug in VASTContext.h ---
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
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]]
2012 Oct 02
0
[LLVMdev] Wrong type qualifier for this pointer in case of ARM compiled binary
Hi Karthik, > Expected result when we run - > > print Simple::fun in GDB is > void fun(Simple* const this) > > as this should be a const pointer but in case of arm compiled binary we get > void fun(Simple* this). I believe the actual type is coming from CXXMethodDecl::getThisType, which quotes the standard as saying: // C++ 9.3.2p1: The type of this in a member function
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 --------------