Home
last modified time | relevance | path

Searched refs:functor (Results 1 – 21 of 21) sorted by relevance

/llvm-project-15.0.7/clang/test/Analysis/
H A Dcxx-uninitialized-object.cpp750 Callable functor; member
752 LambdaThisTest(const Callable &functor, int) : functor(functor) { in LambdaThisTest()
766 Callable functor; member
768 LambdaTest1(const Callable &functor, int) : functor(functor) { in LambdaTest1()
781 Callable functor; member
783 …LambdaTest2(const Callable &functor, int) : functor(functor) {} // expected-warning{{1 uninitializ… in LambdaTest2()
794 Callable functor; member
796 LambdaTest2(const Callable &functor, int) : functor(functor) {} in LambdaTest2()
817 Callable functor; member
819 …LambdaTest3(const Callable &functor, int) : functor(functor) {} // expected-warning{{2 uninitializ… in LambdaTest3()
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/
H A Duse-transparent-functors.rst13 // Non-transparent functor
16 // Transparent functor.
19 // Non-transparent functor
27 // Non-transparent functor
36 using a transparent functor cannot be guaranteed to produce identical results
H A Davoid-bind.rst52 is used in the context of a type erased functor such as ``std::function`` which
/llvm-project-15.0.7/clang/test/OpenMP/
H A Dnvptx_lambda_pointer_capturing.cpp55 void zoo(const FTy &functor) { in zoo() argument
56 C<FTy>::xoo(functor); in zoo()
/llvm-project-15.0.7/mlir/lib/Dialect/Async/Transforms/
H A DAsyncRuntimeRefCounting.cpp453 auto functor = [&](Value value) { return addAutomaticRefCounting(value); }; in runOnOperation() local
454 if (failed(walkReferenceCountedValues(getOperation(), functor))) in runOnOperation()
546 auto functor = [&](Value value) { return addRefCounting(value); }; in runOnOperation() local
547 if (failed(walkReferenceCountedValues(getOperation(), functor))) in runOnOperation()
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dinstantiate-local-class.cpp170 struct functor { in exec_func() struct
171 functor(Func f) : func(f) {} in exec_func() argument
175 return functor(f); in exec_func()
/llvm-project-15.0.7/clang/test/Parser/
H A Dobjcxx14-protocol-in-template.mm8 template <typename Functor> void F(Functor functor) {}
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/abseil/
H A Dstr-cat-append.rst17 argument for a functor.
/llvm-project-15.0.7/mlir/lib/IR/
H A DPatternMatch.cpp214 llvm::unique_function<bool(OpOperand &) const> functor) { in replaceOpWithIf()
224 std::get<0>(it).replaceUsesWithIf(std::get<1>(it), functor); in replaceOpWithIf()
/llvm-project-15.0.7/mlir/test/Conversion/PDLToPDLInterp/
H A Dpdl-to-pdl-interp-rewriter.mlir217 …// CHECK: %[[TYPE:.*]] = pdl_interp.apply_rewrite "functor"(%[[ROOT]] : !pdl.operation) : !pdl…
223 %newType = apply_native_rewrite "functor"(%root : !pdl.operation) : !pdl.type
/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest-internal-inl.h293 void ForEach(const Container& c, Functor functor) { in ForEach() argument
294 std::for_each(c.begin(), c.end(), functor); in ForEach()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DPatternMatch.h429 llvm::unique_function<bool(OpOperand &) const> functor);
431 llvm::unique_function<bool(OpOperand &) const> functor) { in replaceOpWithIf()
433 std::move(functor)); in replaceOpWithIf()
/llvm-project-15.0.7/libcxx/include/
H A Dfunctional36 : public unary_function<T1, R> // if wrapping a unary functor
37 : public binary_function<T1, T2, R> // if wraping a binary functor
H A Dthread322 // This type is used to pass memory for thread local storage and a functor
H A D__hash_table851 "the specified hash functor does not provide a viable const call operator")
/llvm-project-15.0.7/mlir/docs/
H A DDiagnostics.md272 // Here we define the functor that controls which locations are shown to the
273 // user. This functor should return true when a location should be shown, and
/llvm-project-15.0.7/mlir/include/mlir/Transforms/
H A DDialectConversion.h577 llvm::unique_function<bool(OpOperand &) const> functor) override;
/llvm-project-15.0.7/mlir/docs/Tutorials/Toy/
H A DCh-5.md122 // of affine loops. We provide a functor that operates on the remapped
/llvm-project-15.0.7/mlir/lib/Transforms/Utils/
H A DDialectConversion.cpp1502 llvm::unique_function<bool(OpOperand &) const> functor) { in replaceOpWithIf()
/llvm-project-15.0.7/clang/docs/analyzer/
H A Dcheckers.rst2818 …his applies to call to any function, method, lambda, function pointer or functor. Ref-countable ty…
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoVPseudos.td281 // This functor is used to obtain the int vector type that has the same SEW and