Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp679 unsigned CompOprIdx; in ComponentProps() local
680 for (CompOprIdx = Component::SRC1; CompOprIdx < OperandsNum; ++CompOprIdx) { in ComponentProps()
681 if (OpDesc.operands()[CompOprIdx].OperandType == AMDGPU::OPERAND_KIMM32) { in ComponentProps()
682 MandatoryLiteralIdx = CompOprIdx; in ComponentProps()
688 unsigned ComponentInfo::getIndexInParsedOperands(unsigned CompOprIdx) const { in getIndexInParsedOperands()
689 assert(CompOprIdx < Component::MAX_OPR_NUM); in getIndexInParsedOperands()
691 if (CompOprIdx == Component::DST) in getIndexInParsedOperands()
694 auto CompSrcIdx = CompOprIdx - Component::DST_NUM; in getIndexInParsedOperands()
710 unsigned CompOprIdx; in getInvalidCompOperandIndex() local
711 for (CompOprIdx = 0; CompOprIdx < CompOprNum; ++CompOprIdx) { in getInvalidCompOperandIndex()
[all …]
H A DAMDGPUBaseInfo.h799 unsigned getIndexInParsedOperands(unsigned CompOprIdx) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNVOPDUtils.cpp95 auto CompOprIdx = InstInfo[CompIdx].getMandatoryLiteralCompOperandIndex(); in checkVOPDRegConstraints() local
96 addLiteral(MI.getOperand(CompOprIdx)); in checkVOPDRegConstraints()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp3823 auto CompOprIdx = *InvalidCompOprIdx; in validateVOPDRegBankConstraints() local
3825 std::max(InstInfo[VOPD::X].getIndexInParsedOperands(CompOprIdx), in validateVOPDRegBankConstraints()
3826 InstInfo[VOPD::Y].getIndexInParsedOperands(CompOprIdx)); in validateVOPDRegBankConstraints()
3830 if (CompOprIdx == VOPD::Component::DST) { in validateVOPDRegBankConstraints()
3833 auto CompSrcIdx = CompOprIdx - VOPD::Component::DST_NUM; in validateVOPDRegBankConstraints()