Home
last modified time | relevance | path

Searched refs:TupleType (Results 1 – 25 of 49) sorted by relevance

12

/llvm-project-15.0.7/mlir/lib/Tools/PDLL/AST/
H A DTypes.cpp138 TupleType TupleType::get(Context &context, ArrayRef<Type> elementTypes, in get()
144 TupleType TupleType::get(Context &context, ArrayRef<Type> elementTypes) { in get()
149 ArrayRef<Type> TupleType::getElementTypes() const { in getElementTypes()
153 ArrayRef<StringRef> TupleType::getElementNames() const { in getElementNames()
/llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/
H A DTarget.cpp45 return mlir::TupleType::get(eleTy.getContext(), range); in complexMemoryType()
54 return mlir::TupleType::get(eleTy.getContext(), range); in boxcharMemoryType()
90 auto structTy = mlir::TupleType::get(eleTy.getContext(), range); in complexArgumentType()
109 auto structTy = mlir::TupleType::get(eleTy.getContext(), range); in complexReturnType()
146 mlir::TupleType::get(eleTy.getContext(), range)), in complexArgumentType()
165 marshal.emplace_back(mlir::TupleType::get(eleTy.getContext(), range), in complexReturnType()
172 mlir::TupleType::get(eleTy.getContext(), range)), in complexReturnType()
215 marshal.emplace_back(mlir::TupleType::get(eleTy.getContext(), range), in complexReturnType()
250 marshal.emplace_back(mlir::TupleType::get(eleTy.getContext(), range), AT{}); in complexReturnType()
H A DBoxedProcedure.cpp58 if (auto tupleTy = ty.dyn_cast<mlir::TupleType>()) { in needsConversion()
92 addConversion([&](mlir::TupleType tupTy) { in __anonfdb31fde0502()
96 return mlir::TupleType::get(tupTy.getContext(), memTys); in __anonfdb31fde0502()
H A DTargetRewrite.cpp274 .template Case<mlir::TupleType>([&](mlir::TupleType tuple) { in convertCallOp()
409 .Case<mlir::TupleType>([&](mlir::TupleType tuple) { in convertAddrOp()
544 .Case<mlir::TupleType>([&](mlir::TupleType tuple) { in convertSignature()
/llvm-project-15.0.7/llvm/tools/llvm-xray/
H A Dxray-account.cpp299 using TupleType = std::tuple<int32_t, uint64_t, ResultRow>; typedef
302 static void sortByKey(std::vector<TupleType> &Results, F Fn) { in sortByKey()
304 llvm::sort(Results, [=](const TupleType &L, const TupleType &R) { in sortByKey()
311 std::vector<TupleType> Results; in exportStats()
335 sortByKey(Results, [](const TupleType &X) { return std::get<0>(X); }); in exportStats()
338 sortByKey(Results, [](const TupleType &X) { return std::get<1>(X); }); in exportStats()
341 sortByKey(Results, [](const TupleType &X) { return std::get<2>(X).Min; }); in exportStats()
347 sortByKey(Results, [](const TupleType &X) { return std::get<2>(X).Pct90; }); in exportStats()
350 sortByKey(Results, [](const TupleType &X) { return std::get<2>(X).Pct99; }); in exportStats()
353 sortByKey(Results, [](const TupleType &X) { return std::get<2>(X).Max; }); in exportStats()
[all …]
/llvm-project-15.0.7/mlir/test/lib/Dialect/Func/
H A DTestDecomposeCallGraphTypes.cpp58 [](TupleType tupleType, SmallVectorImpl<Type> &types) { in runOnOperation()
64 TupleType resultType, Value value, in runOnOperation()
75 [](OpBuilder &builder, TupleType resultType, ValueRange inputs, in runOnOperation()
79 TupleType tuple = builder.getTupleType(inputs.getTypes()); in runOnOperation()
/llvm-project-15.0.7/flang/unittests/Optimizer/Builder/Runtime/
H A DRaggedTest.cpp15 mlir::TupleType headerTy = in TEST_F()
29 mlir::TupleType headerTy = in TEST_F()
/llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/Parser/
H A DCodeComplete.h22 class TupleType; variable
41 virtual void codeCompleteTupleMemberAccess(ast::TupleType tupleType);
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DTypeUtilities.h22 class TupleType; variable
39 SmallVector<Type, 10> getFlattenedTypes(TupleType t);
H A DBuilders.h31 class TupleType; variable
78 TupleType getTupleType(TypeRange elementTypes);
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/
H A Dmlir-support.cpp20 mlir::Type TupleType = variable
21 mlir::TupleType::get(&Context, mlir::TypeRange({IndexType, FloatType}));
H A Dmlir-support.gdb53 # CHECK-LABEL: +print TupleType
54 print TupleType
55 # CHECK: typeID = mlir::TypeID::get<mlir::TupleType>()
/llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/
H A DTypes.h242 class TupleType : public Type::TypeBase<detail::TupleTypeStorage> {
247 static TupleType get(Context &context, ArrayRef<Type> elementTypes,
249 static TupleType get(Context &context,
/llvm-project-15.0.7/llvm/test/MC/Disassembler/X86/
H A Davx-512.txt82 # TupleType = FVM
86 # TupleType = T1S, 64-bit eltsize
90 # TupleType = T1S, 32-bit eltsize
94 # TupleType = FV
98 # TupleType = FV, broadcast, 64-bit eltsize
102 # TupleType = FV, broadcast, 32-bit eltsize
106 # TupleType = T4
/llvm-project-15.0.7/mlir/lib/CAPI/IR/
H A DBuiltinTypes.cpp313 bool mlirTypeIsATuple(MlirType type) { return unwrap(type).isa<TupleType>(); } in mlirTypeIsATuple()
319 return wrap(TupleType::get(unwrap(ctx), typeRef)); in mlirTupleTypeGet()
323 return unwrap(type).cast<TupleType>().size(); in mlirTupleTypeGetNumTypes()
327 return wrap(unwrap(type).cast<TupleType>().getType(static_cast<size_t>(pos))); in mlirTupleTypeGetType()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/
H A DCodeComplete.cpp22 ast::TupleType tupleType) {} in codeCompleteTupleMemberAccess()
/llvm-project-15.0.7/flang/lib/Lower/
H A DHostAssociations.cpp462 static mlir::TupleType unwrapTupleTy(mlir::Type t) { in unwrapTupleTy()
463 return fir::dyn_cast_ptrEleTy(t).cast<mlir::TupleType>(); in unwrapTupleTy()
484 mlir::TupleType tupTy = unwrapTupleTy(getArgumentType(converter)); in hostProcedureBindings()
513 mlir::TupleType tupTy = unwrapTupleTy(argTy); in internalProcedureBindings()
555 argType = fir::ReferenceType::get(mlir::TupleType::get(ctxt, tupleTys)); in getArgumentType()
/llvm-project-15.0.7/mlir/lib/IR/
H A DBuiltinTypes.cpp874 ArrayRef<Type> TupleType::getTypes() const { return getImpl()->getTypes(); } in getTypes()
880 void TupleType::getFlattenedTypes(SmallVectorImpl<Type> &types) { in getFlattenedTypes()
882 if (auto nestedTuple = type.dyn_cast<TupleType>()) in getFlattenedTypes()
890 size_t TupleType::size() const { return getImpl()->size(); } in size()
892 void TupleType::walkImmediateSubElements( in walkImmediateSubElements()
899 Type TupleType::replaceImmediateSubElements(ArrayRef<Attribute> replAttrs, in replaceImmediateSubElements()
H A DBuiltinDialect.cpp52 if (auto tupleType = type.dyn_cast<TupleType>()) { in getAlias()
H A DTypeUtilities.cpp38 SmallVector<Type, 10> mlir::getFlattenedTypes(TupleType t) { in getFlattenedTypes()
H A DBuilders.cpp71 TupleType Builder::getTupleType(TypeRange elementTypes) { in getTupleType()
72 return TupleType::get(context, elementTypes); in getTupleType()
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/Runtime/
H A DRagged.cpp35 auto ptrTy = builder.getRefType(eleTy.cast<mlir::TupleType>().getType(1)); in genRaggedArrayAllocate()
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DCharacter.cpp699 mlir::TupleType tupleType = tuple.getType().cast<mlir::TupleType>(); in extractCharacterProcedureTuple()
719 mlir::TupleType tupleType = argTy.cast<mlir::TupleType>(); in createCharacterProcedureTuple()
741 return mlir::TupleType::get(context, {funcPointerType, lenType}); in getCharacterProcedureTupleType()
/llvm-project-15.0.7/mlir/lib/AsmParser/
H A DTypeParser.cpp438 return TupleType::get(getContext()); in parseTupleType()
446 return TupleType::get(getContext(), types); in parseTupleType()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/CodeGen/
H A DMLIRGen.cpp477 if (auto tupleType = parentType.dyn_cast<ast::TupleType>()) { in genExprImpl()
569 if (ast::TupleType tupleType = declResultType.dyn_cast<ast::TupleType>()) { in genConstraintOrRewriteCall()

12