Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineCopyPropagation.cpp405 Register CopySrcReg = Copy.getOperand(1).getReg(); in isForwardableRegClassCopy() local
411 return URC->contains(CopySrcReg); in isForwardableRegClassCopy()
438 if (SuperRC->contains(CopySrcReg)) in isForwardableRegClassCopy()
498 Register CopySrcReg = CopySrc.getReg(); in forwardUses() local
509 if (MRI->isReserved(CopySrcReg) && !MRI->isConstantPhysReg(CopySrcReg)) in forwardUses()
521 if (MI.isCopy() && MI.modifiesRegister(CopySrcReg, TRI) && in forwardUses()
522 !MI.definesRegister(CopySrcReg)) { in forwardUses()
534 << "\n with " << printReg(CopySrcReg, TRI) in forwardUses()
537 MOUse.setReg(CopySrcReg); in forwardUses()
546 KMI.clearRegisterKills(CopySrcReg, TRI); in forwardUses()
DTargetRegisterInfo.cpp502 unsigned CopySrcReg; in lookThruCopyLike() local
504 CopySrcReg = MI->getOperand(1).getReg(); in lookThruCopyLike()
507 CopySrcReg = MI->getOperand(2).getReg(); in lookThruCopyLike()
510 if (!Register::isVirtualRegister(CopySrcReg)) in lookThruCopyLike()
511 return CopySrcReg; in lookThruCopyLike()
513 SrcReg = CopySrcReg; in lookThruCopyLike()
DRegAllocFast.cpp1017 Register CopySrcReg; in allocateInstruction() local
1023 CopySrcReg = MI.getOperand(1).getReg(); in allocateInstruction()
1114 CopySrcReg = (CopySrcReg == Reg || CopySrcReg == PhysReg) ? PhysReg : 0; in allocateInstruction()
1188 MCPhysReg PhysReg = defineVirtReg(MI, I, Reg, CopySrcReg); in allocateInstruction()
1205 if (CopyDstReg && CopyDstReg == CopySrcReg && CopyDstSub == CopySrcSub) { in allocateInstruction()
DMachineLICM.cpp993 Register CopySrcReg = MI.getOperand(1).getReg(); in isCopyFeedingInvariantStore() local
994 if (Register::isVirtualRegister(CopySrcReg)) in isCopyFeedingInvariantStore()
997 if (!TRI->isCallerPreservedPhysReg(CopySrcReg, *MF)) in isCopyFeedingInvariantStore()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64RedundantCopyElimination.cpp325 MCPhysReg CopySrcReg = PredI->getOperand(1).getReg(); in optimizeBlock() local
331 if (CopySrcReg == KnownReg.Reg && in optimizeBlock()
341 OptBBClobberedRegs.available(CopySrcReg)) { in optimizeBlock()
342 KnownRegs.push_back(RegImm(CopySrcReg, KnownReg.Imm)); in optimizeBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCVSXSwapRemoval.cpp561 unsigned CopySrcReg; in lookThruCopyLike() local
563 CopySrcReg = MI->getOperand(1).getReg(); in lookThruCopyLike()
566 CopySrcReg = MI->getOperand(2).getReg(); in lookThruCopyLike()
569 if (!Register::isVirtualRegister(CopySrcReg)) { in lookThruCopyLike()
570 if (!isScalarVecReg(CopySrcReg)) in lookThruCopyLike()
572 return CopySrcReg; in lookThruCopyLike()
575 return lookThruCopyLike(CopySrcReg, VecIdx); in lookThruCopyLike()