/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TargetRegisterInfo.cpp | 383 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 D | PeepholeOptimizer.cpp | 274 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 D | TailDuplicator.cpp | 365 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 D | PHIElimination.cpp | 538 unsigned SrcSubReg = MPhi->getOperand(i * 2 + 1).getSubReg(); in LowerPHINode() local 600 SrcReg, SrcSubReg, IncomingReg); in LowerPHINode()
|
H A D | RegisterCoalescer.cpp | 4044 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 D | GCNPreRAOptimizations.cpp | 120 Register SrcSubReg = I.getOperand(1).getSubReg(); in processReg() local 122 if (SrcSubReg != Def.getOperand(0).getSubReg()) in processReg()
|
H A D | SIRegisterInfo.h | 273 unsigned SrcSubReg) const override;
|
H A D | SIInstrInfo.cpp | 754 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 D | SIInstrInfo.h | 1355 unsigned SrcSubReg,
|
H A D | SIRegisterInfo.cpp | 2929 unsigned SrcSubReg) const { in shouldRewriteCopySrc()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86RegisterInfo.h | 79 unsigned SrcSubReg) const override;
|
H A D | X86RegisterInfo.cpp | 224 unsigned SrcSubReg) const { in shouldRewriteCopySrc() 229 SrcRC->hasSuperClassEq(&X86::GR64RegClass) && SrcSubReg == X86::sub_32bit) in shouldRewriteCopySrc() 233 SrcRC, SrcSubReg); in shouldRewriteCopySrc()
|
H A D | X86InstrInfo.cpp | 9990 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 D | ARMBaseRegisterInfo.cpp | 939 unsigned SrcSubReg) const { in shouldRewriteCopySrc() 943 (SrcSubReg == ARM::ssub_0 || SrcSubReg == ARM::ssub_1)) in shouldRewriteCopySrc() 947 SrcRC, SrcSubReg); in shouldRewriteCopySrc()
|
H A D | ARMBaseRegisterInfo.h | 240 unsigned SrcSubReg) const override;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | TargetInstrInfo.h | 2082 unsigned SrcSubReg, in createPHISourceCopy() argument 2085 .addReg(Src, 0, SrcSubReg); in createPHISourceCopy()
|
H A D | TargetRegisterInfo.h | 661 unsigned SrcSubReg) const;
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
H A D | InstrRefBasedImpl.cpp | 1964 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 D | AArch64InstrInfo.cpp | 9383 Register SrcSubReg = TRI->getSubReg(SrcReg, AArch64::sub_32); in describeORRLoadedValue() local 9384 return ParamLoadedValue(MachineOperand::CreateReg(SrcSubReg, false), Expr); in describeORRLoadedValue()
|