Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURegisterBankInfo.h69 const OperandsMapper &OpdMapper,
71 bool applyMappingLoad(MachineIRBuilder &B, const OperandsMapper &OpdMapper,
74 const OperandsMapper &OpdMapper, int RSrcIdx) const;
79 const OperandsMapper &OpdMapper) const;
81 bool applyMappingBFE(MachineIRBuilder &B, const OperandsMapper &OpdMapper,
85 const OperandsMapper &OpdMapper) const;
88 const OperandsMapper &OpdMapper) const;
98 const OperandsMapper &OpdMapper) const override;
189 const OperandsMapper &OpdMapper) const;
191 const OperandsMapper &OpdMapper) cons
[all...]
H A DAMDGPURegisterBankInfo.cpp1056 const AMDGPURegisterBankInfo::OperandsMapper &OpdMapper, in applyMappingLoad() argument
1065 OpdMapper.getInstrMapping().getOperandMapping(0).BreakDown[0].RegBank; in applyMappingLoad()
1138 SmallVector<Register, 16> DefRegs(OpdMapper.getVRegs(0)); in applyMappingLoad()
1139 SmallVector<Register, 1> SrcRegs(OpdMapper.getVRegs(1)); in applyMappingLoad()
1171 const AMDGPURegisterBankInfo::OperandsMapper &OpdMapper, in applyMappingDynStackAlloc() argument
1218 const AMDGPURegisterBankInfo::OperandsMapper &OpdMapper, in applyMappingImage() argument
1227 applyDefaultMapping(OpdMapper); in applyMappingImage()
1330 MachineIRBuilder &B, const OperandsMapper &OpdMapper) const { in applyMappingSBufferLoad()
1331 MachineInstr &MI = OpdMapper.getMI(); in applyMappingSBufferLoad()
1332 MachineRegisterInfo &MRI = OpdMapper.getMRI(); in applyMappingSBufferLoad()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRegisterBankInfo.h573 static void applyDefaultMapping(const OperandsMapper &OpdMapper);
577 const OperandsMapper &OpdMapper) const { in applyMappingImpl() argument
736 const OperandsMapper &OpdMapper) const { in applyMapping() argument
738 if (OpdMapper.getInstrMapping().getID() == DefaultMappingID) in applyMapping()
739 return applyDefaultMapping(OpdMapper); in applyMapping()
743 applyMappingImpl(Builder, OpdMapper); in applyMapping()
785 operator<<(raw_ostream &OS, const RegisterBankInfo::OperandsMapper &OpdMapper) {
786 OpdMapper.print(OS, /*ForDebug*/ false);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegisterBankInfo.cpp440 void RegisterBankInfo::applyDefaultMapping(const OperandsMapper &OpdMapper) { in applyDefaultMapping() argument
441 MachineInstr &MI = OpdMapper.getMI(); in applyDefaultMapping()
442 MachineRegisterInfo &MRI = OpdMapper.getMRI(); in applyDefaultMapping()
445 EndIdx = OpdMapper.getInstrMapping().getNumOperands(); in applyDefaultMapping()
460 assert(OpdMapper.getInstrMapping().getOperandMapping(OpIdx).NumBreakDowns != in applyDefaultMapping()
463 assert(OpdMapper.getInstrMapping().getOperandMapping(OpIdx).NumBreakDowns == in applyDefaultMapping()
467 OpdMapper.getVRegs(OpIdx); in applyDefaultMapping()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64RegisterBankInfo.cpp406 MachineIRBuilder &Builder, const OperandsMapper &OpdMapper) const { in applyMappingImpl()
407 MachineInstr &MI = OpdMapper.getMI(); in applyMappingImpl()
408 MachineRegisterInfo &MRI = OpdMapper.getMRI(); in applyMappingImpl()
415 assert((OpdMapper.getInstrMapping().getID() >= 1 && in applyMappingImpl()
416 OpdMapper.getInstrMapping().getID() <= 4) && in applyMappingImpl()
418 return applyDefaultMapping(OpdMapper); in applyMappingImpl()
425 return applyDefaultMapping(OpdMapper); in applyMappingImpl()
H A DAArch64RegisterBankInfo.h108 const OperandsMapper &OpdMapper) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterBankInfo.h
H A DX86RegisterBankInfo.cpp
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DRegBankSelect.cpp592 RegisterBankInfo::OperandsMapper OpdMapper(MI, InstrMapping, *MRI); in applyMapping() local
617 OpdMapper.createVRegs(OpIdx); in applyMapping()
618 if (!repairReg(MO, ValMapping, RepairPt, OpdMapper.getVRegs(OpIdx))) in applyMapping()
627 LLVM_DEBUG(dbgs() << "Actual mapping of the operands: " << OpdMapper << '\n'); in applyMapping()
628 RBI->applyMapping(MIRBuilder, OpdMapper); in applyMapping()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86RegisterBankInfo.h92 const OperandsMapper &OpdMapper) const override;
H A DX86RegisterBankInfo.cpp416 MachineIRBuilder &Builder, const OperandsMapper &OpdMapper) const { in applyMappingImpl()
417 return applyDefaultMapping(OpdMapper); in applyMappingImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsRegisterBankInfo.cpp714 MachineIRBuilder &Builder, const OperandsMapper &OpdMapper) const { in applyMappingImpl()
715 MachineInstr &MI = OpdMapper.getMI(); in applyMappingImpl()
720 MachineRegisterInfo &MRI = OpdMapper.getMRI(); in applyMappingImpl()
760 return applyDefaultMapping(OpdMapper); in applyMappingImpl()
H A DMipsRegisterBankInfo.h46 const OperandsMapper &OpdMapper) const override;