Home
last modified time | relevance | path

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

/freebsd-head/contrib/llvm-project/llvm/lib/IR/
HDProfDataUtils.cpp76 unsigned WeightsIdx = getBranchWeightOffset(ProfileData); in extractFromBranchWeightMD() local
77 assert(WeightsIdx < NOps && "Weights Index must be less than NOps."); in extractFromBranchWeightMD()
78 Weights.resize(NOps - WeightsIdx); in extractFromBranchWeightMD()
80 for (unsigned Idx = WeightsIdx, E = NOps; Idx != E; ++Idx) { in extractFromBranchWeightMD()
86 Weights[Idx - WeightsIdx] = Weight->getZExtValue(); in extractFromBranchWeightMD()