search for: livevalues

Displaying 18 results from an estimated 18 matches for "livevalues".

2009 Jun 06
1
[LLVMdev] LiveValues Pass
Hi, I tried to use the LiveValues pass without success. I did exactly as you wrote me but no luck for me. I am getting this error : [rotem at localhost ~]$ opt -load /home/rotem/Desktop/install/Release/lib/BBPass.so -BBPass < /home/rotem/Desktop/tmp/BBtry.bc > /dev/null Error opening '/home/rotem/Desktop/install/Release/...
2009 Jun 02
2
[LLVMdev] LiveValues Pass
Hi, I need the Instructions live out, so i will be able to run my pass. One option that i already discussed is to compute it myself. Second option, use the LiveValues Pass(include/llvm/Analysis/LiveValues). This questions are on the LiveValues pass: Do i need to set the "LiveValues" pass in the PassManager as a prerequisite? if so how do i get the results ?How do i get/use the results of LiveValuse pass in my pass? Is there documentation in the LLVM s...
2009 Jun 02
0
[LLVMdev] LiveValues Pass
On Jun 2, 2009, at 5:54 AM, Rotem Varon wrote: > > This questions are on the LiveValues pass: > Do i need to set the "LiveValues" pass in the PassManager as a > prerequisite? if so how do i get the results ? Yes; it's a standard analysis pass. See http://llvm.org/docs/WritingAnLLVMPass.html for information about interactions between passes. > How do i get/us...
2011 Mar 31
3
[LLVMdev] LiveValues removal
I've read that LiveValues has been removed from trunk. Did it bitrot or was simply removed because a replacement is available? If it's the former, what caused the bitrotting? If it's the latter, what's the replacement? (I've found LiveVariables but I'm not sure it can be used in a ModulePass). b.r. --...
2011 Mar 31
0
[LLVMdev] LiveValues removal
...9;s used by register allocation). Unfortunately it requires a MachineFunction to work - so you'll either need to lower to one of the built-in targets or add your own target to acquire access to this pass. Andrew On 03/31/2011 12:28 PM, Carlo Alberto Ferraris wrote: > I've read that LiveValues has been removed from trunk. Did it bitrot > or was simply removed because a replacement is available? > If it's the former, what caused the bitrotting? If it's the latter, > what's the replacement? (I've found LiveVariables but I'm not sure it > can be used in a...
2009 May 31
1
[LLVMdev] Value liveout (uses)
The pass you're referring to is in include/llvm/Analysis/LiveValues.h and lib/Analysis/LiveValues.cpp. It computes conservative approximations for specific liveness queries, rather than full livein/liveout information. It's intended to be used as a heuristic. Dan On May 30, 2009, at 3:51 PM, Evan Cheng wrote: > I believe Dan has added a pass to compute li...
2011 Feb 25
1
[LLVMdev] Live values detection in LLVM
Hi all, At some points of my program, I would like to know if some LLVM values are live or not. For that, I'm using the LiveValues pass, which gives me methods such as : isLiveThroughBlock(Value * v, BasicBlock * b) isKilledInBlock(Value * v, BasicBlock * b) * If I understand well the code, dominator trees are used to compute the LiveThrough blocks. The definition of dominator in graph theory is the following: "A nod...
2011 Jan 13
1
[LLVMdev] Where is liveness analysis pass?
Hello all Currently I want to use the accurate liveness information when writing a *target independent* FunctionPass based on LLVM. The one I can find is LiveValues, a FunctionPass. But it doesn't use classic dataflow equation and can only provide approximate and conservative result. The another one is LiveVariables which use classic data flow equation, but it comes from Clang's analysis phase and only used in frontend. My question is whether there is...
2009 May 30
0
[LLVMdev] Value liveout (uses)
I believe Dan has added a pass to compute livein / liveout values. Evan Sent from my iPhone On May 30, 2009, at 5:03 AM, Rotem Varon <varonrotem at gmail.com> wrote: > Thank you. > > Is it possible to determine the liveout of the operands (see example > bellow) ? > > %5 = add i32 %4, %3 > > For '%5': i can simply use "
2009 May 30
4
[LLVMdev] Value liveout (uses)
Thank you. Is it possible to determine the liveout of the operands (see example bellow) ? %5 = add i32 %4, %3 For '%5': i can simply use " i->isUsedOutsideOfBlock() " For '%3' and '%4' : this is the question ... >From your answer, is it possible to determine *which* value is liveout ( in binary instruction)? On Sat, May 30, 2009 at 2:57 AM,
2010 Dec 14
0
[LLVMdev] Register allocation on IR
...on directly on the LLVM IR. I'm looking for something like "reg2mem" but that will also allocate registers to all SSA values, and that will attempt to both coalesce non-conflicting memory and minimize the amount of copying due to PHI nodes. Currently I've started working with LiveValues and a reverse post-order traversal to linearly allocate registers, but I'm wondering if there are more suitable tools that would be immediately useful for this problem. Andrew
2011 Mar 18
1
[LLVMdev] standard Data Flow Analysis available in LLVM?
I am working on implementing an algorithm that needs one of the standard Data Flow Analysis as its precondition (VeryBusyExpression to be precise). Thus I take a look into LLVM (2.8) and check their availability. I do expect to see all of the following standard ones: - Reaching Definition (RD) - Live Variable (LV) - Available Expression (AE) - Very Busy Expression (VBE) To my surprise, I
2013 Oct 08
0
[LLVMdev] LiveVariables at LLVM IR
Hello, I am interested to to know live variables at LLVM IR. There is LiveVariables implementation but it requires a MachineFunction to work. There used to be LiveValues implementation which was LLVM IR Value liveness analysis pass, but it has been removed from the trunk back in 2011. Is there any replacement to get liveness information for LLVM IR Values that could work on Module or function pass?
2009 May 31
1
[LLVMdev] Value liveout (uses)
" All of these answers are things you would do for an individual LLVM "Value". " I am sorry, but may be i am missing something here. In the previous email you suggested the function "bool isLiveOut(Instruction* I) ". So, if you please, explain how i can find out if a llvm::Value (not an llvm::Instruction) is live out or not. As i understand it, isLiveOut can help me
2011 Jan 13
0
[LLVMdev] Where is liveness analysis pass?
...amp;nbsp;the&nbsp;accurate&nbsp;liveness&nbsp;information&nbsp;when&nbsp;writing&nbsp;a&nbsp;*target&nbsp;independent*&nbsp;FunctionPass&nbsp;based&nbsp;on&nbsp;LLVM.&nbsp;The&nbsp;one&nbsp;I&nbsp;can&nbsp;find&nbsp;is&nbsp;LiveValues,&nbsp;a&nbsp;FunctionPass.&nbsp;But&nbsp;it&nbsp;doesn't&nbsp;use&nbsp;classic&nbsp;dataflow&nbsp;equation&nbsp;and&nbsp;can&nbsp;only&nbsp;provide&nbsp;approximate&nbsp;and&nbsp;conservative&nbsp;result.&nbsp;The&nbsp;...
2010 Oct 01
2
[LLVMdev] CMake "sudo make install" & headers
...alysis/LazyValueInfo.h -- Installing: /usr/local/llvm-2.8/include/llvm/Analysis/LibCallAliasAnalysis.h -- Installing: /usr/local/llvm-2.8/include/llvm/Analysis/LibCallSemantics.h -- Installing: /usr/local/llvm-2.8/include/llvm/Analysis/Lint.h -- Installing: /usr/local/llvm-2.8/include/llvm/Analysis/LiveValues.h -- Installing: /usr/local/llvm-2.8/include/llvm/Analysis/Loads.h -- Installing: /usr/local/llvm-2.8/include/llvm/Analysis/LoopDependenceAnalysis.h -- Installing: /usr/local/llvm-2.8/include/llvm/Analysis/LoopInfo.h -- Installing: /usr/local/llvm-2.8/include/llvm/Analysis/LoopPass.h -- Installing:...
2010 Oct 01
0
[LLVMdev] CMake "sudo make install" & headers
On Thu, Sep 30, 2010 at 3:08 PM, Samuel Williams <space.ship.traveller at gmail.com> wrote: > Hi, > > I might just be doing something stupid, but when I do > > $ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/llvm-2.8 -DCMAKE_BUILD_TYPE=Release .. > $ sudo make install > > I don't get the expected headers in >        /usr/local/llvm-2.8/include/llvm > > It is
2010 Sep 30
6
[LLVMdev] CMake "sudo make install" & headers
Hi, I might just be doing something stupid, but when I do $ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/llvm-2.8 -DCMAKE_BUILD_TYPE=Release .. $ sudo make install I don't get the expected headers in /usr/local/llvm-2.8/include/llvm It is simply an empty directory. What am I doing wrong? This is on Mac OS X, CMake 2.8+ Kind regards, Samuel