Home
last modified time | relevance | path

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

12

/external/llvm/lib/CodeGen/
DTargetRegisterInfo.cpp293 unsigned SrcSubReg) { in shareSameRegisterFile() argument
300 if (SrcSubReg && DefSubReg) { in shareSameRegisterFile()
301 return TRI.getCommonSuperRegClass(SrcRC, SrcSubReg, DefRC, DefSubReg, in shareSameRegisterFile()
307 if (!SrcSubReg) { in shareSameRegisterFile()
308 std::swap(DefSubReg, SrcSubReg); in shareSameRegisterFile()
313 if (SrcSubReg) in shareSameRegisterFile()
314 return TRI.getMatchingSuperRegClass(SrcRC, DefRC, SrcSubReg) != nullptr; in shareSameRegisterFile()
323 unsigned SrcSubReg) const { in shouldRewriteCopySrc()
325 return shareSameRegisterFile(*this, DefRC, DefSubReg, SrcRC, SrcSubReg); in shouldRewriteCopySrc()
DPeepholeOptimizer.cpp239 void addSource(unsigned SrcReg, unsigned SrcSubReg) { in addSource() argument
240 RegSrcs.push_back(TargetInstrInfo::RegSubRegPair(SrcReg, SrcSubReg)); in addSource()
243 void setSource(int Idx, unsigned SrcReg, unsigned SrcSubReg) { in setSource() argument
245 RegSrcs[Idx] = TargetInstrInfo::RegSubRegPair(SrcReg, SrcSubReg); in setSource()
778 virtual bool getNextRewritableSource(unsigned &SrcReg, unsigned &SrcSubReg, in getNextRewritableSource() argument
792 SrcSubReg = MOSrc.getSubReg(); in getNextRewritableSource()
900 bool getNextRewritableSource(unsigned &SrcReg, unsigned &SrcSubReg, in getNextRewritableSource() argument
982 bool getNextRewritableSource(unsigned &SrcReg, unsigned &SrcSubReg, in getNextRewritableSource() argument
992 SrcSubReg = MOInsertedReg.getSubReg(); in getNextRewritableSource()
1030 bool getNextRewritableSource(unsigned &SrcReg, unsigned &SrcSubReg, in getNextRewritableSource() argument
[all …]
DTailDuplicator.cpp312 unsigned SrcSubReg = MI->getOperand(SrcOpIdx).getSubReg(); in processPHI() local
314 LocalVRMap.insert(std::make_pair(DefReg, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI()
319 Copies.push_back(std::make_pair(NewDef, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI()
DPHIElimination.cpp361 unsigned SrcSubReg = MPhi->getOperand(i*2+1).getSubReg(); in LowerPHINode() local
400 .addReg(SrcReg, 0, SrcSubReg); in LowerPHINode()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetRegisterInfo.cpp346 unsigned SrcSubReg) { in shareSameRegisterFile() argument
353 if (SrcSubReg && DefSubReg) { in shareSameRegisterFile()
354 return TRI.getCommonSuperRegClass(SrcRC, SrcSubReg, DefRC, DefSubReg, in shareSameRegisterFile()
360 if (!SrcSubReg) { in shareSameRegisterFile()
361 std::swap(DefSubReg, SrcSubReg); in shareSameRegisterFile()
366 if (SrcSubReg) in shareSameRegisterFile()
367 return TRI.getMatchingSuperRegClass(SrcRC, DefRC, SrcSubReg) != nullptr; in shareSameRegisterFile()
376 unsigned SrcSubReg) const { in shouldRewriteCopySrc()
378 return shareSameRegisterFile(*this, DefRC, DefSubReg, SrcRC, SrcSubReg); in shouldRewriteCopySrc()
DPeepholeOptimizer.cpp308 void addSource(unsigned SrcReg, unsigned SrcSubReg) { in addSource() argument
309 RegSrcs.push_back(RegSubRegPair(SrcReg, SrcSubReg)); in addSource()
312 void setSource(int Idx, unsigned SrcReg, unsigned SrcSubReg) { in setSource() argument
314 RegSrcs[Idx] = RegSubRegPair(SrcReg, SrcSubReg); in setSource()
1412 unsigned SrcSubReg = MI.getOperand(1).getSubReg(); in foldRedundantCopy() local
1416 if (SrcSubReg != PrevSrcSubReg) in foldRedundantCopy()
DTailDuplicator.cpp354 unsigned SrcSubReg = MI->getOperand(SrcOpIdx).getSubReg(); in processPHI() local
356 LocalVRMap.insert(std::make_pair(DefReg, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI()
361 Copies.push_back(std::make_pair(NewDef, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI()
DPHIElimination.cpp377 unsigned SrcSubReg = MPhi->getOperand(i*2+1).getSubReg(); in LowerPHINode() local
416 SrcReg, SrcSubReg, IncomingReg); in LowerPHINode()
/external/llvm-project/llvm/lib/CodeGen/
DTargetRegisterInfo.cpp366 unsigned SrcSubReg) { in shareSameRegisterFile() argument
373 if (SrcSubReg && DefSubReg) { in shareSameRegisterFile()
374 return TRI.getCommonSuperRegClass(SrcRC, SrcSubReg, DefRC, DefSubReg, in shareSameRegisterFile()
380 if (!SrcSubReg) { in shareSameRegisterFile()
381 std::swap(DefSubReg, SrcSubReg); in shareSameRegisterFile()
386 if (SrcSubReg) in shareSameRegisterFile()
387 return TRI.getMatchingSuperRegClass(SrcRC, DefRC, SrcSubReg) != nullptr; in shareSameRegisterFile()
396 unsigned SrcSubReg) const { in shouldRewriteCopySrc()
398 return shareSameRegisterFile(*this, DefRC, DefSubReg, SrcRC, SrcSubReg); in shouldRewriteCopySrc()
DPeepholeOptimizer.cpp311 void addSource(Register SrcReg, unsigned SrcSubReg) { in addSource() argument
312 RegSrcs.push_back(RegSubRegPair(SrcReg, SrcSubReg)); in addSource()
315 void setSource(int Idx, Register SrcReg, unsigned SrcSubReg) { in setSource() argument
317 RegSrcs[Idx] = RegSubRegPair(SrcReg, SrcSubReg); in setSource()
1399 unsigned SrcSubReg = MI.getOperand(1).getSubReg(); in foldRedundantCopy() local
1407 RegSubRegPair SrcPair(SrcReg, SrcSubReg); in foldRedundantCopy()
1416 assert(SrcSubReg == PrevCopy->getOperand(1).getSubReg() && in foldRedundantCopy()
DPHIElimination.cpp429 unsigned SrcSubReg = MPhi->getOperand(i*2+1).getSubReg(); in LowerPHINode() local
468 SrcReg, SrcSubReg, IncomingReg); in LowerPHINode()
DTailDuplicator.cpp356 unsigned SrcSubReg = MI->getOperand(SrcOpIdx).getSubReg(); in processPHI() local
358 LocalVRMap.insert(std::make_pair(DefReg, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI()
363 Copies.push_back(std::make_pair(NewDef, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI()
/external/llvm/lib/Target/AMDGPU/
DSIFixSGPRCopies.cpp218 unsigned SrcSubReg = MI.getOperand(I).getSubReg(); in foldVGPRCopyIntoRegSequence() local
224 SrcRC = TRI->getSubRegClass(SrcRC, SrcSubReg); in foldVGPRCopyIntoRegSequence()
DSIRegisterInfo.h138 unsigned SrcSubReg) const override;
/external/llvm-project/llvm/lib/Target/X86/
DX86RegisterInfo.h76 unsigned SrcSubReg) const override;
DX86RegisterInfo.cpp217 unsigned SrcSubReg) const { in shouldRewriteCopySrc()
222 SrcRC->hasSuperClassEq(&X86::GR64RegClass) && SrcSubReg == X86::sub_32bit) in shouldRewriteCopySrc()
226 SrcRC, SrcSubReg); in shouldRewriteCopySrc()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86RegisterInfo.h80 unsigned SrcSubReg) const override;
DX86RegisterInfo.cpp222 unsigned SrcSubReg) const { in shouldRewriteCopySrc()
227 SrcRC->hasSuperClassEq(&X86::GR64RegClass) && SrcSubReg == X86::sub_32bit) in shouldRewriteCopySrc()
231 SrcRC, SrcSubReg); in shouldRewriteCopySrc()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.h184 unsigned SrcSubReg) const override;
DSIFixSGPRCopies.cpp290 unsigned SrcSubReg = MI.getOperand(I).getSubReg(); in foldVGPRCopyIntoRegSequence() local
296 SrcRC = TRI->getSubRegClass(SrcRC, SrcSubReg); in foldVGPRCopyIntoRegSequence()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.h204 unsigned SrcSubReg) const override;
DSIFixSGPRCopies.cpp288 unsigned SrcSubReg = MI.getOperand(I).getSubReg(); in foldVGPRCopyIntoRegSequence() local
294 SrcRC = TRI->getSubRegClass(SrcRC, SrcSubReg); in foldVGPRCopyIntoRegSequence()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h1744 unsigned SrcSubReg, in createPHISourceCopy() argument
1747 .addReg(Src, 0, SrcSubReg); in createPHISourceCopy()
/external/llvm-project/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h1832 unsigned SrcSubReg, in createPHISourceCopy() argument
1835 .addReg(Src, 0, SrcSubReg); in createPHISourceCopy()
/external/llvm/include/llvm/Target/
DTargetRegisterInfo.h520 unsigned SrcSubReg) const;

12