Home
last modified time | relevance | path

Searched refs:CopySrcReg (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/Target/PowerPC/
DPPCMIPeephole.cpp207 unsigned CopySrcReg; in lookThruCopyLike() local
209 CopySrcReg = MI->getOperand(1).getReg(); in lookThruCopyLike()
212 CopySrcReg = MI->getOperand(2).getReg(); in lookThruCopyLike()
215 if (!TargetRegisterInfo::isVirtualRegister(CopySrcReg)) in lookThruCopyLike()
216 return CopySrcReg; in lookThruCopyLike()
218 SrcReg = CopySrcReg; in lookThruCopyLike()
DPPCVSXSwapRemoval.cpp558 unsigned CopySrcReg; in lookThruCopyLike() local
560 CopySrcReg = MI->getOperand(1).getReg(); in lookThruCopyLike()
563 CopySrcReg = MI->getOperand(2).getReg(); in lookThruCopyLike()
566 if (!TargetRegisterInfo::isVirtualRegister(CopySrcReg)) { in lookThruCopyLike()
567 if (!isScalarVecReg(CopySrcReg)) in lookThruCopyLike()
569 return CopySrcReg; in lookThruCopyLike()
572 return lookThruCopyLike(CopySrcReg, VecIdx); in lookThruCopyLike()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineCopyPropagation.cpp257 unsigned CopySrcReg = Copy.getOperand(1).getReg(); in isForwardableRegClassCopy() local
263 return URC->contains(CopySrcReg); in isForwardableRegClassCopy()
290 if (SuperRC->contains(CopySrcReg)) in isForwardableRegClassCopy()
351 unsigned CopySrcReg = CopySrc.getReg(); in forwardUses() local
362 if (MRI->isReserved(CopySrcReg) && !MRI->isConstantPhysReg(CopySrcReg)) in forwardUses()
378 << "\n with " << printReg(CopySrcReg, TRI) in forwardUses()
381 MOUse.setReg(CopySrcReg); in forwardUses()
390 KMI.clearRegisterKills(CopySrcReg, TRI); in forwardUses()
DTargetRegisterInfo.cpp491 unsigned CopySrcReg; in lookThruCopyLike() local
493 CopySrcReg = MI->getOperand(1).getReg(); in lookThruCopyLike()
496 CopySrcReg = MI->getOperand(2).getReg(); in lookThruCopyLike()
499 if (!isVirtualRegister(CopySrcReg)) in lookThruCopyLike()
500 return CopySrcReg; in lookThruCopyLike()
502 SrcReg = CopySrcReg; in lookThruCopyLike()
DRegAllocFast.cpp918 unsigned CopySrcReg = 0; in allocateBasicBlock() local
924 CopySrcReg = MI.getOperand(1).getReg(); in allocateBasicBlock()
1003 CopySrcReg = (CopySrcReg == Reg || CopySrcReg == PhysReg) ? PhysReg : 0; in allocateBasicBlock()
1049 LiveRegMap::iterator LRI = defineVirtReg(MI, I, Reg, CopySrcReg); in allocateBasicBlock()
1066 if (CopyDstReg && CopyDstReg == CopySrcReg && CopyDstSub == CopySrcSub) { in allocateBasicBlock()
DMachineLICM.cpp957 unsigned CopySrcReg = MI.getOperand(1).getReg(); in isCopyFeedingInvariantStore() local
958 if (TargetRegisterInfo::isVirtualRegister(CopySrcReg)) in isCopyFeedingInvariantStore()
961 if (!TRI->isCallerPreservedPhysReg(CopySrcReg, *MF)) in isCopyFeedingInvariantStore()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64RedundantCopyElimination.cpp326 MCPhysReg CopySrcReg = PredI->getOperand(1).getReg(); in optimizeBlock() local
332 if (CopySrcReg == KnownReg.Reg && in optimizeBlock()
342 OptBBClobberedRegs.available(CopySrcReg)) { in optimizeBlock()
343 KnownRegs.push_back(RegImm(CopySrcReg, KnownReg.Imm)); in optimizeBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCVSXSwapRemoval.cpp565 unsigned CopySrcReg; in lookThruCopyLike() local
567 CopySrcReg = MI->getOperand(1).getReg(); in lookThruCopyLike()
570 CopySrcReg = MI->getOperand(2).getReg(); in lookThruCopyLike()
573 if (!TargetRegisterInfo::isVirtualRegister(CopySrcReg)) { in lookThruCopyLike()
574 if (!isScalarVecReg(CopySrcReg)) in lookThruCopyLike()
576 return CopySrcReg; in lookThruCopyLike()
579 return lookThruCopyLike(CopySrcReg, VecIdx); in lookThruCopyLike()