Home
last modified time | relevance | path

Searched refs:operandType (Results 1 – 25 of 29) sorted by relevance

12

/external/deqp/modules/gles31/functional/
Des31fShaderAtomicOpTests.cpp68 …xt& context, const char* name, const char* funcName, AtomicOperandType operandType, DataType type,…
96 …xt& context, const char* name, const char* funcName, AtomicOperandType operandType, DataType type,… in ShaderAtomicOpCase() argument
99 , m_operandType (operandType) in ShaderAtomicOpCase()
258 …ShaderAtomicAddCase (Context& context, const char* name, AtomicOperandType operandType, DataType t… in ShaderAtomicAddCase() argument
259 : ShaderAtomicOpCase(context, name, "atomicAdd", operandType, type, precision, UVec3(3,2,1)) in ShaderAtomicAddCase()
412 …ShaderAtomicMinCase (Context& context, const char* name, AtomicOperandType operandType, DataType t… in ShaderAtomicMinCase() argument
413 : ShaderAtomicOpCase(context, name, "atomicMin", operandType, type, precision, UVec3(3,2,1)) in ShaderAtomicMinCase()
493 …ShaderAtomicMaxCase (Context& context, const char* name, AtomicOperandType operandType, DataType t… in ShaderAtomicMaxCase() argument
494 : ShaderAtomicOpCase(context, name, "atomicMax", operandType, type, precision, UVec3(3,2,1)) in ShaderAtomicMaxCase()
575 …ShaderAtomicAndCase (Context& context, const char* name, AtomicOperandType operandType, DataType t… in ShaderAtomicAndCase() argument
[all …]
Des31fShaderAtomicOpTests.hpp47 ShaderAtomicOpTests (Context& context, const char* name, AtomicOperandType operandType);
/external/skqp/src/sksl/
DSkSLSPIRVCodeGenerator.cpp899 const Type& operandType = c.fArguments[0]->fType; in writeSpecialIntrinsic() local
901 if (is_float(fContext, operandType)) { in writeSpecialIntrinsic()
903 } else if (is_signed(fContext, operandType)) { in writeSpecialIntrinsic()
905 } else if (is_unsigned(fContext, operandType)) { in writeSpecialIntrinsic()
912 this->writeWord(this->getType(operandType), out); in writeSpecialIntrinsic()
1834 const Type& operandType, SpvId lhs, in writeBinaryOperation() argument
1838 if (is_float(fContext, operandType)) { in writeBinaryOperation()
1840 } else if (is_signed(fContext, operandType)) { in writeBinaryOperation()
1842 } else if (is_unsigned(fContext, operandType)) { in writeBinaryOperation()
1844 } else if (operandType == *fContext.fBool_Type) { in writeBinaryOperation()
[all …]
DSkSLSPIRVCodeGenerator.h212 SpvId foldToBool(SpvId id, const Type& operandType, SpvOp op, OutputStream& out);
214 SpvId writeMatrixComparison(const Type& operandType, SpvId lhs, SpvId rhs, SpvOp_ floatOperator,
218 SpvId writeComponentwiseMatrixBinary(const Type& operandType, SpvId lhs, SpvId rhs,
222 SpvId writeBinaryOperation(const Type& resultType, const Type& operandType, SpvId lhs,
/external/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp1018 const Type& operandType = arguments[0]->type(); in writeSpecialIntrinsic() local
1020 if (is_float(fContext, operandType)) { in writeSpecialIntrinsic()
1022 } else if (is_signed(fContext, operandType)) { in writeSpecialIntrinsic()
1024 } else if (is_unsigned(fContext, operandType)) { in writeSpecialIntrinsic()
1031 this->writeWord(this->getType(operandType), out); in writeSpecialIntrinsic()
2198 const Type& operandType, SpvId lhs, in writeBinaryOperation() argument
2202 if (is_float(fContext, operandType)) { in writeBinaryOperation()
2204 } else if (is_signed(fContext, operandType)) { in writeBinaryOperation()
2206 } else if (is_unsigned(fContext, operandType)) { in writeBinaryOperation()
2208 } else if (is_bool(fContext, operandType)) { in writeBinaryOperation()
[all …]
DSkSLSPIRVCodeGenerator.h322 SpvId foldToBool(SpvId id, const Type& operandType, SpvOp op, OutputStream& out);
324 SpvId writeMatrixComparison(const Type& operandType, SpvId lhs, SpvId rhs, SpvOp_ floatOperator,
340 SpvId writeComponentwiseMatrixBinary(const Type& operandType, SpvId lhs, SpvId rhs,
344 SpvId writeBinaryOperation(const Type& resultType, const Type& operandType, SpvId lhs,
/external/llvm-project/mlir/test/lib/Dialect/Test/
DTestDialect.cpp333 parseCustomDirectiveResults(OpAsmParser &parser, Type &operandType, in parseCustomDirectiveResults() argument
339 if (parser.parseType(operandType)) in parseCustomDirectiveResults()
351 parseCustomDirectiveWithTypeRefs(OpAsmParser &parser, Type operandType, in parseCustomDirectiveWithTypeRefs() argument
363 if (operandType != operandType2 || optOperandType != optOperandType2 || in parseCustomDirectiveWithTypeRefs()
372 SmallVectorImpl<OpAsmParser::OperandType> &varOperands, Type &operandType, in parseCustomDirectiveOperandsAndTypes() argument
375 parseCustomDirectiveResults(parser, operandType, optOperandType, in parseCustomDirectiveOperandsAndTypes()
435 Type operandType, Type optOperandType, in printCustomDirectiveResults() argument
437 printer << " : " << operandType; in printCustomDirectiveResults()
443 Operation *op, Type operandType, in printCustomDirectiveWithTypeRefs() argument
447 printCustomDirectiveResults(printer, op, operandType, optOperandType, in printCustomDirectiveWithTypeRefs()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/
Dlhlo_ops.cc123 Type operandType = std::get<0>(it.value()); in Verify() local
125 if (operandType != resultType) in Verify()
127 << it.index() << " (type: " << operandType << ") and result #" in Verify()
Dhlo_ops.cc594 auto operandType = op.getOperand().getType().cast<TupleType>(); in Verify() local
595 if (indexVal >= operandType.size()) { in Verify()
598 indexVal, operandType.size())); in Verify()
601 auto expectedType = operandType.getType(indexVal); in Verify()
708 auto operandType = op.operand().getType().cast<RankedTensorType>(); in Verify() local
709 auto operandRank = operandType.getRank(); in Verify()
722 auto operandShape = operandType.getShape(); in Verify()
742 auto operandType = op.operand().getType().dyn_cast<RankedTensorType>(); in Verify() local
743 if (!operandType) { in Verify()
749 auto operandRank = operandType.getRank(); in Verify()
[all …]
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/
DSPIRVOCLOps.td28 Type operandType, list<OpTrait> traits = []> :
32 SPV_ScalarOrVectorOf<operandType>:$operand
54 Type operandType, list<OpTrait> traits = []> :
58 SPV_ScalarOrVectorOf<operandType>:$lhs,
59 SPV_ScalarOrVectorOf<operandType>:$rhs
DSPIRVGLSLOps.td29 Type operandType, list<OpTrait> traits = []> :
33 SPV_ScalarOrVectorOf<operandType>:$operand
55 Type operandType, list<OpTrait> traits = []> :
59 SPV_ScalarOrVectorOf<operandType>:$lhs,
60 SPV_ScalarOrVectorOf<operandType>:$rhs
DSPIRVCastOps.td20 class SPV_CastOp<string mnemonic, Type resultType, Type operandType,
26 SPV_ScalarOrVectorOrCoopMatrixOf<operandType>:$operand
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c249 unsigned operandType; member
454 unsigned opcodeType, unsigned operandType,
578 unsigned operandType, unsigned index) in check_register_index() argument
582 switch (operandType) { in check_register_index()
667 operandType, index); in check_register_index()
1043 operand.operandType = VGPU10_OPERAND_TYPE_NULL; in emit_null_dst_register()
1105 if (operand0.operandType == VGPU10_OPERAND_TYPE_IMMEDIATE32 || in setup_operand0_indexing()
1106 operand0.operandType == VGPU10_OPERAND_TYPE_INPUT_PRIMITIVEID || in setup_operand0_indexing()
1107 operand0.operandType == VGPU10_OPERAND_TYPE_INPUT_GS_INSTANCE_ID || in setup_operand0_indexing()
1108 operand0.operandType == VGPU10_OPERAND_TYPE_INPUT_THREAD_ID || in setup_operand0_indexing()
[all …]
/external/llvm-project/mlir/examples/toy/Ch5/mlir/
DShapeInferencePass.cpp95 return llvm::all_of(op->getOperandTypes(), [](Type operandType) { in allOperandsInferred() argument
96 return operandType.isa<RankedTensorType>(); in allOperandsInferred()
/external/llvm-project/mlir/examples/toy/Ch4/mlir/
DShapeInferencePass.cpp95 return llvm::all_of(op->getOperandTypes(), [](Type operandType) { in allOperandsInferred() argument
96 return operandType.isa<RankedTensorType>(); in allOperandsInferred()
/external/llvm-project/mlir/examples/toy/Ch7/mlir/
DShapeInferencePass.cpp95 return llvm::all_of(op->getOperandTypes(), [](Type operandType) { in allOperandsInferred() argument
96 return operandType.isa<RankedTensorType>(); in allOperandsInferred()
/external/llvm-project/mlir/examples/toy/Ch6/mlir/
DShapeInferencePass.cpp95 return llvm::all_of(op->getOperandTypes(), [](Type operandType) { in allOperandsInferred() argument
96 return operandType.isa<RankedTensorType>(); in allOperandsInferred()
/external/llvm-project/mlir/lib/Dialect/Async/IR/
DAsync.cpp330 static ParseResult parseAwaitResultType(OpAsmParser &parser, Type &operandType, in parseAwaitResultType() argument
332 if (parser.parseType(operandType)) in parseAwaitResultType()
336 if (auto valueType = operandType.dyn_cast<ValueType>()) in parseAwaitResultType()
343 Type operandType, Type resultType) { in printAwaitResultType() argument
344 p << operandType; in printAwaitResultType()
/external/angle/src/compiler/translator/
DOutputSPIRV.cpp328 const TType &operandType,
2677 const TType &operandType = operand->getType(); in createIncrementDecrement() local
2678 const TBasicType basicType = operandType.getBasicType(); in createIncrementDecrement()
2705 spirv::IdRef value = accessChainLoad(&mNodeData.back(), operandType, nullptr); in createIncrementDecrement()
2707 spirv::IdRef result = mBuilder.getNewId(mBuilder.getDecorations(operandType)); in createIncrementDecrement()
2713 accessChainStore(&mNodeData.back(), result, operandType); in createIncrementDecrement()
2729 const TType &operandType = operand->getType(); in createCompare() local
2732 const SpirvDecorations operandDecorations = mBuilder.getDecorations(operandType); in createCompare()
2754 createCompareImpl(op, operandType, resultTypeId, parameters[0], parameters[1], in createCompare()
2800 const TType &operandType = node->getChildNode(0)->getAsTyped()->getType(); in createAtomicBuiltIn() local
[all …]
/external/llvm-project/mlir/lib/Conversion/StandardToSPIRV/
DConvertStandardToSPIRV.cpp769 Type operandType = cmpIOp.lhs().getType(); in matchAndRewrite() local
770 if (!isBoolScalarOrVector(operandType)) in matchAndRewrite()
795 Type operandType = cmpIOp.lhs().getType(); in matchAndRewrite() local
796 if (isBoolScalarOrVector(operandType)) in matchAndRewrite()
803 operandType != this->typeConverter.convertType(operandType)) { \ in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp2495 auto operandType = in matchAndRewrite() local
2498 if (!operandType) in matchAndRewrite()
2506 if (!operandType.isArrayTy()) { in matchAndRewrite()
2508 if (operandType.isVectorTy()) { in matchAndRewrite()
2510 loc, operandType, in matchAndRewrite()
2513 one = rewriter.create<LLVM::ConstantOp>(loc, operandType, floatOne); in matchAndRewrite()
2516 rewriter.replaceOpWithNewOp<LLVM::FDivOp>(op, operandType, one, sqrt); in matchAndRewrite()
2641 Type operandType = originalOperand.getType(); in extractPointersAndOffset() local
2642 if (operandType.isa<MemRefType>()) { in extractPointersAndOffset()
2652 operandType.cast<UnrankedMemRefType>().getMemorySpace(); in extractPointersAndOffset()
[all …]
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVOps.cpp316 Type operandType = op->getOperand(0).getType(); in verifyCastOp() local
320 if (auto vectorType = operandType.dyn_cast<VectorType>()) { in verifyCastOp()
321 operandType = vectorType.getElementType(); in verifyCastOp()
326 operandType.dyn_cast<spirv::CooperativeMatrixNVType>()) { in verifyCastOp()
327 operandType = coopMatrixType.getElementType(); in verifyCastOp()
332 auto operandTypeBitWidth = operandType.getIntOrFloatBitWidth(); in verifyCastOp()
341 << operandType << " and " << resultType; in verifyCastOp()
350 << operandType << " and " << resultType; in verifyCastOp()
816 static Type getUnaryOpResultType(Builder &builder, Type operandType) { in getUnaryOpResultType() argument
818 if (auto vecType = operandType.dyn_cast<VectorType>()) { in getUnaryOpResultType()
[all …]
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DFusionOnTensors.cpp318 RankedTensorType operandType = reshapeOp.getSrcType(); in isTensorReshapeOpFoldableByLinearization() local
326 returnType.getRank() < operandType.getRank()) || in isTensorReshapeOpFoldableByLinearization()
328 operandType.getRank() < returnType.getRank())) in isTensorReshapeOpFoldableByLinearization()
/external/mesa3d/src/gallium/drivers/svga/include/
DVGPU10ShaderTokens.h713 unsigned int operandType : 8; /* VGPU10_OPERAND_TYPE */ member
/external/llvm-project/mlir/tools/mlir-tblgen/
DOpFormatGen.cpp1355 TypeResolution &operandType = operandTypes[i]; in genParserTypeResolution() local
1356 emitTypeResolver(operandType, operand.name); in genParserTypeResolution()
1362 if (auto *resolverVar = operandType.getVariable()) { in genParserTypeResolution()
1363 if (!resolverVar->isVariadic() && !operandType.getVarTransformer()) { in genParserTypeResolution()
1368 verifyOperandAndTypeSize = !operandType.getBuilderIdx(); in genParserTypeResolution()

12