Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNCreateVOPD.cpp97 for (unsigned CompSrcIdx = 0; CompSrcIdx < CompSrcOprNum; ++CompSrcIdx) { in doReplace() local
98 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()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.h711 bool hasRegSrcOperand(unsigned CompSrcIdx) const { in hasRegSrcOperand() argument
712 assert(CompSrcIdx < Component::MAX_SRC_NUM); in hasRegSrcOperand()
713 return SrcOperandsNum > CompSrcIdx && !hasMandatoryLiteralAt(CompSrcIdx); in hasRegSrcOperand()
732 bool hasMandatoryLiteralAt(unsigned CompSrcIdx) const { in hasMandatoryLiteralAt() argument
733 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() argument
829 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 …]
H A DAMDGPUBaseInfo.cpp854 auto CompSrcIdx = CompOprIdx - Component::DST_NUM; in getIndexInParsedOperands() local
855 if (CompSrcIdx < getCompParsedSrcOperandsNum()) in getIndexInParsedOperands()
856 return getIndexOfSrcInParsedOperands(CompSrcIdx); in getIndexInParsedOperands()
940 unsigned CompSrcIdx = CompOprIdx - DST_NUM; in getRegIndices() local
942 Comp.hasRegSrcOperand(CompSrcIdx) in getRegIndices()
944 Comp.getIndexOfSrcInMCOperands(CompSrcIdx, VOPD3)) in getRegIndices()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp4024 auto CompSrcIdx = CompOprIdx - VOPD::Component::DST_NUM; in validateVOPD() local
4025 Error(Loc, Twine("src") + Twine(CompSrcIdx) + in validateVOPD()
9476 for (unsigned CompSrcIdx = 0; CompSrcIdx < CompSrcOperandsNum; ++CompSrcIdx) in cvtVOPD() local
9477 addOp(CInfo.getIndexOfSrcInParsedOperands(CompSrcIdx)); in cvtVOPD()