/external/llvm/lib/Target/PowerPC/ |
D | PPCMIPeephole.cpp | 207 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()
|
D | PPCVSXSwapRemoval.cpp | 558 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-10.0/llvm/lib/CodeGen/ |
D | MachineCopyPropagation.cpp | 405 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()
|
D | TargetRegisterInfo.cpp | 502 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()
|
D | RegAllocFast.cpp | 1017 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()
|
D | MachineLICM.cpp | 993 Register CopySrcReg = MI.getOperand(1).getReg(); in isCopyFeedingInvariantStore() local 994 if (Register::isVirtualRegister(CopySrcReg)) in isCopyFeedingInvariantStore() 997 if (!TRI->isCallerPreservedPhysReg(CopySrcReg, *MF)) in isCopyFeedingInvariantStore()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | MachineCopyPropagation.cpp | 406 Register CopySrcReg = Copy.getOperand(1).getReg(); in isForwardableRegClassCopy() local 412 return URC->contains(CopySrcReg); in isForwardableRegClassCopy() 439 if (SuperRC->contains(CopySrcReg)) in isForwardableRegClassCopy() 515 Register CopySrcReg = CopySrc.getReg(); in forwardUses() local 526 if (MRI->isReserved(CopySrcReg) && !MRI->isConstantPhysReg(CopySrcReg)) in forwardUses() 538 if (MI.isCopy() && MI.modifiesRegister(CopySrcReg, TRI) && in forwardUses() 539 !MI.definesRegister(CopySrcReg)) { in forwardUses() 551 << "\n with " << printReg(CopySrcReg, TRI) in forwardUses() 554 MOUse.setReg(CopySrcReg); in forwardUses() 563 KMI.clearRegisterKills(CopySrcReg, TRI); in forwardUses()
|
D | TargetRegisterInfo.cpp | 520 Register CopySrcReg; in lookThruCopyLike() local 522 CopySrcReg = MI->getOperand(1).getReg(); in lookThruCopyLike() 525 CopySrcReg = MI->getOperand(2).getReg(); in lookThruCopyLike() 528 if (!CopySrcReg.isVirtual()) in lookThruCopyLike() 529 return CopySrcReg; in lookThruCopyLike() 531 SrcReg = CopySrcReg; in lookThruCopyLike()
|
D | MachineLICM.cpp | 1006 Register CopySrcReg = MI.getOperand(1).getReg(); in isCopyFeedingInvariantStore() local 1007 if (Register::isVirtualRegister(CopySrcReg)) in isCopyFeedingInvariantStore() 1010 if (!TRI->isCallerPreservedPhysReg(CopySrcReg.asMCReg(), *MF)) in isCopyFeedingInvariantStore()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64RedundantCopyElimination.cpp | 325 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()
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64RedundantCopyElimination.cpp | 325 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()
|
/external/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCVSXSwapRemoval.cpp | 561 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCVSXSwapRemoval.cpp | 561 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()
|