Searched refs:SrcMI (Results 1 – 5 of 5) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCMIPeephole.cpp | 587 MachineInstr *SrcMI = MRI->getVRegDef(NarrowReg); in simplifyCode() local 590 if (SrcMI->getOpcode() == PPC::LHZ || in simplifyCode() 591 SrcMI->getOpcode() == PPC::LHZX) { in simplifyCode() 592 if (!MRI->hasOneNonDBGUse(SrcMI->getOperand(0).getReg())) in simplifyCode() 609 isXForm(SrcMI->getOpcode())); in simplifyCode() 611 LLVM_DEBUG(SrcMI->dump()); in simplifyCode() 615 SrcMI->setDesc(TII->get(Opc)); in simplifyCode() 616 SrcMI->getOperand(0).setReg(MI.getOperand(0).getReg()); in simplifyCode() 631 MachineInstr *SrcMI = MRI->getVRegDef(NarrowReg); in simplifyCode() local 634 if (SrcMI->getOpcode() == PPC::LWZ || in simplifyCode() [all …]
|
D | PPCInstrInfo.cpp | 4051 const MachineInstr *SrcMI = MRI->getVRegDef(SrcReg); in isSignOrZeroExtended() local 4052 if (SrcMI != NULL) in isSignOrZeroExtended() 4053 return isSignOrZeroExtended(*SrcMI, SignExt, Depth); in isSignOrZeroExtended() 4075 const MachineInstr *SrcMI = MRI->getVRegDef(SrcReg); in isSignOrZeroExtended() local 4076 if (SrcMI != NULL) in isSignOrZeroExtended() 4077 return isSignOrZeroExtended(*SrcMI, SignExt, Depth); in isSignOrZeroExtended() 4104 const MachineInstr *SrcMI = MRI->getVRegDef(SrcReg); in isSignOrZeroExtended() local 4105 if (SrcMI == NULL || !isSignOrZeroExtended(*SrcMI, SignExt, Depth+1)) in isSignOrZeroExtended()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | OptimizePHIs.cpp | 116 MachineInstr *SrcMI = MRI->getVRegDef(SrcReg); in IsSingleValuePHICycle() local 119 if (SrcMI && SrcMI->isCopy() && !SrcMI->getOperand(0).getSubReg() && in IsSingleValuePHICycle() 120 !SrcMI->getOperand(1).getSubReg() && in IsSingleValuePHICycle() 121 Register::isVirtualRegister(SrcMI->getOperand(1).getReg())) { in IsSingleValuePHICycle() 122 SrcReg = SrcMI->getOperand(1).getReg(); in IsSingleValuePHICycle() 123 SrcMI = MRI->getVRegDef(SrcReg); in IsSingleValuePHICycle() 125 if (!SrcMI) in IsSingleValuePHICycle() 128 if (SrcMI->isPHI()) { in IsSingleValuePHICycle() 129 if (!IsSingleValuePHICycle(SrcMI, SingleValReg, PHIsInCycle)) in IsSingleValuePHICycle()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | LegalizationArtifactCombiner.h | 82 auto *SrcMI = MRI.getVRegDef(SrcReg); in tryCombineAnyExt() local 83 if (SrcMI->getOpcode() == TargetOpcode::G_CONSTANT) { in tryCombineAnyExt() 86 auto &CstVal = SrcMI->getOperand(1); in tryCombineAnyExt() 90 markInstAndDefDead(MI, *SrcMI, DeadInsts); in tryCombineAnyExt() 126 auto *SrcMI = MRI.getVRegDef(SrcReg); in tryCombineZExt() local 127 if (SrcMI->getOpcode() == TargetOpcode::G_CONSTANT) { in tryCombineZExt() 130 auto &CstVal = SrcMI->getOperand(1); in tryCombineZExt() 134 markInstAndDefDead(MI, *SrcMI, DeadInsts); in tryCombineZExt() 179 auto *SrcMI = MRI.getVRegDef(SrcReg); in tryCombineTrunc() local 180 if (SrcMI->getOpcode() == TargetOpcode::G_CONSTANT) { in tryCombineTrunc() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | R600ControlFlowFinalizer.cpp | 298 unsigned DstMI, SrcMI; in isCompatibleWithClause() local 317 SrcMI = Reg; in isCompatibleWithClause() 319 SrcMI = TRI->getMatchingSuperReg(Reg, in isCompatibleWithClause() 324 if ((DstRegs.find(SrcMI) == DstRegs.end())) { in isCompatibleWithClause()
|