Displaying 8 results from an estimated 8 matches for "bbpass".
Did you mean:
dbpass
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/lib/BBPass.so':
/home/rotem/Desktop/install/Release/lib/BBPass.so: undefined symbol:
_ZN4llvm10LiveValues2IDE
-load request ignored.
opt: Unknown command line argument '-...
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/use the
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
2010 Apr 20
0
[LLVMdev] The "scope" of passes
...B):
> }
>
> FuncClassName::runOnFunction (Function & F) {
> for each basic block in F {
> analyzeBasicBlock (BB)
> }
> }
>
or
BBClassName::runOnBasicBlock (BasicBlock & BB) {
do something
}
FuncClassName::runOnFunction (Function & F) {
BBClassName bbPass;
for each basic block in F {
bbPass.clear();
bbPass.runOnBasicBlock (BB)
}
}
as i mention in the first mail :)
well, thanks very much for your suggestion about this.
--best regards
ether
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list...
2010 Apr 19
2
[LLVMdev] The "scope" of passes
ether zhhb wrote:
> hi John,
>
> sorry for reply so late.
>
> On Tue, Apr 13, 2010 at 10:38 PM, John Criswell <criswell at uiuc.edu
> <mailto:criswell at uiuc.edu>> wrote:
>
> Devang Patel wrote:
>
> On Mon, Apr 12, 2010 at 6:41 PM, ether zhhb
> <etherzhhb at gmail.com <mailto:etherzhhb at gmail.com>> wrote:
>
>
2006 Jan 10
0
[LLVMdev] passmanager, significant rework idea...
...Usage(), likewise with the pass name.
+public:
+ PassUnit(Traversal traversal = LINEAR, Pass *Pass) :
+ traversal(traversal),
+
+ virtual const char *getPMName() const =0;
+
+ virtual const char *getPassName() const =0;
+
+ virtual bool runPass(PassClass *P, UnitType *M) =0;
+};
+
+class BBPassUnit : public PassUnit {
+ BasicBlockPass *BBPass;
+
+public:
+ BBPassUnit(Traversal traversal = LINEAR, BasicBlockPass *Pass) :
+ PassUnit::traversal(traversal),
+ PassUnit::Pass(static_cast<Pass*>(Pass))
+ BBPassUnit::BBPass(Pass) {}
+};
+
+class LPassUnit : public PassUnit {
+...
2006 Jan 10
3
[LLVMdev] passmanager, significant rework idea...
The patch below basically hammers out some ideas as to where I'd like
to take the passmanager in LLVM. I've tried thinking things through,
but I'm still a n00b, so some criticism would be more than welcome. =)
Starting from line 191 down. If you're wondering why I created a
patch, well that's because I found thinking in passmanagert.h the most
productive.
--
Regards.
2006 Jan 10
1
[LLVMdev] Re: passmanager, significant rework idea...
...+ PassUnit(Traversal traversal = LINEAR, Pass *Pass) :
> + traversal(traversal),
> +
> + virtual const char *getPMName() const =0;
> +
> + virtual const char *getPassName() const =0;
> +
> + virtual bool runPass(PassClass *P, UnitType *M) =0;
> +};
> +
> +class BBPassUnit : public PassUnit {
> + BasicBlockPass *BBPass;
> +
> +public:
> + BBPassUnit(Traversal traversal = LINEAR, BasicBlockPass *Pass) :
> + PassUnit::traversal(traversal),
> + PassUnit::Pass(static_cast<Pass*>(Pass))
> + BBPassUnit::BBPass(Pass) {}
> +};
>...