Home
last modified time | relevance | path

Searched refs:TypeRange (Results 1 – 25 of 103) sorted by relevance

12345

/external/llvm-project/mlir/lib/IR/
DTypeRange.cpp16 TypeRange::TypeRange(ArrayRef<Type> types) in TypeRange() function in TypeRange
17 : TypeRange(types.data(), types.size()) { in TypeRange()
21 TypeRange::TypeRange(OperandRange values) in TypeRange() function in TypeRange
22 : TypeRange(values.begin().getBase(), values.size()) {} in TypeRange()
23 TypeRange::TypeRange(ResultRange values) in TypeRange() function in TypeRange
24 : TypeRange(values.getBase()->getResultTypes().slice(values.getStartIndex(), in TypeRange()
26 TypeRange::TypeRange(ArrayRef<Value> values) in TypeRange() function in TypeRange
27 : TypeRange(values.data(), values.size()) {} in TypeRange()
28 TypeRange::TypeRange(ValueRange values) : TypeRange(OwnerT(), values.size()) { in TypeRange() function in TypeRange
39 TypeRange::OwnerT TypeRange::offset_base(OwnerT object, ptrdiff_t index) { in offset_base()
[all …]
DTypeDetail.h90 using KeyTy = std::pair<TypeRange, TypeRange>;
98 TypeRange inputs = key.first, results = key.second; in construct()
315 using KeyTy = TypeRange;
321 TypeRange key) { in construct()
DBuilders.cpp70 FunctionType Builder::getFunctionType(TypeRange inputs, TypeRange results) { in getFunctionType()
74 TupleType Builder::getTupleType(TypeRange elementTypes) { in getTupleType()
264 ArrayAttr Builder::getTypeArrayAttr(TypeRange values) { in getTypeArrayAttr()
369 TypeRange argTypes) { in createBlock()
386 Block *OpBuilder::createBlock(Block *insertBefore, TypeRange argTypes) { in createBlock()
/external/llvm-project/mlir/include/mlir/IR/
DTypeRange.h37 class TypeRange
39 TypeRange,
44 TypeRange(ArrayRef<Type> types = llvm::None);
45 explicit TypeRange(OperandRange values);
46 explicit TypeRange(ResultRange values);
47 explicit TypeRange(ValueRange values);
48 explicit TypeRange(ArrayRef<Value> values);
49 explicit TypeRange(ArrayRef<BlockArgument> values) in TypeRange() function
50 : TypeRange(ArrayRef<Value>(values.data(), values.size())) {} in TypeRange()
52 TypeRange(ValueTypeRange<ValueRangeT> values) in TypeRange() function
[all …]
DBuilders.h77 FunctionType getFunctionType(TypeRange inputs, TypeRange results);
78 TupleType getTupleType(TypeRange elementTypes);
143 ArrayAttr getTypeArrayAttr(TypeRange values);
374 TypeRange argTypes = llvm::None);
378 Block *createBlock(Block *insertBefore, TypeRange argTypes = llvm::None);
DOpImplementation.h108 template <typename TypeRange>
109 void printOptionalArrowTypeList(TypeRange &&types) { in printOptionalArrowTypeList()
113 template <typename TypeRange>
114 void printArrowTypeList(TypeRange &&types) { in printArrowTypeList()
206 inline OpAsmPrinter &operator<<(OpAsmPrinter &p, const TypeRange &types) {
DBuiltinTypes.h27 class TypeRange; variable
252 static FunctionType get(TypeRange inputs, TypeRange results,
681 static TupleType get(TypeRange elementTypes, MLIRContext *context);
/external/llvm-project/mlir/unittests/TableGen/
DOpBuildGen.cpp81 builder.create<OpTy>(loc, TypeRange{i32Ty}, ValueRange{cstI32, cstI32}); in testSingleVariadicInputInferredType()
114 op = builder.create<test::TableGenBuildOp0>(loc, TypeRange{i32Ty}, cstI32); in TEST_F()
118 op = builder.create<test::TableGenBuildOp0>(loc, TypeRange{i32Ty}, in TEST_F()
123 op = builder.create<test::TableGenBuildOp0>(loc, TypeRange{i32Ty}, in TEST_F()
141 auto op = builder.create<test::TableGenBuildOp1>(loc, TypeRange{i32Ty}, in TEST_F()
147 op = builder.create<test::TableGenBuildOp1>(loc, TypeRange{i32Ty}, in TEST_F()
152 op = builder.create<test::TableGenBuildOp1>(loc, TypeRange{i32Ty, f32Ty}, in TEST_F()
159 loc, TypeRange{i32Ty, f32Ty}, ValueRange{cstI32, cstF32}, attrs); in TEST_F()
172 op = builder.create<test::TableGenBuildOp1>(loc, TypeRange{i32Ty}, in TEST_F()
177 op = builder.create<test::TableGenBuildOp1>(loc, TypeRange{i32Ty}, in TEST_F()
[all …]
/external/llvm-project/mlir/lib/Interfaces/
DControlFlowInterfaces.cpp87 function_ref<Optional<TypeRange>(Optional<unsigned>)> in verifyTypesAlongAllEdges()
122 Optional<TypeRange> sourceTypes = getInputsTypesForRegion(succRegionNo); in verifyTypesAlongAllEdges()
126 TypeRange succInputsTypes = succ.getSuccessorInputs().getTypes(); in verifyTypesAlongAllEdges()
154 auto inputTypesFromParent = [&](Optional<unsigned> regionNo) -> TypeRange { in verifyTypesAlongControlFlowEdges()
204 [&](Optional<unsigned> regionNo) -> Optional<TypeRange> { in verifyTypesAlongControlFlowEdges()
211 return TypeRange(regionReturn->getOperands().getTypes()); in verifyTypesAlongControlFlowEdges()
/external/llvm-project/mlir/test/mlir-tblgen/
Dop-decl.td88 … &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type r, ::mlir::TypeRange s, ::mlir::Value…
89 … &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type r, ::mlir::TypeRange s, ::mlir::Value…
90 …id build(::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::m…
187 …:mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::m…
188 …id build(::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::m…
199 …:mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange b, ::mlir::Value…
200 …id build(::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::m…
211 …:mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange b, ::mlir::Value…
212 …id build(::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::m…
224 …ilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange b, ::mlir::TypeRange c, ::m…
[all …]
Dop-result.td17 // CHECK: ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands
42 …d(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes) {
70 // CHECK-SAME: ::mlir::TypeRange x
81 …mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type x, ::mlir::TypeRange y)
86 // CHECK: ::mlir::TypeRange resultTypes
/external/llvm-project/mlir/test/lib/Transforms/
DTestDecomposeCallGraphTypes.cpp72 TypeRange TypeRange = inputs.getTypes(); in runOnOperation() local
73 SmallVector<Type, 2> types(TypeRange.begin(), TypeRange.end()); in runOnOperation()
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/
DTwineLocalCheck.cpp45 SourceRange TypeRange = in check() local
53 Diag << FixItHint::CreateReplacement(TypeRange, "std::string") in check()
59 TypeRange, in check()
/external/clang/include/clang/Sema/
DInitialization.h504 static InitializationKind CreateCast(SourceRange TypeRange) { in CreateCast() argument
505 return InitializationKind(IK_Direct, IC_StaticCast, TypeRange.getBegin(), in CreateCast()
506 TypeRange.getBegin(), TypeRange.getEnd()); in CreateCast()
511 SourceRange TypeRange, in CreateCStyleCast() argument
516 IC_CStyleCast, StartLoc, TypeRange.getBegin(), in CreateCStyleCast()
517 TypeRange.getEnd()); in CreateCStyleCast()
521 static InitializationKind CreateFunctionalCast(SourceRange TypeRange, in CreateFunctionalCast() argument
524 IC_FunctionalCast, TypeRange.getBegin(), in CreateFunctionalCast()
525 TypeRange.getBegin(), TypeRange.getEnd()); in CreateFunctionalCast()
/external/llvm-project/mlir/lib/EDSC/
DBuilders.cpp64 Block *mlir::edsc::createBlock(TypeRange argTypes) { in createBlock()
74 Block *mlir::edsc::createBlockInRegion(Region &region, TypeRange argTypes) { in createBlockInRegion()
95 Block *mlir::edsc::buildInNewBlock(TypeRange argTypes, in buildInNewBlock()
105 Block *mlir::edsc::buildInNewBlock(Region &region, TypeRange argTypes, in buildInNewBlock()
/external/llvm-project/clang/include/clang/Sema/
DInitialization.h642 static InitializationKind CreateCast(SourceRange TypeRange) { in CreateCast() argument
643 return InitializationKind(IK_Direct, IC_StaticCast, TypeRange.getBegin(), in CreateCast()
644 TypeRange.getBegin(), TypeRange.getEnd()); in CreateCast()
649 SourceRange TypeRange, in CreateCStyleCast() argument
654 IC_CStyleCast, StartLoc, TypeRange.getBegin(), in CreateCStyleCast()
655 TypeRange.getEnd()); in CreateCStyleCast()
659 static InitializationKind CreateFunctionalCast(SourceRange TypeRange, in CreateFunctionalCast() argument
662 IC_FunctionalCast, TypeRange.getBegin(), in CreateFunctionalCast()
663 TypeRange.getBegin(), TypeRange.getEnd()); in CreateFunctionalCast()
/external/llvm-project/mlir/lib/Conversion/GPUToVulkan/
DConvertLaunchFuncToVulkanCalls.cpp249 loc, TypeRange{getVoidType()}, in createBindMemRefCalls()
375 loc, TypeRange{getPointerType()}, builder.getSymbolRefAttr(kInitVulkan), in translateVulkanLaunchCall()
398 loc, TypeRange{getVoidType()}, builder.getSymbolRefAttr(kSetBinaryShader), in translateVulkanLaunchCall()
405 builder.create<LLVM::CallOp>(loc, TypeRange{getVoidType()}, in translateVulkanLaunchCall()
411 loc, TypeRange{getVoidType()}, in translateVulkanLaunchCall()
418 builder.create<LLVM::CallOp>(loc, TypeRange{getVoidType()}, in translateVulkanLaunchCall()
423 builder.create<LLVM::CallOp>(loc, TypeRange{getVoidType()}, in translateVulkanLaunchCall()
/external/llvm-project/mlir/lib/Dialect/Linalg/IR/
DLinalgOps.cpp92 OpBuilder &opBuilder, OperationState &result, TypeRange inputTypes,
93 TypeRange outputBufferTypes, TypeRange initTensorTypes,
94 TypeRange resultTypes);
105 TypeRange inputTypes, TypeRange outputBufferTypes,
106 TypeRange initTensorTypes, TypeRange resultTypes);
120 TypeRange resultTypes);
154 OpBuilder &builder, OperationState &result, TypeRange resultTensorTypes, in build()
184 build(builder, result, TypeRange{}, inputs, outputBuffers, ValueRange{}, in build()
199 OpBuilder &builder, OperationState &result, TypeRange resultTensorTypes, in build()
209 OpBuilder &builder, OperationState &result, TypeRange resultTensorTypes, in build()
[all …]
/external/llvm-project/mlir/include/mlir/Transforms/
DInliningUtils.h30 class TypeRange; variable
204 TypeRange regionResultTypes,
/external/llvm-project/mlir/lib/Conversion/LinalgToStandard/
DLinalgToStandard.cpp113 op, libraryCallName.getValue(), TypeRange(), in matchAndRewrite()
133 op, libraryCallName.getValue(), TypeRange(), in matchAndRewrite()
181 op, libraryCallName.getValue(), TypeRange(), in matchAndRewrite()
/external/llvm-project/mlir/include/mlir/EDSC/
DBuilders.h96 Block *createBlock(TypeRange argTypes = llvm::None);
102 Block *createBlockInRegion(Region &region, TypeRange argTypes = llvm::None);
112 Block *buildInNewBlock(TypeRange argTypes,
118 Block *buildInNewBlock(Region &region, TypeRange argTypes,
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DPassByValueCheck.cpp203 auto TypeRange = CharSourceRange::getTokenRange(ParmDecl->getBeginLoc(), in check() local
210 Diag << FixItHint::CreateReplacement(TypeRange, ValueStr); in check()
/external/llvm-project/mlir/lib/Conversion/AsyncToLLVM/
DAsyncToLLVM.cpp237 blockBuilder.create<LLVM::CallOp>(loc, TypeRange(), in addResumeFunction()
357 builder.create<LLVM::CallOp>(loc, TypeRange(), in setupCoroMachinery()
519 builder.create<CallOp>(loc, TypeRange(), kExecute, executeArgs); in outlineExecuteOp()
543 builder.create<CallOp>(loc, kEmplaceToken, TypeRange(), coro.asyncToken); in outlineExecuteOp()
629 rewriter.replaceOpWithNewOp<CallOp>(op, TypeRange(), apiFunctionName, in matchAndRewrite()
739 rewriter.create<CallOp>(loc, TypeRange(), blockingAwaitFuncName, in matchAndRewrite()
764 builder.create<CallOp>(loc, TypeRange(), coroAwaitFuncName, in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/SCF/EDSC/
DBuilders.cpp84 wrapIfBody(function_ref<scf::ValueVector()> body, TypeRange expectedTypes) { in wrapIfBody()
96 mlir::edsc::conditionBuilder(TypeRange results, Value condition, in conditionBuilder()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dbreakup-islands.cc133 builder.create<TF::NoOp>(island.getLoc(), TypeRange{}, ValueRange{}); in PopulateEmptyIsland()
149 tf_executor::IslandOp CreateIsland(TypeRange result_types, in CreateIsland()
166 island_builder.create<TF::NoOp>(island.getLoc(), TypeRange{}, ValueRange{}); in CreateIsland()

12345