Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DCalcSpillWeights.h34 unsigned NumInstr) { in normalizeSpillWeight() argument
101 unsigned NumInstr) { in normalize() argument
102 return normalizeSpillWeight(UseDefFreq, Size, NumInstr); in normalize()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DCalcSpillWeights.cpp157 unsigned NumInstr = 0; // Number of instructions using LI in weightCalcHelper() local
194 NumInstr += 2; in weightCalcHelper()
226 NumInstr++; in weightCalcHelper()
321 return normalize(TotalWeight, Start->distance(*End), NumInstr); in weightCalcHelper()
322 return normalize(TotalWeight, LI.getSize(), NumInstr); in weightCalcHelper()
H A DRegAllocPBQP.cpp522 float normalize(float UseDefFreq, unsigned Size, unsigned NumInstr) override { in normalize() argument
525 return NumInstr * VirtRegAuxInfo::normalize(UseDefFreq, Size, 1); in normalize()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIPreEmitPeephole.cpp309 unsigned NumInstr = 0; in mustRetainExeczBranch() local
331 ++NumInstr; in mustRetainExeczBranch()
332 if (NumInstr >= SkipThreshold) in mustRetainExeczBranch()