/external/llvm/lib/CodeGen/ |
D | TargetRegisterInfo.cpp | 293 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()
|
D | PeepholeOptimizer.cpp | 239 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 …]
|
D | TailDuplicator.cpp | 312 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()
|
D | PHIElimination.cpp | 361 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/ |
D | TargetRegisterInfo.cpp | 346 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()
|
D | PeepholeOptimizer.cpp | 308 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()
|
D | TailDuplicator.cpp | 354 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()
|
D | PHIElimination.cpp | 377 unsigned SrcSubReg = MPhi->getOperand(i*2+1).getSubReg(); in LowerPHINode() local 416 SrcReg, SrcSubReg, IncomingReg); in LowerPHINode()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | TargetRegisterInfo.cpp | 366 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()
|
D | PeepholeOptimizer.cpp | 311 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()
|
D | PHIElimination.cpp | 429 unsigned SrcSubReg = MPhi->getOperand(i*2+1).getSubReg(); in LowerPHINode() local 468 SrcReg, SrcSubReg, IncomingReg); in LowerPHINode()
|
D | TailDuplicator.cpp | 356 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/ |
D | SIFixSGPRCopies.cpp | 218 unsigned SrcSubReg = MI.getOperand(I).getSubReg(); in foldVGPRCopyIntoRegSequence() local 224 SrcRC = TRI->getSubRegClass(SrcRC, SrcSubReg); in foldVGPRCopyIntoRegSequence()
|
D | SIRegisterInfo.h | 138 unsigned SrcSubReg) const override;
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86RegisterInfo.h | 76 unsigned SrcSubReg) const override;
|
D | X86RegisterInfo.cpp | 217 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/ |
D | X86RegisterInfo.h | 80 unsigned SrcSubReg) const override;
|
D | X86RegisterInfo.cpp | 222 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/ |
D | SIRegisterInfo.h | 184 unsigned SrcSubReg) const override;
|
D | SIFixSGPRCopies.cpp | 290 unsigned SrcSubReg = MI.getOperand(I).getSubReg(); in foldVGPRCopyIntoRegSequence() local 296 SrcRC = TRI->getSubRegClass(SrcRC, SrcSubReg); in foldVGPRCopyIntoRegSequence()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | SIRegisterInfo.h | 204 unsigned SrcSubReg) const override;
|
D | SIFixSGPRCopies.cpp | 288 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/ |
D | TargetInstrInfo.h | 1744 unsigned SrcSubReg, in createPHISourceCopy() argument 1747 .addReg(Src, 0, SrcSubReg); in createPHISourceCopy()
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | TargetInstrInfo.h | 1832 unsigned SrcSubReg, in createPHISourceCopy() argument 1835 .addReg(Src, 0, SrcSubReg); in createPHISourceCopy()
|
/external/llvm/include/llvm/Target/ |
D | TargetRegisterInfo.h | 520 unsigned SrcSubReg) const;
|