Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/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()
73 CodeGen::getImplicitCXXConstructorArgs(CodeGenModule &CGM, in getImplicitCXXConstructorArgs()
97 CodeGen::convertFreeFunctionType(CodeGenModule &CGM, const FunctionDecl *FD) { in convertFreeFunctionType()
108 CodeGen::convertTypeForMemory(CodeGenModule &CGM, QualType T) { in convertTypeForMemory()
112 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()
647 bool swiftcall::shouldPassIndirectly(CodeGenModule &CGM, in shouldPassIndirectly()
653 CharUnits swiftcall::getMaximumVoluntaryIntegerSize(CodeGenModule &CGM) { in getMaximumVoluntaryIntegerSize()
659 CharUnits swiftcall::getNaturalAlignment(CodeGenModule &CGM, llvm::Type *type) { in getNaturalAlignment()
668 bool swiftcall::isLegalIntegerType(CodeGenModule &CGM, in isLegalIntegerType()
688 bool swiftcall::isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in isLegalVectorType()
695 bool swiftcall::isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in isLegalVectorType()
702 swiftcall::splitLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in splitLegalVectorType()
[all …]
H A DTargetInfo.h82 CodeGen::CodeGenModule &CGM, in emitTargetMetadata()
86 virtual void emitTargetGlobals(CodeGen::CodeGenModule &CGM) const {} in emitTargetGlobals()
90 virtual void checkFunctionABI(CodeGenModule &CGM, in checkFunctionABI()
95 virtual void checkFunctionCallABI(CodeGenModule &CGM, SourceLocation CallLoc, in checkFunctionCallABI()
162 CodeGenModule &CGM) const { in testFPKind()
219 getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const { in getUBSanFunctionSignature()
413 virtual llvm::Type *getOpenCLType(CodeGenModule &CGM, const Type *T) const { in getOpenCLType()
H A DTargetInfo.cpp120 llvm::Constant *TargetCodeGenInfo::getNullPointer(const CodeGen::CodeGenModule &CGM, in getNullPointer()
125 LangAS TargetCodeGenInfo::getGlobalVarAddressSpace(CodeGenModule &CGM, in getGlobalVarAddressSpace()
146 TargetCodeGenInfo::performAddrSpaceCast(CodeGenModule &CGM, llvm::Constant *Src, in performAddrSpaceCast()
264 CodeGen::createDefaultTargetCodeGenInfo(CodeGenModule &CGM) { in createDefaultTargetCodeGenInfo()
H A DConstantEmitter.h52 : CGM(CGM), CGF(CGF) {} in CGM() argument
H A DCGObjCRuntime.h68 CGObjCRuntime(CodeGen::CodeGenModule &CGM) : CGM(CGM) {} in CGObjCRuntime()
320 virtual std::string getRCBlockLayoutStr(CodeGen::CodeGenModule &CGM, in getRCBlockLayoutStr()
H A DSanitizerMetadata.h36 CodeGenModule &CGM; variable
H A DCGVTables.cpp32 CodeGenVTables::CodeGenVTables(CodeGenModule &CGM) in CodeGenVTables()
41 static void setThunkProperties(CodeGenModule &CGM, const ThunkInfo &Thunk, in setThunkProperties()
485 static bool shouldEmitVTableThunk(CodeGenModule &CGM, const CXXMethodDecl *MD, in shouldEmitVTableThunk()
707 static bool UseRelativeLayout(const CodeGenModule &CGM) { in UseRelativeLayout()
726 static void AddPointerLayoutOffset(const CodeGenModule &CGM, in AddPointerLayoutOffset()
734 static void AddRelativeLayoutOffset(const CodeGenModule &CGM, in AddRelativeLayoutOffset()
1068 static bool shouldEmitAvailableExternallyVTable(const CodeGenModule &CGM, in shouldEmitAvailableExternallyVTable()
1247 static bool shouldEmitVTableAtEndOfTranslationUnit(CodeGenModule &CGM, in shouldEmitVTableAtEndOfTranslationUnit()
H A DItaniumCXXABI.cpp64 ItaniumCXXABI(CodeGen::CodeGenModule &CGM, in ItaniumCXXABI()
483 ARMCXXABI(CodeGen::CodeGenModule &CGM) : in ARMCXXABI()
504 AppleARM64CXXABI(CodeGen::CodeGenModule &CGM) : ARMCXXABI(CGM) { in AppleARM64CXXABI()
514 explicit FuchsiaCXXABI(CodeGen::CodeGenModule &CGM) in FuchsiaCXXABI()
523 explicit WebAssemblyCXXABI(CodeGen::CodeGenModule &CGM) in WebAssemblyCXXABI()
538 explicit XLCXXABI(CodeGen::CodeGenModule &CGM) in XLCXXABI()
553 CodeGen::CGCXXABI *CodeGen::CreateItaniumCXXABI(CodeGenModule &CGM) { in CreateItaniumCXXABI()
883 const CGPointerAuthInfo &NewAuthInfo, CodeGenModule &CGM) { in pointerAuthResignConstant()
1022 QualType SrcType, CodeGenModule &CGM) { in pointerAuthResignMemberFunctionPointer()
1426 static llvm::FunctionCallee getAllocateExceptionFn(CodeGenModule &CGM) { in getAllocateExceptionFn()
[all …]
H A DCGBlocks.cpp57 static llvm::Constant *buildCopyHelper(CodeGenModule &CGM, in buildCopyHelper()
63 static llvm::Constant *buildDisposeHelper(CodeGenModule &CGM, in buildDisposeHelper()
87 CodeGenModule &CGM) { in getBlockDescriptorName()
152 static llvm::Constant *buildBlockDescriptor(CodeGenModule &CGM, in buildBlockDescriptor()
393 CGBlockInfo &Info, CodeGenModule &CGM) { in addBlockLayout()
446 static llvm::Constant *tryCaptureAsConstant(CodeGenModule &CGM, in tryCaptureAsConstant()
482 static void initializeForBlockHeader(CodeGenModule &CGM, CGBlockInfo &info, in initializeForBlockHeader()
554 static void computeBlockInfo(CodeGenModule &CGM, CodeGenFunction *CGF, in computeBlockInfo()
1288 static llvm::Constant *buildGlobalBlock(CodeGenModule &CGM, in buildGlobalBlock()
1697 CodeGenModule &CGM) { in getBlockCaptureStr()
[all …]
H A DCGGPUBuiltin.cpp45 llvm::Function *GetOpenMPVprintfDeclaration(CodeGenModule &CGM) { in GetOpenMPVprintfDeclaration()
137 CodeGenModule &CGM = CGF->CGM; in EmitDevicePrintfCallExpr() local
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()
464 clang::CodeGen::emitObjCProtocolObject(CodeGenModule &CGM, in emitObjCProtocolObject()
H A DPatternInit.cpp15 llvm::Constant *clang::CodeGen::initializationPatternFor(CodeGenModule &CGM, in initializationPatternFor()
H A DCGVTables.h33 CodeGenModule &CGM; variable
H A DCGPointerAuth.cpp49 uint16_t CodeGen::getPointerAuthTypeDiscriminator(CodeGenModule &CGM, in getPointerAuthTypeDiscriminator()
54 uint16_t CodeGen::getPointerAuthDeclDiscriminator(CodeGenModule &CGM, in getPointerAuthDeclDiscriminator()
131 getPointerAuthInfoForPointeeType(CodeGenModule &CGM, QualType PointeeType) { in getPointerAuthInfoForPointeeType()
149 static CGPointerAuthInfo getPointerAuthInfoForType(CodeGenModule &CGM, in getPointerAuthInfoForType()
H A DCGExprConstant.cpp46 CodeGenModule &CGM; member
110 ConstantAggregateBuilder(CodeGenModule &CGM) in ConstantAggregateBuilder()
402 CodeGenModule &CGM, ArrayRef<llvm::Constant *> Elems, in buildFrom()
561 CodeGenModule &CGM; member in __anon9d6f04f10111::ConstStructBuilder
941 CodeGenModule &CGM = emitter.CGM; in tryEmitGlobalCompoundLiteral() local
969 EmitArrayConstant(CodeGenModule &CGM, llvm::ArrayType *DesiredType, in EmitArrayConstant()
1038 CodeGenModule &CGM; member in __anon9d6f04f10111::ConstExprEmitter
1621 CodeGenModule &CGM; member
1763 static QualType getNonMemoryType(CodeGenModule &CGM, QualType type) { in getNonMemoryType()
1871 llvm::Constant *ConstantEmitter::emitForMemory(CodeGenModule &CGM, in emitForMemory()
[all …]
H A DCGNonTrivialStruct.cpp307 static const CGFunctionInfo &getFunctionInfo(CodeGenModule &CGM, in getFunctionInfo()
834 std::array<CharUnits, N> Alignments, CodeGenModule &CGM) { in getSpecialFunction()
929 CodeGenModule &CGM, CharUnits DstAlignment, bool IsVolatile, QualType QT) { in getNonTrivialCStructDefaultConstructor()
938 CodeGenModule &CGM, CharUnits DstAlignment, CharUnits SrcAlignment, in getNonTrivialCStructCopyConstructor()
950 CodeGenModule &CGM, CharUnits DstAlignment, CharUnits SrcAlignment, in getNonTrivialCStructMoveConstructor()
962 CodeGenModule &CGM, CharUnits DstAlignment, CharUnits SrcAlignment, in getNonTrivialCStructCopyAssignmentOperator()
974 CodeGenModule &CGM, CharUnits DstAlignment, CharUnits SrcAlignment, in getNonTrivialCStructMoveAssignmentOperator()
986 CodeGenModule &CGM, CharUnits DstAlignment, bool IsVolatile, QualType QT) { in getNonTrivialCStructDestructor()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DXCore.cpp312 CodeGen::CodeGenModule &CGM, in emitTargetMetadata()
336 const CodeGen::CodeGenModule &CGM, in extractFieldType()
363 const CodeGen::CodeGenModule &CGM, in appendRecordType()
532 const CodeGen::CodeGenModule &CGM, in appendPointerType()
544 const CodeGen::CodeGenModule &CGM, in appendArrayType()
565 const CodeGen::CodeGenModule &CGM, in appendFunctionType()
599 const CodeGen::CodeGenModule &CGM, in appendType()
633 const CodeGen::CodeGenModule &CGM, in getTypeString()
660 CodeGen::createXCoreTargetCodeGenInfo(CodeGenModule &CGM) { in createXCoreTargetCodeGenInfo()
H A DAVR.cpp117 LangAS getGlobalVarAddressSpace(CodeGenModule &CGM, in getGlobalVarAddressSpace()
151 CodeGen::createAVRTargetCodeGenInfo(CodeGenModule &CGM, unsigned NPR, in createAVRTargetCodeGenInfo()
H A DM68k.cpp53 CodeGen::createM68kTargetCodeGenInfo(CodeGenModule &CGM) { in createM68kTargetCodeGenInfo()
H A DAArch64.cpp858 CodeGenModule &CGM, const FunctionDecl *FuncDecl) const { in checkFunctionABI()
874 CodeGenModule &CGM, SourceLocation CallLoc, const FunctionDecl *Caller, in checkFunctionCallABIStreaming()
903 CodeGenModule &CGM, SourceLocation CallLoc, const FunctionDecl *Caller, in checkFunctionCallABISoftFloat()
920 void AArch64TargetCodeGenInfo::checkFunctionCallABI(CodeGenModule &CGM, in checkFunctionCallABI()
961 CodeGen::createAArch64TargetCodeGenInfo(CodeGenModule &CGM, in createAArch64TargetCodeGenInfo()
967 CodeGen::createWindowsAArch64TargetCodeGenInfo(CodeGenModule &CGM, in createWindowsAArch64TargetCodeGenInfo()
H A DTCE.cpp80 CodeGen::createTCETargetCodeGenInfo(CodeGenModule &CGM) { in createTCETargetCodeGenInfo()
H A DVE.cpp69 CodeGen::createVETargetCodeGenInfo(CodeGenModule &CGM) { in createVETargetCodeGenInfo()
/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/
H A DSwiftCallingConv.h42 CodeGenModule &CGM; variable
57 SwiftAggLowering(CodeGenModule &CGM) : CGM(CGM) {} in SwiftAggLowering()
H A DConstantInitBuilder.h61 CodeGenModule &CGM; variable
72 explicit ConstantInitBuilderBase(CodeGenModule &CGM) : CGM(CGM) {} in ConstantInitBuilderBase()
509 ConstantInitBuilderTemplateBase(CodeGenModule &CGM) in ConstantInitBuilderTemplateBase()
541 explicit ConstantInitBuilder(CodeGenModule &CGM) : in ConstantInitBuilder()

1234