Home
last modified time | relevance | path

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

/external/llvm-project/llvm/include/llvm/CodeGen/
DCalcSpillWeights.h35 unsigned NumInstr) { in normalizeSpillWeight() argument
97 unsigned NumInstr) { in normalize() argument
98 return normalizeSpillWeight(UseDefFreq, Size, NumInstr); in normalize()
/external/llvm-project/llvm/lib/CodeGen/
DCalcSpillWeights.cpp149 unsigned NumInstr = 0; // Number of instructions using LI in weightCalcHelper() local
186 NumInstr += 2; in weightCalcHelper()
218 NumInstr++; in weightCalcHelper()
300 return normalize(TotalWeight, Start->distance(*End), NumInstr); in weightCalcHelper()
301 return normalize(TotalWeight, LI.getSize(), NumInstr); in weightCalcHelper()
DRegAllocPBQP.cpp522 float normalize(float UseDefFreq, unsigned Size, unsigned NumInstr) override { in normalize() argument
525 return NumInstr * VirtRegAuxInfo::normalize(UseDefFreq, Size, 1); in normalize()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIRemoveShortExecBranches.cpp81 unsigned NumInstr = 0; in mustRetainExeczBranch() local
107 ++NumInstr; in mustRetainExeczBranch()
108 if (NumInstr >= SkipThreshold) in mustRetainExeczBranch()
DSIInsertSkips.cpp120 unsigned NumInstr = 0; in shouldSkip() local
128 NumInstr < SkipThreshold && I != E; ++I) { in shouldSkip()
150 ++NumInstr; in shouldSkip()
151 if (NumInstr >= SkipThreshold) in shouldSkip()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIInsertSkips.cpp110 unsigned NumInstr = 0; in shouldSkip() local
118 NumInstr < SkipThreshold && I != E; ++I) { in shouldSkip()
140 ++NumInstr; in shouldSkip()
141 if (NumInstr >= SkipThreshold) in shouldSkip()
/external/llvm/include/llvm/CodeGen/
DCalcSpillWeights.h37 unsigned NumInstr) { in normalizeSpillWeight() argument
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DCalcSpillWeights.h35 unsigned NumInstr) { in normalizeSpillWeight() argument
/external/llvm/lib/Target/AMDGPU/
DSILowerControlFlow.cpp162 unsigned NumInstr = 0; in shouldSkip() local
170 NumInstr < SkipThreshold && I != E; ++I) { in shouldSkip()
188 NumInstr += MaxAsmSize / MAI->getMaxInstLength(); in shouldSkip()
190 ++NumInstr; in shouldSkip()
193 if (NumInstr >= SkipThreshold) in shouldSkip()
/external/llvm/lib/CodeGen/
DRegAllocPBQP.cpp735 unsigned NumInstr) { in normalizePBQPSpillWeight() argument
738 return NumInstr * normalizeSpillWeight(UseDefFreq, Size, 1); in normalizePBQPSpillWeight()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegAllocPBQP.cpp783 unsigned NumInstr) { in normalizePBQPSpillWeight() argument
786 return NumInstr * normalizeSpillWeight(UseDefFreq, Size, 1); in normalizePBQPSpillWeight()