reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/lib/AST/Interp/Block.h
   26 class Block;
tools/clang/lib/AST/Interp/Descriptor.h
   21 class Block;
tools/clang/lib/AST/Interp/Pointer.h
   27 class Block;

References

tools/clang/lib/AST/Interp/Block.cpp
   63 DeadBlock::DeadBlock(DeadBlock *&Root, Block *Blk)
tools/clang/lib/AST/Interp/Block.h
  115   DeadBlock(DeadBlock *&Root, Block *Blk);
  134   Block B;
tools/clang/lib/AST/Interp/ByteCodeEmitter.cpp
   81   NextLocalOffset += sizeof(Block);
tools/clang/lib/AST/Interp/Descriptor.cpp
   18 static void ctorTy(Block *, char *Ptr, bool, bool, bool, Descriptor *) {
   22 template <typename T> static void dtorTy(Block *, char *Ptr, Descriptor *) {
   27 static void moveTy(Block *, char *Src, char *Dst, Descriptor *) {
   34 static void ctorArrayTy(Block *, char *Ptr, bool, bool, bool, Descriptor *D) {
   41 static void dtorArrayTy(Block *, char *Ptr, Descriptor *D) {
   48 static void moveArrayTy(Block *, char *Src, char *Dst, Descriptor *D) {
   56 static void ctorArrayDesc(Block *B, char *Ptr, bool IsConst, bool IsMutable,
   81 static void dtorArrayDesc(Block *B, char *Ptr, Descriptor *D) {
   96 static void moveArrayDesc(Block *B, char *Src, char *Dst, Descriptor *D) {
  117 static void ctorRecord(Block *B, char *Ptr, bool IsConst, bool IsMutable,
  140 static void dtorRecord(Block *B, char *Ptr, Descriptor *D) {
  153 static void moveRecord(Block *B, char *Src, char *Dst, Descriptor *D) {
tools/clang/lib/AST/Interp/Descriptor.h
   31 using BlockCtorFn = void (*)(Block *Storage, char *FieldPtr, bool IsConst,
   37 using BlockDtorFn = void (*)(Block *Storage, char *FieldPtr,
   44 using BlockMoveFn = void (*)(Block *Storage, char *SrcFieldPtr,
tools/clang/lib/AST/Interp/EvalEmitter.cpp
   53   auto Memory = std::make_unique<char[]>(sizeof(Block) + D->getAllocSize());
   54   auto *B = new (Memory.get()) Block(D, /*isStatic=*/false);
   54   auto *B = new (Memory.get()) Block(D, /*isStatic=*/false);
  215   auto *B = reinterpret_cast<Block *>(It->second.get());
  229   auto *B = reinterpret_cast<Block *>(It->second.get());
tools/clang/lib/AST/Interp/Interp.h
  407   auto *B = S.P.getGlobal(I);
tools/clang/lib/AST/Interp/InterpFrame.cpp
   30           Block *B = new (localBlock(Local.Offset)) Block(Local.Desc);
   30           Block *B = new (localBlock(Local.Offset)) Block(Local.Desc);
  158       reinterpret_cast<Block *>(Locals.get() + Offset - sizeof(Block)));
  170   size_t BlockSize = sizeof(Block) + Desc.second->getAllocSize();
  172   auto *B = new (Memory.get()) Block(Desc.second);
  172   auto *B = new (Memory.get()) Block(Desc.second);
tools/clang/lib/AST/Interp/InterpFrame.h
  126     return Locals.get() + Offset - sizeof(Block);
tools/clang/lib/AST/Interp/InterpState.cpp
   57 void InterpState::deallocate(Block *B) {
tools/clang/lib/AST/Interp/InterpState.h
   81   void deallocate(Block *B);
tools/clang/lib/AST/Interp/Pointer.cpp
   17 Pointer::Pointer(Block *Pointee) : Pointer(Pointee, 0, 0) {}
   27 Pointer::Pointer(Block *Pointee, unsigned Base, unsigned Offset)
   42   Block *Old = Pointee;
   59   Block *Old = Pointee;
tools/clang/lib/AST/Interp/Pointer.h
   46   Pointer(Block *B);
  316   Pointer(Block *Pointee, unsigned Base, unsigned Offset);
  333   Block *Pointee = nullptr;
tools/clang/lib/AST/Interp/Program.h
   54   Block *getGlobal(unsigned Idx) {
  166     Block *block() { return &B; }
  170     Block B;