Lines Matching refs:GVNHoist
244 class GVNHoist { class
246 GVNHoist(DominatorTree *DT, PostDominatorTree *PDT, AliasAnalysis *AA, in GVNHoist() function in llvm::GVNHoist
507 bool GVNHoist::run(Function &F) { in run()
545 unsigned int GVNHoist::rank(const Value *V) const { in rank()
567 bool GVNHoist::hasEH(const BasicBlock *BB) { in hasEH()
586 bool GVNHoist::hasMemoryUse(const Instruction *NewPt, MemoryDef *Def, in hasMemoryUse()
620 bool GVNHoist::hasEHhelper(const BasicBlock *BB, const BasicBlock *SrcBB, in hasEHhelper()
639 bool GVNHoist::hasEHOrLoadsOnPath(const Instruction *NewPt, MemoryDef *Def, in hasEHOrLoadsOnPath()
676 bool GVNHoist::hasEHOnPath(const BasicBlock *HoistPt, const BasicBlock *SrcBB, in hasEHOnPath()
706 bool GVNHoist::safeToHoistLdSt(const Instruction *NewPt, in safeToHoistLdSt()
708 GVNHoist::InsKind K, int &NBBsOnAllPaths) { in safeToHoistLdSt()
748 bool GVNHoist::valueAnticipable(CHIArgs C, Instruction *TI) const { in valueAnticipable()
760 void GVNHoist::checkSafety(CHIArgs C, BasicBlock *BB, GVNHoist::InsKind K, in checkSafety()
784 void GVNHoist::fillRenameStack(BasicBlock *BB, InValuesType &ValueBBs, in fillRenameStack()
785 GVNHoist::RenameStackType &RenameStack) { in fillRenameStack()
799 void GVNHoist::fillChiArgs(BasicBlock *BB, OutValuesType &CHIBBs, in fillChiArgs()
800 GVNHoist::RenameStackType &RenameStack) { in fillChiArgs()
834 void GVNHoist::findHoistableCandidates(OutValuesType &CHIBBs, in findHoistableCandidates()
835 GVNHoist::InsKind K, in findHoistableCandidates()
878 bool GVNHoist::allOperandsAvailable(const Instruction *I, in allOperandsAvailable()
888 bool GVNHoist::allGepOperandsAvailable(const Instruction *I, in allGepOperandsAvailable()
907 void GVNHoist::makeGepsAvailable(Instruction *Repl, BasicBlock *HoistPt, in makeGepsAvailable()
956 void GVNHoist::updateAlignment(Instruction *I, Instruction *Repl) { in updateAlignment()
973 unsigned GVNHoist::rauw(const SmallVecInsn &Candidates, Instruction *Repl, in rauw()
998 void GVNHoist::raMPHIuw(MemoryUseOrDef *NewMemAcc) { in raMPHIuw()
1013 unsigned GVNHoist::removeAndReplace(const SmallVecInsn &Candidates, in removeAndReplace()
1032 bool GVNHoist::makeGepOperandsAvailable( in makeGepOperandsAvailable()
1066 std::pair<unsigned, unsigned> GVNHoist::hoist(HoistingPointList &HPL) { in hoist()
1142 std::pair<unsigned, unsigned> GVNHoist::hoistExpressions(Function &F) { in hoistExpressions()
1210 GVNHoist G(&DT, &PDT, &AA, &MD, &MSSA); in run()