reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
   58     if (mi_match(SrcReg, MRI, m_GTrunc(m_Reg(TruncSrc)))) {
   61       markInstAndDefDead(MI, *MRI.getVRegDef(SrcReg), DeadInsts);
   68     if (mi_match(SrcReg, MRI,
   79     auto *SrcMI = MRI.getVRegDef(SrcReg);
   81       const LLT &DstTy = MRI.getType(DstReg);
  103     if (mi_match(SrcReg, MRI, m_GTrunc(m_Reg(TruncSrc)))) {
  104       LLT DstTy = MRI.getType(DstReg);
  109       LLT SrcTy = MRI.getType(SrcReg);
  114       markInstAndDefDead(MI, *MRI.getVRegDef(SrcReg), DeadInsts);
  120     auto *SrcMI = MRI.getVRegDef(SrcReg);
  122       const LLT &DstTy = MRI.getType(DstReg);
  144     if (mi_match(SrcReg, MRI, m_GTrunc(m_Reg(TruncSrc)))) {
  145       LLT DstTy = MRI.getType(DstReg);
  149       LLT SrcTy = MRI.getType(SrcReg);
  154       markInstAndDefDead(MI, *MRI.getVRegDef(SrcReg), DeadInsts);
  170     auto *SrcMI = MRI.getVRegDef(SrcReg);
  172       const LLT &DstTy = MRI.getType(DstReg);
  194                                            MI.getOperand(1).getReg(), MRI)) {
  197       LLT DstTy = MRI.getType(DstReg);
  255         getDefIgnoringCopies(MI.getOperand(NumDefs).getReg(), MRI);
  259     LLT OpTy = MRI.getType(MI.getOperand(NumDefs).getReg());
  260     LLT DestTy = MRI.getType(MI.getOperand(0).getReg());
  268       MergeI = getDefIgnoringCopies(SrcDef->getOperand(1).getReg(), MRI);
  301             = MRI.getType(MergeI->getOperand(0).getReg()).getElementType();
  303             TmpRegs.push_back(MRI.createGenericVirtualRegister(MergeEltTy));
  337       LLT MergeSrcTy = MRI.getType(MergeI->getOperand(1).getReg());
  356         MRI.replaceRegWith(MI.getOperand(Idx).getReg(),
  392     MachineInstr *MergeI = MRI.getVRegDef(Src);
  396     LLT DstTy = MRI.getType(MI.getOperand(0).getReg());
  397     LLT SrcTy = MRI.getType(Src);
  453       for (auto &Use : MRI.use_instructions(MI.getOperand(0).getReg()))
  500       MachineInstr *TmpDef = MRI.getVRegDef(PrevRegSrc);
  501       if (MRI.hasOneUse(PrevRegSrc)) {
  513     if (PrevMI == &DefMI && MRI.hasOneUse(DefMI.getOperand(0).getReg()))
  558     while (mi_match(Reg, MRI, m_Copy(m_Reg(TmpReg)))) {
  559       if (MRI.getType(TmpReg).isValid())