Home
last modified time | relevance | path

Searched refs:UseBlock (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/CodeGen/
DMachineSink.cpp214 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local
215 if (!(UseBlock == MBB && UseInst->isPHI() && in AllUsesDominatedByBlock()
228 MachineBasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local
232 UseBlock = UseInst->getOperand(OpNo+1).getMBB(); in AllUsesDominatedByBlock()
233 } else if (UseBlock == DefMBB) { in AllUsesDominatedByBlock()
239 if (!DT->dominates(MBB, UseBlock)) in AllUsesDominatedByBlock()
497 MachineBasicBlock *UseBlock = UseInst.getParent(); in isProfitableToSinkTo() local
498 if (UseBlock == SuccToSinkTo && !UseInst.isPHI()) in isProfitableToSinkTo()
/external/llvm/lib/Transforms/Scalar/
DSink.cpp85 BasicBlock *UseBlock = UseInst->getParent(); in AllUsesDominatedByBlock() local
90 UseBlock = PN->getIncomingBlock(Num); in AllUsesDominatedByBlock()
93 if (!DT->dominates(BB, UseBlock)) in AllUsesDominatedByBlock()