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
737 CongruenceClass *createCongruenceClass(Value *Leader, const Expression *E) { in createCongruenceClass() argument
738 auto *result = new CongruenceClass(NextCongruenceNum++, Leader, E); in createCongruenceClass()
3601 auto Leader = lookupOperandLeader(SI->getValueOperand()); in convertClassToDFSOrdered() local
3602 if (alwaysAvailable(Leader)) { in convertClassToDFSOrdered()
3603 VDDef.Def.setPointer(Leader); in convertClassToDFSOrdered()
3926 Value *Leader = in eliminateInstructions() local
3928 if (alwaysAvailable(Leader)) { in eliminateInstructions()
3933 if (Member == Leader || !isa<Instruction>(Member) || in eliminateInstructions()
3938 LLVM_DEBUG(dbgs() << "Found replacement " << *(Leader) << " for " in eliminateInstructions()
3941 assert(Leader != I && "About to accidentally remove our leader"); in eliminateInstructions()
3942 replaceInstruction(I, Leader); in eliminateInstructions()
3948 if (CC->size() != 1 || RealToTemp.count(Leader)) { in eliminateInstructions()
4157 Instruction *Leader = cast<Instruction>(EliminationStack.back()); in eliminateInstructions() local
4158 (void)Leader; in eliminateInstructions()
4159 assert(DT->dominates(Leader->getParent(), Member->getParent())); in eliminateInstructions()
4162 << " that is dominated by " << *Leader << "\n"); in eliminateInstructions()