/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/visa/ |
H A D | G4_Opcode.h | 23 #define IS_HFTYPE(x) ((x) == Type_HF) 29 #define IS_WTYPE(x) ((x) == Type_W || (x) == Type_UW || (x) == Type_HF) 37 #define IS_TYPE_FLOAT_ALL(type) (type == Type_F ||type == Type_DF || type == Type_HF || type ==… 38 #define IS_TYPE_FLOAT_FOR_ACC(type) (type == Type_F ||type == Type_DF || type == Type_HF) 208 Type_HF, // half float enumerator 238 {Type_HF, 16, 2, 0x03, "hf"}, 470 return ty == Type_HF || ty == Type_BF; in isLowPrecisionFloatTy()
|
H A D | HWConformity.cpp | 529 if (src0 && src0->getType() == Type_HF) in fixMathInst() 534 if (src1 && src1->getType() == Type_HF) in fixMathInst() 539 if (dst && dst->getType() == Type_HF) in fixMathInst() 1377 !(inst->getExecType() == Type_HF && in fix3SrcInst() 3773 case Type_HF: in isGoodMadType() 4503 case Type_HF: in fixMADInst() 5230 case Type_HF: in fixsrc1src2Overlap() 5523 if (src0Type == Type_BF || src0Type == Type_HF) in fixDPAS() 7803 dst->getType() == Type_HF) in fixMixedHFInst() 7841 inst->getDst()->getType() == Type_HF && in fixMixedHFInst() [all …]
|
H A D | G4_Verifier.cpp | 1078 prec = dpasInst->isBF16() ? Type_BF : Type_HF; in verifyDpas() 1100 if (!(dTy == Type_F || dTy == Type_BF || dTy == Type_HF) || in verifyDpas() 1101 !(s0Ty == Type_F || s0Ty == Type_BF || s0Ty == Type_HF)) in verifyDpas() 1222 const bool allowedFCombination = (src->getType() == Type_F || src->getType() == Type_HF) && in verifyAccMov() 1223 (dst->getType() == Type_F || dst->getType() == Type_HF); in verifyAccMov()
|
H A D | BinaryEncodingCNL.cpp | 131 case Type_HF: type = G11HDL::SRCIMMTYPE_HF; break; in GetOperandSrcHDLImmType() 155 case Type_HF: type = G11HDL::SRCTYPE_HF; break; in GetOperandSrcHDLType() 956 case Type_HF: in Get3SrcLimitedType() 977 case Type_HF: in Get3SrcLimitedSrcType() 999 case Type_HF: in Get3SrcAlign1LimitedSrcType() 1054 if (src1->getType() == Type_HF) in EncodeThreeSrcInst() 1058 if (src2->getType() == Type_HF) in EncodeThreeSrcInst()
|
H A D | BinaryEncoding.cpp | 389 case Type_HF: in GetOperandSrcType() 430 case Type_HF: in GetOperandSrcImmType() 614 case Type_HF: in SetOperandDstType() 1422 case Type_HF: in Set3SrcSrcType() 1431 if (inst->getSrc(1)->getType() == Type_HF) in Set3SrcSrcType() 1435 if (inst->getSrc(2)->getType() == Type_HF) in Set3SrcSrcType() 1459 case Type_HF: in Set3SrcDstType()
|
H A D | Common_BinaryEncoding.cpp | 164 case Type_HF: in FixAlign16Inst()
|
H A D | Common_ISA_util.cpp | 350 return Type_HF; in GetGenTypeFromVISAType() 390 case Type_HF: in Get_Common_ISA_Type_From_G4_Type()
|
H A D | G4_IR.cpp | 1187 dst->getType() == Type_HF || in isFloatPipeInstructionXe() 1206 src->getType() == Type_HF || in isFloatPipeInstructionXe() 1241 case Type_HF: in getDataTypePipeXe() 7905 case Type_HF: in canExecSizeBeAcc() 8075 …t bool allowedFCombination = (getSrc(0)->getType() == Type_F || getSrc(0)->getType() == Type_HF) && in canDstBeAcc() 8076 (dst->getType() == Type_F || dst->getType() == Type_HF); in canDstBeAcc() 8099 if ((dst->getType() != src->getType() || dst->getType() == Type_HF) && in canDstBeAcc() 8228 … const bool allowedFCombination = (src->getType() == Type_F || src->getType() == Type_HF) && in canSrcBeAccBeforeHWConform() 8229 (dst->getType() == Type_F || dst->getType() == Type_HF); in canSrcBeAccBeforeHWConform() 8250 if ((dst->getType() != src->getType() || dst->getType() == Type_HF) && in canSrcBeAccBeforeHWConform()
|
H A D | BinaryEncodingIGA.cpp | 122 case Type_HF: return ImmVal::Kind::F16; in getIGAImmType() 1737 case Type_HF: return Type::HF; in getIGAType()
|
H A D | HWCaps.inc | 642 return getPlatform() >= XeHP_SDV ? Type_BF : Type_HF;
|
H A D | Optimizer.cpp | 1616 if (dst->getType() == Type_F && src0->getType() == Type_HF) in isCopyPropProfitable() 7148 case Type_HF: in createSubSrcOperand() 7227 case Type_HF: in createSubDstOperand() 11684 changeMovsFromVector(intMovs, Type_F, Type_HF); in changeMoveType() 11773 changeType(inst, Type_HF); in changeMoveType() 11791 changeType(inst, Type_HF); in changeMoveType() 13723 (src0Type == Type_HF && dstType == Type_HF)); in fixReadSuppressioninFPU0() 13727 return (isRawMov(inst) && inst->getSrc(0)->getType() == Type_HF) || in fixReadSuppressioninFPU0() 13728 (isRawSel(inst) && inst->getSrc(0)->getType() == Type_HF) || in fixReadSuppressioninFPU0()
|
H A D | BuildIRImpl.cpp | 1214 immType = Type_HF; in createImm() 1221 immType = Type_HF; in createImm() 2325 if (dst->getType() == Type_HF) in fixSendDstType()
|
H A D | BinaryEncodingCNL.h | 329 case Type_HF: in EncodeOperandDstType()
|
H A D | G4_Kernel.cpp | 1541 case Type_HF: sstype << ":hf"; break; in emitDeviceAsmHeaderComment()
|
H A D | Common_BinaryEncoding.h | 1678 case Type_HF: in GetElementSizeValue()
|
H A D | G4_IR.hpp | 1828 template unsigned int numEltPerGRF<Type_HF>();
|
H A D | VISAKernelImpl.cpp | 2304 …sa_opnd->g4opnd = m_builder->createImmWithLowerType(*static_cast<const unsigned*>(value), Type_HF); in CreateVISAImmediate()
|
H A D | GraphColor.cpp | 12006 if (dcl->getElemType() == Type_HF && dcl->getSubRegAlign() == Any) in fixAlignment()
|
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/Metrics/proto_schema/ |
H A D | variable_info.proto | 32 Type_HF = 14; // half float enumerator
|
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/visa/VisaToG4/ |
H A D | TranslateSend3D.cpp | 546 bool FP16Data = R->getType() == Type_HF; in translateVISARTWrite3DInst() 549 MUST_BE_TRUE((G->isNullReg() || G->getType() == Type_HF) && in translateVISARTWrite3DInst() 550 (B->isNullReg() || B->getType() == Type_HF) && in translateVISARTWrite3DInst() 551 (A->isNullReg() || A->getType() == Type_HF), in translateVISARTWrite3DInst() 628 payloadFOrHF = createSendPayloadDcl(numElts, FP16Data ? Type_HF : Type_F); in translateVISARTWrite3DInst() 646 …rHF = createSendPayloadDcl(numElts - (useHeader ? numDWInHeader : 0), FP16Data ? Type_HF : Type_F); in translateVISARTWrite3DInst() 1377 G4_Declare* payloadHF = createTempVar(numElts * 2, Type_HF, Any); in splitSampleInst() 1557 G4_Declare* payloadHF = createTempVar(numElts * 2, Type_HF, Any); in splitSampleInst() 1843 const bool FP16Input = params[0]->getType() == Type_HF; in translateVISASampler3DInst() 2102 const bool FP16Input = opndArray[0]->getType() == Type_HF; in translateVISAGather3dInst()
|
H A D | TranslateALU.cpp | 592 dstOpnd->getType() == Type_HF) // Temp compatibility (toBeRemovedSoon) in translateVISADataMovementInst() 599 (src0Opnd->getType() == Type_UW || src0Opnd->getType() == Type_HF) && in translateVISADataMovementInst()
|
H A D | TranslateMath.cpp | 134 case Type_HF: in expandPow() 139 logSrc = createImm(val & 0x7FFFF, Type_HF); in expandPow()
|
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/visa/Passes/ |
H A D | AccSubstitution.cpp | 57 case Type_HF: in needBothAcc() 514 if (useInst->getSrc(0)->getType() == Type_HF && useInst->getMaskOffset() == 16) in isAccCandidate() 641 if (useInst->getMaskOffset() == 16 && dst->getType() == Type_HF) in replaceDstWithAcc()
|
H A D | LVN.cpp | 130 else if (srcType == Type_HF || srcType == Type_F || in getDstData() 854 else if (type == Type_HF) in getNegativeRepresentation()
|
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/visa/LocalScheduler/ |
H A D | SWSB_G4IR.cpp | 231 case GenPrecision::FP16: return Type_HF; in getDPASDataType() 370 case Type_HF: in needBothAcc()
|