Home
last modified time | relevance | path

Searched defs:CGM (Results 1 – 25 of 54) sorted by relevance

123

/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenABITypes.cpp30 void CodeGen::addDefaultFunctionDefinitionAttributes(CodeGenModule &CGM, in addDefaultFunctionDefinitionAttributes()
36 CodeGen::arrangeObjCMessageSendSignature(CodeGenModule &CGM, in arrangeObjCMessageSendSignature()
43 CodeGen::arrangeFreeFunctionType(CodeGenModule &CGM, in arrangeFreeFunctionType()
49 CodeGen::arrangeFreeFunctionType(CodeGenModule &CGM, in arrangeFreeFunctionType()
55 CodeGen::arrangeCXXMethodType(CodeGenModule &CGM, in arrangeCXXMethodType()
63 CodeGen::arrangeFreeFunctionCall(CodeGenModule &CGM, in arrangeFreeFunctionCall()
74 CodeGen::getImplicitCXXConstructorArgs(CodeGenModule &CGM, in getImplicitCXXConstructorArgs()
98 CodeGen::convertFreeFunctionType(CodeGenModule &CGM, const FunctionDecl *FD) { in convertFreeFunctionType()
109 CodeGen::convertTypeForMemory(CodeGenModule &CGM, QualType T) { in convertTypeForMemory()
113 unsigned CodeGen::getLLVMFieldNumber(CodeGenModule &CGM, in getLLVMFieldNumber()
[all …]
H A DSwiftCallingConv.cpp24 static const SwiftABIInfo &getSwiftABIInfo(CodeGenModule &CGM) { in getSwiftABIInfo()
57 static CharUnits getTypeStoreSize(CodeGenModule &CGM, llvm::Type *type) { in getTypeStoreSize()
61 static CharUnits getTypeAllocSize(CodeGenModule &CGM, llvm::Type *type) { in getTypeAllocSize()
646 bool swiftcall::shouldPassIndirectly(CodeGenModule &CGM, in shouldPassIndirectly()
652 CharUnits swiftcall::getMaximumVoluntaryIntegerSize(CodeGenModule &CGM) { in getMaximumVoluntaryIntegerSize()
667 bool swiftcall::isLegalIntegerType(CodeGenModule &CGM, in isLegalIntegerType()
789 bool swiftcall::mustPassRecordIndirectly(CodeGenModule &CGM, in mustPassRecordIndirectly()
810 static ABIArgInfo classifyType(CodeGenModule &CGM, CanQualType type, in classifyType()
859 ABIArgInfo swiftcall::classifyArgumentType(CodeGenModule &CGM, in classifyArgumentType()
864 void swiftcall::computeABIInfo(CodeGenModule &CGM, CGFunctionInfo &FI) { in computeABIInfo()
[all …]
H A DTargetInfo.h76 CodeGen::CodeGenModule &CGM, in emitTargetMetadata()
81 virtual void checkFunctionCallABI(CodeGenModule &CGM, SourceLocation CallLoc, in checkFunctionCallABI()
147 CodeGenModule &CGM) const { in testFPKind()
203 getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const { in getUBSanFunctionSignature()
H A DConstantEmitter.h52 : CGM(CGM), CGF(CGF) {} in CGM() argument
H A DCGVTables.cpp31 CodeGenVTables::CodeGenVTables(CodeGenModule &CGM) in CodeGenVTables()
40 static void setThunkProperties(CodeGenModule &CGM, const ThunkInfo &Thunk, in setThunkProperties()
476 static bool shouldEmitVTableThunk(CodeGenModule &CGM, const CXXMethodDecl *MD, in shouldEmitVTableThunk()
681 static bool UseRelativeLayout(const CodeGenModule &CGM) { in UseRelativeLayout()
700 static void AddPointerLayoutOffset(const CodeGenModule &CGM, in AddPointerLayoutOffset()
708 static void AddRelativeLayoutOffset(const CodeGenModule &CGM, in AddRelativeLayoutOffset()
1021 static bool shouldEmitAvailableExternallyVTable(const CodeGenModule &CGM, in shouldEmitAvailableExternallyVTable()
1182 static bool shouldEmitVTableAtEndOfTranslationUnit(CodeGenModule &CGM, in shouldEmitVTableAtEndOfTranslationUnit()
H A DItaniumCXXABI.cpp61 ItaniumCXXABI(CodeGen::CodeGenModule &CGM, in ItaniumCXXABI()
432 ARMCXXABI(CodeGen::CodeGenModule &CGM) : in ARMCXXABI()
453 AppleARM64CXXABI(CodeGen::CodeGenModule &CGM) : ARMCXXABI(CGM) { in AppleARM64CXXABI()
463 explicit FuchsiaCXXABI(CodeGen::CodeGenModule &CGM) in FuchsiaCXXABI()
472 explicit WebAssemblyCXXABI(CodeGen::CodeGenModule &CGM) in WebAssemblyCXXABI()
487 explicit XLCXXABI(CodeGen::CodeGenModule &CGM) in XLCXXABI()
1267 static llvm::FunctionCallee getThrowFn(CodeGenModule &CGM) { in getThrowFn()
2309 static llvm::FunctionCallee getGuardAbortFn(CodeGenModule &CGM, in getGuardAbortFn()
3071 CodeGenModule &CGM; // Per-module state. member in __anon2ffed3610311::ItaniumRTTIBuilder
4254 static StructorCodegen getCodegenToUse(CodeGenModule &CGM, in getCodegenToUse()
[all …]
H A DCGBlocks.cpp56 static llvm::Constant *buildCopyHelper(CodeGenModule &CGM, in buildCopyHelper()
62 static llvm::Constant *buildDisposeHelper(CodeGenModule &CGM, in buildDisposeHelper()
108 CodeGenModule &CGM) { in getBlockDescriptorName()
169 static llvm::Constant *buildBlockDescriptor(CodeGenModule &CGM, in buildBlockDescriptor()
409 CGBlockInfo &Info, CodeGenModule &CGM) { in addBlockLayout()
462 static llvm::Constant *tryCaptureAsConstant(CodeGenModule &CGM, in tryCaptureAsConstant()
1310 static llvm::Constant *buildGlobalBlock(CodeGenModule &CGM, in buildGlobalBlock()
1714 CodeGenModule &CGM) { in getBlockCaptureStr()
2395 static llvm::Constant *buildByrefCopyHelper(CodeGenModule &CGM, in buildByrefCopyHelper()
2452 static llvm::Constant *buildByrefDisposeHelper(CodeGenModule &CGM, in buildByrefDisposeHelper()
[all …]
H A DCGObjCRuntime.h68 CGObjCRuntime(CodeGen::CodeGenModule &CGM) : CGM(CGM) {} in CGObjCRuntime()
320 virtual std::string getRCBlockLayoutStr(CodeGen::CodeGenModule &CGM, in getRCBlockLayoutStr()
H A DCGExprConstant.cpp44 CodeGenModule &CGM; member
108 ConstantAggregateBuilder(CodeGenModule &CGM) in ConstantAggregateBuilder()
400 CodeGenModule &CGM, ArrayRef<llvm::Constant *> Elems, in buildFrom()
559 CodeGenModule &CGM; member in __anoncb3f9d5e0111::ConstStructBuilder
920 CodeGenModule &CGM = emitter.CGM; in tryEmitGlobalCompoundLiteral() local
948 EmitArrayConstant(CodeGenModule &CGM, llvm::ArrayType *DesiredType, in EmitArrayConstant()
1017 CodeGenModule &CGM; member in __anoncb3f9d5e0111::ConstExprEmitter
1484 CodeGenModule &CGM; member
1710 llvm::Constant *ConstantEmitter::emitForMemory(CodeGenModule &CGM, in emitForMemory()
1785 CodeGenModule &CGM; member in __anoncb3f9d5e0a11::ConstantLValueEmitter
[all …]
H A DCGObjCRuntime.cpp31 uint64_t CGObjCRuntime::ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, in ComputeIvarBaseOffset()
38 uint64_t CGObjCRuntime::ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, in ComputeIvarBaseOffset()
47 CodeGen::CodeGenModule &CGM, in ComputeBitfieldBitOffset()
469 clang::CodeGen::emitObjCProtocolObject(CodeGenModule &CGM, in emitObjCProtocolObject()
H A DCGGPUBuiltin.cpp45 llvm::Function *GetOpenMPVprintfDeclaration(CodeGenModule &CGM) { in GetOpenMPVprintfDeclaration()
136 CodeGenModule &CGM = CGF->CGM; in EmitDevicePrintfCallExpr() local
H A DSanitizerMetadata.h36 CodeGenModule &CGM; variable
H A DCGNonTrivialStruct.cpp307 static const CGFunctionInfo &getFunctionInfo(CodeGenModule &CGM, in getFunctionInfo()
842 std::array<CharUnits, N> Alignments, CodeGenModule &CGM) { in getSpecialFunction()
937 CodeGenModule &CGM, CharUnits DstAlignment, bool IsVolatile, QualType QT) { in getNonTrivialCStructDefaultConstructor()
946 CodeGenModule &CGM, CharUnits DstAlignment, CharUnits SrcAlignment, in getNonTrivialCStructCopyConstructor()
958 CodeGenModule &CGM, CharUnits DstAlignment, CharUnits SrcAlignment, in getNonTrivialCStructMoveConstructor()
970 CodeGenModule &CGM, CharUnits DstAlignment, CharUnits SrcAlignment, in getNonTrivialCStructCopyAssignmentOperator()
982 CodeGenModule &CGM, CharUnits DstAlignment, CharUnits SrcAlignment, in getNonTrivialCStructMoveAssignmentOperator()
994 CodeGenModule &CGM, CharUnits DstAlignment, bool IsVolatile, QualType QT) { in getNonTrivialCStructDestructor()
H A DCGOpenMPRuntime.h234 CodeGenModule &CGM; variable
244 CodeGenModule &CGM; variable
254 CodeGenModule &CGM; variable
285 CodeGenModule &CGM; variable
1663 explicit CGOpenMPSIMDRuntime(CodeGenModule &CGM) : CGOpenMPRuntime(CGM) {} in CGOpenMPSIMDRuntime()
H A DCGException.cpp33 static llvm::FunctionCallee getFreeExceptionFn(CodeGenModule &CGM) { in getFreeExceptionFn()
42 static llvm::FunctionCallee getSehTryBeginFn(CodeGenModule &CGM) { in getSehTryBeginFn()
48 static llvm::FunctionCallee getSehTryEndFn(CodeGenModule &CGM) { in getSehTryEndFn()
54 static llvm::FunctionCallee getUnexpectedFn(CodeGenModule &CGM) { in getUnexpectedFn()
89 static llvm::FunctionCallee getCatchallRethrowFn(CodeGenModule &CGM, in getCatchallRethrowFn()
230 const EHPersonality &EHPersonality::get(CodeGenModule &CGM, in get()
256 static llvm::FunctionCallee getPersonalityFn(CodeGenModule &CGM, in getPersonalityFn()
263 static llvm::Constant *getOpaquePersonalityFn(CodeGenModule &CGM, in getOpaquePersonalityFn()
1707 CodeGenModule &CGM = CGF.CGM; in Emit() local
H A DCGDecl.cpp221 static std::string getStaticDeclName(CodeGenModule &CGM, const VarDecl &D) { in getStaticDeclName()
935 static void emitStoresForInitAfterBZero(CodeGenModule &CGM, in emitStoresForInitAfterBZero()
1015 static bool shouldSplitConstantStore(CodeGenModule &CGM, in shouldSplitConstantStore()
1029 static llvm::Constant *patternOrZeroFor(CodeGenModule &CGM, IsPattern isPattern, in patternOrZeroFor()
1041 static llvm::Constant *constStructWithPadding(CodeGenModule &CGM, in constStructWithPadding()
1081 static llvm::Constant *constWithPadding(CodeGenModule &CGM, IsPattern isPattern, in constWithPadding()
1167 static Address createUnnamedGlobalForMemcpyFrom(CodeGenModule &CGM, in createUnnamedGlobalForMemcpyFrom()
1176 static void emitStoresForConstant(CodeGenModule &CGM, const VarDecl &D, in emitStoresForConstant()
1270 static void emitStoresForZeroInit(CodeGenModule &CGM, const VarDecl &D, in emitStoresForZeroInit()
1280 static void emitStoresForPatternInit(CodeGenModule &CGM, const VarDecl &D, in emitStoresForPatternInit()
[all …]
H A DCGVTables.h33 CodeGenModule &CGM; variable
H A DPatternInit.cpp15 llvm::Constant *clang::CodeGen::initializationPatternFor(CodeGenModule &CGM, in initializationPatternFor()
H A DCGOpenCLRuntime.h59 CGOpenCLRuntime(CodeGenModule &CGM) : CGM(CGM), in CGOpenCLRuntime()
H A DCodeGenModule.cpp83 static CGCXXABI *createCXXABI(CodeGenModule &CGM) { in createCXXABI()
1142 static bool shouldAssumeDSOLocal(const CodeGenModule &CGM, in shouldAssumeDSOLocal()
1344 static void AppendTargetVersionMangling(const CodeGenModule &CGM, in AppendTargetVersionMangling()
1358 static void AppendTargetMangling(const CodeGenModule &CGM, in AppendTargetMangling()
1393 CodeGenModule &CGM) { in isUniqueInternalLinkageDecl()
1399 static void AppendTargetClonesMangling(const CodeGenModule &CGM, in AppendTargetClonesMangling()
2536 static void emitUsed(CodeGenModule &CGM, StringRef Name, in emitUsed()
4738 castStringLiteralToDefaultAddressSpace(CodeGenModule &CGM, in castStringLiteralToDefaultAddressSpace()
5879 CodeGenModule &CGM, StringRef GlobalName, in GenerateStringLiteral()
6166 static bool AllTrivialInitializers(CodeGenModule &CGM, in AllTrivialInitializers()
[all …]
H A DSanitizerMetadata.cpp23 SanitizerMetadata::SanitizerMetadata(CodeGenModule &CGM) : CGM(CGM) {} in SanitizerMetadata()
H A DModuleBuilder.cpp97 CodeGenModule &CGM() { in CGM() function in __anon158293580111::CodeGeneratorImpl
328 CodeGenModule &CodeGenerator::CGM() { in CGM() function in CodeGenerator
H A DCGHLSLRuntime.h77 CGHLSLRuntime(CodeGenModule &CGM) : CGM(CGM) {} in CGHLSLRuntime()
/openbsd/gnu/llvm/clang/include/clang/CodeGen/
H A DSwiftCallingConv.h42 CodeGenModule &CGM; variable
57 SwiftAggLowering(CodeGenModule &CGM) : CGM(CGM) {} in SwiftAggLowering()
H A DConstantInitBuilder.h58 CodeGenModule &CGM; variable
69 explicit ConstantInitBuilderBase(CodeGenModule &CGM) : CGM(CGM) {} in ConstantInitBuilderBase()
506 ConstantInitBuilderTemplateBase(CodeGenModule &CGM) in ConstantInitBuilderTemplateBase()
538 explicit ConstantInitBuilder(CodeGenModule &CGM) : in ConstantInitBuilder()

123