Home
last modified time | relevance | path

Searched refs:isFloatType (Results 1 – 25 of 41) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_target_gv100.cpp209 if (isFloatType(i->dType)) in getOpInfo()
213 if (isFloatType(i->dType)) { in getOpInfo()
252 } else if (isFloatType(i->dType)) { in getOpInfo()
253 if (isFloatType(i->sType)) { in getOpInfo()
262 if (isFloatType(i->sType)) in getOpInfo()
281 if (isFloatType(i->dType)) { in getOpInfo()
308 if (isFloatType(i->dType)) { in getOpInfo()
318 if (isFloatType(i->dType)) { in getOpInfo()
326 if (isFloatType(i->dType)) in getOpInfo()
348 if (isFloatType(i->dType)) { in getOpInfo()
[all …]
Dnv50_ir_lowering_gv100.cpp178 if (isFloatType(i->dType)) { in handleSET()
280 if (!isFloatType(i->dType)) in visit()
284 if (!isFloatType(i->dType) && i->subOp == NV50_IR_SUBOP_MUL_HIGH) in visit()
301 if (!isFloatType(i->dType)) in visit()
305 if (!isFloatType(i->dType) && typeSizeof(i->dType) == 8) in visit()
450 !isFloatType(i->dType) && !isFloatType(i->sType)) in visit()
Dnv50_ir_lowering_helper.cpp179 if (typeSizeof(insn->dType) != 8 || isFloatType(insn->dType)) in handleNEG()
195 if (typeSizeof(dTy) != 8 || !isFloatType(dTy)) in handleSAT()
217 DataType hdTy = typeOfSize(4, isFloatType(dTy), isSignedIntType(dTy)); in handleSLCT()
245 DataType sTy = typeOfSize(4, isFloatType(dTy), isSignedIntType(dTy)); in handleLogOp()
Dnv50_ir_target_gm107.cpp68 if (isFloatType(ty)) in isOpSupported()
174 !isFloatType(insn->dType)) in isBarrierRequired()
Dnv50_ir_emit_gv100.cpp1687 assert(!isFloatType(insn->dType)); in emitInstruction()
1691 if (isFloatType(insn->dType)) { in emitInstruction()
1748 } else if (isFloatType(insn->dType)) { in emitInstruction()
1749 if (isFloatType(insn->sType)) { in emitInstruction()
1758 if (isFloatType(insn->sType)) { in emitInstruction()
1791 if (isFloatType(insn->dType)) { in emitInstruction()
1826 if (isFloatType(insn->dType)) { in emitInstruction()
1845 if (isFloatType(insn->dType)) { in emitInstruction()
1884 if (isFloatType(insn->dType)) { in emitInstruction()
1896 if (isFloatType(insn->sType)) in emitInstruction()
Dnv50_ir_emit_nvc0.cpp1035 if (!isFloatType(i->dType)) { in emitMINMAX()
1085 const bool f2f = isFloatType(i->dType) && isFloatType(i->sType); in emitCVT()
1116 if (!isFloatType(i->sType)) in emitCVT()
1136 if (isFloatType(dType)) { in emitCVT()
1137 if (!isFloatType(i->sType)) in emitCVT()
1140 if (isFloatType(i->sType)) in emitCVT()
1149 if (isFloatType(dType)) { in emitCVT()
1150 if (isFloatType(i->sType)) in emitCVT()
1155 assert(isFloatType(i->sType)); in emitCVT()
1177 if (!isFloatType(i->sType)) in emitSET()
[all …]
Dnv50_ir_emit_gk110.cpp1055 const bool f2f = isFloatType(i->dType) && isFloatType(i->sType); in emitCVT()
1056 const bool f2i = !isFloatType(i->dType) && isFloatType(i->sType); in emitCVT()
1057 const bool i2f = isFloatType(i->dType) && !isFloatType(i->sType); in emitCVT()
1164 if (isFloatType(i->sType)) in emitSET()
1189 isFloatType(i->sType) ? 0x33 : 0x34, in emitSET()
1190 isFloatType(i->sType) ? 0xf : 0x7); in emitSET()
2547 else if (isFloatType(insn->dType)) in emitInstruction()
2555 else if (isFloatType(insn->dType)) in emitInstruction()
2564 else if (isFloatType(insn->dType)) in emitInstruction()
Dnv50_ir_target_nv50.cpp345 if ((i->op == OP_MUL || i->op == OP_MAD) && !isFloatType(i->dType)) { in insnCanLoad()
451 return !isFloatType(ty); in isOpSupported()
460 if (!isFloatType(insn->dType)) { in isModSupported()
Dnv50_ir_peephole.cpp323 if (insn->op == OP_ADD && !isFloatType(insn->dType)) { in visit()
331 } else if (insn->op == OP_SUB && !isFloatType(insn->dType)) { in visit()
1082 assert(!isFloatType(i->sType)); in opnd()
1138 if (!isFloatType(i->dType) && !i->src(t).mod) { in opnd()
1178 if (!isFloatType(i->dType) && !i->subOp && !i->src(t).mod && !i->src(2).mod) { in opnd()
1189 !isFloatType(i->dType)) in opnd()
1364 assert(!isFloatType(si->dType)); in opnd()
1482 if (isFloatType(si->dType)) in opnd()
1499 if (isFloatType(si->dType)) in opnd()
1918 isFloatType(add->dType) != isFloatType(src->getInsn()->dType)) in tryADDToMADOrSAD()
[all …]
Dnv50_ir_target.cpp384 (isFloatType(i->sType) || isFloatType(i->dType))) in emitBinary()
Dnv50_ir_emit_gm107.cpp332 if (isFloatType(insn->sType)) in longIMMD()
3481 } else if (isFloatType(insn->dType)) { in emitInstruction()
3482 if (isFloatType(insn->sType)) in emitInstruction()
3487 if (isFloatType(insn->sType)) in emitInstruction()
3498 if (isFloatType(insn->dType)) { in emitInstruction()
3508 if (isFloatType(insn->dType)) { in emitInstruction()
3519 if (isFloatType(insn->dType)) { in emitInstruction()
3536 if (isFloatType(insn->dType)) { in emitInstruction()
3573 if (isFloatType(insn->dType)) in emitInstruction()
3583 if (isFloatType(insn->sType)) in emitInstruction()
[all …]
Dnv50_ir_emit_nv50.cpp241 if (ty != TYPE_NONE && !isFloatType(ty)) in emitCondCode()
1345 const bool f2f = isFloatType(i->dType) && isFloatType(i->sType); in emitCVT()
1889 else if (isFloatType(insn->dType)) in emitInstruction()
1899 else if (isFloatType(insn->dType)) in emitInstruction()
1908 else if (isFloatType(insn->dType)) in emitInstruction()
Dnv50_ir_inlines.h122 static inline bool isFloatType(DataType ty) in isFloatType() function
Dnv50_ir_lowering_nvc0.cpp781 if (!isFloatType(cvt->sType) && typeSizeof(cvt->sType) != 4) in replaceCvt()
797 if (!isFloatType(cvt->sType)) in replaceCvt()
803 if (!isFloatType(cvt->sType) && cvt->src(0).mod) in replaceCvt()
805 if (isFloatType(cvt->sType) && in replaceCvt()
809 mod0 = isFloatType(cvt->sType) ? NV50_IR_MOD_NEG : 0; in replaceCvt()
814 if (!isFloatType(cvt->sType) && cvt->src(0).mod.abs()) in replaceCvt()
3008 if (!isFloatType(i->dType)) in handleDIV()
3020 if (!isFloatType(i->dType)) in handleMOD()
Dnv50_ir_from_nir.cpp128 bool isFloatType(nir_alu_type);
221 Converter::isFloatType(nir_alu_type type) in isFloatType() function in __anon334feee80111::Converter
237 return isFloatType(info.output_type); in isResultFloat()
318 …res[i] = getSType(insn->src[i].src, isFloatType(info.input_types[i]), isSignedType(info.input_type… in getSTypes()
2654 if (::isFloatType(dType)) in visit()
2672 } else if (::isFloatType(dType)) in visit()
Dnv50_ir_target_nvc0.cpp482 if (!isFloatType(insn->dType)) { in isModSupported()
/external/deqp/external/openglcts/modules/common/
DglcConfigListEGL.cpp118 bool isFloatType = supportFloatConfigs ? in getDefaultEglConfigList() local
126 bool isOk = isRenderable && isConformant && (numSamples == 0) && !isFloatType && !isYUV; in getDefaultEglConfigList()
145 DE_ASSERT(!isRenderable || !isConformant || (numSamples != 0) || isFloatType || isYUV); in getDefaultEglConfigList()
152 isFloatType ? EXCLUDEREASON_FLOAT : EXCLUDEREASON_YUV)); in getDefaultEglConfigList()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DVOPInstructions.td124 let ReadsModeReg = !or(isFloatType<P.DstVT>.ret, isFloatType<P.Src0VT>.ret);
500 let ReadsModeReg = !or(isFloatType<P.DstVT>.ret, isFloatType<P.Src0VT>.ret);
621 let ReadsModeReg = !or(isFloatType<P.DstVT>.ret, isFloatType<P.Src0VT>.ret);
DSIInstrInfo.td261 class isFloatType<ValueType SrcVT> {
1005 string Type = !if(isFloatType<vt>.ret, "FP", "INT");
1455 bit isFP = isFloatType<VT>.ret;
1499 bit isFP = isFloatType<VT>.ret;
1508 bit isFP = isFloatType<VT>.ret;
1553 bit isFP = isFloatType<VT>.ret;
1572 bit isFP = isFloatType<VT>.ret;
2117 field bit HasSrc0FloatMods = isFloatType<Src0VT>.ret;
2118 field bit HasSrc1FloatMods = isFloatType<Src1VT>.ret;
2119 field bit HasSrc2FloatMods = isFloatType<Src2VT>.ret;
[all …]
DVOP1Instructions.td51 let ReadsModeReg = !or(isFloatType<P.DstVT>.ret, isFloatType<P.Src0VT>.ret);
/external/deqp/external/openglcts/modules/gl/
Dgl3cTextureSizePromotion.hpp283 bool isFloatType(TextureInternalFormatDescriptor descriptor);
Dgl3cTextureSizePromotion.cpp270 if (isFloatType(descriptor)) /* For floating type. */ in prepareSourceTexture()
604 if (isFloatType(descriptor)) in getDestinationFormatForChannel()
709 if (isFloatType(descriptor) || isFixedSignedType(descriptor) || isFixedUnsignedType(descriptor) || in prepareProgram()
893 if (isFloatType(descriptor)) in checkDestinationTexture()
1066 bool FunctionalTest::isFloatType(TextureInternalFormatDescriptor descriptor) in isFloatType() function in gl3cts::TextureSizePromotion::FunctionalTest
1164 if (isFloatType(descriptor)) in getMinPrecision()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIInstrInfo.td279 class isFloatType<ValueType SrcVT> {
973 string Type = !if(isFloatType<vt>.ret, "FP", "INT");
1465 bit isFP = isFloatType<VT>.ret;
1505 bit isFP = isFloatType<VT>.ret;
1514 bit isFP = isFloatType<VT>.ret;
1561 bit isFP = isFloatType<VT>.ret;
1580 bit isFP = isFloatType<VT>.ret;
2133 field bit HasSrc0FloatMods = isFloatType<Src0VT>.ret;
2134 field bit HasSrc1FloatMods = isFloatType<Src1VT>.ret;
2135 field bit HasSrc2FloatMods = isFloatType<Src2VT>.ret;
[all …]
DFLATInstructions.td273 bit isFP = isFloatType<data_vt>.ret> {
303 bit isFP = isFloatType<data_vt>.ret> {
336 bit isFP = isFloatType<data_vt>.ret> {
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeCooperativeMatrixTests.cpp253 static bool isFloatType(VkComponentTypeNV t) in isFloatType() function
937 if (isFloatType(dataTypes[i])) in iterate()
998 if (isFloatType(dataTypes[0])) in iterate()

12