Lines Matching refs:llvm
1 //===--- CGVTables.h - Emit LLVM Code for C++ vtables -----------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
17 #include "llvm/ADT/DenseMap.h"
18 #include "llvm/GlobalVariable.h"
37 llvm::DenseMap<const CXXRecordDecl *, llvm::GlobalVariable *> VTables;
40 typedef llvm::DenseMap<BaseSubobject, uint64_t> VTableAddressPointsMapTy;
43 typedef llvm::DenseMap<BaseSubobjectPairTy, uint64_t> SubVTTIndiciesMapTy;
48 typedef llvm::DenseMap<BaseSubobjectPairTy, uint64_t>
69 llvm::Constant *CreateVTableInitializer(const CXXRecordDecl *RD,
103 llvm::GlobalVariable *GetAddrOfVTable(const CXXRecordDecl *RD);
106 void EmitVTableDefinition(llvm::GlobalVariable *VTable,
107 llvm::GlobalVariable::LinkageTypes Linkage,
112 llvm::GlobalVariable *
115 llvm::GlobalVariable::LinkageTypes Linkage,
120 llvm::GlobalVariable *GetAddrOfVTT(const CXXRecordDecl *RD);
123 void EmitVTTDefinition(llvm::GlobalVariable *VTT,
124 llvm::GlobalVariable::LinkageTypes Linkage,
135 void GenerateClassData(llvm::GlobalVariable::LinkageTypes Linkage,