Displaying 2 results from an estimated 2 matches for "d8cd5771".
2007 Dec 07
2
[LLVMdev] MachineLoopInfo Analysis Not Done
I'm trying to create the Machine LICM pass and I have this defined:
class VISIBILITY_HIDDEN MachineLICM : public MachineFunctionPass {
...
public:
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesCFG();
AU.addRequired<MachineLoopInfo>();
AU.addRequired<MachineDominatorTree>();
}
...
};
But when I go to use it:
2007 Dec 07
0
[LLVMdev] MachineLoopInfo Analysis Not Done
On Dec 6, 2007, at 5:56 PM, Bill Wendling wrote:
> I'm trying to create the Machine LICM pass and I have this defined:
>
> But when I go to use it:
>
> bool MachineLICM::runOnMachineFunction(MachineFunction &MF) {
> ...
> // Get our Loop information...
> LI = &getAnalysis<MachineLoopInfo>();
> ...
> for (MachineLoopInfo::iterator