HomeSort by: relevance | last modified time | path
    Searched refs:Lambda (Results 1 - 25 of 28) sorted by relevancy

1 2

  /src/external/gpl2/groff/dist/font/devps/generate/
symbolchars 22 Lambda *L
47 lambda *l
  /src/sys/dev/raidframe/
rf_decluster.h 75 u_int Lambda; /* the pair count in the block design */
rf_decluster.c 74 int b, v, k, r, lambda; /* block design params */ local
111 lambda = *((int *) cfgBuf);
128 info->Lambda = lambda;
462 * under recon at any one time. In each table, lambda units are required
464 * (lambda*B)/r units. We subtract one to avoid weird boundary cases.
466 * for example, suppose were given 50 buffers, r=19, and lambda=4 as in
470 * disk. There are lambda "required units" for each disk, so the fastest
481 return (info->Lambda * raidPtr->numFloatingReconBufs / info->TableDepthInPUs / rf_numBufsToAccumulate);
  /src/external/apache2/llvm/dist/clang/lib/AST/
ItaniumCXXABI.cpp 128 /// Keeps track of the mangled names of lambda expressions and block
143 const CXXRecordDecl *Lambda = CallOperator->getParent();
144 assert(Lambda->isLambda());
146 // Computation of the <lambda-sig> is non-trivial and subtle. Rather than
147 // duplicating it here, just mangle the <lambda-sig> directly.
150 Mangler->mangleLambdaSig(Lambda, Out);
ItaniumMangle.cpp 46 // The ABI assumes that lambda closure types that occur within
49 // not the case: the lambda closure type ends up living in the context
186 void mangleLambdaSig(const CXXRecordDecl *Lambda, raw_ostream &) override;
189 // Lambda closure types are already numbered.
220 std::string getLambdaString(const CXXRecordDecl *Lambda) override {
222 // the string that is used in lambda mangled names.
223 assert(Lambda->isLambda() && "RD must be a lambda!");
224 std::string Name("<lambda");
225 Decl *LambdaContextDecl = Lambda->getLambdaContextDecl()
    [all...]
MicrosoftMangle.cpp 85 // The ABI assumes that lambda closure types that occur within
88 // not the case: the lambda closure type ends up living in the context
200 // Lambda closure types are already numbered, give out a phony number so
231 std::string getLambdaString(const CXXRecordDecl *Lambda) override {
232 assert(Lambda->isLambda() && "RD must be a lambda!");
235 Decl *LambdaContextDecl = Lambda->getLambdaContextDecl();
236 unsigned LambdaManglingNumber = Lambda->getLambdaManglingNumber();
252 LambdaId = getLambdaIdForDebugInfo(Lambda);
260 assert(RD->isLambda() && "RD must be a lambda!");
    [all...]
DeclCXX.cpp 672 assert(isLambda() && "not a lambda");
674 // C++2a [expr.prim.lambda.capture]p11:
675 // The closure type associated with a lambda-expression has no default
676 // constructor if the lambda-expression has a lambda-capture and a
678 // assignment operator if the lambda-expression has a lambda-capture and
681 // C++17 [expr.prim.lambda]p21:
682 // The closure type associated with a lambda-expression has no default
1490 assert(!Calls.empty() && "Missing lambda call operator!")
    [all...]
  /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/include/benchmark/
benchmark.h 975 template <class Lambda>
976 internal::Benchmark* RegisterBenchmark(const char* name, Lambda&& fn);
998 template <class Lambda>
1014 Lambda lambda_;
1027 template <class Lambda>
1028 internal::Benchmark* RegisterBenchmark(const char* name, Lambda&& fn) {
1030 internal::LambdaBenchmark<typename std::decay<Lambda>::type>;
1032 ::new BenchType(name, std::forward<Lambda>(fn)));
1038 template <class Lambda, class... Args>
1039 internal::Benchmark* RegisterBenchmark(const char* name, Lambda&& fn
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/benchmark/include/benchmark/
benchmark.h 939 template <class Lambda>
940 internal::Benchmark* RegisterBenchmark(const char* name, Lambda&& fn);
962 template <class Lambda>
978 Lambda lambda_;
991 template <class Lambda>
992 internal::Benchmark* RegisterBenchmark(const char* name, Lambda&& fn) {
993 using BenchType = internal::LambdaBenchmark<typename std::decay<Lambda>::type>;
995 ::new BenchType(name, std::forward<Lambda>(fn)));
1001 template <class Lambda, class... Args>
1002 internal::Benchmark* RegisterBenchmark(const char* name, Lambda&& fn
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
Mangle.h 101 virtual std::string getLambdaString(const CXXRecordDecl *Lambda) = 0;
194 virtual void mangleLambdaSig(const CXXRecordDecl *Lambda, raw_ostream &) = 0;
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaTemplateVariadic.cpp 43 // For now, the only problematic case is a generic lambda's templated
237 /// Note whether we're traversing a lambda containing an unexpanded
240 /// lambda, we don't propagate the 'contains unexpanded parameter pack' bit
242 bool TraverseLambdaExpr(LambdaExpr *Lambda) {
243 // The ContainsUnexpandedParameterPack bit on a lambda is always correct,
244 // even if it's contained within another lambda.
245 if (!Lambda->containsUnexpandedParameterPack())
252 if (auto *TPL = Lambda->getTemplateParameterList())
255 inherited::TraverseLambdaExpr(Lambda);
262 /// Suppress traversal within pack expansions in lambda captures
    [all...]
SemaLambda.cpp 9 // This file implements semantic analysis for C++ lambda expressions.
28 /// enclosing lambda (to the current lambda) that is 'capture-ready' for
29 /// the variable referenced in the current lambda (i.e. \p VarToCapture).
31 /// of the capture-ready lambda's LambdaScopeInfo.
33 /// Climbs down the stack of lambdas (deepest nested lambda - i.e. current
34 /// lambda - is on top) to determine the index of the nearest enclosing/outer
35 /// lambda that is ready to capture the \p VarToCapture being referenced in
36 /// the current lambda.
37 /// As we climb down the stack, we want the index of the first such lambda
    [all...]
SemaExceptionSpec.cpp 1187 const LambdaExpr *Lambda = cast<LambdaExpr>(S);
1190 Cap = Lambda->capture_init_begin(),
1191 CapEnd = Lambda->capture_init_end();
AnalysisBasedWarnings.cpp 529 enum { Function, Block, Lambda, Coroutine } funMode;
604 D.funMode = Lambda;
1184 // We analyze lambda bodies separately. Skip them here.
1436 Lambda
1442 FunctionKind = Lambda;
Sema.cpp 1939 "Remove assertion if intentionally called in a non-lambda context.");
2007 /// Pop a function (or block or lambda or captured region) scope from the stack.
2113 if (LSI->Lambda && !LSI->Lambda->Encloses(CurContext)) {
2139 if (CurLSI && CurLSI->Lambda &&
2140 !CurLSI->Lambda->Encloses(CurContext)) {
2149 // We have a generic lambda if we parsed auto parameters, or we have
SemaDeclCXX.cpp 72 bool VisitLambdaExpr(const LambdaExpr *Lambda);
148 bool CheckDefaultArgumentVisitor::VisitLambdaExpr(const LambdaExpr *Lambda) {
149 // C++11 [expr.lambda.prim]p13:
150 // A lambda-expression appearing in a default argument shall not
152 if (Lambda->capture_begin() == Lambda->capture_end())
155 return S.Diag(Lambda->getBeginLoc(), diag::err_lambda_capture_default_arg);
9151 // C++11 [expr.lambda.prim]p19:
9152 // The closure type associated with a lambda-expression has a
9155 // C++2a adds back these operators if the lambda has no lambda-capture
    [all...]
SemaTemplateDeduction.cpp 4987 // For a lambda's conversion operator, deduce any 'auto' or 'decltype(auto)'
4990 CXXRecordDecl *Lambda = cast<CXXMethodDecl>(FD)->getParent();
4991 FunctionDecl *CallOp = Lambda->getLambdaCallOperator();
4993 // For a generic lambda, instantiate the call operator if needed.
5012 "failed to deduce lambda return type");
SemaChecking.cpp 10477 const auto *Lambda = dyn_cast<LambdaExpr>(
10479 if (!Lambda)
10482 S.Diag(Lambda->getBeginLoc(), diag::warn_free_nonheap_object)
10483 << CalleeName << 2 /*object: lambda expression*/;
SemaExprCXX.cpp 1066 // Iterate through the stack of lambdas starting from the innermost lambda to
1067 // the outermost lambda, checking if '*this' is ever captured by copy - since
1070 // member function. We then start with the innermost lambda and iterate
1071 // outward checking to see if any lambda performs a by-copy capture of '*this'
1072 // - and if so, any nested lambda must respect the 'constness' of that
1077 // nesting of the lambda expressions during initial parsing (and is the best
1080 // that contain lambda expressions that need to be transformed BUT not
1081 // necessarily during instantiation of a nested generic lambda's function call
1085 // enclosing lambda expressions:
1088 // a Lambda (i.e. LambdaScopeInfo) AND each LSI's 'closure-type' is lexicall
    [all...]
SemaDecl.cpp 4406 Lambda,
4466 // -- contain a lambda-expression,
4468 return {NonCLikeKind::Lambda, MemberRD->getSourceRange()};
7542 /// Return the location of the capture if the given lambda captures the given
7658 // Warn only when the lambda captures the shadowed decl explicitly.
7678 // Only block literals, captured statements, and lambda expressions
7717 /// Diagnose shadowing for variables shadowed in the lambda record \p LambdaRD
7718 /// when these variables are captured by the lambda.
13260 // Find outermost function when VD is in lambda function.
13850 // Make a note if we created a new pack in the scope of a lambda, so tha
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Serialization/
ASTReaderDecl.cpp 42 #include "clang/Basic/Lambda.h"
1743 auto &Lambda = static_cast<CXXRecordDecl::LambdaDefinitionData &>(Data);
1744 Lambda.Dependent = Record.readInt();
1745 Lambda.IsGenericLambda = Record.readInt();
1746 Lambda.CaptureDefault = Record.readInt();
1747 Lambda.NumCaptures = Record.readInt();
1748 Lambda.NumExplicitCaptures = Record.readInt();
1749 Lambda.HasKnownInternalLinkage = Record.readInt();
1750 Lambda.ManglingNumber = Record.readInt();
1752 Lambda.ContextDecl = readDeclID()
    [all...]
ASTWriter.cpp 43 #include "clang/Basic/Lambda.h"
5568 // Add lambda-specific data.
5570 auto &Lambda = D->getLambdaData();
5571 Record->push_back(Lambda.Dependent);
5572 Record->push_back(Lambda.IsGenericLambda);
5573 Record->push_back(Lambda.CaptureDefault);
5574 Record->push_back(Lambda.NumCaptures);
5575 Record->push_back(Lambda.NumExplicitCaptures);
5576 Record->push_back(Lambda.HasKnownInternalLinkage);
5577 Record->push_back(Lambda.ManglingNumber)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGClass.cpp 2909 const CXXRecordDecl *Lambda = variable->getType()->getAsCXXRecordDecl();
2910 const CXXMethodDecl *CallOp = Lambda->getLambdaCallOperator();
2916 CGM.ErrorUnsupported(CurCodeDecl, "lambda conversion to variadic function");
2923 QualType ThisType = getContext().getPointerType(getContext().getRecordType(Lambda));
2931 assert(!Lambda->isGenericLambda() &&
2932 "generic lambda interconversion to block not implemented");
2937 const CXXRecordDecl *Lambda = MD->getParent();
2942 QualType ThisType = getContext().getPointerType(getContext().getRecordType(Lambda));
2950 const CXXMethodDecl *CallOp = Lambda->getLambdaCallOperator();
2951 // For a generic lambda, find the corresponding call operator specializatio
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
ScopeInfo.h 10 // information about a single function, block, lambda, or method body.
568 /// lambda.
572 /// the lambda.
648 /// the type of the non-static data member in the lambda/block structure
679 /// is deduced (e.g. a lambda or block with omitted return type).
821 /// The class that describes the lambda.
822 CXXRecordDecl *Lambda = nullptr;
824 /// The lambda's compiler-generated \c operator().
827 /// Source range covering the lambda introducer [...].
838 /// Whether this is a mutable lambda
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Parse/
ParseExprCXX.cpp 688 /// ParseLambdaExpression - Parse a C++11 lambda expression.
690 /// lambda-expression:
691 /// lambda-introducer lambda-declarator compound-statement
692 /// lambda-introducer '<' template-parameter-list '>'
693 /// requires-clause[opt] lambda-declarator compound-statement
695 /// lambda-introducer:
696 /// '[' lambda-capture[opt] ']'
698 /// lambda-capture:
724 /// lambda-declarator
    [all...]

Completed in 114 milliseconds

1 2