Lines Matching defs:operand

205     spv::Id createUnaryOperation(glslang::TOperator op, OpDecorations&, spv::Id typeId, spv::Id operand,
208 spv::Id createUnaryMatrixOperation(spv::Op op, OpDecorations&, spv::Id typeId, spv::Id operand,
210 spv::Id createConversion(glslang::TOperator op, OpDecorations&, spv::Id destTypeId, spv::Id operand,
212 spv::Id createIntWidthConversion(glslang::TOperator op, spv::Id operand, int vectorSize, spv::Id destType);
2041 taskPayloadID = id; // cache the taskPayloadID to be used it as operand for OpEmitMeshTasksEXT
2336 // binary operations. The right operand must be short circuited if it has
2340 // otherwise, we need to do dynamic short circuiting on the right operand
2353 // get right operand
2358 // get left operand
2529 // Quite special; won't want to evaluate the operand.
2584 // Start by evaluating the operand
2603 spv::Id operand = spv::NoResult;
2651 operand = builder.accessChainGetLValue(); // Special case l-value operands
2656 operand = spv::NoResult;
2658 operand = accessChainLoad(node->getOperand()->getType());
2667 result = createConversion(node->getOp(), decorations, resultType(), operand,
2672 result = createUnaryOperation(node->getOp(), decorations, resultType(), operand,
2680 spv::IdImmediate idImmOp = {true, operand};
2697 spirvInst.id, {operand});
2748 convertGlslangToSpvType(node->getType()), operand, one,
2761 builder.setAccessChainRValue(operand);
2767 builder.createNoResultOp(spv::OpEmitStreamVertex, operand);
2770 builder.createNoResultOp(spv::OpEndStreamPrimitive, operand);
2773 builder.createNoResultOp(spv::OpRayQueryTerminateKHR, operand);
2776 builder.createNoResultOp(spv::OpRayQueryConfirmIntersectionKHR, operand);
2779 builder.createNoResultOp(spv::OpReorderThreadWithHitObjectNV, operand);
2782 builder.createNoResultOp(spv::OpHitObjectRecordEmptyNV, operand);
2787 return true; // pick up operand as placeholder result
3714 // If the optional operand is present, initialize matrixOperands to that value.
3812 return true; // pick up a child as a placeholder operand
3868 // return true if a single operand to ? : is okay for OpSelect
6018 // as the first source operand, is required by SPIR-V atomic operations.
6026 // the type of the value operand.
6242 //Member 1 must be a vector of integer type, whose Signedness operand is 0(anchor),
6243 //Member 2 must be a vector of integer type, whose Signedness operand is 0(offset),
6244 //Member 3 must be a vector of integer type, whose Signedness operand is 0(mask),
6245 //Member 4 must be a scalar of integer type, whose Signedness operand is 0(lod),
6246 //Member 5 must be a scalar of integer type, whose Signedness operand is 0(granularity).
6740 // The result type of all of them is the same type as the (a) matrix operand.
6791 spv::Id operand, glslang::TBasicType typeProxy, const spv::Builder::AccessChain::CoherentFlags &lvalueCoherentFlags)
6804 return createUnaryMatrixOperation(unaryOp, decorations, typeId, operand, typeProxy);
7078 operands.push_back(operand);
7135 operands.push_back(operand);
7174 operands.push_back(operand);
7311 args.push_back(operand);
7314 id = builder.createUnaryOp(unaryOp, typeId, operand);
7324 spv::Id operand, glslang::TBasicType /* typeProxy */)
7334 int numCols = builder.getNumColumns(operand);
7335 int numRows = builder.getNumRows(operand);
7336 spv::Id srcVecType = builder.makeVectorType(builder.getScalarTypeId(builder.getTypeId(operand)), numRows);
7344 spv::Id srcVec = builder.createCompositeExtract(operand, srcVecType, indexes);
7362 spv::Id TGlslangToSpvTraverser::createIntWidthConversion(glslang::TOperator op, spv::Id operand, int vectorSize, spv::Id destType)
7439 return builder.createUnaryOp(convOp, type, operand);
7443 spv::Id operand, glslang::TBasicType typeProxy)
7456 return builder.createBinOp(spv::OpINotEqual, destType, operand, zero);
7460 return builder.createBinOp(spv::OpFUnordNotEqual, destType, operand, zero);
7560 return builder.createBinOp(spv::OpIAdd, destType, operand, zero);
7585 return builder.createBinOp(spv::OpINotEqual, destType, operand, zero);
7590 return builder.createBinOp(spv::OpINotEqual, destType, operand, zero);
7595 return builder.createBinOp(spv::OpINotEqual, destType, operand, zero);
7599 return builder.createBinOp(spv::OpFUnordNotEqual, destType, operand, zero);
7603 return builder.createBinOp(spv::OpFUnordNotEqual, destType, operand, zero);
7642 return createUnaryMatrixOperation(convOp, decorations, destType, operand, typeProxy);
7700 operand = createIntWidthConversion(op, operand, vectorSize, destType);
7744 return builder.createBinOp(spv::OpIAdd, destType, operand, zero);
7771 result = builder.createTriOp(convOp, destType, operand, one, zero);
7773 result = builder.createUnaryOp(convOp, destType, operand);
8243 spv::IdImmediate operand = { true, operands[1] };
8244 spvGroupOperands.push_back(operand);
8251 spv::IdImmediate operand = { true, operands[1] };
8252 spvGroupOperands.push_back(operand);
8579 // Every operation begins with the Execution Scope operand.
8583 // Next, for all operations that use a Group Operation, push that as an operand.
8591 spv::IdImmediate operand = { true, *opIt };
8592 spvGroupOperands.push_back(operand);
8800 // Using 16-bit exp operand, enable extension SPV_AMD_gpu_shader_int16
10021 // emit left operand
10028 // accumulate left operand's phi information
10044 // emit right operand as the "then" part of the "if"
10049 // accumulate left operand's phi information
10100 // return 9; // don't include opaque function parameters in OpEntryPoint global's operand list