Home
last modified time | relevance | path

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

12

/third_party/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.cpp182 if (isFloatType(i->dType)) { in handleSET()
284 if (!isFloatType(i->dType)) in visit()
288 if (!isFloatType(i->dType) && i->subOp == NV50_IR_SUBOP_MUL_HIGH) in visit()
305 if (!isFloatType(i->dType)) in visit()
309 if (!isFloatType(i->dType) && typeSizeof(i->dType) == 8) in visit()
454 !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_nvc0.cpp1033 if (!isFloatType(i->dType)) { in emitMINMAX()
1083 const bool f2f = isFloatType(i->dType) && isFloatType(i->sType); in emitCVT()
1114 if (!isFloatType(i->sType)) in emitCVT()
1134 if (isFloatType(dType)) { in emitCVT()
1135 if (!isFloatType(i->sType)) in emitCVT()
1138 if (isFloatType(i->sType)) in emitCVT()
1147 if (isFloatType(dType)) { in emitCVT()
1148 if (isFloatType(i->sType)) in emitCVT()
1153 assert(isFloatType(i->sType)); in emitCVT()
1175 if (!isFloatType(i->sType)) in emitSET()
[all …]
Dnv50_ir_emit_gv100.cpp1728 assert(!isFloatType(insn->dType)); in emitInstruction()
1732 if (isFloatType(insn->dType)) { in emitInstruction()
1793 } else if (isFloatType(insn->dType)) { in emitInstruction()
1794 if (isFloatType(insn->sType)) { in emitInstruction()
1803 if (isFloatType(insn->sType)) { in emitInstruction()
1836 if (isFloatType(insn->dType)) { in emitInstruction()
1871 if (isFloatType(insn->dType)) { in emitInstruction()
1890 if (isFloatType(insn->dType)) { in emitInstruction()
1929 if (isFloatType(insn->dType)) { in emitInstruction()
1941 if (isFloatType(insn->sType)) in emitInstruction()
Dnv50_ir_emit_gk110.cpp1053 const bool f2f = isFloatType(i->dType) && isFloatType(i->sType); in emitCVT()
1054 const bool f2i = !isFloatType(i->dType) && isFloatType(i->sType); in emitCVT()
1055 const bool i2f = isFloatType(i->dType) && !isFloatType(i->sType); in emitCVT()
1162 if (isFloatType(i->sType)) in emitSET()
1187 isFloatType(i->sType) ? 0x33 : 0x34, in emitSET()
1188 isFloatType(i->sType) ? 0xf : 0x7); in emitSET()
2554 else if (isFloatType(insn->dType)) in emitInstruction()
2562 else if (isFloatType(insn->dType)) in emitInstruction()
2571 else if (isFloatType(insn->dType)) in emitInstruction()
Dnv50_ir_target_nv50.cpp352 if ((i->op == OP_MUL || i->op == OP_MAD) && !isFloatType(i->dType)) { in insnCanLoad()
462 return !isFloatType(ty); in isOpSupported()
471 if (!isFloatType(insn->dType)) { in isModSupported()
Dnv50_ir_peephole.cpp325 if (insn->op == OP_ADD && !isFloatType(insn->dType)) { in visit()
333 } else if (insn->op == OP_SUB && !isFloatType(insn->dType)) { in visit()
1085 assert(!isFloatType(i->sType)); in opnd()
1143 if (!isFloatType(i->dType) && !i->src(t).mod) { in opnd()
1184 if (!isFloatType(i->dType) && !i->subOp && !i->src(t).mod && !i->src(2).mod) { in opnd()
1195 !isFloatType(i->dType)) in opnd()
1370 assert(!isFloatType(si->dType)); in opnd()
1494 if (isFloatType(si->dType)) in opnd()
1516 if (isFloatType(si->dType)) in opnd()
1935 isFloatType(add->dType) != isFloatType(src->getInsn()->dType)) in tryADDToMADOrSAD()
[all …]
Dnv50_ir_target.cpp380 (isFloatType(i->sType) || isFloatType(i->dType))) in emitBinary()
Dnv50_ir_emit_gm107.cpp332 if (isFloatType(insn->sType)) in longIMMD()
3490 } else if (isFloatType(insn->dType)) { in emitInstruction()
3491 if (isFloatType(insn->sType)) in emitInstruction()
3496 if (isFloatType(insn->sType)) in emitInstruction()
3507 if (isFloatType(insn->dType)) { in emitInstruction()
3517 if (isFloatType(insn->dType)) { in emitInstruction()
3528 if (isFloatType(insn->dType)) { in emitInstruction()
3545 if (isFloatType(insn->dType)) { in emitInstruction()
3582 if (isFloatType(insn->dType)) in emitInstruction()
3592 if (isFloatType(insn->sType)) in emitInstruction()
[all …]
Dnv50_ir_emit_nv50.cpp239 if (ty != TYPE_NONE && !isFloatType(ty)) in emitCondCode()
1353 const bool f2f = isFloatType(i->dType) && isFloatType(i->sType); in emitCVT()
1976 else if (isFloatType(insn->dType)) in emitInstruction()
1986 else if (isFloatType(insn->dType)) in emitInstruction()
1995 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()
3097 if (!isFloatType(i->dType)) in handleDIV()
3109 if (!isFloatType(i->dType)) in handleMOD()
Dnv50_ir_from_nir.cpp128 bool isFloatType(nir_alu_type);
219 Converter::isFloatType(nir_alu_type type) in isFloatType() function in __anon6496b8d40111::Converter
235 return isFloatType(info.output_type); in isResultFloat()
320 …res[i] = getSType(insn->src[i].src, isFloatType(info.input_types[i]), isSignedType(info.input_type… in getSTypes()
2672 if (::isFloatType(dType)) in visit()
2690 } else if (::isFloatType(dType)) in visit()
Dnv50_ir_target_nvc0.cpp486 if (!isFloatType(insn->dType)) { in isModSupported()
Dnv50_ir_from_tgsi.cpp3922 if (!isFloatType(dstTy)) in handleInstruction()
3950 if (!isFloatType(dstTy)) in handleInstruction()
3967 if (!isFloatType(dstTy)) in handleInstruction()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
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()
Dgl3cTextureSizePromotion.hpp283 bool isFloatType(TextureInternalFormatDescriptor descriptor);
/third_party/skia/third_party/externals/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> {
/third_party/vk-gl-cts/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()
/third_party/glslang/SPIRV/
DSpvBuilder.h220 bool isFloatType(Id typeId) const { return getTypeClass(typeId) == OpTypeFloat; } in isFloatType() function
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderOperatorTests.cpp269 static inline bool isFloatType (ValueType type) in isFloatType() function
1786 … const DataType prevInDataType = isFloatType(prevV.valueType) ? s_floatTypes[prevInScalarSize - 1] in init()
1793 const DataType curInDataType = isFloatType(v.valueType) ? s_floatTypes[curInScalarSize - 1] in init()

12