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.cpp835 unsigned CompOprIdx; in ComponentProps() local
836 for (CompOprIdx = Component::SRC1; CompOprIdx < OperandsNum; ++CompOprIdx) { in ComponentProps()
837 if (OpDesc.operands()[CompOprIdx].OperandType == AMDGPU::OPERAND_KIMM32) { in ComponentProps()
838 MandatoryLiteralIdx = CompOprIdx; in ComponentProps()
848 unsigned ComponentInfo::getIndexInParsedOperands(unsigned CompOprIdx) const { in getIndexInParsedOperands()
849 assert(CompOprIdx < Component::MAX_OPR_NUM); in getIndexInParsedOperands()
851 if (CompOprIdx == Component::DST) in getIndexInParsedOperands()
854 auto CompSrcIdx = CompOprIdx - Component::DST_NUM; in getIndexInParsedOperands()
893 unsigned CompOprIdx; in getInvalidCompOperandIndex() local
894 for (CompOprIdx = 0; CompOprIdx < Component::MAX_OPR_NUM; ++CompOprIdx) { in getInvalidCompOperandIndex()
[all …]
H A DAMDGPUBaseInfo.h885 unsigned getIndexInParsedOperands(unsigned CompOprIdx) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNVOPDUtils.cpp107 auto CompOprIdx = InstInfo[CompIdx].getMandatoryLiteralCompOperandIndex(); in checkVOPDRegConstraints() local
108 addLiteral(MI.getOperand(CompOprIdx)); in checkVOPDRegConstraints()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp4010 auto CompOprIdx = *InvalidCompOprIdx; in validateVOPD() local
4013 std::max(InstInfo[VOPD::X].getIndexInParsedOperands(CompOprIdx), in validateVOPD()
4014 InstInfo[VOPD::Y].getIndexInParsedOperands(CompOprIdx)); in validateVOPD()
4018 if (CompOprIdx == VOPD::Component::DST) { in validateVOPD()
4024 auto CompSrcIdx = CompOprIdx - VOPD::Component::DST_NUM; in validateVOPD()