/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_emit_gm107.cpp | 793 emitField(0x08, 2, util_logbase2(typeSizeof(insn->dType))); in emitF2F() 833 emitField(0x0c, 1, isSignedType(insn->dType)); in emitF2I() 835 emitField(0x08, 2, util_logbase2(typeSizeof(insn->dType))); in emitF2I() 877 emitField(0x08, 2, util_logbase2(typeSizeof(insn->dType))); in emitI2F() 908 emitField(0x0c, 1, isSignedType(insn->dType)); in emitI2I() 910 emitField(0x08, 2, util_logbase2(typeSizeof(insn->dType))); in emitI2I() 1179 emitField(0x34, 1, insn->dType == TYPE_F32); in emitDSET() 1566 emitField(0x34, 1, insn->dType == TYPE_F32); in emitFSET() 1796 emitField(0x28, 1, isSignedType(insn->dType)); in emitIMUL() 1801 emitField(0x36, 1, isSignedType(insn->dType)); in emitIMUL() [all …]
|
D | nv50_ir_target_nvc0.cpp | 434 if (!isFloatType(insn->dType)) { in isModSupported() 493 if (insn->dType == TYPE_U32) in isSatSupported() 503 return insn->dType == TYPE_F32; in isSatSupported() 524 if (i->dType == TYPE_F64 || i->sType == TYPE_F64) in getLatency() 539 if (i->op == OP_MUL && i->dType != TYPE_F32) in getLatency() 566 if (i->dType == TYPE_F32) { in getThroughput() 593 if (i->dType == TYPE_U32 || i->dType == TYPE_S32) { in getThroughput() 616 if (i->dType == TYPE_F64) { in getThroughput() 656 return (a->dType == TYPE_F32 || a->op == OP_ADD || in canDualIssue() 657 b->dType == TYPE_F32 || b->op == OP_ADD); in canDualIssue() [all …]
|
D | nv50_ir_peephole.cpp | 136 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() 524 DataType type = i->dType; in expr() 532 if (i->dnz && i->dType == TYPE_F32) { in expr() 538 switch (i->dType) { in expr() 562 switch (i->dType) { in expr() 572 switch (i->dType) { in expr() 582 switch (i->dType) { in expr() [all …]
|
D | nv50_ir_emit_gk110.cpp | 770 assert(i->dType == TYPE_S32 || i->dType == TYPE_U32); in emitISAD() 774 if (i->dType == TYPE_S32) in emitISAD() 915 if (i->dType == TYPE_S32) in emitEXTBF() 926 if (i->dType == TYPE_S32) in emitBFIND() 947 if (isSignedType(i->dType)) in emitShift() 1008 switch (i->dType) { in emitMINMAX() 1030 if (i->dType == TYPE_S32) in emitMINMAX() 1051 const bool f2f = isFloatType(i->dType) && isFloatType(i->sType); in emitCVT() 1052 const bool f2i = !isFloatType(i->dType) && isFloatType(i->sType); in emitCVT() 1053 const bool i2f = isFloatType(i->dType) && !isFloatType(i->sType); in emitCVT() [all …]
|
D | nv50_ir_emit_nvc0.cpp | 653 if (i->dType == TYPE_S32) in emitUMUL() 766 if (isSignedType(i->dType)) in emitIMAD() 843 assert(i->dType == TYPE_S32 || i->dType == TYPE_U32); in emitISAD() 848 if (i->dType == TYPE_S32) in emitISAD() 934 if (i->dType == TYPE_S32) in emitEXTBF() 945 if (i->dType == TYPE_S32) in emitBFIND() 966 | (isSignedType(i->dType) ? 0x20 : 0x00)); in emitShift() 1029 if (!isFloatType(i->dType)) { in emitMINMAX() 1030 op |= isSignedType(i->dType) ? 0x23 : 0x03; in emitMINMAX() 1033 if (i->dType == TYPE_F64) in emitMINMAX() [all …]
|
D | nv50_ir_target_nv50.cpp | 341 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()
|
D | nv50_ir_emit_nv50.cpp | 634 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 …]
|
D | nv50_ir_target_gm107.cpp | 108 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()
|
D | nv50_ir_lowering_nv50.cpp | 310 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 …]
|
D | nv50_ir_lowering_nvc0.cpp | 69 switch (i->dType) { in handleDIV() 78 bld.mkClobber(FILE_PREDICATE, (i->dType == TYPE_S32) ? 0xf : 0x3, 0); in handleDIV() 89 assert(i->dType == TYPE_F64); in handleRCPRSQ() 203 DataType type = isSignedIntType(lo->dType) ? TYPE_S32 : TYPE_U32; in handleShift() 234 lo->dType = TYPE_U32; in handleShift() 300 if (i->dType == TYPE_F64) in visit() 754 if (typeSizeof(i->sType) == 8 || typeSizeof(i->dType) == 8) { in visit() 1427 stVal = bld.mkOp2v(op, atom->dType, bld.getSSA(), ld->getDef(0), in handleSharedATOMNVE4() 1520 bld.mkOp2(op, atom->dType, bld.getSSA(), ld->getDef(0), in handleSharedATOM() 2117 su->dType = typeOfSize(width / 8); in convertSurfaceFormat() [all …]
|
D | nv50_ir.cpp | 588 dType = sType = TYPE_F32; in Instruction() 599 dType = sType = ty; in Instruction() 738 i = new_Instruction(pol.context(), op, dType); in clone() 1049 cmp->dType = dType; in clone()
|
D | nv50_ir_target.cpp | 395 if ((typeSizeof(i->sType) == 8 || typeSizeof(i->dType) == 8) && in emitBinary() 396 (isFloatType(i->sType) || isFloatType(i->dType))) in emitBinary()
|
D | nv50_ir_print.cpp | 640 PRINT("%s%s", dnz ? "dnz " : (ftz ? "ftz " : ""), DataTypeStr[dType]); in print() 661 if (sType != dType) in print()
|
D | nv50_ir.h | 832 inline void setType(DataType type) { dType = sType = type; } in setType() 836 dType = dtype; in setType() 867 DataType dType; // destination or defining type variable
|
D | nv50_ir_lowering_gm107.cpp | 73 if (typeSizeof(i->dType) != 4) in handleLOAD()
|
D | nv50_ir_ra.cpp | 2003 cst = new_Instruction(func, OP_CONSTRAINT, i->dType); in addConstraint() 2269 for (size = typeSizeof(i->dType), s = 1; size > 0; ++s) { in visit() 2277 if (i->src(0).isIndirect(0) && typeSizeof(i->dType) >= 8) in visit() 2279 if (i->src(0).isIndirect(1) && typeSizeof(i->dType) >= 8) in visit()
|
D | nv50_ir_build_util.cpp | 567 switch (i->dType) { in split64BitOpPostRA()
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cSeparateShaderObjsTests.cpp | 1216 … 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/ |
D | vktSpvAsmComputeShaderCase.cpp | 386 VkImageUsageFlags getMatchingComputeImageUsageFlags (VkDescriptorType dType) in getMatchingComputeImageUsageFlags() argument 388 switch (dType) in getMatchingComputeImageUsageFlags()
|
D | vktSpvAsmGraphicsShaderTestUtil.hpp | 252 VkBufferUsageFlagBits getMatchingBufferUsageFlagBit (VkDescriptorType dType);
|
D | vktSpvAsmGraphicsShaderTestUtil.cpp | 188 VkBufferUsageFlagBits getMatchingBufferUsageFlagBit (VkDescriptorType dType) in getMatchingBufferUsageFlagBit() argument 190 switch (dType) in getMatchingBufferUsageFlagBit() 202 VkImageUsageFlags getMatchingImageUsageFlags (VkDescriptorType dType) in getMatchingImageUsageFlags() argument 204 switch (dType) in getMatchingImageUsageFlags()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 397 void CheckFunctionPointerDecl(QualType dType, NamedDecl *ND);
|
D | RewriteModernObjC.cpp | 486 void CheckFunctionPointerDecl(QualType dType, NamedDecl *ND);
|