Home
last modified time | relevance | path

Searched refs:SrcSubReg (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetRegisterInfo.cpp383 unsigned SrcSubReg) { in shareSameRegisterFile() argument
390 if (SrcSubReg && DefSubReg) { in shareSameRegisterFile()
391 return TRI.getCommonSuperRegClass(SrcRC, SrcSubReg, DefRC, DefSubReg, in shareSameRegisterFile()
397 if (!SrcSubReg) { in shareSameRegisterFile()
398 std::swap(DefSubReg, SrcSubReg); in shareSameRegisterFile()
403 if (SrcSubReg) in shareSameRegisterFile()
404 return TRI.getMatchingSuperRegClass(SrcRC, DefRC, SrcSubReg) != nullptr; in shareSameRegisterFile()
413 unsigned SrcSubReg) const { in shouldRewriteCopySrc()
415 return shareSameRegisterFile(*this, DefRC, DefSubReg, SrcRC, SrcSubReg); in shouldRewriteCopySrc()
H A DPeepholeOptimizer.cpp274 unsigned SrcSubReg = MI.getOperand(1).getSubReg(); in getCopySrc() local
278 SrcPair = RegSubRegPair(SrcReg, SrcSubReg); in getCopySrc()
354 void addSource(Register SrcReg, unsigned SrcSubReg) { in addSource() argument
355 RegSrcs.push_back(RegSubRegPair(SrcReg, SrcSubReg)); in addSource()
358 void setSource(int Idx, Register SrcReg, unsigned SrcSubReg) { in setSource() argument
360 RegSrcs[Idx] = RegSubRegPair(SrcReg, SrcSubReg); in setSource()
H A DTailDuplicator.cpp365 unsigned SrcSubReg = MI->getOperand(SrcOpIdx).getSubReg(); in processPHI() local
367 LocalVRMap.insert(std::make_pair(DefReg, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI()
372 Copies.push_back(std::make_pair(NewDef, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI()
H A DPHIElimination.cpp538 unsigned SrcSubReg = MPhi->getOperand(i * 2 + 1).getSubReg(); in LowerPHINode() local
600 SrcReg, SrcSubReg, IncomingReg); in LowerPHINode()
H A DRegisterCoalescer.cpp4044 unsigned SrcSubReg = 0, DstSubReg = 0; in applyTerminalRule() local
4045 if (!isMoveInstr(*TRI, &Copy, SrcReg, DstReg, SrcSubReg, DstSubReg)) in applyTerminalRule()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNPreRAOptimizations.cpp120 Register SrcSubReg = I.getOperand(1).getSubReg(); in processReg() local
122 if (SrcSubReg != Def.getOperand(0).getSubReg()) in processReg()
H A DSIRegisterInfo.h273 unsigned SrcSubReg) const override;
H A DSIInstrInfo.cpp754 Register SrcSubReg = RI.getSubReg(SrcReg, SubIdx); in expandSGPRCopy() local
755 assert(DestSubReg && SrcSubReg && "Failed to find subregs!"); in expandSGPRCopy()
760 bool AlignedSrc = ((SrcSubReg - AMDGPU::SGPR0) % 2) == 0; in expandSGPRCopy()
766 SrcSubReg = RI.getSubReg(SrcReg, SubIdx); in expandSGPRCopy()
767 assert(DestSubReg && SrcSubReg && "Failed to find subregs!"); in expandSGPRCopy()
773 .addReg(SrcSubReg) in expandSGPRCopy()
1110 Register SrcSubReg = RI.getSubReg(SrcReg, SubIdx); in copyPhysReg() local
1111 assert(DestSubReg && SrcSubReg && "Failed to find subregs!"); in copyPhysReg()
1119 indirectCopyToAGPR(*this, MBB, MI, DL, DestSubReg, SrcSubReg, UseKill, in copyPhysReg()
1125 .addReg(SrcSubReg) in copyPhysReg()
[all …]
H A DSIInstrInfo.h1355 unsigned SrcSubReg,
H A DSIRegisterInfo.cpp2929 unsigned SrcSubReg) const { in shouldRewriteCopySrc()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterInfo.h79 unsigned SrcSubReg) const override;
H A DX86RegisterInfo.cpp224 unsigned SrcSubReg) const { in shouldRewriteCopySrc()
229 SrcRC->hasSuperClassEq(&X86::GR64RegClass) && SrcSubReg == X86::sub_32bit) in shouldRewriteCopySrc()
233 SrcRC, SrcSubReg); in shouldRewriteCopySrc()
H A DX86InstrInfo.cpp9990 Register SrcSubReg = TRI->getSubReg(SrcReg, SubRegIdx); in describeMOVrrLoadedValue() local
9991 return ParamLoadedValue(MachineOperand::CreateReg(SrcSubReg, false), Expr); in describeMOVrrLoadedValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseRegisterInfo.cpp939 unsigned SrcSubReg) const { in shouldRewriteCopySrc()
943 (SrcSubReg == ARM::ssub_0 || SrcSubReg == ARM::ssub_1)) in shouldRewriteCopySrc()
947 SrcRC, SrcSubReg); in shouldRewriteCopySrc()
H A DARMBaseRegisterInfo.h240 unsigned SrcSubReg) const override;
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h2082 unsigned SrcSubReg, in createPHISourceCopy() argument
2085 .addReg(Src, 0, SrcSubReg); in createPHISourceCopy()
H A DTargetRegisterInfo.h661 unsigned SrcSubReg) const;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp1964 unsigned SrcSubReg = SRI.getSubReg(); in performCopy() local
1975 LocIdx SrcL = MTracker->lookupOrTrackRegister(SrcSubReg); in performCopy()
1979 ValueIDNum CpyValue = MTracker->readReg(SrcSubReg); in performCopy()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp9383 Register SrcSubReg = TRI->getSubReg(SrcReg, AArch64::sub_32); in describeORRLoadedValue() local
9384 return ParamLoadedValue(MachineOperand::CreateReg(SrcSubReg, false), Expr); in describeORRLoadedValue()