Home
last modified time | relevance | path

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

/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonShuffler.cpp82 const unsigned SlotWeight = 8; in setWeight() local
83 const unsigned MaskWeight = SlotWeight - 1; in setWeight()
87 assert(SlotWeight * s < 32 && "Argument to setWeight too large."); in setWeight()
93 (Key << (SlotWeight * s)) * ((MaskWeight - countPopulation(getUnits())) in setWeight()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonShuffler.cpp92 const unsigned SlotWeight = 8; in setWeight() local
93 const unsigned MaskWeight = SlotWeight - 1; in setWeight()
100 if (Key == 0 || Units == 0 || (SlotWeight * s >= 32)) in setWeight()
105 Weight = (1u << (SlotWeight * s)) * ((MaskWeight - Ctpop) << Cttz); in setWeight()