Lines Matching refs:Leader
300 CongruenceClass(unsigned ID, Value *Leader, const Expression *E) in CongruenceClass() argument
301 : ID(ID), RepLeader(Leader), DefiningExpr(E) {} in CongruenceClass()
315 void setLeader(Value *Leader) { RepLeader = Leader; } in setLeader() argument
326 void setStoredValue(Value *Leader) { RepStoredValue = Leader; } in setStoredValue() argument
328 void setMemoryLeader(const MemoryAccess *Leader) { RepMemoryAccess = Leader; } in setMemoryLeader() argument
733 CongruenceClass *createCongruenceClass(Value *Leader, const Expression *E) { in createCongruenceClass() argument
734 auto *result = new CongruenceClass(NextCongruenceNum++, Leader, E); in createCongruenceClass()
3596 auto Leader = lookupOperandLeader(SI->getValueOperand()); in convertClassToDFSOrdered() local
3597 if (alwaysAvailable(Leader)) { in convertClassToDFSOrdered()
3598 VDDef.Def.setPointer(Leader); in convertClassToDFSOrdered()
3921 Value *Leader = in eliminateInstructions() local
3923 if (alwaysAvailable(Leader)) { in eliminateInstructions()
3928 if (Member == Leader || !isa<Instruction>(Member) || in eliminateInstructions()
3933 LLVM_DEBUG(dbgs() << "Found replacement " << *(Leader) << " for " in eliminateInstructions()
3936 assert(Leader != I && "About to accidentally remove our leader"); in eliminateInstructions()
3937 replaceInstruction(I, Leader); in eliminateInstructions()
3943 if (CC->size() != 1 || RealToTemp.count(Leader)) { in eliminateInstructions()
4152 Instruction *Leader = cast<Instruction>(EliminationStack.back()); in eliminateInstructions() local
4153 (void)Leader; in eliminateInstructions()
4154 assert(DT->dominates(Leader->getParent(), Member->getParent())); in eliminateInstructions()
4157 << " that is dominated by " << *Leader << "\n"); in eliminateInstructions()