/external/llvm-project/mlir/lib/IR/ |
D | TypeRange.cpp | 16 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 …]
|
D | TypeDetail.h | 90 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()
|
D | Builders.cpp | 70 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/ |
D | TypeRange.h | 37 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 …]
|
D | Builders.h | 77 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);
|
D | OpImplementation.h | 108 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) {
|
D | BuiltinTypes.h | 27 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/ |
D | OpBuildGen.cpp | 81 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/ |
D | ControlFlowInterfaces.cpp | 87 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/ |
D | op-decl.td | 88 … &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 …]
|
D | op-result.td | 17 // 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/ |
D | TestDecomposeCallGraphTypes.cpp | 72 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/ |
D | TwineLocalCheck.cpp | 45 SourceRange TypeRange = in check() local 53 Diag << FixItHint::CreateReplacement(TypeRange, "std::string") in check() 59 TypeRange, in check()
|
/external/clang/include/clang/Sema/ |
D | Initialization.h | 504 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/ |
D | Builders.cpp | 64 Block *mlir::edsc::createBlock(TypeRange argTypes) { in createBlock() 74 Block *mlir::edsc::createBlockInRegion(Region ®ion, TypeRange argTypes) { in createBlockInRegion() 95 Block *mlir::edsc::buildInNewBlock(TypeRange argTypes, in buildInNewBlock() 105 Block *mlir::edsc::buildInNewBlock(Region ®ion, TypeRange argTypes, in buildInNewBlock()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Initialization.h | 642 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/ |
D | ConvertLaunchFuncToVulkanCalls.cpp | 249 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/ |
D | LinalgOps.cpp | 92 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/ |
D | InliningUtils.h | 30 class TypeRange; variable 204 TypeRange regionResultTypes,
|
/external/llvm-project/mlir/lib/Conversion/LinalgToStandard/ |
D | LinalgToStandard.cpp | 113 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/ |
D | Builders.h | 96 Block *createBlock(TypeRange argTypes = llvm::None); 102 Block *createBlockInRegion(Region ®ion, TypeRange argTypes = llvm::None); 112 Block *buildInNewBlock(TypeRange argTypes, 118 Block *buildInNewBlock(Region ®ion, TypeRange argTypes,
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | PassByValueCheck.cpp | 203 auto TypeRange = CharSourceRange::getTokenRange(ParmDecl->getBeginLoc(), in check() local 210 Diag << FixItHint::CreateReplacement(TypeRange, ValueStr); in check()
|
/external/llvm-project/mlir/lib/Conversion/AsyncToLLVM/ |
D | AsyncToLLVM.cpp | 237 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/ |
D | Builders.cpp | 84 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/ |
D | breakup-islands.cc | 133 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()
|