Home
last modified time | relevance | path

Searched refs:DominatingLeader (Results 1 – 1 of 1) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DNewGVN.cpp4099 Value *DominatingLeader = EliminationStack.back(); in eliminateInstructions() local
4101 auto *II = dyn_cast<IntrinsicInst>(DominatingLeader); in eliminateInstructions()
4104 DominatingLeader = II->getOperand(0); in eliminateInstructions()
4107 if (U->get() == DominatingLeader) in eliminateInstructions()
4110 << "Found replacement " << *DominatingLeader << " for " in eliminateInstructions()
4118 if (!PI || DominatingLeader != PI->OriginalOp) in eliminateInstructions()
4119 patchReplacementInstruction(ReplacedInst, DominatingLeader); in eliminateInstructions()
4120 U->set(DominatingLeader); in eliminateInstructions()
4123 auto &LeaderUseCount = UseCounts[DominatingLeader]; in eliminateInstructions()
4125 if (LeaderUseCount == 0 && isa<Instruction>(DominatingLeader)) in eliminateInstructions()
[all …]