/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_emit_gv100.cpp | 218 if (typeSizeof(insn->sType) != 8 && typeSizeof(insn->dType) != 8) in emitF2F() 225 emitField(75, 2, util_logbase2(typeSizeof(insn->dType))); in emitF2F() 232 if (typeSizeof(insn->sType) != 8 && typeSizeof(insn->dType) != 8) in emitF2I() 240 emitField(75, 2, util_logbase2(typeSizeof(insn->dType))); in emitF2I() 241 emitField(72, 1, isSignedType(insn->dType)); in emitF2I() 269 if (typeSizeof(insn->sType) != 8 && typeSizeof(insn->dType) != 8) in emitFRND() 276 emitField(75, 2, util_logbase2(typeSizeof(insn->dType))); in emitFRND() 282 if (typeSizeof(insn->sType) != 8 && typeSizeof(insn->dType) != 8) in emitI2F() 288 emitField(75, 2, util_logbase2(typeSizeof(insn->dType))); in emitI2F() 652 emitField(73, 1, isSignedType(insn->dType)); in emitFLO() [all …]
|
D | nv50_ir_lowering_gv100.cpp | 65 bld.mkOp2(OP_MERGE, i->dType, i->getDef(0), def[0], def[1]); in handleIADD64() 101 bld.mkCmp(OP_SET, (i->op == OP_MIN) ? CC_LT : CC_GT, i->dType, pred, in handleIMNMX() 103 bld.mkOp3(OP_SELP, i->dType, i->getDef(0), i->getSrc(0), i->getSrc(1), pred); in handleIMNMX() 113 bld.mkOp3(OP_MAD, i->dType, i->getDef(0), i->getSrc(0), i->getSrc(1), in handleIMUL() 178 if (isFloatType(i->dType)) { in handleSET() 227 bld.mkOp3(OP_SHF, i->dType, i->getDef(0), src0, src1, src2)->subOp = subOp; in handleShift() 235 bld.mkOp2(OP_ADD, i->dType, i->getDef(0), i->getSrc(0), i->getSrc(1)); in handleSUB() 248 if (i->sType == TYPE_F32 && i->dType != TYPE_F16 && in visit() 280 if (!isFloatType(i->dType)) in visit() 284 if (!isFloatType(i->dType) && i->subOp == NV50_IR_SUBOP_MUL_HIGH) in visit() [all …]
|
D | nv50_ir_emit_gm107.cpp | 831 emitField(0x08, 2, util_logbase2(typeSizeof(insn->dType))); in emitF2F() 871 emitField(0x0c, 1, isSignedType(insn->dType)); in emitF2I() 873 emitField(0x08, 2, util_logbase2(typeSizeof(insn->dType))); in emitF2I() 915 emitField(0x08, 2, util_logbase2(typeSizeof(insn->dType))); in emitI2F() 946 emitField(0x0c, 1, isSignedType(insn->dType)); in emitI2I() 948 emitField(0x08, 2, util_logbase2(typeSizeof(insn->dType))); in emitI2I() 1217 emitField(0x34, 1, insn->dType == TYPE_F32); in emitDSET() 1605 emitField(0x34, 1, insn->dType == TYPE_F32); in emitFSET() 1835 emitField(0x28, 1, isSignedType(insn->dType)); in emitIMUL() 1840 emitField(0x36, 1, isSignedType(insn->dType)); in emitIMUL() [all …]
|
D | nv50_ir_lowering_helper.cpp | 61 DataType dTy = insn->dType; in handleABS() 85 DataType dTy = insn->dType; in handleCVT() 115 DataType dTy = insn->dType; in handleMAXMIN() 151 DataType dTy = insn->dType; in handleMOV() 179 if (typeSizeof(insn->dType) != 8 || isFloatType(insn->dType)) in handleNEG() 193 DataType dTy = insn->dType; in handleSAT() 210 DataType dTy = insn->dType; in handleSLCT() 244 DataType dTy = insn->dType; in handleLogOp()
|
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() 323 if (insn->op == OP_ADD && !isFloatType(insn->dType)) { in visit() 331 } else if (insn->op == OP_SUB && !isFloatType(insn->dType)) { in visit() 556 DataType type = i->dType; in expr() 577 if (i->dnz && i->dType == TYPE_F32) { in expr() 583 switch (i->dType) { in expr() 607 switch (i->dType) { in expr() 617 switch (i->dType) { in expr() 627 switch (i->dType) { in expr() [all …]
|
D | nv50_ir_from_nir.cpp | 1627 const DataType dType = getDType(insn); in visit() local 1631 loadFrom(FILE_MEMORY_CONST, 0, dType, newDefs[i], 16 * coffset, i, indirect); in visit() 1638 DataType dType = getSType(insn->src[0], false, false); in visit() local 1670 storeTo(insn, FILE_SHADER_OUTPUT, OP_EXPORT, dType, src, idx, i + offset, indirect); in visit() 1711 const DataType dType = getDType(insn); in visit() local 1742 Symbol *sym = mkSymbol(input ? FILE_SHADER_INPUT : FILE_SHADER_OUTPUT, 0, dType, address); in visit() 1745 if (typeSizeof(dType) == 8) { in visit() 1758 … Symbol *sym1 = mkSymbol(input ? FILE_SHADER_INPUT : FILE_SHADER_OUTPUT, 0, dType, address + 4); in visit() 1767 mkOp2(OP_MERGE, dType, newDefs[i], lo, hi); in visit() 1769 Instruction *interp = mkOp1(nvirOp, dType, newDefs[i], sym); in visit() [all …]
|
D | nv50_ir_target_gv100.cpp | 209 if (isFloatType(i->dType)) in getOpInfo() 213 if (isFloatType(i->dType)) { in getOpInfo() 214 if (i->dType == TYPE_F32) in getOpInfo() 252 } else if (isFloatType(i->dType)) { in getOpInfo() 254 if (i->sType == i->dType) in getOpInfo() 281 if (isFloatType(i->dType)) { in getOpInfo() 282 if (i->dType == TYPE_F32) in getOpInfo() 287 if (typeSizeof(i->dType) != 8) in getOpInfo() 308 if (isFloatType(i->dType)) { in getOpInfo() 309 if (i->dType == TYPE_F32) in getOpInfo() [all …]
|
D | nv50_ir_target_nvc0.cpp | 482 if (!isFloatType(insn->dType)) { in isModSupported() 542 if (insn->dType == TYPE_U32) in isSatSupported() 552 return insn->dType == TYPE_F32; in isSatSupported() 573 if (i->dType == TYPE_F64 || i->sType == TYPE_F64) in getLatency() 588 if (i->op == OP_MUL && i->dType != TYPE_F32) in getLatency() 615 if (i->dType == TYPE_F32) { in getThroughput() 642 if (i->dType == TYPE_U32 || i->dType == TYPE_S32) { in getThroughput() 665 if (i->dType == TYPE_F64) { in getThroughput() 705 return (a->dType == TYPE_F32 || a->op == OP_ADD || in canDualIssue() 706 b->dType == TYPE_F32 || b->op == OP_ADD); in canDualIssue() [all …]
|
D | nv50_ir_emit_gk110.cpp | 774 assert(i->dType == TYPE_S32 || i->dType == TYPE_U32); in emitISAD() 778 if (i->dType == TYPE_S32) in emitISAD() 919 if (i->dType == TYPE_S32) in emitEXTBF() 930 if (i->dType == TYPE_S32) in emitBFIND() 951 if (isSignedType(i->dType)) in emitShift() 1012 switch (i->dType) { in emitMINMAX() 1034 if (i->dType == TYPE_S32) in emitMINMAX() 1055 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() [all …]
|
D | nv50_ir_emit_nvc0.cpp | 657 if (i->dType == TYPE_S32) in emitUMUL() 770 if (isSignedType(i->dType)) in emitIMAD() 847 assert(i->dType == TYPE_S32 || i->dType == TYPE_U32); in emitISAD() 852 if (i->dType == TYPE_S32) in emitISAD() 940 if (i->dType == TYPE_S32) in emitEXTBF() 951 if (i->dType == TYPE_S32) in emitBFIND() 972 | (isSignedType(i->dType) ? 0x20 : 0x00)); in emitShift() 1035 if (!isFloatType(i->dType)) { in emitMINMAX() 1036 op |= isSignedType(i->dType) ? 0x23 : 0x03; in emitMINMAX() 1039 if (i->dType == TYPE_F64) in emitMINMAX() [all …]
|
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_nv50.cpp | 345 if ((i->op == OP_MUL || i->op == OP_MAD) && !isFloatType(i->dType)) { in insnCanLoad() 355 ldSize = typeSizeof(ld->dType); in insnCanLoad() 460 if (!isFloatType(insn->dType)) { in isModSupported() 509 if (insn->dType != TYPE_F32) in isSatSupported() 542 if (i->dType == TYPE_F32) { in getThroughput() 556 if (i->dType == TYPE_U32 || i->dType == TYPE_S32) { in getThroughput() 559 if (i->dType == TYPE_F64) { in getThroughput()
|
D | nv50_ir_target_gm107.cpp | 115 if (insn->dType == TYPE_F64 || insn->sType == TYPE_F64) in isBarrierRequired() 174 !isFloatType(insn->dType)) in isBarrierRequired() 241 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() 121 assert(i->dType == TYPE_F64); in handleRCPRSQ() 241 DataType type = isSignedIntType(lo->dType) ? TYPE_S32 : TYPE_U32; in handleShift() 272 lo->dType = TYPE_U32; in handleShift() 346 if (i->dType == TYPE_F64) in visit() 783 if (cvt->sType != cvt->dType) in replaceCvt() 863 if (typeSizeof(i->sType) == 8 || typeSizeof(i->dType) == 8) { in visit() 1525 stVal = bld.mkOp2v(op, atom->dType, bld.getSSA(), ld->getDef(0), in handleSharedATOMNVE4() 1618 bld.mkOp2(op, atom->dType, bld.getSSA(), ld->getDef(0), in handleSharedATOM() [all …]
|
D | nv50_ir.cpp | 599 dType = sType = TYPE_F32; in Instruction() 610 dType = sType = ty; in Instruction() 749 i = new_Instruction(pol.context(), op, dType); in clone() 1120 cmp->dType = dType; in clone()
|
D | nv50_ir_target.cpp | 383 if ((typeSizeof(i->sType) == 8 || typeSizeof(i->dType) == 8) && in emitBinary() 384 (isFloatType(i->sType) || isFloatType(i->dType))) in emitBinary()
|
D | nv50_ir.h | 885 inline void setType(DataType type) { dType = sType = type; } in setType() 889 dType = dtype; in setType() 920 DataType dType; // destination or defining type variable
|
D | nv50_ir_print.cpp | 703 PRINT("%s%s", dnz ? "dnz " : (ftz ? "ftz " : ""), DataTypeStr[dType]); in print() 724 if (sType != dType) in print()
|
D | nv50_ir_lowering_gm107.cpp | 73 if (typeSizeof(i->dType) != 4) in handleLOAD()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/main/ |
D | CommandDispatcher.c | 158 BYTE dType; in ParseHandleBuffer() local 179 (dType = (type & 0x7F)) < PARAMETER_FIRST_TYPE; in ParseHandleBuffer() 185 index = unmarshalArray[dType] | ((type & 0x80) ? NULL_FLAG : 0); in ParseHandleBuffer() 191 if(dType < HANDLE_FIRST_FLAG_TYPE) in ParseHandleBuffer() 194 NoFlagFunction *f = (NoFlagFunction *)unmarshalArray[dType]; in ParseHandleBuffer() 203 FlagFunction *f = unmarshalArray[dType]; in ParseHandleBuffer() 288 BYTE dType; // dispatch type in CommandDispatcher() 340 for(; (dType = (type & 0x7F)) <= PARAMETER_LAST_TYPE; type = *types++) in CommandDispatcher() 345 marshalIndex_t index = unmarshalArray[dType]; in CommandDispatcher() 351 if(dType < PARAMETER_FIRST_FLAG_TYPE) in CommandDispatcher() [all …]
|
/external/llvm-project/flang/test/Semantics/ |
D | spec-expr.f90 | 7 type dType type 9 end type dType 11 type(dType), parameter :: dConst = dType(3) 59 type :: dType type 62 end type dType 64 real, dimension(storage_size(dType(1, 2))) :: realArray
|
D | reshape.f90 | 39 type :: dType type 41 end type dType 42 type(dType), parameter :: array19(*) = [dType::dType(field=[1,2])]
|
/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 | 473 VkImageUsageFlags getMatchingComputeImageUsageFlags (VkDescriptorType dType) in getMatchingComputeImageUsageFlags() argument 475 switch (dType) in getMatchingComputeImageUsageFlags()
|