Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DPeepholeOptimizer.cpp100 using RegSubRegPair = TargetInstrInfo::RegSubRegPair; typedef
692 RegSubRegPair CurSrcPair = RegSubReg; in findNextSource()
910 Src = RegSubRegPair(0, 0); in getNextRewritableSource()
1131 static RegSubRegPair
1133 RegSubRegPair Def, in getNewSource()
1174 return RegSubRegPair(0, 0); in getNewSource()
1204 RegSubRegPair Src; in optimizeCoalescableCopy()
1205 RegSubRegPair TrackPair; in optimizeCoalescableCopy()
1298 RegSubRegPair Src; in optimizeUncoalescableCopy()
1299 RegSubRegPair Def; in optimizeUncoalescableCopy()
[all …]
H A DTailDuplicator.cpp349 DenseMap<Register, RegSubRegPair> &LocalVRMap, in processPHI()
350 SmallVectorImpl<std::pair<Register, RegSubRegPair>> &Copies, in processPHI()
381 DenseMap<Register, RegSubRegPair> &LocalVRMap, in duplicateInstruction()
404 LocalVRMap.insert(std::make_pair(Reg, RegSubRegPair(NewReg, 0))); in duplicateInstruction()
870 DenseMap<Register, RegSubRegPair> LocalVRMap; in tailDuplicate()
871 SmallVector<std::pair<Register, RegSubRegPair>, 4> CopyInfos; in tailDuplicate()
930 DenseMap<Register, RegSubRegPair> LocalVRMap; in tailDuplicate()
931 SmallVector<std::pair<Register, RegSubRegPair>, 4> CopyInfos; in tailDuplicate()
1007 DenseMap<Register, RegSubRegPair> LocalVRMap; in tailDuplicate()
1008 SmallVector<std::pair<Register, RegSubRegPair>, 4> CopyInfos; in tailDuplicate()
[all …]
H A DTargetInstrInfo.cpp1320 RegSubRegPair &BaseReg, RegSubRegPairAndIdx &InsertedReg) const { in getInsertSubregInputs()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTailDuplicator.h99 using RegSubRegPair = TargetInstrInfo::RegSubRegPair;
105 DenseMap<Register, RegSubRegPair> &LocalVRMap,
106 SmallVectorImpl<std::pair<Register, RegSubRegPair>> &Copies,
110 DenseMap<Register, RegSubRegPair> &LocalVRMap,
127 SmallVectorImpl<std::pair<Register, RegSubRegPair>> &CopyInfos,
H A DTargetInstrInfo.h487 struct RegSubRegPair { struct
491 RegSubRegPair(Register Reg = Register(), unsigned SubReg = 0) argument
494 bool operator==(const RegSubRegPair& P) const { argument
497 bool operator!=(const RegSubRegPair& P) const {
505 struct RegSubRegPairAndIdx : RegSubRegPair {
510 : RegSubRegPair(Reg, SubReg), SubIdx(SubIdx) {} in RegSubRegPair() function
571 RegSubRegPair &BaseReg,
1276 RegSubRegPair &BaseReg, in getInsertSubregLikeInputs()
2011 template <> struct DenseMapInfo<TargetInstrInfo::RegSubRegPair> {
2014 static inline TargetInstrInfo::RegSubRegPair getEmptyKey() {
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/
H A DReduceRegisterDefs.cpp27 DenseSet<TargetInstrInfo::RegSubRegPair> DeleteDefs; in removeDefsFromFunction()
53 TargetInstrInfo::RegSubRegPair RegPair(MO.getReg(), MO.getSubReg()); in removeDefsFromFunction()
75 TargetInstrInfo::RegSubRegPair RegPair(MO.getReg(), MO.getSubReg()); in removeDefsFromFunction()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DGCNDPPCombine.cpp59 using RegSubRegPair = TargetInstrInfo::RegSubRegPair; typedef in __anon5b1b117c0111::GCNDPPCombine
64 RegSubRegPair CombOldVGPR,
69 RegSubRegPair CombOldVGPR, bool CombBCZ,
191 RegSubRegPair CombOldVGPR, in createDPPInst()
450 MachineInstr &OrigMI, MachineInstr &MovMI, RegSubRegPair CombOldVGPR, in createDPPInst()
580 CombOldVGPR = RegSubRegPair( in combineDPPMov()
H A DSIInstrInfo.h1187 inline bool isOfRegClass(const TargetInstrInfo::RegSubRegPair &P, in isOfRegClass()
1199 TargetInstrInfo::RegSubRegPair getRegSubRegPair(const MachineOperand &O) { in getRegSubRegPair()
1201 return TargetInstrInfo::RegSubRegPair(O.getReg(), O.getSubReg()); in getRegSubRegPair()
1205 TargetInstrInfo::RegSubRegPair getRegSequenceSubReg(MachineInstr &MI,
1211 MachineInstr *getVRegSubRegDef(const TargetInstrInfo::RegSubRegPair &P,
H A DSIShrinkInstructions.cpp58 TargetInstrInfo::RegSubRegPair getSubRegForIndex(Register Reg, unsigned Sub,
540 TargetInstrInfo::RegSubRegPair
550 return TargetInstrInfo::RegSubRegPair(Reg, Sub); in getSubRegForIndex()
673 TargetInstrInfo::RegSubRegPair X1, Y1; in matchSwap()
H A DSIFoldOperands.cpp756 DenseMap<TargetInstrInfo::RegSubRegPair, Register> VGPRCopies; in foldOperand()
757 SmallSetVector<TargetInstrInfo::RegSubRegPair, 32> SeenAGPRs; in foldOperand()
760 TargetInstrInfo::RegSubRegPair CopyToVGPR; in foldOperand()
H A DSIInstrInfo.cpp4993 SmallDenseSet<RegSubRegPair> SGPRsUsed; in isOperandLegal()
4995 SGPRsUsed.insert(RegSubRegPair(MO->getReg(), MO->getSubReg())); in isOperandLegal()
5002 RegSubRegPair SGPR(Op.getReg(), Op.getSubReg()); in isOperandLegal()
7974 TargetInstrInfo::RegSubRegPair getRegOrUndef(const MachineOperand &RegOpnd) { in getRegOrUndef()
7976 return RegOpnd.isUndef() ? TargetInstrInfo::RegSubRegPair() : in getRegOrUndef()
7980 TargetInstrInfo::RegSubRegPair
7988 return TargetInstrInfo::RegSubRegPair(); in getRegSequenceSubReg()
7994 TargetInstrInfo::RegSubRegPair &RSR) { in followSubRegDef()
8018 MachineInstr *llvm::getVRegSubRegDef(const TargetInstrInfo::RegSubRegPair &P, in getVRegSubRegDef()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.h91 RegSubRegPair &BaseReg,
H A DARMBaseInstrInfo.cpp5482 const MachineInstr &MI, unsigned DefIdx, RegSubRegPair &BaseReg, in getInsertSubregLikeInputs()