search for: machinedominatorsid

Displaying 2 results from an estimated 2 matches for "machinedominatorsid".

Did you mean: machinedominators
2009 May 05
0
[LLVMdev] unable to schedule pass message
...but perhaps someone has seen this before and can answer. I am trying to add a new register allocator to my target, and would like to use the Strong Phi Elimination pass. I am doing the following in my allocator virtual void getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequiredID(MachineDominatorsID); AU.addRequiredID(StrongPHIEliminationID); // Eliminate PHI nodes AU.addRequired<LiveStacks>(); AU.addPreserved<LiveStacks>(); AU.addRequired<MachineLoopInfo>(); AU.addPreserved<MachineLoopInfo>(); MachineFunctionPass::getAnalys...
2013 Dec 05
3
[LLVMdev] X86 - Help on fixing a poor code generation bug
...c: + static char ID; // Pass identification, replacement for typeid + X86FoldRedundantInserts() : MachineFunctionPass(ID) { } + + virtual void getAnalysisUsage(AnalysisUsage &AU) const { + AU.setPreservesCFG(); + AU.addPreservedID(MachineLoopInfoID); + AU.addPreservedID(MachineDominatorsID); + MachineFunctionPass::getAnalysisUsage(AU); + } + + virtual bool runOnMachineFunction(MachineFunction &MF); + + virtual const char *getPassName() const { + return "X86 Remove Redundant Inserts"; + } + + private: + // Candidates - Keep track of potential ca...