Lines Matching defs:KeyVal
159 for (std::pair<const uint32_t, uint32_t> &KeyVal : Map) {
162 const uint32_t OutputOffset = KeyVal.second;
173 for (const std::pair<const uint32_t, uint32_t> &KeyVal : Map) {
174 const uint32_t OutputOffset = KeyVal.first;
175 const uint32_t InputOffset = KeyVal.second >> 1;
261 for (std::pair<const uint32_t, uint32_t> &KeyVal : Map) {
262 const uint64_t OutputAddress = KeyVal.first + Address;
266 encodeSLEB128(KeyVal.second - InOffset, OS);
267 InOffset = KeyVal.second; // Keeping InOffset as if BRANCHENTRY is encoded
276 LLVM_DEBUG(dbgs() << formatv("{0:x} -> {1:x} {2:x} {3}\n", KeyVal.first,
497 auto KeyVal = Map.upper_bound(Offset);
498 if (KeyVal == Map.begin())
501 --KeyVal;
503 const uint32_t Val = KeyVal->second >> 1; // dropping BRANCHENTRY bit
509 return Offset - KeyVal->first + Val;