Home
last modified time | relevance | path

Searched refs:resultType (Results 1 – 25 of 210) sorted by relevance

123456789

/external/llvm-project/flang/lib/Parser/
Dbasic-parsers.h51 using resultType = A;
74 using resultType = A;
89 using resultType = A;
103 using resultType = typename A::resultType;
106 std::optional<resultType> Parse(ParseState &state) const { in Parse()
109 std::optional<resultType> result{parser_.Parse(state)}; in Parse()
131 using resultType = Success;
147 template <typename PA, typename = typename PA::resultType>
156 using resultType = Success;
180 using resultType = typename PA::resultType;
[all …]
Dtoken-parsers.h38 using resultType = const char *;
66 using resultType = Success; member
90 using resultType = Success; member
122 using resultType = Success;
221 using resultType = std::pair<char, bool /* was escaped */>; member
222 static std::optional<resultType> Parse(ParseState &state) { in Parse()
249 using resultType = std::string; member
272 using resultType = std::string; member
273 static std::optional<resultType> Parse(ParseState &state) { in Parse()
352 using resultType = CharBlock; member
[all …]
Dexpr-parsers.h22 return construct<Scalar<typename PA::resultType>>(p); // scalar-p in scalar()
26 return construct<Constant<typename PA::resultType>>(p); // constant-p in constant()
30 return construct<Integer<typename PA::resultType>>(p); // int-p in integer()
34 return construct<Logical<typename PA::resultType>>(p); // logical-p in logical()
38 return construct<DefaultChar<typename PA::resultType>>(p); // default-char-p in defaultChar()
101 return construct<LoopBounds<DoVariable, typename PA::resultType>>( in loopBounds()
/external/llvm-project/flang/lib/Lower/
DIntrinsicCall.cpp103 mlir::Type resultType,
163 mlir::Type resultType,
166 mlir::Type resultType,
176 genElementalCall(GeneratorType, llvm::StringRef name, mlir::Type resultType,
181 mlir::Type resultType,
184 mlir::Type resultType,
187 mlir::Type resultType,
583 getFunctionType(mlir::Type resultType, llvm::ArrayRef<mlir::Value> arguments, in getFunctionType() argument
588 return mlir::FunctionType::get(argumentTypes, resultType, in getFunctionType()
653 GeneratorType generator, llvm::StringRef name, mlir::Type resultType, in genElementalCall() argument
[all …]
/external/llvm-project/mlir/examples/toy/Ch3/mlir/
DDialect.cpp78 Type resultType = *op->result_type_begin(); in printBinaryOp() local
80 [=](Type type) { return type == resultType; })) { in printBinaryOp()
81 printer << resultType; in printBinaryOp()
133 auto resultType = op.getResult().getType().dyn_cast<mlir::RankedTensorType>(); in verify() local
134 if (!resultType) in verify()
140 if (attrType.getRank() != resultType.getRank()) { in verify()
144 << attrType.getRank() << " != " << resultType.getRank(); in verify()
149 if (attrType.getShape()[dim] != resultType.getShape()[dim]) { in verify()
153 << " != " << resultType.getShape()[dim]; in verify()
213 auto resultType = results.front(); in verify() local
[all …]
/external/llvm-project/mlir/examples/toy/Ch2/mlir/
DDialect.cpp78 Type resultType = *op->result_type_begin(); in printBinaryOp() local
80 [=](Type type) { return type == resultType; })) { in printBinaryOp()
81 printer << resultType; in printBinaryOp()
133 auto resultType = op.getResult().getType().dyn_cast<mlir::RankedTensorType>(); in verify() local
134 if (!resultType) in verify()
140 if (attrType.getRank() != resultType.getRank()) { in verify()
144 << attrType.getRank() << " != " << resultType.getRank(); in verify()
149 if (attrType.getShape()[dim] != resultType.getShape()[dim]) { in verify()
153 << " != " << resultType.getShape()[dim]; in verify()
213 auto resultType = results.front(); in verify() local
[all …]
/external/llvm-project/mlir/examples/toy/Ch6/mlir/
DDialect.cpp72 Type resultType, in materializeCallConversion()
74 return builder.create<CastOp>(conversionLoc, resultType, input); in materializeCallConversion()
134 Type resultType = *op->result_type_begin(); in printBinaryOp() local
136 [=](Type type) { return type == resultType; })) { in printBinaryOp()
137 printer << resultType; in printBinaryOp()
189 auto resultType = op.getResult().getType().dyn_cast<mlir::RankedTensorType>(); in verify() local
190 if (!resultType) in verify()
196 if (attrType.getRank() != resultType.getRank()) { in verify()
200 << attrType.getRank() << " != " << resultType.getRank(); in verify()
205 if (attrType.getShape()[dim] != resultType.getShape()[dim]) { in verify()
[all …]
/external/llvm-project/mlir/examples/toy/Ch5/mlir/
DDialect.cpp72 Type resultType, in materializeCallConversion()
74 return builder.create<CastOp>(conversionLoc, resultType, input); in materializeCallConversion()
134 Type resultType = *op->result_type_begin(); in printBinaryOp() local
136 [=](Type type) { return type == resultType; })) { in printBinaryOp()
137 printer << resultType; in printBinaryOp()
189 auto resultType = op.getResult().getType().dyn_cast<mlir::RankedTensorType>(); in verify() local
190 if (!resultType) in verify()
196 if (attrType.getRank() != resultType.getRank()) { in verify()
200 << attrType.getRank() << " != " << resultType.getRank(); in verify()
205 if (attrType.getShape()[dim] != resultType.getShape()[dim]) { in verify()
[all …]
/external/llvm-project/mlir/examples/toy/Ch4/mlir/
DDialect.cpp72 Type resultType, in materializeCallConversion()
74 return builder.create<CastOp>(conversionLoc, resultType, input); in materializeCallConversion()
134 Type resultType = *op->result_type_begin(); in printBinaryOp() local
136 [=](Type type) { return type == resultType; })) { in printBinaryOp()
137 printer << resultType; in printBinaryOp()
189 auto resultType = op.getResult().getType().dyn_cast<mlir::RankedTensorType>(); in verify() local
190 if (!resultType) in verify()
196 if (attrType.getRank() != resultType.getRank()) { in verify()
200 << attrType.getRank() << " != " << resultType.getRank(); in verify()
205 if (attrType.getShape()[dim] != resultType.getShape()[dim]) { in verify()
[all …]
/external/llvm-project/flang/lib/Evaluate/
Dintrinsics-library.cpp81 DynamicType resultType; member
363 [[maybe_unused]] DynamicType resultType) { in GetHostRuntimeMapHelper() argument
372 if (host::FortranType<HostT>{}.GetType() == resultType) { in GetHostRuntimeMapHelper()
380 static const HostRuntimeMap *GetHostRuntimeMapVersion(DynamicType resultType) { in GetHostRuntimeMapVersion() argument
381 if (resultType.category() == TypeCategory::Real) { in GetHostRuntimeMapVersion()
382 if (const auto *map{GetHostRuntimeMapHelper<float, version>(resultType)}) { in GetHostRuntimeMapVersion()
385 if (const auto *map{GetHostRuntimeMapHelper<double, version>(resultType)}) { in GetHostRuntimeMapVersion()
389 GetHostRuntimeMapHelper<long double, version>(resultType)}) { in GetHostRuntimeMapVersion()
393 if (resultType.category() == TypeCategory::Complex) { in GetHostRuntimeMapVersion()
395 resultType)}) { in GetHostRuntimeMapVersion()
[all …]
/external/llvm-project/mlir/examples/toy/Ch7/mlir/
DDialect.cpp73 Type resultType, in materializeCallConversion()
75 return builder.create<CastOp>(conversionLoc, resultType, input); in materializeCallConversion()
147 Type resultType = *op->result_type_begin(); in printBinaryOp() local
149 [=](Type type) { return type == resultType; })) { in printBinaryOp()
150 printer << resultType; in printBinaryOp()
211 auto resultType = type.dyn_cast<mlir::RankedTensorType>(); in verifyConstantForType() local
212 if (!resultType) in verifyConstantForType()
218 if (attrType.getRank() != resultType.getRank()) { in verifyConstantForType()
221 << attrType.getRank() << " != " << resultType.getRank(); in verifyConstantForType()
226 if (attrType.getShape()[dim] != resultType.getShape()[dim]) { in verifyConstantForType()
[all …]
/external/angle/src/common/apple/
DSoftLinking.h51 # define SOFT_LINK_FUNCTION_HEADER(framework, functionName, resultType, parameterDeclarations, \ argument
54 resultType functionName parameterDeclarations; \
56 extern resultType init##framework##functionName parameterDeclarations; \
57 extern resultType(*softLink##framework##functionName) parameterDeclarations; \
58 inline __attribute__((__always_inline__)) resultType functionName parameterDeclarations \
63 # define SOFT_LINK_FUNCTION_SOURCE(framework, functionName, resultType, parameterDeclarations, \ argument
65 resultType(*softLink##framework##functionName) parameterDeclarations = \
67 resultType init##framework##functionName parameterDeclarations \
72 (resultType(*) parameterDeclarations)dlsym(framework##Library(), #functionName); \
/external/llvm-project/flang/include/flang/Parser/
Duser-state.h110 using resultType = Success; member
115 using resultType = Statement<common::Indirection<LabelDoStmt>>; member
116 static std::optional<resultType> Parse(ParseState &);
120 using resultType = Statement<common::Indirection<EndDoStmt>>; member
121 static std::optional<resultType> Parse(ParseState &);
125 using resultType = Success; member
130 using resultType = Success; member
135 using resultType = Name; member
140 using resultType = DataComponentDefStmt; member
Dinstrumented-parser.h52 using resultType = typename PA::resultType;
56 std::optional<resultType> Parse(ParseState &state) const { in Parse()
64 std::optional<resultType> result{parser_.Parse(state)}; in Parse()
/external/skia/src/sksl/ir/
DSkSLBinaryExpression.cpp23 const Type& resultType) { in is_low_precision_matrix_vector_multiply() argument
24 return !resultType.highPrecision() && in is_low_precision_matrix_vector_multiply()
37 const Type& resultType) { in rewrite_matrix_vector_multiply() argument
101 const Type* resultType; in Convert() local
103 &leftType, &rightType, &resultType)) { in Convert()
137 return BinaryExpression::Make(context, std::move(left), op, std::move(right), resultType); in Convert()
147 const Type* resultType; in Make() local
149 &leftType, &rightType, &resultType)); in Make()
151 return BinaryExpression::Make(context, std::move(left), op, std::move(right), resultType); in Make()
158 const Type* resultType) { in Make() argument
[all …]
/external/llvm-project/mlir/lib/Conversion/GPUCommon/
DOpToFuncCallLowering.h58 LLVMType resultType = in matchAndRewrite() local
60 LLVMType funcType = getFunctionType(resultType, castedOperands); in matchAndRewrite()
67 op->getLoc(), resultType, rewriter.getSymbolRefAttr(funcOp), in matchAndRewrite()
70 if (resultType == operands.front().getType()) { in matchAndRewrite()
92 LLVM::LLVMType getFunctionType(LLVM::LLVMType resultType, in getFunctionType()
99 return LLVMType::getFunctionTy(resultType, operandTypes, in getFunctionType()
/external/skia/src/sksl/
DSkSLConstantFolder.cpp249 const Type& resultType) { in simplify_no_op_arithmetic() argument
253 return cast_expression(context, left, resultType); in simplify_no_op_arithmetic()
256 return cast_expression(context, right, resultType); in simplify_no_op_arithmetic()
262 return cast_expression(context, left, resultType); in simplify_no_op_arithmetic()
265 return cast_expression(context, right, resultType); in simplify_no_op_arithmetic()
268 return cast_expression(context, right, resultType); in simplify_no_op_arithmetic()
271 return cast_expression(context, left, resultType); in simplify_no_op_arithmetic()
277 return cast_expression(context, left, resultType); in simplify_no_op_arithmetic()
281 cast_expression(context, right, resultType)); in simplify_no_op_arithmetic()
287 return cast_expression(context, left, resultType); in simplify_no_op_arithmetic()
[all …]
/external/llvm-project/mlir/lib/Target/LLVMIR/
DConvertToNVVMIR.cpp38 static llvm::Intrinsic::ID getShflBflyIntrinsicId(llvm::Type *resultType, in getShflBflyIntrinsicId() argument
41 resultType = cast<llvm::StructType>(resultType)->getElementType(0); in getShflBflyIntrinsicId()
42 return resultType->isFloatTy() ? llvm::Intrinsic::nvvm_shfl_sync_bfly_f32p in getShflBflyIntrinsicId()
45 return resultType->isFloatTy() ? llvm::Intrinsic::nvvm_shfl_sync_bfly_f32 in getShflBflyIntrinsicId()
/external/llvm-project/mlir/test/lib/Dialect/Test/
DTestPatterns.cpp444 auto resultType = *op->result_type_begin(); in matchAndRewrite() local
445 auto illegalOp = rewriter.create<ILLegalOpF>(op->getLoc(), resultType); in matchAndRewrite()
446 auto legalOp = rewriter.create<LegalOpB>(op->getLoc(), resultType); in matchAndRewrite()
529 static Optional<Value> materializeCast(OpBuilder &builder, Type resultType, in materializeCast()
533 return builder.create<TestCastOp>(loc, resultType, inputs).getResult(); in materializeCast()
538 IntegerType resultType, in materializeOneToOneCast()
541 if (resultType.getWidth() == 42 && inputs.size() == 1) in materializeOneToOneCast()
542 return builder.create<TestCastOp>(loc, resultType, inputs).getResult(); in materializeOneToOneCast()
764 Type resultType = op.getType(); in matchAndRewrite() local
765 if (resultType.isa<FloatType>()) in matchAndRewrite()
[all …]
/external/icu/libicu/cts_headers/
Dutrie.h185 #define _UTRIE_GET_FROM_PAIR(trie, data, c, c2, result, resultType) UPRV_BLOCK_MACRO_BEGIN { \ argument
196 (result)=(resultType)((trie)->initialValue); \
209 #define _UTRIE_GET(trie, data, c32, result, resultType) UPRV_BLOCK_MACRO_BEGIN { \ argument
216 _UTRIE_GET_FROM_PAIR(trie, data, __lead16, c32, result, resultType); \
219 (result)=(resultType)((trie)->initialValue); \
224 #define _UTRIE_NEXT(trie, data, src, limit, c, c2, result, resultType) UPRV_BLOCK_MACRO_BEGIN { \ argument
231 _UTRIE_GET_FROM_PAIR((trie), data, (c), (c2), (result), resultType); \
240 #define _UTRIE_PREVIOUS(trie, data, start, src, c, c2, result, resultType) UPRV_BLOCK_MACRO_BEGIN {… argument
250 _UTRIE_GET_FROM_PAIR((trie), data, (c), (c2), (result), resultType); \
/external/icu/icu4c/source/common/
Dutrie.h185 #define _UTRIE_GET_FROM_PAIR(trie, data, c, c2, result, resultType) UPRV_BLOCK_MACRO_BEGIN { \ argument
196 (result)=(resultType)((trie)->initialValue); \
209 #define _UTRIE_GET(trie, data, c32, result, resultType) UPRV_BLOCK_MACRO_BEGIN { \ argument
216 _UTRIE_GET_FROM_PAIR(trie, data, __lead16, c32, result, resultType); \
219 (result)=(resultType)((trie)->initialValue); \
224 #define _UTRIE_NEXT(trie, data, src, limit, c, c2, result, resultType) UPRV_BLOCK_MACRO_BEGIN { \ argument
231 _UTRIE_GET_FROM_PAIR((trie), data, (c), (c2), (result), resultType); \
240 #define _UTRIE_PREVIOUS(trie, data, start, src, c, c2, result, resultType) UPRV_BLOCK_MACRO_BEGIN {… argument
250 _UTRIE_GET_FROM_PAIR((trie), data, (c), (c2), (result), resultType); \
/external/catch2/include/internal/
Dcatch_assertionresult.cpp14 resultType(_resultType) {} in AssertionResultData()
35 return Catch::isOk( m_resultData.resultType ); in succeeded()
40 …return Catch::isOk( m_resultData.resultType ) || shouldSuppressFailure( m_info.resultDisposition ); in isOk()
44 return m_resultData.resultType; in getResultType()
/external/llvm-project/mlir/test/lib/Transforms/
DTestDecomposeCallGraphTypes.cpp57 TupleType resultType, Value value, in runOnOperation()
59 for (unsigned i = 0, e = resultType.size(); i < e; ++i) { in runOnOperation()
61 loc, resultType.getType(i), value, builder.getI32IntegerAttr(i)); in runOnOperation()
68 [](OpBuilder &builder, TupleType resultType, ValueRange inputs, in runOnOperation() argument
/external/llvm-project/mlir/lib/Dialect/StandardOps/IR/
DOps.cpp118 auto resultType = op->getResult(0).getType(); in printStandardBinaryOp() local
119 if (op->getOperand(0).getType() != resultType || in printStandardBinaryOp()
120 op->getOperand(1).getType() != resultType) { in printStandardBinaryOp()
551 Type resultType = op.result().getType(); in verify() local
552 if (parentType != resultType) in verify()
553 return op.emitOpError() << "types mismatch between yield op: " << resultType in verify()
1400 auto resultType = in fold() local
1404 assert(resultType.getShape()[index.getInt()] == in fold()
1409 for (auto dim : resultType.getShape().take_front(index.getInt())) in fold()
1741 Type resultType; in parseDynamicTensorFromElementsOp() local
[all …]
/external/llvm-project/mlir/lib/IR/
DOperation.cpp179 resultType = resultTypes.front(); in Operation()
181 resultType = TupleType::get(resultTypes, location->getContext()); in Operation()
555 if (!resultType) in getNumResults()
557 return hasSingleResult ? 1 : resultType.cast<TupleType>().size(); in getNumResults()
561 if (!resultType) in getResultTypes()
564 return resultType; in getResultTypes()
565 return resultType.cast<TupleType>().getTypes(); in getResultTypes()
877 for (auto resultType : op->getResultTypes()) { in verifySameOperandsAndResultShape() local
878 if (failed(verifyCompatibleShape(resultType, type))) in verifySameOperandsAndResultShape()
935 for (auto resultType : op->getResultTypes().drop_front(1)) { in verifySameOperandsAndResultType() local
[all …]

123456789