Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DProfDataUtils.cpp73 unsigned WeightsIdx = getBranchWeightOffset(ProfileData); in extractFromBranchWeightMD() local
74 assert(WeightsIdx < NOps && "Weights Index must be less than NOps."); in extractFromBranchWeightMD()
75 Weights.resize(NOps - WeightsIdx); in extractFromBranchWeightMD()
77 for (unsigned Idx = WeightsIdx, E = NOps; Idx != E; ++Idx) { in extractFromBranchWeightMD()
83 Weights[Idx - WeightsIdx] = Weight->getZExtValue(); in extractFromBranchWeightMD()