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

Declarations

tools/clang/include/clang/CodeGen/CodeGenABITypes.h
   51 class CodeGenModule;
tools/clang/include/clang/CodeGen/ConstantInitBuilder.h
   30 class CodeGenModule;
tools/clang/include/clang/CodeGen/ModuleBuilder.h
   36   class CodeGenModule;
tools/clang/include/clang/CodeGen/SwiftCallingConv.h
   36 class CodeGenModule;
tools/clang/lib/CodeGen/CGCUDARuntime.h
   33 class CodeGenModule;
tools/clang/lib/CodeGen/CGCXXABI.h
   39 class CodeGenModule;
tools/clang/lib/CodeGen/CGCleanup.h
   32 class CodeGenModule;
tools/clang/lib/CodeGen/CGDebugInfo.h
   47 class CodeGenModule;
tools/clang/lib/CodeGen/CGObjCRuntime.h
   56   class CodeGenModule;
tools/clang/lib/CodeGen/CGOpenCLRuntime.h
   33 class CodeGenModule;
tools/clang/lib/CodeGen/CGOpenMPRuntime.h
   50 class CodeGenModule;
tools/clang/lib/CodeGen/CGVTables.h
   28   class CodeGenModule;
tools/clang/lib/CodeGen/CodeGenTypes.h
   54 class CodeGenModule;
tools/clang/lib/CodeGen/CoverageMappingGen.h
   45 class CodeGenModule;
tools/clang/lib/CodeGen/PatternInit.h
   20 class CodeGenModule;
tools/clang/lib/CodeGen/SanitizerMetadata.h
   30 class CodeGenModule;

References

include/llvm/ADT/Optional.h
   87   template <class... Args> void emplace(Args &&... args) {
  237   template <typename... ArgTypes> void emplace(ArgTypes &&... Args) {
tools/clang/include/clang/CodeGen/CodeGenABITypes.h
   53 const CGFunctionInfo &arrangeObjCMessageSendSignature(CodeGenModule &CGM,
   57 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM,
   60 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM,
   63 const CGFunctionInfo &arrangeCXXMethodType(CodeGenModule &CGM,
   68 const CGFunctionInfo &arrangeFreeFunctionCall(CodeGenModule &CGM,
   75 llvm::FunctionType *convertFreeFunctionType(CodeGenModule &CGM,
   78 llvm::Type *convertTypeForMemory(CodeGenModule &CGM, QualType T);
   84 unsigned getLLVMFieldNumber(CodeGenModule &CGM,
   91 llvm::Function *getNonTrivialCStructDefaultConstructor(CodeGenModule &GCM,
  100 llvm::Function *getNonTrivialCStructCopyConstructor(CodeGenModule &CGM,
  110 llvm::Function *getNonTrivialCStructMoveConstructor(CodeGenModule &CGM,
  121     CodeGenModule &CGM, CharUnits DstAlignment, CharUnits SrcAlignment,
  129     CodeGenModule &CGM, CharUnits DstAlignment, CharUnits SrcAlignment,
  136 llvm::Function *getNonTrivialCStructDestructor(CodeGenModule &CGM,
tools/clang/include/clang/CodeGen/ConstantInitBuilder.h
   58   CodeGenModule &CGM;
   69   explicit ConstantInitBuilderBase(CodeGenModule &CGM) : CGM(CGM) {}
  487   ConstantInitBuilderTemplateBase(CodeGenModule &CGM)
  519   explicit ConstantInitBuilder(CodeGenModule &CGM) :
tools/clang/include/clang/CodeGen/ModuleBuilder.h
   50   CodeGen::CodeGenModule &CGM();
tools/clang/include/clang/CodeGen/SwiftCallingConv.h
   42   CodeGenModule &CGM;
   57   SwiftAggLowering(CodeGenModule &CGM) : CGM(CGM) {}
  123 bool shouldPassIndirectly(CodeGenModule &CGM,
  128 CharUnits getMaximumVoluntaryIntegerSize(CodeGenModule &CGM);
  131 CharUnits getNaturalAlignment(CodeGenModule &CGM, llvm::Type *type);
  135 bool isLegalIntegerType(CodeGenModule &CGM, llvm::IntegerType *type);
  139 bool isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
  141 bool isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
  146 splitLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
  153 void legalizeVectorType(CodeGenModule &CGM, CharUnits vectorSize,
  165 bool mustPassRecordIndirectly(CodeGenModule &CGM, const RecordDecl *record);
  168 ABIArgInfo classifyReturnType(CodeGenModule &CGM, CanQualType type);
  171 ABIArgInfo classifyArgumentType(CodeGenModule &CGM, CanQualType type);
  175 void computeABIInfo(CodeGenModule &CGM, CGFunctionInfo &FI);
  178 bool isSwiftErrorLoweredInRegister(CodeGenModule &CGM);
tools/clang/lib/CodeGen/CGAtomic.cpp
  315 static bool isFullSizeType(CodeGenModule &CGM, llvm::Type *type,
tools/clang/lib/CodeGen/CGBlocks.cpp
   50 static llvm::Constant *buildGlobalBlock(CodeGenModule &CGM,
   55 static llvm::Constant *buildCopyHelper(CodeGenModule &CGM,
   61 static llvm::Constant *buildDisposeHelper(CodeGenModule &CGM,
  119                                       CodeGenModule &CGM);
  122                                           CodeGenModule &CGM) {
  184 static llvm::Constant *buildBlockDescriptor(CodeGenModule &CGM,
  411 static llvm::Constant *tryCaptureAsConstant(CodeGenModule &CGM,
  447 static void initializeForBlockHeader(CodeGenModule &CGM, CGBlockInfo &info,
  521 static void computeBlockInfo(CodeGenModule &CGM, CodeGenFunction *CGF,
 1382 static llvm::Constant *buildGlobalBlock(CodeGenModule &CGM,
 1812                                       CodeGenModule &CGM) {
 1907     CharUnits BlockAlignment, CaptureStrKind StrKind, CodeGenModule &CGM) {
 1973                                                CodeGenModule &CGM) {
 2512 static llvm::Constant *buildByrefCopyHelper(CodeGenModule &CGM,
 2575 static llvm::Constant *buildByrefDisposeHelper(CodeGenModule &CGM,
 2585 static T *buildByrefHelpers(CodeGenModule &CGM, const BlockByrefInfo &byrefInfo,
 2946 static void configureBlocksRuntimeObject(CodeGenModule &CGM,
tools/clang/lib/CodeGen/CGBuiltin.cpp
 1509 static bool TypeRequiresBuiltinLaunder(CodeGenModule &CGM, QualType Ty) {
 5921   CodeGen::CodeGenModule &CGM = CGF.CGM;
tools/clang/lib/CodeGen/CGCUDANV.cpp
  123   CGNVCUDARuntime(CodeGenModule &CGM);
  153 CGNVCUDARuntime::CGNVCUDARuntime(CodeGenModule &CGM)
  806 CGCUDARuntime *CodeGen::CreateNVCUDARuntime(CodeGenModule &CGM) {
tools/clang/lib/CodeGen/CGCUDARuntime.h
   40   CodeGenModule &CGM;
   49   CGCUDARuntime(CodeGenModule &CGM) : CGM(CGM) {}
   74 CGCUDARuntime *CreateNVCUDARuntime(CodeGenModule &CGM);
tools/clang/lib/CodeGen/CGCXX.cpp
  252   CodeGenModule &CGM = CGF.CGM;
tools/clang/lib/CodeGen/CGCXXABI.h
   45   CodeGenModule &CGM;
   48   CGCXXABI(CodeGenModule &CGM)
  574       CodeGenModule &CGM, ArrayRef<const VarDecl *> CXXThreadLocals,
  604 CGCXXABI *CreateItaniumCXXABI(CodeGenModule &CGM);
  607 CGCXXABI *CreateMicrosoftCXXABI(CodeGenModule &CGM);
tools/clang/lib/CodeGen/CGCall.cpp
  264 static void setCUDAKernelCallingConvention(CanQualType &FTy, CodeGenModule &CGM,
  563                             CodeGenModule &CGM,
  728 void computeSPIRKernelABIInfo(CodeGenModule &CGM, CGFunctionInfo &FI);
tools/clang/lib/CodeGen/CGCleanup.h
  611   static const EHPersonality &get(CodeGenModule &CGM, const FunctionDecl *FD);
tools/clang/lib/CodeGen/CGCoroutine.cpp
  398     auto &CGM = CGF.CGM;
tools/clang/lib/CodeGen/CGDebugInfo.cpp
   65 CGDebugInfo::CGDebugInfo(CodeGenModule &CGM)
  918 static bool needsTypeIdentifier(const TagDecl *TD, CodeGenModule &CGM,
  936 static SmallString<256> getTypeIdentifier(const TagType *Ty, CodeGenModule &CGM,
tools/clang/lib/CodeGen/CGDebugInfo.h
   57   CodeGenModule &CGM;
  343   CGDebugInfo(CodeGenModule &CGM);
tools/clang/lib/CodeGen/CGDecl.cpp
  195 static std::string getStaticDeclName(CodeGenModule &CGM, const VarDecl &D) {
  897 static void emitStoresForInitAfterBZero(CodeGenModule &CGM,
  974 static bool shouldSplitConstantStore(CodeGenModule &CGM,
  988 static llvm::Constant *patternOrZeroFor(CodeGenModule &CGM, IsPattern isPattern,
  996 static llvm::Constant *constWithPadding(CodeGenModule &CGM, IsPattern isPattern,
 1000 static llvm::Constant *constStructWithPadding(CodeGenModule &CGM,
 1040 static llvm::Constant *constWithPadding(CodeGenModule &CGM, IsPattern isPattern,
 1127 static Address createUnnamedGlobalForMemcpyFrom(CodeGenModule &CGM,
 1140 static void emitStoresForConstant(CodeGenModule &CGM, const VarDecl &D,
 1222 static void emitStoresForZeroInit(CodeGenModule &CGM, const VarDecl &D,
 1231 static void emitStoresForPatternInit(CodeGenModule &CGM, const VarDecl &D,
 1252 static llvm::Constant *replaceUndef(CodeGenModule &CGM, IsPattern isPattern,
tools/clang/lib/CodeGen/CGDeclCXX.cpp
   42     CodeGenModule &CGM = CGF.CGM;
   98   CodeGenModule &CGM = CGF.CGM;
tools/clang/lib/CodeGen/CGException.cpp
   31 static llvm::FunctionCallee getFreeExceptionFn(CodeGenModule &CGM) {
   40 static llvm::FunctionCallee getUnexpectedFn(CodeGenModule &CGM) {
   75 static llvm::FunctionCallee getCatchallRethrowFn(CodeGenModule &CGM,
  212 const EHPersonality &EHPersonality::get(CodeGenModule &CGM,
  238 static llvm::FunctionCallee getPersonalityFn(CodeGenModule &CGM,
  245 static llvm::Constant *getOpaquePersonalityFn(CodeGenModule &CGM,
 1621     CodeGenModule &CGM = CGF.CGM;
tools/clang/lib/CodeGen/CGExpr.cpp
 2396 static llvm::Constant *EmitFunctionDeclPointer(CodeGenModule &CGM,
 2441 static LValue EmitGlobalNamedRegister(const VarDecl *VD, CodeGenModule &CGM) {
tools/clang/lib/CodeGen/CGExprAgg.cpp
  495     CodeGen::CodeGenModule &CGM = CGF.CGM;
tools/clang/lib/CodeGen/CGExprConstant.cpp
   42   CodeGenModule &CGM;
   44   ConstantAggregateBuilderUtils(CodeGenModule &CGM) : CGM(CGM) {}
   98   static llvm::Constant *buildFrom(CodeGenModule &CGM,
  106   ConstantAggregateBuilder(CodeGenModule &CGM)
  383 EmitArrayConstant(CodeGenModule &CGM, llvm::ArrayType *DesiredType,
  389     CodeGenModule &CGM, ArrayRef<llvm::Constant *> Elems,
  537   CodeGenModule &CGM;
  884 static ConstantAddress tryEmitGlobalCompoundLiteral(CodeGenModule &CGM,
  916 EmitArrayConstant(CodeGenModule &CGM, llvm::ArrayType *DesiredType,
  985   CodeGenModule &CGM;
 1441     CodeGenModule &CGM;
 1459     ReplacePlaceholders(CodeGenModule &CGM, llvm::Constant *base,
 1588 static QualType getNonMemoryType(CodeGenModule &CGM, QualType type) {
 1667 llvm::Constant *ConstantEmitter::emitForMemory(CodeGenModule &CGM,
 1740   CodeGenModule &CGM;
 1926                                                     CodeGenModule &CGM) {
 2187 static llvm::Constant *EmitNullConstantForBase(CodeGenModule &CGM,
 2191 static llvm::Constant *EmitNullConstant(CodeGenModule &CGM,
 2276 static llvm::Constant *EmitNullConstantForBase(CodeGenModule &CGM,
 2289 llvm::Constant *ConstantEmitter::emitNullForMemory(CodeGenModule &CGM,
tools/clang/lib/CodeGen/CGExprScalar.cpp
 4558                                                  CodeGenModule &CGM,
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp
  303 static const CGFunctionInfo &getFunctionInfo(CodeGenModule &CGM,
  429               std::array<CharUnits, N> Alignments, CodeGenModule &CGM) {
  840                    std::array<CharUnits, N> Alignments, CodeGenModule &CGM) {
  936     CodeGenModule &CGM, CharUnits DstAlignment, bool IsVolatile, QualType QT) {
  945     CodeGenModule &CGM, CharUnits DstAlignment, CharUnits SrcAlignment,
  957     CodeGenModule &CGM, CharUnits DstAlignment, CharUnits SrcAlignment,
  969     CodeGenModule &CGM, CharUnits DstAlignment, CharUnits SrcAlignment,
  981     CodeGenModule &CGM, CharUnits DstAlignment, CharUnits SrcAlignment,
  993     CodeGenModule &CGM, CharUnits DstAlignment, bool IsVolatile, QualType QT) {
tools/clang/lib/CodeGen/CGObjC.cpp
  376   auto &CGM = CGF.CGM;
  766 static CharUnits getMaxAtomicAccessSize(CodeGenModule &CGM,
  808     PropertyImplStrategy(CodeGenModule &CGM,
  823 PropertyImplStrategy::PropertyImplStrategy(CodeGenModule &CGM,
 1304 static bool UseOptimizedSetter(CodeGenModule &CGM) {
 1963 static void setARCRuntimeFunctionLinkage(CodeGenModule &CGM, llvm::Value *RTF) {
 1975 static void setARCRuntimeFunctionLinkage(CodeGenModule &CGM,
tools/clang/lib/CodeGen/CGObjCGNU.cpp
   58   CodeGenModule *CGM;
   73   void init(CodeGenModule *Mod, const char *name, llvm::Type *RetTy,
  573   CGObjCGNU(CodeGenModule &cgm, unsigned runtimeABIVersion,
  654   llvm::Constant *BuildGCBlockLayout(CodeGenModule &CGM,
  658   llvm::Constant *BuildRCBlockLayout(CodeGenModule &CGM,
  663   llvm::Constant *BuildByrefLayout(CodeGenModule &CGM, QualType T) override {
  707   CGObjCGCC(CodeGenModule &Mod) : CGObjCGNU(Mod, 8, 2) {
  804     CGObjCGNUstep(CodeGenModule &Mod) : CGObjCGNUstep(Mod, 9, 3, 1) {}
  805     CGObjCGNUstep(CodeGenModule &Mod, unsigned ABI, unsigned ProtocolABI,
 1981     CGObjCGNUstep2(CodeGenModule &Mod) : CGObjCGNUstep(Mod, 10, 4, 2) {
 2084   CGObjCObjFW(CodeGenModule &Mod): CGObjCGNU(Mod, 9, 3) {
 2117 CGObjCGNU::CGObjCGNU(CodeGenModule &cgm, unsigned runtimeABIVersion,
 4103 clang::CodeGen::CreateGNUObjCRuntime(CodeGenModule &CGM) {
tools/clang/lib/CodeGen/CGObjCMac.cpp
  169   CodeGen::CodeGenModule &CGM;
  490   ObjCCommonTypesHelper(CodeGen::CodeGenModule &cgm);
  595   ObjCTypesHelper(CodeGen::CodeGenModule &cgm);
  754   ObjCNonFragileABITypesHelper(CodeGen::CodeGenModule &cgm);
 1082   CGObjCCommonMac(CodeGen::CodeGenModule &cgm) :
 1110   llvm::Constant *BuildGCBlockLayout(CodeGen::CodeGenModule &CGM,
 1112   llvm::Constant *BuildRCBlockLayout(CodeGen::CodeGenModule &CGM,
 1114   std::string getRCBlockLayoutStr(CodeGen::CodeGenModule &CGM,
 1117   llvm::Constant *BuildByrefLayout(CodeGen::CodeGenModule &CGM,
 1121   void fillRunSkipBlockVars(CodeGenModule &CGM, const CGBlockInfo &blockInfo);
 1309   CGObjCMac(CodeGen::CodeGenModule &cgm);
 1594   CGObjCNonFragileABIMac(CodeGen::CodeGenModule &cgm);
 1849 getLinkageTypeForObjCMetadata(CodeGenModule &CGM, StringRef Section) {
 1859                      const llvm::Twine &Name, CodeGenModule &CGM) {
 1872 CGObjCMac::CGObjCMac(CodeGen::CodeGenModule &cgm) : CGObjCCommonMac(cgm),
 2303     CodeGenModule &CGM;
 2321     IvarLayoutBuilder(CodeGenModule &CGM, CharUnits instanceBegin,
 2357 llvm::Constant *CGObjCCommonMac::BuildGCBlockLayout(CodeGenModule &CGM,
 2901 void CGObjCCommonMac::fillRunSkipBlockVars(CodeGenModule &CGM,
 2954 CGObjCCommonMac::BuildRCBlockLayout(CodeGenModule &CGM,
 2960 std::string CGObjCCommonMac::getRCBlockLayoutStr(CodeGenModule &CGM,
 2967 llvm::Constant *CGObjCCommonMac::BuildByrefLayout(CodeGen::CodeGenModule &CGM,
 3485 static bool hasMRCWeakIvars(CodeGenModule &CGM,
 5603 CGObjCNonFragileABIMac::CGObjCNonFragileABIMac(CodeGen::CodeGenModule &cgm)
 5611 ObjCCommonTypesHelper::ObjCCommonTypesHelper(CodeGen::CodeGenModule &cgm)
 5696 ObjCTypesHelper::ObjCTypesHelper(CodeGen::CodeGenModule &cgm)
 5859 ObjCNonFragileABITypesHelper::ObjCNonFragileABITypesHelper(CodeGen::CodeGenModule &cgm)
 6352 static llvm::GlobalValue::DLLStorageClassTypes getStorage(CodeGenModule &CGM,
 7760 CodeGen::CreateMacObjCRuntime(CodeGen::CodeGenModule &CGM) {
tools/clang/lib/CodeGen/CGObjCRuntime.cpp
   29 uint64_t CGObjCRuntime::ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM,
   36 uint64_t CGObjCRuntime::ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM,
   45     CodeGen::CodeGenModule &CGM,
tools/clang/lib/CodeGen/CGObjCRuntime.h
   65   CodeGen::CodeGenModule &CGM;
   66   CGObjCRuntime(CodeGen::CodeGenModule &CGM) : CGM(CGM) {}
   78   uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM,
   81   uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM,
  275   virtual llvm::Constant *BuildGCBlockLayout(CodeGen::CodeGenModule &CGM,
  277   virtual llvm::Constant *BuildRCBlockLayout(CodeGen::CodeGenModule &CGM,
  279   virtual std::string getRCBlockLayoutStr(CodeGen::CodeGenModule &CGM,
  285   virtual llvm::Constant *BuildByrefLayout(CodeGen::CodeGenModule &CGM,
  303   unsigned ComputeBitfieldBitOffset(CodeGen::CodeGenModule &CGM,
  310 CGObjCRuntime *CreateGNUObjCRuntime(CodeGenModule &CGM);
  311 CGObjCRuntime *CreateMacObjCRuntime(CodeGenModule &CGM);
tools/clang/lib/CodeGen/CGOpenCLRuntime.h
   37   CodeGenModule &CGM;
   55   CGOpenCLRuntime(CodeGenModule &CGM) : CGM(CGM),
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1241 CGOpenMPRuntime::CGOpenMPRuntime(CodeGenModule &CGM, StringRef FirstSeparator,
 1348 emitCombinerOrInitializer(CodeGenModule &CGM, QualType Ty,
 1440     CodeGenModule &CGM, const OMPExecutableDirective &D, const CapturedStmt *CS,
 1522 static void buildStructValue(ConstantStructBuilder &Fields, CodeGenModule &CGM,
 1542 createGlobalStruct(CodeGenModule &CGM, QualType Ty, bool IsConstant,
 1557 createConstantGlobalStructAndAddToParent(CodeGenModule &CGM, QualType Ty,
 3288     CodeGenModule &CGM, llvm::Type *ArgsType,
 3576 static int addMonoNonMonoModifier(CodeGenModule &CGM, OpenMPSchedType Schedule,
 4395 createPrivatesRecordDecl(CodeGenModule &CGM, ArrayRef<PrivateDataTy> Privates) {
 4421 createKmpTaskTRecordDecl(CodeGenModule &CGM, OpenMPDirectiveKind Kind,
 4467 createKmpTaskTWithPrivatesRecordDecl(CodeGenModule &CGM, QualType KmpTaskTQTy,
 4495 emitProxyTaskFunction(CodeGenModule &CGM, SourceLocation Loc,
 4598 static llvm::Value *emitDestructorsFunction(CodeGenModule &CGM,
 4658 emitTaskPrivateMappingFunction(CodeGenModule &CGM, SourceLocation Loc,
 4878 emitTaskDupFunction(CodeGenModule &CGM, SourceLocation Loc,
 5976 static std::string generateUniqueName(CodeGenModule &CGM, StringRef Prefix,
 6000 static llvm::Value *emitReduceInitFunction(CodeGenModule &CGM,
 6069 static llvm::Value *emitReduceCombFunction(CodeGenModule &CGM,
 6145 static llvm::Value *emitReduceFiniFunction(CodeGenModule &CGM,
 8560   CodeGenModule &CGM = CGF.CGM;
 8675   CodeGenModule &CGM = CGF.CGM;
 9821     CodeGenModule &CGM)
10562     CodeGenModule &CGM, const FunctionDecl *FD, unsigned UserVLEN,
tools/clang/lib/CodeGen/CGOpenMPRuntime.h
  206     CodeGenModule &CGM;
  210     DisableAutoDeclareTargetRAII(CodeGenModule &CGM);
  215   CodeGenModule &CGM;
  219   explicit CGOpenMPRuntime(CodeGenModule &CGM, StringRef FirstSeparator,
  440     CodeGenModule &CGM;
  499     OffloadEntriesInfoManagerTy(CodeGenModule &CGM) : CGM(CGM) {}
  817   explicit CGOpenMPRuntime(CodeGenModule &CGM)
 1671   explicit CGOpenMPSIMDRuntime(CodeGenModule &CGM) : CGOpenMPRuntime(CGM) {}
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
  694     CodeGenModule &CGM, SourceLocation Loc)
  701     CodeGenModule &CGM) {
  717 getDataSharingMode(CodeGenModule &CGM) {
 1381 static void setPropertyExecutionMode(CodeGenModule &CGM, StringRef Name,
 1920 CGOpenMPRuntimeNVPTX::CGOpenMPRuntimeNVPTX(CodeGenModule &CGM)
 2840   CodeGenModule &CGM = CGF.CGM;
 2966   CodeGenModule &CGM = CGF.CGM;
 3167 static llvm::Value *emitInterWarpCopyFunction(CodeGenModule &CGM,
 3460     CodeGenModule &CGM, ArrayRef<const Expr *> Privates,
 3622     CodeGenModule &CGM, ArrayRef<const Expr *> Privates,
 3727     CodeGenModule &CGM, ArrayRef<const Expr *> Privates,
 3822     CodeGenModule &CGM, ArrayRef<const Expr *> Privates,
 3927     CodeGenModule &CGM, ArrayRef<const Expr *> Privates,
 4930 static CudaArch getCudaArch(CodeGenModule &CGM) {
 5003 static std::pair<unsigned, unsigned> getSMsBlocksPerSM(CodeGenModule &CGM) {
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h
   49     WorkerFunctionState(CodeGenModule &CGM, SourceLocation Loc);
   52     void createWorkerFunction(CodeGenModule &CGM);
  209   explicit CGOpenMPRuntimeNVPTX(CodeGenModule &CGM);
tools/clang/lib/CodeGen/CGStmt.cpp
 1788                        const TargetInfo &Target, CodeGenModule &CGM,
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
  396   CodeGenModule &CGM = CGF.CGM;
 2279     CodeGenModule &CGM, StringRef ParentName, const OMPTargetSimdDirective &S) {
 3603 static llvm::Function *emitOutlinedOrderedFunction(CodeGenModule &CGM,
 4118   CodeGenModule &CGM = CGF.CGM;
 4206 void CodeGenFunction::EmitOMPTargetDeviceFunction(CodeGenModule &CGM,
 4293     CodeGenModule &CGM, StringRef ParentName,
 4339     CodeGenModule &CGM, StringRef ParentName,
 4385     CodeGenModule &CGM, StringRef ParentName,
 4525     CodeGenModule &CGM, StringRef ParentName,
 4577     CodeGenModule &CGM, StringRef ParentName,
 4855     CodeGenModule &CGM, StringRef ParentName,
 4894     CodeGenModule &CGM, StringRef ParentName,
 4933     CodeGenModule &CGM, StringRef ParentName,
tools/clang/lib/CodeGen/CGVTT.cpp
   21 GetAddrOfVTTVTable(CodeGenVTables &CGVT, CodeGenModule &CGM,
tools/clang/lib/CodeGen/CGVTables.cpp
   30 CodeGenVTables::CodeGenVTables(CodeGenModule &CGM)
   39 static void setThunkProperties(CodeGenModule &CGM, const ThunkInfo &Thunk,
  469 static bool shouldEmitVTableThunk(CodeGenModule &CGM, const CXXMethodDecl *MD,
  816 static bool shouldEmitAvailableExternallyVTable(const CodeGenModule &CGM,
  977 static bool shouldEmitVTableAtEndOfTranslationUnit(CodeGenModule &CGM,
tools/clang/lib/CodeGen/CGVTables.h
   33   CodeGenModule &CGM;
   76   CodeGenVTables(CodeGenModule &CGM);
tools/clang/lib/CodeGen/CodeGenABITypes.cpp
   29 CodeGen::arrangeObjCMessageSendSignature(CodeGenModule &CGM,
   36 CodeGen::arrangeFreeFunctionType(CodeGenModule &CGM,
   42 CodeGen::arrangeFreeFunctionType(CodeGenModule &CGM,
   48 CodeGen::arrangeCXXMethodType(CodeGenModule &CGM,
   56 CodeGen::arrangeFreeFunctionCall(CodeGenModule &CGM,
   67 CodeGen::convertFreeFunctionType(CodeGenModule &CGM, const FunctionDecl *FD) {
   78 CodeGen::convertTypeForMemory(CodeGenModule &CGM, QualType T) {
   82 unsigned CodeGen::getLLVMFieldNumber(CodeGenModule &CGM,
tools/clang/lib/CodeGen/CodeGenFunction.cpp
   60 CodeGenFunction::CodeGenFunction(CodeGenModule &cgm, bool suppressNewContext)
  630 static llvm::Constant *getPrologueSignature(CodeGenModule &CGM,
 2147                                 CodeGenModule &CGM, const FunctionDecl *FD,
 2264 static void CreateMultiVersionResolverReturn(CodeGenModule &CGM,
tools/clang/lib/CodeGen/CodeGenFunction.h
  257   CodeGenModule &CGM;  // Per-module state.
 1613   CodeGenFunction(CodeGenModule &cgm, bool suppressNewContext=false);
 3190   static void EmitOMPTargetDeviceFunction(CodeGenModule &CGM,
 3194   EmitOMPTargetParallelDeviceFunction(CodeGenModule &CGM, StringRef ParentName,
 3198       CodeGenModule &CGM, StringRef ParentName,
 3202       CodeGenModule &CGM, StringRef ParentName,
 3206   EmitOMPTargetTeamsDeviceFunction(CodeGenModule &CGM, StringRef ParentName,
 3210       CodeGenModule &CGM, StringRef ParentName,
 3214       CodeGenModule &CGM, StringRef ParentName,
 3217   static void EmitOMPTargetSimdDeviceFunction(CodeGenModule &CGM,
 3223       CodeGenModule &CGM, StringRef ParentName,
 3227       CodeGenModule &CGM, StringRef ParentName,
tools/clang/lib/CodeGen/CodeGenModule.cpp
   73 static CGCXXABI *createCXXABI(CodeGenModule &CGM) {
  775 static bool shouldAssumeDSOLocal(const CodeGenModule &CGM,
  935 static std::string getCPUSpecificMangling(const CodeGenModule &CGM,
  941 static void AppendCPUSpecificCPUDispatchMangling(const CodeGenModule &CGM,
  953 static void AppendTargetMangling(const CodeGenModule &CGM,
  985 static std::string getMangledNameImpl(const CodeGenModule &CGM, GlobalDecl GD,
 1452 static bool requiresMemberFunctionPointerTypeMetadata(CodeGenModule &CGM,
 1897 static void emitUsed(CodeGenModule &CGM, StringRef Name,
 1956 static void addLinkOptionsPostorder(CodeGenModule &CGM, Module *Mod,
 3771 castStringLiteralToDefaultAddressSpace(CodeGenModule &CGM,
 3819 static bool shouldBeInCOMDAT(CodeGenModule &CGM, const Decl &D) {
 4100                                       CodeGenModule &CGM, const VarDecl *D,
 4886                       CodeGenModule &CGM, StringRef GlobalName,
 5135 static bool AllTrivialInitializers(CodeGenModule &CGM,
 5560 static void EmitGlobalDeclMetadata(CodeGenModule &CGM,
tools/clang/lib/CodeGen/CodeGenModule.h
  278   CodeGenModule(const CodeGenModule &) = delete;
  279   void operator=(const CodeGenModule &) = delete;
tools/clang/lib/CodeGen/CodeGenPGO.cpp
  143                                         CodeGenModule &CGM) {
tools/clang/lib/CodeGen/CodeGenPGO.h
   29   CodeGenModule &CGM;
   43   CodeGenPGO(CodeGenModule &CGM)
tools/clang/lib/CodeGen/CodeGenTypes.cpp
   31 CodeGenTypes::CodeGenTypes(CodeGenModule &cgm)
tools/clang/lib/CodeGen/CodeGenTypes.h
   60   CodeGenModule &CGM;
  110   CodeGenTypes(CodeGenModule &cgm);
tools/clang/lib/CodeGen/ConstantEmitter.h
   25   CodeGenModule &CGM;
   51   ConstantEmitter(CodeGenModule &CGM, CodeGenFunction *CGF = nullptr)
  120   static llvm::Constant *emitNullForMemory(CodeGenModule &CGM, QualType T);
  121   static llvm::Constant *emitForMemory(CodeGenModule &CGM, llvm::Constant *C,
tools/clang/lib/CodeGen/CoverageMappingGen.cpp
 1275 std::string getCoverageSection(const CodeGenModule &CGM) {
tools/clang/lib/CodeGen/CoverageMappingGen.h
   50   CodeGenModule &CGM;
   59   CoverageMappingModuleGen(CodeGenModule &CGM, CoverageSourceInfo &SourceInfo)
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
   60   ItaniumCXXABI(CodeGen::CodeGenModule &CGM,
  324       CodeGenModule &CGM,
  457   ARMCXXABI(CodeGen::CodeGenModule &CGM) :
  482   iOS64CXXABI(CodeGen::CodeGenModule &CGM) : ARMCXXABI(CGM) {
  492   explicit WebAssemblyCXXABI(CodeGen::CodeGenModule &CGM)
  507 CodeGen::CGCXXABI *CodeGen::CreateItaniumCXXABI(CodeGenModule &CGM) {
 1225 static llvm::FunctionCallee getAllocateExceptionFn(CodeGenModule &CGM) {
 1234 static llvm::FunctionCallee getThrowFn(CodeGenModule &CGM) {
 2118 static llvm::FunctionCallee getGuardAcquireFn(CodeGenModule &CGM,
 2131 static llvm::FunctionCallee getGuardReleaseFn(CodeGenModule &CGM,
 2143 static llvm::FunctionCallee getGuardAbortFn(CodeGenModule &CGM,
 2477                                        CodeGen::CodeGenModule &CGM) {
 2489 getThreadLocalWrapperLinkage(const VarDecl *VD, CodeGen::CodeGenModule &CGM) {
 2552     CodeGenModule &CGM, ArrayRef<const VarDecl *> CXXThreadLocals,
 2757   CodeGenModule &CGM;  // Per-module state.
 3042 static bool ShouldUseExternalRTTIDescriptor(CodeGenModule &CGM,
 3276 static llvm::GlobalVariable::LinkageTypes getTypeInfoLinkage(CodeGenModule &CGM,
 3363     llvmVisibility = CodeGenModule::GetLLVMVisibility(Ty->getVisibility());
 3841       CodeGenModule::GetLLVMVisibility(RD->getVisibility());
 3884 static StructorCodegen getCodegenToUse(CodeGenModule &CGM,
 3921 static void emitConstructorDestructorAlias(CodeGenModule &CGM,
 4019 static llvm::FunctionCallee getBeginCatchFn(CodeGenModule &CGM) {
 4027 static llvm::FunctionCallee getEndCatchFn(CodeGenModule &CGM) {
 4035 static llvm::FunctionCallee getGetExceptionPtrFn(CodeGenModule &CGM) {
 4310 static llvm::FunctionCallee getClangCallTerminateFn(CodeGenModule &CGM) {
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
   44   MicrosoftCXXABI(CodeGenModule &CGM)
  385       CodeGenModule &CGM, ArrayRef<const VarDecl *> CXXThreadLocals,
 2290     CodeGenModule &CGM, ArrayRef<const VarDecl *> CXXThreadLocals,
 2348 static ConstantAddress getInitThreadEpochPtr(CodeGenModule &CGM) {
 2362 static llvm::FunctionCallee getInitThreadHeaderFn(CodeGenModule &CGM) {
 2374 static llvm::FunctionCallee getInitThreadFooterFn(CodeGenModule &CGM) {
 2386 static llvm::FunctionCallee getInitThreadAbortFn(CodeGenModule &CGM) {
 3376 CGCXXABI *clang::CodeGen::CreateMicrosoftCXXABI(CodeGenModule &CGM) {
 3410 static llvm::GlobalVariable *getTypeInfoVTable(CodeGenModule &CGM) {
 3518   CodeGenModule &CGM;
tools/clang/lib/CodeGen/ModuleBuilder.cpp
   63     std::unique_ptr<CodeGen::CodeGenModule> Builder;
   94     CodeGenModule &CGM() {
  145       Builder.reset(new CodeGen::CodeGenModule(Context, HeaderSearchOpts,
  304 CodeGenModule &CodeGenerator::CGM() {
tools/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
   55   std::unique_ptr<CodeGen::CodeGenModule> Builder;
  170     Builder.reset(new CodeGen::CodeGenModule(
  242     std::unique_ptr<CodeGen::CodeGenModule> Builder = std::move(this->Builder);
tools/clang/lib/CodeGen/PatternInit.cpp
   14 llvm::Constant *clang::CodeGen::initializationPatternFor(CodeGenModule &CGM,
tools/clang/lib/CodeGen/PatternInit.h
   22 llvm::Constant *initializationPatternFor(CodeGenModule &, llvm::Type *);
tools/clang/lib/CodeGen/SanitizerMetadata.cpp
   21 SanitizerMetadata::SanitizerMetadata(CodeGenModule &CGM) : CGM(CGM) {}
tools/clang/lib/CodeGen/SanitizerMetadata.h
   36   CodeGenModule &CGM;
   38   SanitizerMetadata(CodeGenModule &CGM);
tools/clang/lib/CodeGen/SwiftCallingConv.cpp
   22 static const SwiftABIInfo &getSwiftABIInfo(CodeGenModule &CGM) {
   55 static CharUnits getTypeStoreSize(CodeGenModule &CGM, llvm::Type *type) {
   59 static CharUnits getTypeAllocSize(CodeGenModule &CGM, llvm::Type *type) {
  631 bool swiftcall::shouldPassIndirectly(CodeGenModule &CGM,
  638 CharUnits swiftcall::getMaximumVoluntaryIntegerSize(CodeGenModule &CGM) {
  644 CharUnits swiftcall::getNaturalAlignment(CodeGenModule &CGM, llvm::Type *type) {
  655 bool swiftcall::isLegalIntegerType(CodeGenModule &CGM,
  675 bool swiftcall::isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
  681 bool swiftcall::isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
  689 swiftcall::splitLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize,
  703 void swiftcall::legalizeVectorType(CodeGenModule &CGM, CharUnits origVectorSize,
  776 bool swiftcall::mustPassRecordIndirectly(CodeGenModule &CGM,
  797 static ABIArgInfo classifyType(CodeGenModule &CGM, CanQualType type,
  842 ABIArgInfo swiftcall::classifyReturnType(CodeGenModule &CGM, CanQualType type) {
  846 ABIArgInfo swiftcall::classifyArgumentType(CodeGenModule &CGM,
  851 void swiftcall::computeABIInfo(CodeGenModule &CGM, CGFunctionInfo &FI) {
  862 bool swiftcall::isSwiftErrorLoweredInRegister(CodeGenModule &CGM) {
tools/clang/lib/CodeGen/TargetInfo.cpp
  432 llvm::Constant *TargetCodeGenInfo::getNullPointer(const CodeGen::CodeGenModule &CGM,
  437 LangAS TargetCodeGenInfo::getGlobalVarAddressSpace(CodeGenModule &CGM,
  458 TargetCodeGenInfo::performAddrSpaceCast(CodeGenModule &CGM, llvm::Constant *Src,
  766                            CodeGen::CodeGenModule &CGM) const override {
 1114                            CodeGen::CodeGenModule &CGM) const override;
 1116   int getDwarfEHStackPointer(CodeGen::CodeGenModule &CGM) const override {
 1140   getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const override {
 1981     const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &CGM) const {
 2298   int getDwarfEHStackPointer(CodeGen::CodeGenModule &CGM) const override {
 2344   getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const override {
 2353                            CodeGen::CodeGenModule &CGM) const override {
 2391                            CodeGen::CodeGenModule &CGM) const override;
 2407                                           CodeGen::CodeGenModule &CGM) {
 2419     const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &CGM) const {
 2433                            CodeGen::CodeGenModule &CGM) const override;
 2435   int getDwarfEHStackPointer(CodeGen::CodeGenModule &CGM) const override {
 2463     const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &CGM) const {
 4145   int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const override {
 4486   int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const override {
 4499   int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const override {
 5047   int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const override {
 5054                            CodeGen::CodeGenModule &CGM) const override {
 5085                            CodeGen::CodeGenModule &CGM) const override;
 5099     const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &CGM) const {
 5685   int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const override {
 5708                            CodeGen::CodeGenModule &CGM) const override {
 5752                            CodeGen::CodeGenModule &CGM) const override;
 5766     const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &CGM) const {
 6358                            CodeGen::CodeGenModule &M) const override;
 6463     const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &M) const {
 6901                            CodeGen::CodeGenModule &M) const override;
 6907     const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &M) const {
 6961   int getDwarfEHStackPointer(CodeGen::CodeGenModule &CGM) const override {
 6966                            CodeGen::CodeGenModule &CGM) const override {
 7347                            CodeGen::CodeGenModule &CGM) const override {
 7377                            CodeGen::CodeGenModule &M) const override;
 7381     const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &M) const {
 7455   int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const override {
 7894                            CodeGen::CodeGenModule &M) const override;
 7897   llvm::Constant *getNullPointer(const CodeGen::CodeGenModule &CGM,
 7904   LangAS getGlobalVarAddressSpace(CodeGenModule &CGM,
 7940     const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &M) const {
 8040     const CodeGen::CodeGenModule &CGM, llvm::PointerType *PT,
 8053 AMDGPUTargetCodeGenInfo::getGlobalVarAddressSpace(CodeGenModule &CGM,
 8418   int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const override {
 8704                     CodeGen::CodeGenModule &M) const override;
 8869                                           CodeGen::CodeGenModule &CGM) const {
 8897 void computeSPIRKernelABIInfo(CodeGenModule &CGM, CGFunctionInfo &FI) {
 8917                              const CodeGen::CodeGenModule &CGM,
 9671                            CodeGen::CodeGenModule &CGM) const override {
tools/clang/lib/CodeGen/TargetInfo.h
   59                                    CodeGen::CodeGenModule &M) const {}
   64                             CodeGen::CodeGenModule &M) const {}
   89   virtual int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const {
  168   getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const {
  236   virtual llvm::Constant *getNullPointer(const CodeGen::CodeGenModule &CGM,
  243   virtual LangAS getGlobalVarAddressSpace(CodeGenModule &CGM,
  265   virtual llvm::Constant *performAddrSpaceCast(CodeGenModule &CGM,
  296     getCustomFieldValues(CodeGenModule &CGM, const CGBlockInfo &Info) = 0;
usr/include/c++/7.4.0/bits/move.h
   72     constexpr _Tp&&
   83     constexpr _Tp&&
usr/include/c++/7.4.0/bits/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1633     { typedef _Tp   type; };
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>