Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DPhiValues.cpp52 assert(DepthMap.lookup(Phi) == 0); in processPhi()
55 DepthMap[Phi] = RootDepthNumber; in processPhi()
65 OpDepthNumber = DepthMap.lookup(PhiPhiOp); in processPhi()
71 DepthMap[Phi] = std::min(DepthMap[Phi], OpDepthNumber); in processPhi()
82 if (DepthMap[Phi] == RootDepthNumber) { in processPhi()
97 unsigned int OpDepthNumber = DepthMap[PhiOp]; in processPhi()
126 unsigned int DepthNumber = DepthMap.lookup(PN); in getValuesForPhi()
130 DepthNumber = DepthMap.lookup(PN); in getValuesForPhi()
147 DepthMap.erase(PN); in invalidateValue()
158 DepthMap.clear(); in releaseMemory()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86CmovConversion.cpp396 DenseMap<MachineInstr *, DepthInfo> DepthMap; in checkForProfitableCmovCandidates() local
406 DepthMap[nullptr] = {0, 0}; in checkForProfitableCmovCandidates()
455 DepthInfo Info = DepthMap.lookup(DefMI); in checkForProfitableCmovCandidates()
464 DepthMap[OperandToDefMap.lookup(&MI.getOperand(1))].OptDepth, in checkForProfitableCmovCandidates()
465 DepthMap[OperandToDefMap.lookup(&MI.getOperand(2))].OptDepth); in checkForProfitableCmovCandidates()
476 DepthMap[&MI] = {MIDepth += Latency, MIDepthOpt += Latency}; in checkForProfitableCmovCandidates()
559 DepthMap[OperandToDefMap.lookup(&MI->getOperand(4))].Depth; in checkForProfitableCmovCandidates()
561 DepthMap[OperandToDefMap.lookup(&MI->getOperand(1))].Depth, in checkForProfitableCmovCandidates()
562 DepthMap[OperandToDefMap.lookup(&MI->getOperand(2))].Depth); in checkForProfitableCmovCandidates()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DPhiValues.h79 DenseMap<const PHINode *, unsigned int> DepthMap; variable