Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCalcSpillWeights.h35 unsigned NumInstr) { in normalizeSpillWeight() argument
104 unsigned NumInstr) { in normalize() argument
105 return normalizeSpillWeight(UseDefFreq, Size, NumInstr); in normalize()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNPreRALongBranchReg.cpp93 uint64_t NumInstr = 0; in generateBlockInfo() local
100 NumInstr += 1; in generateBlockInfo()
103 BlockInfo[MBB.getNumber()].Size = 8 * NumInstr; in generateBlockInfo()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCalcSpillWeights.cpp167 unsigned NumInstr = 0; // Number of instructions using LI in weightCalcHelper() local
206 NumInstr += 2; in weightCalcHelper()
243 NumInstr++; in weightCalcHelper()
350 return normalize(TotalWeight, Start->distance(*End), NumInstr); in weightCalcHelper()
351 return normalize(TotalWeight, LI.getSize(), NumInstr); in weightCalcHelper()
H A DRegAllocPBQP.cpp519 float normalize(float UseDefFreq, unsigned Size, unsigned NumInstr) override { in normalize() argument
522 return NumInstr * VirtRegAuxInfo::normalize(UseDefFreq, Size, 1); in normalize()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp52 size_t NumInstr = OpCodes.size(); in getRISCVInstructionCost() local
54 return NumInstr; in getRISCVInstructionCost()
57 return LMULCost * NumInstr; in getRISCVInstructionCost()