| /llvm-project-15.0.7/clang/lib/Driver/ |
| H A D | Action.cpp | 211 for (unsigned i = 0, e = getInputs().size(); i != e; ++i) in OffloadAction() 229 getInputs().push_back(A); in OffloadAction() 239 assert(!getInputs().empty() && "No dependencies for offload action??"); in doOnHostDependence() 240 auto *A = getInputs().front(); in doOnHostDependence() 246 auto I = getInputs().begin(); in doOnEachDeviceDependence() 247 auto E = getInputs().end(); in doOnEachDeviceDependence() 254 assert(getInputs().size() == DevToolChains.size() + (HostTC ? 1 : 0) && in doOnEachDeviceDependence() 284 return HostTC ? getInputs().front() : nullptr; in getHostDependence() 290 return getInputs().size() == (HostTC ? 2 : 1); in hasSingleDeviceDependence() 291 return !HostTC && getInputs().size() == 1; in hasSingleDeviceDependence() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Conversion/TosaToSCF/ |
| H A D | TosaToSCF.cpp | 35 rewriter.create<scf::YieldOp>(yield.getLoc(), yield.getInputs()); in inlineIfCase() 58 rewriter.create<scf::YieldOp>(yield.getLoc(), yield.getInputs()); in inlineWhileCase() 76 inlineIfCase(op.getThenBranch(), newIf.getThenRegion(), op.getInputs(), in matchAndRewrite() 78 inlineIfCase(op.getElseBranch(), newIf.getElseRegion(), op.getInputs(), in matchAndRewrite() 93 op.getLoc(), op.getResultTypes(), op.getInputs()); in matchAndRewrite()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | TUSchedulerTests.cpp | 91 ParseInputs getInputs(PathRef File, std::string Contents) { in getInputs() function in clang::clangd::__anon644364680111::TUSchedulerTests 186 S.update(Added, getInputs(Added, "x"), WantDiagnostics::No); in TEST_F() 353 S.update(Path, getInputs(Path, ""), WantDiagnostics::Auto); in TEST_F() 364 S.update(Path, getInputs(Path, ""), WantDiagnostics::Auto); in TEST_F() 500 auto Inputs = getInputs(File, Contents.str()); in TEST_F() 646 auto FooInputs = getInputs(Foo, "int x=1;"); in TEST_F() 648 auto BarInputs = getInputs(Bar, "int x=2;"); in TEST_F() 854 ParseInputs Inputs = getInputs(Source, SourceContents); in TEST_F() 1145 auto PI = getInputs(File, ""); in TEST_F() 1280 S.update(Main, getInputs(Main, ""), WantDiagnostics::Yes); in TEST_F() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Conversion/ReconcileUnrealizedCasts/ |
| H A D | ReconcileUnrealizedCasts.cpp | 40 return other.getResultTypes() == op.getInputs().getTypes() && in matchAndRewrite() 41 other.getInputs() == op.getOutputs(); in matchAndRewrite() 48 rewriter.replaceOp(user, op.getInputs()); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/CodeGen/ |
| H A D | CPPGen.cpp | 192 return getNativeTypeName(userCst->getInputs()[0]); in getNativeTypeName() 235 if (!decl->getInputs().empty()) { in generateConstraintOrRewrite() 237 llvm::interleaveComma(decl->getInputs(), os, [&](ast::VariableDecl *input) { in generateConstraintOrRewrite()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | TypeDetail.h | 64 if (std::get<0>(key) == getInputs()) 86 ArrayRef<Type> getInputs() const { in getInputs() function
|
| H A D | BuiltinTypes.cpp | 150 ArrayRef<Type> FunctionType::getInputs() const { in getInputs() function in FunctionType 151 return getImpl()->getInputs(); in getInputs() 171 getInputs(), argIndices, argTypes, argStorage); in getWithArgsAndResults() 183 getInputs(), argIndices, argStorage); in getWithoutArgsAndResults() 192 for (Type type : llvm::concat<const Type>(getInputs(), getResults())) in walkImmediateSubElements()
|
| H A D | BuiltinDialect.cpp | 145 OperandRange operands = getInputs(); in fold()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/FuncToLLVM/ |
| H A D | FuncToLLVM.cpp | 150 for (auto &en : llvm::enumerate(type.getInputs())) { in wrapForExternalCallers() 234 for (auto &en : llvm::enumerate(type.getInputs())) { in wrapExternalFunction() 410 llvm::to_vector<8>(funcOp.getFunctionType().getInputs()); in matchAndRewrite() 570 convertedTypes == adaptor.getInputs().getTypes()) { in matchAndRewrite() 571 rewriter.replaceOp(op, adaptor.getInputs()); in matchAndRewrite() 576 if (succeeded(typeConverter->convertTypes(adaptor.getInputs().getTypes(), in matchAndRewrite() 579 rewriter.replaceOp(op, adaptor.getInputs()); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/ |
| H A D | Nodes.h | 863 MutableArrayRef<VariableDecl *> getInputs() { in getInputs() function 866 ArrayRef<VariableDecl *> getInputs() const { in getInputs() function 867 return const_cast<UserConstraintDecl *>(this)->getInputs(); in getInputs() 1070 MutableArrayRef<VariableDecl *> getInputs() { in getInputs() function 1073 ArrayRef<VariableDecl *> getInputs() const { in getInputs() function 1074 return const_cast<UserRewriteDecl *>(this)->getInputs(); in getInputs() 1151 ArrayRef<VariableDecl *> getInputs() const { in getInputs() function 1153 return cst->getInputs(); in getInputs() 1154 return cast<UserRewriteDecl>(this)->getInputs(); in getInputs()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch6/mlir/ |
| H A D | Dialect.cpp | 120 if (parser.resolveOperands(operands, funcType.getInputs(), operandsLoc, in parseBinaryOp() 276 buildWithEntryBlock(builder, state, name, type, attrs, type.getInputs()); in build() 330 Operation::operand_range GenericCallOp::getArgOperands() { return getInputs(); } in getArgOperands()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch4/mlir/ |
| H A D | Dialect.cpp | 120 if (parser.resolveOperands(operands, funcType.getInputs(), operandsLoc, in parseBinaryOp() 276 buildWithEntryBlock(builder, state, name, type, attrs, type.getInputs()); in build() 330 Operation::operand_range GenericCallOp::getArgOperands() { return getInputs(); } in getArgOperands()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch5/mlir/ |
| H A D | Dialect.cpp | 120 if (parser.resolveOperands(operands, funcType.getInputs(), operandsLoc, in parseBinaryOp() 276 buildWithEntryBlock(builder, state, name, type, attrs, type.getInputs()); in build() 330 Operation::operand_range GenericCallOp::getArgOperands() { return getInputs(); } in getArgOperands()
|
| /llvm-project-15.0.7/clang/include/clang/Driver/ |
| H A D | Action.h | 151 ActionList &getInputs() { return Inputs; } in getInputs() function 152 const ActionList &getInputs() const { return Inputs; } in getInputs() function 449 getInputs().push_back(Input); in addModuleHeaderInput() 465 void addHeaderInput(Action *Input) { getInputs().push_back(Input); } in addHeaderInput()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/ |
| H A D | BoxedProcedure.cpp | 50 for (auto t : funcTy.getInputs()) in needsConversion() 101 for (auto ty : funcTy.getInputs()) in __anonfdb31fde0602() 205 for (auto e : llvm::enumerate(toTy.getInputs())) { in runOnOperation()
|
| H A D | TargetRewrite.cpp | 230 llvm::zip(fnTy.getInputs().drop_front(dropFront), in convertCallOp() 388 for (mlir::Type ty : addrTy.getInputs()) { in convertAddrOp() 450 for (auto ty : func.getInputs()) in hasPortableSignature() 463 std::size_t end = func.getFunctionType().getInputs().size(); in hasHostAssociations() 499 for (auto e : llvm::enumerate(funcTy.getInputs())) { in convertSignature() 566 const auto oldArgTys = func.getFunctionType().getInputs(); in convertSignature()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/Transforms/ |
| H A D | DenseBufferizationPass.cpp | 52 if (containsSparseTensor(funcType.getInputs()) || in runOnOperation()
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/AST/ |
| H A D | Nodes.cpp | 133 for (const Node *child : decl->getInputs()) in visitImpl() 140 for (const Node *child : decl->getInputs()) in visitImpl() 461 decl->getInputs().begin()); in createImpl() 526 decl->getInputs().begin()); in createImpl()
|
| H A D | NodePrinter.cpp | 297 printChildren("Inputs", decl->getInputs()); in printImpl() 350 printChildren("Inputs", decl->getInputs()); in printImpl()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch3/mlir/ |
| H A D | Dialect.cpp | 58 if (parser.resolveOperands(operands, funcType.getInputs(), operandsLoc, in parseBinaryOp() 187 buildWithEntryBlock(builder, state, name, type, attrs, type.getInputs()); in build()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch2/mlir/ |
| H A D | Dialect.cpp | 58 if (parser.resolveOperands(operands, funcType.getInputs(), operandsLoc, in parseBinaryOp() 200 buildWithEntryBlock(builder, state, name, type, attrs, type.getInputs()); in build()
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch7/mlir/ |
| H A D | Dialect.cpp | 107 if (parser.resolveOperands(operands, funcType.getInputs(), operandsLoc, in parseBinaryOp() 303 buildWithEntryBlock(builder, state, name, type, attrs, type.getInputs()); in build() 357 Operation::operand_range GenericCallOp::getArgOperands() { return getInputs(); } in getArgOperands()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Transforms/ |
| H A D | AbstractResult.cpp | 49 newInputTypes.append(funcTy.getInputs().begin(), funcTy.getInputs().end()); in getNewFunctionType()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Quant/Transforms/ |
| H A D | ConvertSimQuant.cpp | 72 op.getInputs()); in failableRewrite()
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | Allocatable.cpp | 131 for (auto [fst, snd] : llvm::zip(args, callee.getFunctionType().getInputs())) in genRuntimeSetBounds() 148 llvm::ArrayRef<mlir::Type> inputTypes = callee.getFunctionType().getInputs(); in genRuntimeInitCharacter() 179 for (auto [fst, snd] : llvm::zip(args, callee.getFunctionType().getInputs())) in genRuntimeAllocate() 201 for (auto [fst, snd] : llvm::zip(args, callee.getFunctionType().getInputs())) in genRuntimeDeallocate()
|