Searched refs:CurRegBank (Results 1 – 4 of 4) sorted by relevance
/external/llvm/lib/CodeGen/GlobalISel/ |
D | RegisterBankInfo.cpp | 239 const RegisterBank *CurRegBank = isCopyLike ? AltRegBank : nullptr; in getInstrMappingImpl() local 240 if (!CurRegBank) { in getInstrMappingImpl() 243 CurRegBank = getRegBankFromConstraints(MI, OpIdx, TII, TRI); in getInstrMappingImpl() 244 if (!CurRegBank) { in getInstrMappingImpl() 249 CurRegBank = getRegBankForType( in getInstrMappingImpl() 251 if (!CurRegBank) in getInstrMappingImpl() 254 CurRegBank = AltRegBank; in getInstrMappingImpl() 255 if (!CurRegBank) { in getInstrMappingImpl() 271 RegBank = CurRegBank; in getInstrMappingImpl() 273 Mapping.setOperandMapping(OpIdx, RegSize, *CurRegBank); in getInstrMappingImpl()
|
D | RegBankSelect.cpp | 93 const RegisterBank *CurRegBank = RBI->getRegBank(Reg, *MRI, *TRI); in assignmentMatch() local 97 OnlyAssign = CurRegBank == nullptr; in assignmentMatch() 99 if (CurRegBank) dbgs() << *CurRegBank; else dbgs() << "none"; in assignmentMatch() 103 return CurRegBank == DesiredRegBrank; in assignmentMatch() 161 const RegisterBank *CurRegBank = RBI->getRegBank(MO.getReg(), *MRI, *TRI); in getRepairCost() local 164 assert((!IsSameNumOfValues || CurRegBank) && "We should not have to repair"); in getRepairCost() 180 std::swap(CurRegBank, DesiredRegBrank); in getRepairCost() 193 RBI->copyCost(*DesiredRegBrank, *CurRegBank, in getRepairCost()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/ |
D | RegBankSelect.cpp | 122 const RegisterBank *CurRegBank = RBI->getRegBank(Reg, *MRI, *TRI); in assignmentMatch() local 126 OnlyAssign = CurRegBank == nullptr; in assignmentMatch() 128 if (CurRegBank) dbgs() << *CurRegBank; else dbgs() << "none"; in assignmentMatch() 132 return CurRegBank == DesiredRegBrank; in assignmentMatch() 195 const RegisterBank *CurRegBank = RBI->getRegBank(MO.getReg(), *MRI, *TRI); in getRepairCost() local 198 assert((!IsSameNumOfValues || CurRegBank) && "We should not have to repair"); in getRepairCost() 214 std::swap(CurRegBank, DesiredRegBrank); in getRepairCost() 226 unsigned Cost = RBI->copyCost(*DesiredRegBrank, *CurRegBank, in getRepairCost()
|
D | RegisterBankInfo.cpp | 196 const RegisterBank *CurRegBank = IsCopyLike ? AltRegBank : nullptr; in getInstrMappingImpl() local 197 if (!CurRegBank) { in getInstrMappingImpl() 200 CurRegBank = getRegBankFromConstraints(MI, OpIdx, TII, TRI); in getInstrMappingImpl() 201 if (!CurRegBank) { in getInstrMappingImpl() 212 &getValueMapping(0, getSizeInBits(Reg, MRI, TRI), *CurRegBank); in getInstrMappingImpl()
|