26 using namespace clang;
27 using namespace CodeGen;
33 CGM(new CodeGen::
CodeGenModule(C, *HSO, *PPO, *CGO, M, C.getDiagnostics(),
43 return CGM->getTypes().arrangeObjCMessageSendSignature(MD, receiverType);
49 return CGM->getTypes().arrangeFreeFunctionType(Ty, FD);
54 return CGM->getTypes().arrangeFreeFunctionType(Ty);
61 return CGM->getTypes().arrangeCXXMethodType(RD, FTP, MD);
67 return CGM->getTypes().arrangeLLVMFunctionInfo(
68 returnType,
false,
false, argTypes,
FunctionDecl - An instance of this class is created to represent a function declaration or definition...
A (possibly-)qualified type.
const CGFunctionInfo & arrangeFreeFunctionCall(CanQualType returnType, ArrayRef< CanQualType > argTypes, FunctionType::ExtInfo info, RequiredArgs args)
Stores additional source code information like skipped ranges which is required by the coverage mappi...
const CGFunctionInfo & arrangeObjCMessageSendSignature(const ObjCMethodDecl *MD, QualType receiverType)
These methods all forward to methods in the private implementation class CodeGenTypes.
PreprocessorOptions - This class is used for passing the various options used in preprocessor initial...
ObjCMethodDecl - Represents an instance or class method declaration.
Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...
Represents a prototype with parameter type info, e.g.
A class for recording the number of arguments that a function signature requires. ...
CodeGenABITypes(ASTContext &C, llvm::Module &M, CoverageSourceInfo *CoverageInfo=nullptr)
Represents a static or instance method of a struct/union/class.
CGFunctionInfo - Class to encapsulate the information about a function definition.
This class organizes the cross-function state that is used while generating LLVM code.
const CGFunctionInfo & arrangeCXXMethodType(const CXXRecordDecl *RD, const FunctionProtoType *FTP, const CXXMethodDecl *MD)
CodeGenOptions - Track various options which control how the code is optimized and passed to the back...
Represents a C++ struct/union/class.
const CGFunctionInfo & arrangeFreeFunctionType(CanQual< FunctionProtoType > Ty, const FunctionDecl *FD)
A class which abstracts out some details necessary for making a call.