Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp113 unsigned Reg, const RegisterBankInfo::ValueMapping &ValMapping, in assignmentMatch() argument
119 if (ValMapping.NumBreakDowns > 1) in assignmentMatch()
123 const RegisterBank *DesiredRegBrank = ValMapping.BreakDown[0].RegBank; in assignmentMatch()
136 MachineOperand &MO, const RegisterBankInfo::ValueMapping &ValMapping, in repairReg() argument
139 if (ValMapping.NumBreakDowns != 1 && !TPC->isGlobalISelAbortEnabled()) in repairReg()
141 assert(ValMapping.NumBreakDowns == 1 && "Not yet implemented"); in repairReg()
190 const RegisterBankInfo::ValueMapping &ValMapping) const { in getRepairCost()
192 assert(ValMapping.NumBreakDowns && "Nothing to map??"); in getRepairCost()
194 bool IsSameNumOfValues = ValMapping.NumBreakDowns == 1; in getRepairCost()
210 const RegisterBank *DesiredRegBrank = ValMapping.BreakDown[0].RegBank; in getRepairCost()
[all …]
DRegisterBankInfo.cpp211 const ValueMapping *ValMapping = in getInstrMappingImpl() local
214 OperandsMapping[0] = ValMapping; in getInstrMappingImpl()
218 OperandsMapping[OpIdx] = ValMapping; in getInstrMappingImpl()
291 auto &ValMapping = MapOfValueMappings[Hash]; in getValueMapping() local
292 ValMapping = llvm::make_unique<ValueMapping>(BreakDown, NumBreakDowns); in getValueMapping()
293 return *ValMapping; in getValueMapping()
595 const ValueMapping &ValMapping = getOperandMapping(OpIdx); in print() local
598 OS << "{ Idx: " << OpIdx << " Map: " << ValMapping << '}'; in print()
654 const ValueMapping &ValMapping = getInstrMapping().getOperandMapping(OpIdx); in createVRegs() local
655 const PartialMapping *PartMap = ValMapping.begin(); in createVRegs()
[all …]
/external/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp84 unsigned Reg, const RegisterBankInfo::ValueMapping &ValMapping, in assignmentMatch() argument
90 if (ValMapping.BreakDown.size() > 1) in assignmentMatch()
94 const RegisterBank *DesiredRegBrank = ValMapping.BreakDown[0].RegBank; in assignmentMatch()
107 MachineOperand &MO, const RegisterBankInfo::ValueMapping &ValMapping, in repairReg() argument
110 assert(ValMapping.BreakDown.size() == 1 && "Not yet implemented"); in repairReg()
156 const RegisterBankInfo::ValueMapping &ValMapping) const { in getRepairCost()
158 assert(!ValMapping.BreakDown.empty() && "Nothing to map??"); in getRepairCost()
160 bool IsSameNumOfValues = ValMapping.BreakDown.size() == 1; in getRepairCost()
176 const RegisterBank *DesiredRegBrank = ValMapping.BreakDown[0].RegBank; in getRepairCost()
228 const RegisterBankInfo::ValueMapping &ValMapping) const { in tryAvoidingSplit()
[all …]
DRegisterBankInfo.cpp504 const ValueMapping &ValMapping = getOperandMapping(OpIdx); in print() local
507 OS << "{ Idx: " << OpIdx << " Map: " << ValMapping << '}'; in print()
/external/llvm/include/llvm/CodeGen/GlobalISel/
DRegisterBankInfo.h156 void setOperandMapping(unsigned i, const ValueMapping &ValMapping) { in setOperandMapping() argument
157 getOperandMapping(i) = ValMapping; in setOperandMapping()
583 operator<<(raw_ostream &OS, const RegisterBankInfo::ValueMapping &ValMapping) {
584 ValMapping.print(OS);
DRegBankSelect.h490 const RegisterBankInfo::ValueMapping &ValMapping,
524 const RegisterBankInfo::ValueMapping &ValMapping,
536 const RegisterBankInfo::ValueMapping &ValMapping) const;
568 const RegisterBankInfo::ValueMapping &ValMapping) const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DRegisterBankInfo.h237 const ValueMapping &ValMapping = in getOperandMapping() local
239 return ValMapping; in getOperandMapping()
733 operator<<(raw_ostream &OS, const RegisterBankInfo::ValueMapping &ValMapping) {
734 ValMapping.print(OS);
DRegBankSelect.h528 const RegisterBankInfo::ValueMapping &ValMapping,
564 const RegisterBankInfo::ValueMapping &ValMapping,
576 const RegisterBankInfo::ValueMapping &ValMapping) const;
608 const RegisterBankInfo::ValueMapping &ValMapping) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPURegisterBankInfo.cpp254 const ValueMapping *ValMapping; in getInstrMappingForLoad() local
259 ValMapping = AMDGPU::getValueMapping(AMDGPU::SGPRRegBankID, Size); in getInstrMappingForLoad()
262 ValMapping = AMDGPU::getValueMapping(AMDGPU::VGPRRegBankID, Size); in getInstrMappingForLoad()
267 OpdsMapping[0] = ValMapping; in getInstrMappingForLoad()
415 const ValueMapping *ValMapping = in getInstrMapping() local
423 OpdsMapping[0] = ValMapping; in getInstrMapping()