Home
last modified time | relevance | path

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

/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()
DRegisterCoalescer.cpp2836 unsigned DstReg, DstSubReg, SrcReg, SrcSubReg; in applyTerminalRule() local
2837 isMoveInstr(*TRI, &Copy, SrcReg, DstReg, SrcSubReg, DstSubReg); in applyTerminalRule()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetRegisterInfo.cpp354 unsigned SrcSubReg) { in shareSameRegisterFile() argument
361 if (SrcSubReg && DefSubReg) { in shareSameRegisterFile()
362 return TRI.getCommonSuperRegClass(SrcRC, SrcSubReg, DefRC, DefSubReg, in shareSameRegisterFile()
368 if (!SrcSubReg) { in shareSameRegisterFile()
369 std::swap(DefSubReg, SrcSubReg); in shareSameRegisterFile()
374 if (SrcSubReg) in shareSameRegisterFile()
375 return TRI.getMatchingSuperRegClass(SrcRC, DefRC, SrcSubReg) != nullptr; in shareSameRegisterFile()
384 unsigned SrcSubReg) const { in shouldRewriteCopySrc()
386 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()
1413 unsigned SrcSubReg = MI.getOperand(1).getSubReg(); in foldRedundantCopy() local
1417 if (SrcSubReg != PrevSrcSubReg) in foldRedundantCopy()
DTailDuplicator.cpp348 unsigned SrcSubReg = MI->getOperand(SrcOpIdx).getSubReg(); in processPHI() local
350 LocalVRMap.insert(std::make_pair(DefReg, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI()
355 Copies.push_back(std::make_pair(NewDef, RegSubRegPair(SrcReg, SrcSubReg))); in processPHI()
DPHIElimination.cpp375 unsigned SrcSubReg = MPhi->getOperand(i*2+1).getSubReg(); in LowerPHINode() local
414 .addReg(SrcReg, 0, SrcSubReg); in LowerPHINode()
DRegisterCoalescer.cpp3330 unsigned DstReg, DstSubReg, SrcReg, SrcSubReg; in applyTerminalRule() local
3331 isMoveInstr(*TRI, &Copy, SrcReg, DstReg, SrcSubReg, DstSubReg); in applyTerminalRule()
/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;
DSIRegisterInfo.cpp811 unsigned SrcSubReg) const { in shouldRewriteCopySrc()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DPHIElimination.cpp286 unsigned SrcSubReg = MPhi->getOperand(i*2+1).getSubReg(); in LowerAtomicPHINode() local
317 TII->get(TargetOpcode::COPY), IncomingReg).addReg(SrcReg, 0, SrcSubReg); in LowerAtomicPHINode()
DStrongPHIElimination.cpp697 unsigned SrcSubReg = SrcMO.getSubReg(); in InsertCopiesForPHI() local
702 CopyReg).addReg(SrcReg, 0, SrcSubReg); in InsertCopiesForPHI()
DRegAllocLinearScan.cpp1000 unsigned SrcSubReg = CopyMI->getOperand(1).getSubReg(); in assignRegOrStackSlotAtInterval() local
1007 if (SrcSubReg) in assignRegOrStackSlotAtInterval()
1008 Reg = tri_->getSubReg(Reg, SrcSubReg); in assignRegOrStackSlotAtInterval()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.h170 unsigned SrcSubReg) const override;
DSIFixSGPRCopies.cpp282 unsigned SrcSubReg = MI.getOperand(I).getSubReg(); in foldVGPRCopyIntoRegSequence() local
288 SrcRC = TRI->getSubRegClass(SrcRC, SrcSubReg); in foldVGPRCopyIntoRegSequence()
DSIRegisterInfo.cpp1358 unsigned SrcSubReg) const { in shouldRewriteCopySrc()
/external/llvm/include/llvm/Target/
DTargetRegisterInfo.h520 unsigned SrcSubReg) const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DTargetRegisterInfo.h555 unsigned SrcSubReg) const;