HomeSort by: relevance | last modified time | path
    Searched defs:Capture (Results 1 - 10 of 10) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGBlocks.h 160 class Capture {
165 /// Type of the capture field. Normally, this is identical to the type of
166 /// the capture's VarDecl, but can be different if there is an enclosing
200 static Capture makeIndex(unsigned index, CharUnits offset,
202 Capture v;
209 static Capture makeConstant(llvm::Value *value) {
210 Capture v;
242 llvm::DenseMap<const VarDecl*, Capture> Captures;
266 const Capture &getCapture(const VarDecl *var) const {
269 Capture &getCapture(const VarDecl *var)
    [all...]
CGBlocks.cpp 85 const BlockDecl::Capture *CI;
86 const CGBlockInfo::Capture *Capture;
92 const BlockDecl::Capture &CI,
93 const CGBlockInfo::Capture &Capture)
95 DisposeFlags(DisposeFlags), CI(&CI), Capture(&Capture) {}
98 return Capture->getOffset() < Other.Capture->getOffset()
912 const CGBlockInfo::Capture &capture = blockInfo.getCapture(variable); local
1247 const CGBlockInfo::Capture &capture = BlockInfo->getCapture(variable); local
1546 const CGBlockInfo::Capture &capture = blockInfo.getCapture(variable); local
1586 const CGBlockInfo::Capture &capture = blockInfo.getCapture(variable); local
1980 const CGBlockInfo::Capture &capture = *CopiedCapture.Capture; local
2175 const CGBlockInfo::Capture &capture = *DestroyedCapture.Capture; local
    [all...]
CGDebugInfo.cpp 1432 // For C++11 Lambdas a Field will be the same as a Capture, but the Capture
4550 const BlockDecl::Capture *Capture;
4624 // 'this' capture.
4629 chunk.Capture = nullptr;
4634 for (const auto &capture : blockDecl->captures()) {
4635 const VarDecl *variable = capture.getVariable();
4636 const CGBlockInfo::Capture &captureInfo = block.getCapture(variable);
4645 chunk.Capture = &capture
4654 const BlockDecl::Capture *capture = Chunk.Capture; local
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Frontend/OpenMP/
OMPIRBuilder.h 901 enum AtomicKind { Read, Write, Update, Capture };
1038 /// \return Insertion point after generated atomic capture IR.
  /src/external/apache2/llvm/dist/clang/lib/AST/
Stmt.cpp 1265 CapturedStmt::Capture::Capture(SourceLocation Loc, VariableCaptureKind Kind,
1270 assert(!Var && "'this' capture cannot have a variable!");
1280 "Variable-length array type capture cannot have a variable!");
1286 CapturedStmt::Capture::getCaptureKind() const {
1290 VarDecl *CapturedStmt::Capture::getCapturedVar() const {
1292 "No variable available for 'this' or VAT capture");
1296 CapturedStmt::Capture *CapturedStmt::getStoredCaptures() const {
1299 // Offset of the first Capture object.
1300 unsigned FirstCaptureOffset = llvm::alignTo(Size, alignof(Capture));
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
Initialization.h 176 /// The source location at which the capture occurs.
209 struct C Capture;
239 /// Create the initialization entity for a lambda capture.
242 new (&Capture) C;
243 Capture.VarID = VarID;
244 Capture.Location = Loc;
403 /// Create the initialization entity for a lambda capture.
530 /// For a lambda capture, return the capture's name.
532 assert(getKind() == EK_LambdaCapture && "Not a lambda capture!");
    [all...]
ScopeInfo.h 521 class Capture {
522 // There are three categories of capture: capturing 'this', capturing
524 // arbitrary initializer, and don't really capture in the traditional
527 // There are three ways to capture a local variable:
528 // - capture by copy in the C++11 sense,
529 // - capture by reference in the C++11 sense, and
530 // - __block capture.
531 // Lambdas explicitly specify capture by copy or capture by reference.
532 // For blocks, __block capture applies to variables with that annotation
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
ASTUnit.cpp 643 /// there is no diagnostic client to capture them already.
1354 llvm::Optional<CaptureDroppedDiagnostics> Capture;
1356 Capture.emplace(CaptureDiagnostics, *Diagnostics, &NewPreambleDiags,
1730 CaptureDroppedDiagnostics Capture(CaptureDiagnostics, *Diags,
2175 CaptureDroppedDiagnostics Capture(CaptureDiagsKind::All,
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaLambda.cpp 28 /// enclosing lambda (to the current lambda) that is 'capture-ready' for
31 /// of the capture-ready lambda's LambdaScopeInfo.
35 /// lambda that is ready to capture the \p VarToCapture being referenced in
38 /// that is the lambda with the highest index that is 'capture-ready'.
40 /// A lambda 'L' is capture-ready for 'V' (var or this) if:
44 /// stack), can all capture or have already captured V.
45 /// If \p VarToCapture is 'null' then we are trying to capture 'this'.
47 /// Note that a lambda that is deemed 'capture-ready' still needs to be checked
48 /// for whether it is 'capture-capable' (see
50 /// capture
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
Stmt.h 940 /// The default capture kind, which is a value of type
3473 /// The different capture forms: by 'this', by reference, capture for
3482 /// Describes the capture of either a variable, or 'this', or
3484 class Capture {
3491 /// Create a new capture.
3493 /// \param Loc The source location associated with this capture.
3495 /// \param Kind The kind of capture (this, ByRef, ...).
3498 Capture(SourceLocation Loc, VariableCaptureKind Kind,
3501 /// Determine the kind of capture
    [all...]

Completed in 52 milliseconds