Searched refs:ValMapping (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | RegBankSelect.cpp | 111 Register Reg, const RegisterBankInfo::ValueMapping &ValMapping, in assignmentMatch() argument 117 if (ValMapping.NumBreakDowns != 1) in assignmentMatch() 121 const RegisterBank *DesiredRegBank = ValMapping.BreakDown[0].RegBank; in assignmentMatch() 134 MachineOperand &MO, const RegisterBankInfo::ValueMapping &ValMapping, in repairReg() argument 138 assert(ValMapping.NumBreakDowns == (unsigned)size(NewVRegs) && in repairReg() 145 if (ValMapping.NumBreakDowns == 1) { in repairReg() 172 assert(ValMapping.partsAllUniform() && "irregular breakdowns not supported"); in repairReg() 178 if (ValMapping.NumBreakDowns == RegTy.getNumElements()) in repairReg() 182 (ValMapping.BreakDown[0].Length * ValMapping.NumBreakDowns == in repairReg() 184 (ValMapping.BreakDown[0].Length % RegTy.getScalarSizeInBits() == in repairReg() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | RegisterBankInfo.cpp | 219 const ValueMapping *ValMapping = &getValueMapping(0, Size, *CurRegBank); in getInstrMappingImpl() local 228 OperandsMapping[0] = ValMapping; in getInstrMappingImpl() 253 OperandsMapping[OpIdx] = ValMapping; in getInstrMappingImpl() 327 auto &ValMapping = MapOfValueMappings[Hash]; in getValueMapping() local 328 ValMapping = std::make_unique<ValueMapping>(BreakDown, NumBreakDowns); in getValueMapping() 329 return *ValMapping; in getValueMapping() 657 const ValueMapping &ValMapping = getOperandMapping(OpIdx); in print() local 660 OS << "{ Idx: " << OpIdx << " Map: " << ValMapping << '}'; in print() 716 const ValueMapping &ValMapping = getInstrMapping().getOperandMapping(OpIdx); in createVRegs() local 717 const PartialMapping *PartMap = ValMapping.begin(); in createVRegs() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | RegisterBankInfo.h | 241 const ValueMapping &ValMapping = in getOperandMapping() local 243 return ValMapping; in getOperandMapping() 653 getBreakDownCost(const ValueMapping &ValMapping, 772 operator<<(raw_ostream &OS, const RegisterBankInfo::ValueMapping &ValMapping) { 773 ValMapping.print(OS);
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | RegBankSelect.h | 523 /// Check if \p Reg is already assigned what is described by \p ValMapping. 528 const RegisterBankInfo::ValueMapping &ValMapping, 531 /// Insert repairing code for \p Reg as specified by \p ValMapping. 535 /// to ValMapping.BreakDown.size(). 557 /// \pre NewVRegs.size() == ValMapping.BreakDown.size() 564 const RegisterBankInfo::ValueMapping &ValMapping, 569 /// Return the cost of the instruction needed to map \p MO to \p ValMapping. 573 /// \pre ValMapping is a valid mapping for MO. 576 const RegisterBankInfo::ValueMapping &ValMapping) const; 599 /// given \p ValMapping, tr [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPURegisterBankInfo.h | 173 unsigned getBreakDownCost(const ValueMapping &ValMapping,
|
H A D | AMDGPURegisterBankInfo.cpp | 262 const ValueMapping &ValMapping, in getBreakDownCost() argument 267 if (ValMapping.NumBreakDowns >= 2 || ValMapping.BreakDown[0].Length >= 64) in getBreakDownCost() 270 assert(ValMapping.NumBreakDowns == 2 && in getBreakDownCost() 271 ValMapping.BreakDown[0].Length == 32 && in getBreakDownCost() 272 ValMapping.BreakDown[0].StartIdx == 0 && in getBreakDownCost() 273 ValMapping.BreakDown[1].Length == 32 && in getBreakDownCost() 274 ValMapping.BreakDown[1].StartIdx == 32 && in getBreakDownCost() 275 ValMapping.BreakDown[0].RegBank == ValMapping.BreakDown[1].RegBank); in getBreakDownCost() 3653 const ValueMapping *ValMapping; in getInstrMappingForLoad() local 3661 ValMapping = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size); in getInstrMappingForLoad() [all …]
|