Home
last modified time | relevance | path

Searched refs:dType (Results 1 – 22 of 22) sorted by relevance

/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_emit_gm107.cpp785 emitField(0x08, 2, util_logbase2(typeSizeof(insn->dType))); in emitF2F()
825 emitField(0x0c, 1, isSignedType(insn->dType)); in emitF2I()
827 emitField(0x08, 2, util_logbase2(typeSizeof(insn->dType))); in emitF2I()
869 emitField(0x08, 2, util_logbase2(typeSizeof(insn->dType))); in emitI2F()
900 emitField(0x0c, 1, isSignedType(insn->dType)); in emitI2I()
902 emitField(0x08, 2, util_logbase2(typeSizeof(insn->dType))); in emitI2I()
1156 emitField(0x34, 1, insn->dType == TYPE_F32); in emitDSET()
1527 emitField(0x34, 1, insn->dType == TYPE_F32); in emitFSET()
1757 emitField(0x28, 1, isSignedType(insn->dType)); in emitIMUL()
1762 emitField(0x36, 1, isSignedType(insn->dType)); in emitIMUL()
[all …]
Dnv50_ir_target_nvc0.cpp435 if (!isFloatType(insn->dType)) { in isModSupported()
494 if (insn->dType == TYPE_U32) in isSatSupported()
504 return insn->dType == TYPE_F32; in isSatSupported()
525 if (i->dType == TYPE_F64 || i->sType == TYPE_F64) in getLatency()
540 if (i->op == OP_MUL && i->dType != TYPE_F32) in getLatency()
567 if (i->dType == TYPE_F32) { in getThroughput()
594 if (i->dType == TYPE_U32 || i->dType == TYPE_S32) { in getThroughput()
617 if (i->dType == TYPE_F64) { in getThroughput()
657 return (a->dType == TYPE_F32 || a->op == OP_ADD || in canDualIssue()
658 b->dType == TYPE_F32 || b->op == OP_ADD); in canDualIssue()
[all …]
Dnv50_ir_peephole.cpp136 if (i->op != OP_MERGE || typeSizeof(i->dType) != 8) in visit()
172 ((typeSizeof(ld->dType) != 4) && (typeSizeof(ld->dType) != 8))) in isImmdLoad()
305 if (insn->op == OP_ADD && !isFloatType(insn->dType)) { in visit()
313 } else if (insn->op == OP_SUB && !isFloatType(insn->dType)) { in visit()
522 DataType type = i->dType; in expr()
530 if (i->dnz && i->dType == TYPE_F32) { in expr()
536 switch (i->dType) { in expr()
560 switch (i->dType) { in expr()
570 switch (i->dType) { in expr()
580 switch (i->dType) { in expr()
[all …]
Dnv50_ir_emit_gk110.cpp751 assert(i->dType == TYPE_S32 || i->dType == TYPE_U32); in emitISAD()
755 if (i->dType == TYPE_S32) in emitISAD()
896 if (i->dType == TYPE_S32) in emitEXTBF()
907 if (i->dType == TYPE_S32) in emitBFIND()
928 if (isSignedType(i->dType)) in emitShift()
971 switch (i->dType) { in emitMINMAX()
993 if (i->dType == TYPE_S32) in emitMINMAX()
1011 const bool f2f = isFloatType(i->dType) && isFloatType(i->sType); in emitCVT()
1012 const bool f2i = !isFloatType(i->dType) && isFloatType(i->sType); in emitCVT()
1013 const bool i2f = isFloatType(i->dType) && !isFloatType(i->sType); in emitCVT()
[all …]
Dnv50_ir_emit_nvc0.cpp638 if (i->dType == TYPE_S32) in emitUMUL()
751 if (isSignedType(i->dType)) in emitIMAD()
828 assert(i->dType == TYPE_S32 || i->dType == TYPE_U32); in emitISAD()
833 if (i->dType == TYPE_S32) in emitISAD()
919 if (i->dType == TYPE_S32) in emitEXTBF()
930 if (i->dType == TYPE_S32) in emitBFIND()
951 | (isSignedType(i->dType) ? 0x20 : 0x00)); in emitShift()
1014 if (!isFloatType(i->dType)) in emitMINMAX()
1015 op |= isSignedType(i->dType) ? 0x23 : 0x03; in emitMINMAX()
1016 if (i->dType == TYPE_F64) in emitMINMAX()
[all …]
Dnv50_ir_target_nv50.cpp341 if ((i->op == OP_MUL || i->op == OP_MAD) && !isFloatType(i->dType)) { in insnCanLoad()
351 ldSize = typeSizeof(ld->dType); in insnCanLoad()
455 if (!isFloatType(insn->dType)) { in isModSupported()
504 if (insn->dType != TYPE_F32) in isSatSupported()
537 if (i->dType == TYPE_F32) { in getThroughput()
551 if (i->dType == TYPE_U32 || i->dType == TYPE_S32) { in getThroughput()
554 if (i->dType == TYPE_F64) { in getThroughput()
Dnv50_ir_emit_nv50.cpp634 if (typeSizeof(i->dType) == 4) in emitLOAD()
643 if (typeSizeof(i->dType) == 4) in emitLOAD()
657 if (typeSizeof(i->dType) == 4) in emitLOAD()
705 emitLoadStoreSizeLG(i->dType, 21 + 32); in emitSTORE()
711 emitLoadStoreSizeLG(i->dType, 21 + 32); in emitSTORE()
717 switch (typeSizeof(i->dType)) { in emitSTORE()
790 code[1] = (typeSizeof(i->dType) == 2) ? 0 : 0x04000000; in emitMOV()
943 if (i->dType == TYPE_F64) { in emitMINMAX()
952 switch (i->dType) { in emitMINMAX()
1090 code[1] = (typeSizeof(i->dType) == 2) ? 0 : 0x04000000; in emitUADD()
[all …]
Dnv50_ir_target_gm107.cpp108 if (insn->dType == TYPE_F64 || insn->sType == TYPE_F64) in isBarrierRequired()
166 !isFloatType(insn->dType)) in isBarrierRequired()
232 if (insn->dType != TYPE_F64) in getLatency()
Dnv50_ir_lowering_nv50.cpp310 if (typeSizeof(i->dType) == 8) { in visit()
561 if (mod->dType != TYPE_U32 && mod->dType != TYPE_S32) in handleMOD()
568 bld.mkOp2(OP_DIV, mod->dType, q, mod->getSrc(0), mod->getSrc(1)); in handleMOD()
1051 if (i->dType == TYPE_F32) { in handleSET()
1053 i->dType = TYPE_U32; in handleSET()
1078 bld.mkOp2(OP_UNION, i->dType, i->getDef(0), src0, src1); in handleSLCT()
1083 i->dType = TYPE_U8; in handleSLCT()
1106 bld.mkOp2(OP_UNION, i->dType, i->getDef(0), src0, src1); in handleSELP()
1122 bld.mkStore(OP_EXPORT, i->dType, sym, i->getIndirect(0, 0), i->getSrc(1)); in handleWRSV()
1171 if (i->dType == TYPE_F32) { in handleRDSV()
[all …]
Dnv50_ir_lowering_nvc0.cpp53 switch (i->dType) { in handleDIV()
62 bld.mkClobber(FILE_PREDICATE, (i->dType == TYPE_S32) ? 0xf : 0x3, 0); in handleDIV()
73 assert(i->dType == TYPE_F64); in handleRCPRSQ()
175 if (i->dType == TYPE_F64) in visit()
615 if (typeSizeof(i->dType) == 8) { in visit()
1252 stVal = bld.mkOp2v(op, atom->dType, bld.getSSA(), ld->getDef(0), in handleSharedATOMNVE4()
1345 bld.mkOp2(op, atom->dType, bld.getSSA(), ld->getDef(0), in handleSharedATOM()
1937 su->dType = typeOfSize(width / 8); in convertSurfaceFormat()
2017 Instruction *red = bld.mkOp(OP_ATOM, su->dType, bld.getSSA()); in handleSurfaceOpNVE4()
2131 su->dType = TYPE_U64; in handleSurfaceOpNVC0()
[all …]
Dnv50_ir.cpp593 dType = sType = TYPE_F32; in Instruction()
604 dType = sType = ty; in Instruction()
743 i = new_Instruction(pol.context(), op, dType); in clone()
1051 cmp->dType = dType; in clone()
Dnv50_ir_print.cpp636 PRINT("%s%s", dnz ? "dnz " : (ftz ? "ftz " : ""), DataTypeStr[dType]); in print()
657 if (sType != dType) in print()
Dnv50_ir.h823 inline void setType(DataType type) { dType = sType = type; } in setType()
827 dType = dtype; in setType()
858 DataType dType; // destination or defining type variable
Dnv50_ir_lowering_gm107.cpp71 if (typeSizeof(i->dType) != 4) in handleLOAD()
Dnv50_ir_target.cpp395 if (i->sType == TYPE_F64 || i->dType == TYPE_F64) in emitBinary()
Dnv50_ir_ra.cpp2005 cst = new_Instruction(func, OP_CONSTRAINT, i->dType); in addConstraint()
2271 for (size = typeSizeof(i->dType), s = 1; size > 0; ++s) { in visit()
2279 if (i->src(0).isIndirect(0) && typeSizeof(i->dType) >= 8) in visit()
2281 if (i->src(0).isIndirect(1) && typeSizeof(i->dType) >= 8) in visit()
Dnv50_ir_build_util.cpp567 switch (i->dType) { in split64BitOpPostRA()
/external/deqp/external/openglcts/modules/gles31/
Des31cSeparateShaderObjsTests.cpp1216 … generateUniformFragSrc(std::string& outFragSrc, glu::GLSLVersion glslVersion, glu::DataType dType) in generateUniformFragSrc() argument
1221 if (isDataTypeMatrix(dType) && isDataTypeSquareMatrix(dType)) in generateUniformFragSrc()
1225 else if (isDataTypeMatrix(dType) && !isDataTypeSquareMatrix(dType)) in generateUniformFragSrc()
1236 if (dType == glu::TYPE_INT) in generateUniformFragSrc()
1242 else if (dType == glu::TYPE_UINT) in generateUniformFragSrc()
1248 else if (dType == glu::TYPE_FLOAT) in generateUniformFragSrc()
1387 …pareUniforms(glw::GLuint pipeline, glw::GLuint programA, glw::GLuint programB, glu::DataType dType, in setAndCompareUniforms() argument
1438 if (dType == glu::TYPE_FLOAT) in setAndCompareUniforms()
1454 if (dType == glu::TYPE_INT) in setAndCompareUniforms()
1458 else if (dType == glu::TYPE_UINT) in setAndCompareUniforms()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.hpp245 VkBufferUsageFlagBits getMatchingBufferUsageFlagBit(VkDescriptorType dType);
DvktSpvAsmGraphicsShaderTestUtil.cpp175 VkBufferUsageFlagBits getMatchingBufferUsageFlagBit(VkDescriptorType dType) in getMatchingBufferUsageFlagBit() argument
177 switch (dType) in getMatchingBufferUsageFlagBit()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp397 void CheckFunctionPointerDecl(QualType dType, NamedDecl *ND);
DRewriteModernObjC.cpp486 void CheckFunctionPointerDecl(QualType dType, NamedDecl *ND);