Home
last modified time | relevance | path

Searched refs:SrcSubReg (Results 1 – 12 of 12) 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/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/llvm/include/llvm/Target/
DTargetRegisterInfo.h520 unsigned SrcSubReg) const;