Home
last modified time | relevance | path

Searched refs:OpdMapper (Results 1 – 14 of 14) sorted by relevance

/external/llvm/include/llvm/CodeGen/GlobalISel/
DRegisterBankInfo.h424 static void applyDefaultMapping(const OperandsMapper &OpdMapper);
427 virtual void applyMappingImpl(const OperandsMapper &OpdMapper) const { in applyMappingImpl() argument
547 void applyMapping(const OperandsMapper &OpdMapper) const { in applyMapping() argument
549 if (OpdMapper.getInstrMapping().getID() == DefaultMappingID) in applyMapping()
550 return applyDefaultMapping(OpdMapper); in applyMapping()
554 applyMappingImpl(OpdMapper); in applyMapping()
596 operator<<(raw_ostream &OS, const RegisterBankInfo::OperandsMapper &OpdMapper) {
597 OpdMapper.print(OS, /*ForDebug*/ false);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DRegisterBankInfo.h562 static void applyDefaultMapping(const OperandsMapper &OpdMapper);
565 virtual void applyMappingImpl(const OperandsMapper &OpdMapper) const { in applyMappingImpl() argument
697 void applyMapping(const OperandsMapper &OpdMapper) const { in applyMapping() argument
699 if (OpdMapper.getInstrMapping().getID() == DefaultMappingID) in applyMapping()
700 return applyDefaultMapping(OpdMapper); in applyMapping()
704 applyMappingImpl(OpdMapper); in applyMapping()
746 operator<<(raw_ostream &OS, const RegisterBankInfo::OperandsMapper &OpdMapper) {
747 OpdMapper.print(OS, /*ForDebug*/ false);
/external/llvm/lib/Target/AArch64/
DAArch64RegisterBankInfo.cpp156 const OperandsMapper &OpdMapper) const { in applyMappingImpl()
157 switch (OpdMapper.getMI().getOpcode()) { in applyMappingImpl()
160 assert((OpdMapper.getInstrMapping().getID() == 1 || in applyMappingImpl()
161 OpdMapper.getInstrMapping().getID() == 2) && in applyMappingImpl()
163 return applyDefaultMapping(OpdMapper); in applyMappingImpl()
DAArch64RegisterBankInfo.h35 void applyMappingImpl(const OperandsMapper &OpdMapper) const override;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DRegisterBankInfo.cpp404 void RegisterBankInfo::applyDefaultMapping(const OperandsMapper &OpdMapper) { in applyDefaultMapping() argument
405 MachineInstr &MI = OpdMapper.getMI(); in applyDefaultMapping()
406 MachineRegisterInfo &MRI = OpdMapper.getMRI(); in applyDefaultMapping()
409 EndIdx = OpdMapper.getInstrMapping().getNumOperands(); in applyDefaultMapping()
421 assert(OpdMapper.getInstrMapping().getOperandMapping(OpIdx).NumBreakDowns != in applyDefaultMapping()
424 assert(OpdMapper.getInstrMapping().getOperandMapping(OpIdx).NumBreakDowns == in applyDefaultMapping()
428 OpdMapper.getVRegs(OpIdx); in applyDefaultMapping()
DRegBankSelect.cpp532 RegisterBankInfo::OperandsMapper OpdMapper(MI, InstrMapping, *MRI); in applyMapping() local
554 OpdMapper.createVRegs(OpIdx); in applyMapping()
555 if (!repairReg(MO, ValMapping, RepairPt, OpdMapper.getVRegs(OpIdx))) in applyMapping()
564 LLVM_DEBUG(dbgs() << "Actual mapping of the operands: " << OpdMapper << '\n'); in applyMapping()
565 RBI->applyMapping(OpdMapper); in applyMapping()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64RegisterBankInfo.cpp366 const OperandsMapper &OpdMapper) const { in applyMappingImpl()
367 switch (OpdMapper.getMI().getOpcode()) { in applyMappingImpl()
372 assert((OpdMapper.getInstrMapping().getID() >= 1 && in applyMappingImpl()
373 OpdMapper.getInstrMapping().getID() <= 4) && in applyMappingImpl()
375 return applyDefaultMapping(OpdMapper); in applyMappingImpl()
DAArch64RegisterBankInfo.h105 void applyMappingImpl(const OperandsMapper &OpdMapper) const override;
/external/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp473 RegisterBankInfo::OperandsMapper OpdMapper(MI, InstrMapping, *MRI); in applyMapping() local
497 OpdMapper.createVRegs(OpIdx); in applyMapping()
498 repairReg(MO, ValMapping, RepairPt, OpdMapper.getVRegs(OpIdx)); in applyMapping()
505 DEBUG(dbgs() << "Actual mapping of the operands: " << OpdMapper << '\n'); in applyMapping()
506 RBI->applyMapping(OpdMapper); in applyMapping()
DRegisterBankInfo.cpp335 void RegisterBankInfo::applyDefaultMapping(const OperandsMapper &OpdMapper) { in applyDefaultMapping() argument
336 MachineInstr &MI = OpdMapper.getMI(); in applyDefaultMapping()
347 OpdMapper.getInstrMapping().getOperandMapping(OpIdx).BreakDown.size() == in applyDefaultMapping()
351 OpdMapper.getVRegs(OpIdx); in applyDefaultMapping()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPURegisterBankInfo.h40 void applyMappingImpl(const OperandsMapper &OpdMapper) const override;
DAMDGPURegisterBankInfo.cpp180 const OperandsMapper &OpdMapper) const { in applyMappingImpl()
181 return applyDefaultMapping(OpdMapper); in applyMappingImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86RegisterBankInfo.cpp245 const OperandsMapper &OpdMapper) const { in applyMappingImpl()
246 return applyDefaultMapping(OpdMapper); in applyMappingImpl()
DX86RegisterBankInfo.h75 void applyMappingImpl(const OperandsMapper &OpdMapper) const override;