search for: interprocedural

Displaying 20 results from an estimated 652 matches for "interprocedural".

2018 Dec 18
2
Interprocedural AA
Hi, I'm looking for interprocedural AAs and have, of course, found https://llvm.org/docs/AliasAnalysis.html. However, the AAs that come bundled with LLVM do not work interprocedurally in a way that I need it (on/with stack variables). The two interesting looking AAs come with the optional `poolalloc' module that hasn't been...
2004 Aug 04
3
[LLVMdev] Compiler Driver Decisions
...-O3 into 2 or more levels of optimization, because as written, -O3 sounds pretty scary: "regardless of computation time", and given some people who thing that several minutes of compile time is acceptable, I think it's useful to split it into "aggresive opt", "aggresive interprocedural opt", and "aggressive interprocedural analysis with interprocedural opt". -- Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu
2012 Feb 12
3
[LLVMdev] llvm interprocedural analysis and optimization
If I turn on one of the llvm interprocedural optimizations without turning on the analysis it uses. will the analysis be turned on automatically ? Thanks Xin
2016 Aug 01
1
[LLVMdev] Interprocedural use-def chains
...3:05 PM Dounia Khaldi via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Thanks for your reply. > > Yes, I was about to recurse over the use list of the argument in the > called function. I did not want to pursue that because with this solution, > I am going to implement the interprocedural part myself and was wondering > if that was not already done. I was not also 100% sure that this will work > for any type of arguments. > > If, based on your response, this is my only solution then I will go for > it. > Yep. And it should work for any kind of argument -- they...
2004 Aug 04
0
[LLVMdev] Compiler Driver Decisions
...evels of optimization, > because as written, -O3 sounds pretty scary: "regardless of computation > time", and given some people who thing that several minutes of compile > time is acceptable, I think it's useful to split it into "aggresive > opt", "aggresive interprocedural opt", and "aggressive interprocedural > analysis with interprocedural opt". Okay, sounds good. How about: -O3agg -O3ipo -O3aggipo :) ? Reid. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size:...
2012 Oct 04
2
[LLVMdev] Interprocedural Register Allocation
...but all I can say is that I have tried very small things related to building a compiler [0]. However I admit that I am still new to a lot of things. Like many others who are interested in compilers, I am interested in the Register Allocation problem too. I have been thinking about implementing an interprocedural register allocator from quite a while now. But I thought instead of trying it out on a toy compiler, why not just get my hands dirty in the real world. I was seeing if I could implement it on LLVM and incidentally, I noticed that the open projects page lists interprocedural register allocation as o...
2016 Jul 26
2
[LLVMdev] Interprocedural use-def chains
Thanks for your reply. Yes, I was about to recurse over the use list of the argument in the called function. I did not want to pursue that because with this solution, I am going to implement the interprocedural part myself and was wondering if that was not already done. I was not also 100% sure that this will work for any type of arguments. If, based on your response, this is my only solution then I will go for it. Thanks, Dounia On Tue, Jul 26, 2016 at 5:51 PM, Sanjoy Das <sanjoy at playingwithpoi...
2010 Dec 15
0
[LLVMdev] Interprocedural alias analysis
Hello, I need interprocedural alias analysis while I'm using GVN for infeasible path analysis. So, I've tried "-steens-aa" from poolalloc project, but it doesn't seem to be working as I expected. For example, int global; int bar(void) { return 5; } int foo(void) { int a; scanf("%d", &amp...
2007 Dec 21
2
[LLVMdev] Interprocedural optimizations in LLVM
Hi Everyone, Can Someone tell me all the interprocedural optimizations that LLVM 2.1 supports. Thank You, Naineet Patel CSE IITB
2012 Oct 04
0
[LLVMdev] Interprocedural Register Allocation
...a discussion. I would really like to contribute to LLVM and > I think this is a good place for me to start. Is there something specific like a paper > that you guys would want me to read before diving in? > > I understand that register allocation itself is a tricky problem and doing an interprocedural > allocation is extremely hard. But I would like to try, at least try and fail if worst comes > to worst than not doing anything at all. At least by attempting to implement that, I will > have a better understanding of LLVM code base which may come in handy to contribute > to other part...
2016 Jul 26
2
[LLVMdev] Interprocedural use-def chains
Hello, I have been using the USE class to access the use-def chains of different values. However, what I have noticed is that the set of users of a particular value is limited for the appearance of that variable in the current function. How can I get the interprocedural use of a particular value? For example, if a variable *a* is used as an argument in a function call *foo*, the USE analysis would go to the definition of* foo*, and get me the users of that argument in the called function as well. Currently, what USE does is that it returns the call as a use and st...
2007 Nov 23
2
[LLVMdev] global register allocation.
...t;fernando at cs.ucla.edu> wrote: > > > Hi, Sanjiv, > > those passes operate on the whole machine function. Each machine > function contains many basic blocks. If a program has many functions, the > register allocator will be called as many times, i.e it does not do > interprocedural allocation. > > best, > > Fernando Thanks for replying back. I am looking to write a regalloc pass that does interprocedural regalloc. By constructing a Call Graph and keeping the registers in a single call chain different so that i can avoid spilling (saving) across function calls. W...
2011 Oct 08
0
[LLVMdev] interprocedural static backwards slicing
...en I can get to that (I've got some important work priorities to contend with in mid-October). -- John T. ________________________________________ From: Jinwook Shin [Jinwook.Shin at microsoft.com] Sent: Thursday, October 06, 2011 12:59 PM To: Criswell, John T; llvmdev at cs.uiuc.edu Subject: interprocedural static backwards slicing Hello John et al - I have been struggling to implement static backwards slicing with LLVM. After digging llvmdev postings for some time, I see that other people were having similar difficulties and John's got almost complete code that may be shared. May I get a copy o...
2007 Nov 25
1
[LLVMdev] global register allocation.
...guys in the list could suggest something. Yet, you > can always dump it into a file, and read it again, everytime it is > necessary. Remember that RegAlloc will be called once per function. Also, > LLVM does very aggressive inlining of method calls, and this may cause the > benefits of interprocedural register allocation to be very small, if any. > There was one guy (google for Philip Brisk) who was working with > interprocedural RA on SSA-form programs. > > best, > > Fernando > > > > On 11/23/07, Fernando Magno Quintao Pereira <fernando at cs.ucla.edu> wrote:...
2011 Oct 06
2
[LLVMdev] interprocedural static backwards slicing
Hello John et al - I have been struggling to implement static backwards slicing with LLVM. After digging llvmdev postings for some time, I see that other people were having similar difficulties and John's got almost complete code that may be shared. May I get a copy of it, too? Better yet, it would be helpful for many other people if the code were checked in to an example directory or
2008 Aug 15
2
[LLVMdev] Interprocedural Program Slicing
Dear all, Is anyone aware of any implementation of an inter procedural slicing algorithm for LLVM? I am mostly interested in a static algorithm but a dynamic one can be helpful too. Thanks, Silviu Ganceanu Research Student, Ecole Polytechique Federale de Luasanne -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Aug 15
0
[LLVMdev] Interprocedural Program Slicing
We have done a few class projects on static interprocedural slicing but they are all of "course project" quality. I will put you in touch with some of the students who did those, if you're interested? --Vikram Associate Professor, Computer Science University of Illinois at Urbana-Champaign http://llvm.org/~vadve On Aug 15, 2008, at 8...
2010 Nov 08
1
[LLVMdev] interprocedural live value analysis
Hello, I had a look at the global variable optimizer. In my opinion it handles a few special cases, when global variables can be replaced by local variables or be removed completely. Basically I think that this problem could be solved with an interprocedural live value analysis for global variables more generally. An assignment to a global variable can be removed, if this global variable is dead at this assignment. I know that this kind of analysis is not trivial to implement and may have a significant performance impact. However it might be useful. W...
2012 Feb 12
0
[LLVMdev] llvm interprocedural analysis and optimization
There is/are implicit dependency for the optimization on its analysis. So, if you run the optimization, the analysis will be turned on implicitly, through the PassManager. Chuck On 2/12/2012 10:10 AM, Xin Tong wrote: > If I turn on one of the llvm interprocedural optimizations without > turning on the analysis it uses. will the analysis be turned on > automatically ? > > Thanks > > Xin > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http...
2016 Feb 26
1
Publication: Flowtables: Program Skeletal Inversion for Defeat of Interprocedural Analysis with Unique Metamorphism
http://dl.acm.org/citation.cfm?id=2843863 Luke Jones, Ryan Whelan, Jeremy Blackthorne, and Graham Baker. 2015. Flowtables: Program Skeletal Inversion for Defeat of Interprocedural Analysis with Unique Metamorphism. In Proceedings of the 5th Program Protection and Reverse Engineering Workshop (PPREW-5). ACM, New York, NY, USA, , Article 6 , 11 pages. DOI=http://dx.doi.org/10.1145/2843859.2843863 -------------- next part -------------- An HTML attachment was scrubbed... URL: &...