Lines Matching refs:GVN
514 class GVN;
593 Value *MaterializeAdjustedValue(LoadInst *LI, GVN &gvn) const;
596 class GVN : public FunctionPass { class
628 explicit GVN(bool noloads = false) in GVN() function in __anon4436d4200211::GVN
740 char GVN::ID = 0;
745 return new GVN(NoLoads); in createGVNPass()
748 INITIALIZE_PASS_BEGIN(GVN, "gvn", "Global Value Numbering", false, false)
755 INITIALIZE_PASS_END(GVN, "gvn", "Global Value Numbering", false, false) in INITIALIZE_PASS_DEPENDENCY()
758 void GVN::dump(DenseMap<uint32_t, Value*>& d) { in INITIALIZE_PASS_DEPENDENCY()
1172 GVN &gvn) { in GetLoadValueForLoad()
1291 GVN &gvn) { in ConstructSSAForLoadSet()
1320 GVN &gvn) const { in MaterializeAdjustedValue()
1365 void GVN::AnalyzeLoadAvailability(LoadInst *LI, LoadDepVect &Deps, in AnalyzeLoadAvailability()
1506 bool GVN::PerformLoadPRE(LoadInst *LI, AvailValInBlkVect &ValuesPerBlock, in PerformLoadPRE()
1712 bool GVN::processNonLocalLoad(LoadInst *LI) { in processNonLocalLoad()
1790 bool GVN::processAssumeIntrinsic(IntrinsicInst *IntrinsicI) { in processAssumeIntrinsic()
1882 bool GVN::processLoad(LoadInst *L) { in processLoad()
2074 Value *GVN::findLeader(const BasicBlock *BB, uint32_t num) { in findLeader()
2116 bool GVN::replaceOperandsWithConsts(Instruction *Instr) const { in replaceOperandsWithConsts()
2137 bool GVN::propagateEquality(Value *LHS, Value *RHS, const BasicBlockEdge &Root, in propagateEquality()
2295 bool GVN::processInstruction(Instruction *I) { in processInstruction()
2425 bool GVN::runOnFunction(Function& F) { in runOnFunction()
2485 bool GVN::processBlock(BasicBlock *BB) { in processBlock()
2535 bool GVN::performScalarPREInsertion(Instruction *Instr, BasicBlock *Pred, in performScalarPREInsertion()
2578 bool GVN::performScalarPRE(Instruction *CurInst) { in performScalarPRE()
2711 bool GVN::performPRE(Function &F) { in performPRE()
2738 BasicBlock *GVN::splitCriticalEdges(BasicBlock *Pred, BasicBlock *Succ) { in splitCriticalEdges()
2748 bool GVN::splitCriticalEdges() { in splitCriticalEdges()
2761 bool GVN::iterateOnFunction(Function &F) { in iterateOnFunction()
2785 void GVN::cleanupGlobalSets() { in cleanupGlobalSets()
2793 void GVN::verifyRemoved(const Instruction *Inst) const { in verifyRemoved()
2814 void GVN::addDeadBlock(BasicBlock *BB) { in addDeadBlock()
2896 bool GVN::processFoldableCondBr(BranchInst *BI) { in processFoldableCondBr()
2924 void GVN::assignValNumForDeadCode() { in assignValNumForDeadCode()