Searched refs:CompSrcIdx (Results 1 – 4 of 4) sorted by relevance
97 for (unsigned CompSrcIdx = 0; CompSrcIdx < CompSrcOprNum; ++CompSrcIdx) { in doReplace() local98 if (AMDGPU::hasNamedOperand(VOPDOpc, Mods[CompIdx][CompSrcIdx])) { in doReplace()100 SII->getNamedOperand(*MI[CompIdx], SrcMods[CompSrcIdx]); in doReplace()104 InstInfo[CompIdx].getIndexOfSrcInMCOperands(CompSrcIdx, IsVOP3); in doReplace()
711 bool hasRegSrcOperand(unsigned CompSrcIdx) const { in hasRegSrcOperand() argument712 assert(CompSrcIdx < Component::MAX_SRC_NUM); in hasRegSrcOperand()713 return SrcOperandsNum > CompSrcIdx && !hasMandatoryLiteralAt(CompSrcIdx); in hasRegSrcOperand()732 bool hasMandatoryLiteralAt(unsigned CompSrcIdx) const { in hasMandatoryLiteralAt() argument733 assert(CompSrcIdx < Component::MAX_SRC_NUM); in hasMandatoryLiteralAt()734 return MandatoryLiteralIdx == Component::DST_NUM + CompSrcIdx; in hasMandatoryLiteralAt()828 unsigned getIndexOfSrcInMCOperands(unsigned CompSrcIdx, bool VOPD3) const { in getIndexOfSrcInMCOperands() argument829 assert(CompSrcIdx < Component::MAX_SRC_NUM); in getIndexOfSrcInMCOperands()831 if (Kind == SINGLE && CompSrcIdx == 2 && BitOp3Idx != -1) in getIndexOfSrcInMCOperands()835 return SINGLE_MC_SRC_IDX[VOPD3ModsNum][CompSrcIdx] + getPrevCompSrcNum() + in getIndexOfSrcInMCOperands()[all …]
854 auto CompSrcIdx = CompOprIdx - Component::DST_NUM; in getIndexInParsedOperands() local855 if (CompSrcIdx < getCompParsedSrcOperandsNum()) in getIndexInParsedOperands()856 return getIndexOfSrcInParsedOperands(CompSrcIdx); in getIndexInParsedOperands()940 unsigned CompSrcIdx = CompOprIdx - DST_NUM; in getRegIndices() local942 Comp.hasRegSrcOperand(CompSrcIdx) in getRegIndices()944 Comp.getIndexOfSrcInMCOperands(CompSrcIdx, VOPD3)) in getRegIndices()
4024 auto CompSrcIdx = CompOprIdx - VOPD::Component::DST_NUM; in validateVOPD() local4025 Error(Loc, Twine("src") + Twine(CompSrcIdx) + in validateVOPD()9476 for (unsigned CompSrcIdx = 0; CompSrcIdx < CompSrcOperandsNum; ++CompSrcIdx) in cvtVOPD() local9477 addOp(CInfo.getIndexOfSrcInParsedOperands(CompSrcIdx)); in cvtVOPD()