Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp2120 auto *SrcInstr = getOpcodeDef<GMergeLikeInstr>(SrcReg, MRI); in matchCombineUnmergeMergeToPlainValues() local
2121 if (!SrcInstr) in matchCombineUnmergeMergeToPlainValues()
2125 LLT SrcMergeTy = MRI.getType(SrcInstr->getSourceReg(0)); in matchCombineUnmergeMergeToPlainValues()
2132 for (unsigned Idx = 0; Idx < SrcInstr->getNumSources(); ++Idx) in matchCombineUnmergeMergeToPlainValues()
2133 Operands.push_back(SrcInstr->getSourceReg(Idx)); in matchCombineUnmergeMergeToPlainValues()
2172 MachineInstr *SrcInstr = MRI.getVRegDef(SrcReg); in matchCombineUnmergeConstant() local
2173 if (SrcInstr->getOpcode() != TargetOpcode::G_CONSTANT && in matchCombineUnmergeConstant()
2174 SrcInstr->getOpcode() != TargetOpcode::G_FCONSTANT) in matchCombineUnmergeConstant()
2177 const MachineOperand &CstVal = SrcInstr->getOperand(1); in matchCombineUnmergeConstant()
2178 APInt Val = SrcInstr->getOpcode() == TargetOpcode::G_CONSTANT in matchCombineUnmergeConstant()