• Home
  • Raw
  • Download

Lines Matching refs:StartIdx

267 static hash_code hashPartialMapping(unsigned StartIdx, unsigned Length,  in hashPartialMapping()  argument
269 return hash_combine(StartIdx, Length, RegBank ? RegBank->getID() : 0); in hashPartialMapping()
275 return hashPartialMapping(PartMapping.StartIdx, PartMapping.Length, in hash_value()
280 RegisterBankInfo::getPartialMapping(unsigned StartIdx, unsigned Length, in getPartialMapping() argument
284 hash_code Hash = hashPartialMapping(StartIdx, Length, &RegBank); in getPartialMapping()
292 PartMapping = std::make_unique<PartialMapping>(StartIdx, Length, RegBank); in getPartialMapping()
297 RegisterBankInfo::getValueMapping(unsigned StartIdx, unsigned Length, in getValueMapping() argument
299 return getValueMapping(&getPartialMapping(StartIdx, Length, RegBank), 1); in getValueMapping()
522 assert((StartIdx <= getHighBitIdx()) && "Overflow, switch to APInt?"); in verify()
529 OS << "[" << StartIdx << ", " << getHighBitIdx() << "], RegBank = "; in print()
568 APInt PartMapMask = APInt::getBitsSet(OrigValueBitWidth, PartMap.StartIdx, in verify()
666 int StartIdx = OpToNewVRegIdx[OpIdx]; in getVRegsMem() local
668 if (StartIdx == OperandsMapper::DontKnowIdx) { in getVRegsMem()
672 StartIdx = NewVRegs.size(); in getVRegsMem()
673 OpToNewVRegIdx[OpIdx] = StartIdx; in getVRegsMem()
678 getNewVRegsEnd(StartIdx, NumPartialVal); in getVRegsMem()
680 return make_range(&NewVRegs[StartIdx], End); in getVRegsMem()
684 RegisterBankInfo::OperandsMapper::getNewVRegsEnd(unsigned StartIdx, in getNewVRegsEnd() argument
686 return const_cast<OperandsMapper *>(this)->getNewVRegsEnd(StartIdx, NumVal); in getNewVRegsEnd()
689 RegisterBankInfo::OperandsMapper::getNewVRegsEnd(unsigned StartIdx, in getNewVRegsEnd() argument
691 assert((NewVRegs.size() == StartIdx + NumVal || in getNewVRegsEnd()
692 NewVRegs.size() > StartIdx + NumVal) && in getNewVRegsEnd()
694 return NewVRegs.size() <= StartIdx + NumVal ? NewVRegs.end() in getNewVRegsEnd()
695 : &NewVRegs[StartIdx + NumVal]; in getNewVRegsEnd()
737 int StartIdx = OpToNewVRegIdx[OpIdx]; in getVRegs() local
739 if (StartIdx == OperandsMapper::DontKnowIdx) in getVRegs()
745 getNewVRegsEnd(StartIdx, PartMapSize); in getVRegs()
747 make_range(&NewVRegs[StartIdx], End); in getVRegs()