Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNPreRALongBranchReg.cpp81 uint64_t NumInstr = 0; in generateBlockInfo() local
88 NumInstr += 1; in generateBlockInfo()
91 BlockInfo[MBB.getNumber()].Size = 8 * NumInstr; in generateBlockInfo()
H A DSIPreEmitPeephole.cpp309 unsigned NumInstr = 0; in mustRetainExeczBranch() local
334 ++NumInstr; in mustRetainExeczBranch()
335 if (NumInstr >= SkipThreshold) in mustRetainExeczBranch()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCalcSpillWeights.cpp168 unsigned NumInstr = 0; // Number of instructions using LI in weightCalcHelper() local
205 NumInstr += 2; in weightCalcHelper()
238 NumInstr++; in weightCalcHelper()
343 return normalize(TotalWeight, Start->distance(*End), NumInstr); in weightCalcHelper()
344 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()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp45 size_t NumInstr = OpCodes.size(); in getRISCVInstructionCost() local
47 return NumInstr; in getRISCVInstructionCost()
50 return LMULCost * NumInstr; in getRISCVInstructionCost()