• Home
  • Raw
  • Download

Lines Matching refs:Leader

303   CongruenceClass(unsigned ID, Value *Leader, const Expression *E)  in CongruenceClass()  argument
304 : ID(ID), RepLeader(Leader), DefiningExpr(E) {} in CongruenceClass()
318 void setLeader(Value *Leader) { RepLeader = Leader; } in setLeader() argument
329 void setStoredValue(Value *Leader) { RepStoredValue = Leader; } in setStoredValue() argument
331 void setMemoryLeader(const MemoryAccess *Leader) { RepMemoryAccess = Leader; } in setMemoryLeader() argument
699 CongruenceClass *createCongruenceClass(Value *Leader, const Expression *E) { in createCongruenceClass() argument
700 auto *result = new CongruenceClass(NextCongruenceNum++, Leader, E); in createCongruenceClass()
3531 auto Leader = lookupOperandLeader(SI->getValueOperand()); in convertClassToDFSOrdered() local
3532 if (alwaysAvailable(Leader)) { in convertClassToDFSOrdered()
3533 VDDef.Def.setPointer(Leader); in convertClassToDFSOrdered()
3855 Value *Leader = in eliminateInstructions() local
3857 if (alwaysAvailable(Leader)) { in eliminateInstructions()
3862 if (Member == Leader || !isa<Instruction>(Member) || in eliminateInstructions()
3867 LLVM_DEBUG(dbgs() << "Found replacement " << *(Leader) << " for " in eliminateInstructions()
3870 assert(Leader != I && "About to accidentally remove our leader"); in eliminateInstructions()
3871 replaceInstruction(I, Leader); in eliminateInstructions()
3877 if (CC->size() != 1 || RealToTemp.count(Leader)) { in eliminateInstructions()
4074 Instruction *Leader = cast<Instruction>(EliminationStack.back()); in eliminateInstructions() local
4075 (void)Leader; in eliminateInstructions()
4076 assert(DT->dominates(Leader->getParent(), Member->getParent())); in eliminateInstructions()
4079 << " that is dominated by " << *Leader << "\n"); in eliminateInstructions()