Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/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 …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CmovConversion.cpp405 DenseMap<MachineInstr *, DepthInfo> DepthMap; in checkForProfitableCmovCandidates() local
415 DepthMap[nullptr] = {0, 0}; in checkForProfitableCmovCandidates()
463 DepthInfo Info = DepthMap.lookup(DefMI); in checkForProfitableCmovCandidates()
472 DepthMap[OperandToDefMap.lookup(&MI.getOperand(1))].OptDepth, in checkForProfitableCmovCandidates()
473 DepthMap[OperandToDefMap.lookup(&MI.getOperand(2))].OptDepth); in checkForProfitableCmovCandidates()
484 DepthMap[&MI] = {MIDepth += Latency, MIDepthOpt += Latency}; in checkForProfitableCmovCandidates()
567 DepthMap[OperandToDefMap.lookup(&MI->getOperand(4))].Depth; in checkForProfitableCmovCandidates()
569 DepthMap[OperandToDefMap.lookup(&MI->getOperand(1))].Depth, in checkForProfitableCmovCandidates()
570 DepthMap[OperandToDefMap.lookup(&MI->getOperand(2))].Depth); in checkForProfitableCmovCandidates()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DPhiValues.h79 DenseMap<const PHINode *, unsigned int> DepthMap; variable