/freebsd-src/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenABITypes.cpp | 30 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 D | SwiftCallingConv.cpp | 24 static const SwiftABIInfo &getSwiftABIInfo(CodeGenModule &CGM) { in getSwiftABIInfo() argument 57 static CharUnits getTypeStoreSize(CodeGenModule &CGM, llvm::Type *type) { in getTypeStoreSize() argument 61 static CharUnits getTypeAllocSize(CodeGenModule &CGM, llvm::Type *type) { in getTypeAllocSize() argument 647 shouldPassIndirectly(CodeGenModule & CGM,ArrayRef<llvm::Type * > componentTys,bool asReturnValue) shouldPassIndirectly() argument 653 getMaximumVoluntaryIntegerSize(CodeGenModule & CGM) getMaximumVoluntaryIntegerSize() argument 659 getNaturalAlignment(CodeGenModule & CGM,llvm::Type * type) getNaturalAlignment() argument 668 isLegalIntegerType(CodeGenModule & CGM,llvm::IntegerType * intTy) isLegalIntegerType() argument 688 isLegalVectorType(CodeGenModule & CGM,CharUnits vectorSize,llvm::VectorType * vectorTy) isLegalVectorType() argument 695 isLegalVectorType(CodeGenModule & CGM,CharUnits vectorSize,llvm::Type * eltTy,unsigned numElts) isLegalVectorType() argument 702 splitLegalVectorType(CodeGenModule & CGM,CharUnits vectorSize,llvm::VectorType * vectorTy) splitLegalVectorType() argument 716 legalizeVectorType(CodeGenModule & CGM,CharUnits origVectorSize,llvm::VectorType * origVectorTy,llvm::SmallVectorImpl<llvm::Type * > & components) legalizeVectorType() argument 790 mustPassRecordIndirectly(CodeGenModule & CGM,const RecordDecl * record) mustPassRecordIndirectly() argument 811 classifyType(CodeGenModule & CGM,CanQualType type,bool forReturn) classifyType() argument 856 classifyReturnType(CodeGenModule & CGM,CanQualType type) classifyReturnType() argument 860 classifyArgumentType(CodeGenModule & CGM,CanQualType type) classifyArgumentType() argument 865 computeABIInfo(CodeGenModule & CGM,CGFunctionInfo & FI) computeABIInfo() argument 876 isSwiftErrorLoweredInRegister(CodeGenModule & CGM) isSwiftErrorLoweredInRegister() argument [all...] |
H A D | TargetInfo.cpp | 119 getNullPointer(const CodeGen::CodeGenModule & CGM,llvm::PointerType * T,QualType QT) const getNullPointer() argument 124 getGlobalVarAddressSpace(CodeGenModule & CGM,const VarDecl * D) const getGlobalVarAddressSpace() argument 145 performAddrSpaceCast(CodeGenModule & CGM,llvm::Constant * Src,LangAS SrcAddr,LangAS DestAddr,llvm::Type * DestTy) const performAddrSpaceCast() argument 218 createDefaultTargetCodeGenInfo(CodeGenModule & CGM) createDefaultTargetCodeGenInfo() argument [all...] |
H A D | TargetInfo.h | 81 emitTargetMetadata(CodeGen::CodeGenModule & CGM,const llvm::MapVector<GlobalDecl,StringRef> & MangledDeclNames) emitTargetMetadata() argument 85 emitTargetGlobals(CodeGen::CodeGenModule & CGM) emitTargetGlobals() argument 89 checkFunctionCallABI(CodeGenModule & CGM,SourceLocation CallLoc,const FunctionDecl * Caller,const FunctionDecl * Callee,const CallArgList & Args) checkFunctionCallABI() argument 155 testFPKind(llvm::Value * V,unsigned BuiltinID,CGBuilderTy & Builder,CodeGenModule & CGM) testFPKind() argument 212 getUBSanFunctionSignature(CodeGen::CodeGenModule & CGM) getUBSanFunctionSignature() argument 401 getOpenCLType(CodeGenModule & CGM,const Type * T) getOpenCLType() argument [all...] |
H A D | ConstantEmitter.h | 52 : CGM(CGM), CGF(CGF) {} in CGM() argument [all...] |
H A D | CGObjCRuntime.h | 68 CGObjCRuntime(CodeGen::CodeGenModule &CGM) : CGM(CGM) {} in CGObjCRuntime() 320 virtual std::string getRCBlockLayoutStr(CodeGen::CodeGenModule &CGM, in getRCBlockLayoutStr()
|
H A D | SanitizerMetadata.h | 36 CodeGenModule &CGM; variable
|
H A D | CGVTables.cpp | 32 CodeGenVTables::CodeGenVTables(CodeGenModule &CGM) in CodeGenVTables() argument 41 static void setThunkProperties(CodeGenModule &CGM, const ThunkInfo &Thunk, in setThunkProperties() argument 473 shouldEmitVTableThunk(CodeGenModule & CGM,const CXXMethodDecl * MD,bool IsUnprototyped,bool ForVTable) shouldEmitVTableThunk() argument 683 UseRelativeLayout(const CodeGenModule & CGM) UseRelativeLayout() argument 702 AddPointerLayoutOffset(const CodeGenModule & CGM,ConstantArrayBuilder & builder,CharUnits offset) AddPointerLayoutOffset() argument 710 AddRelativeLayoutOffset(const CodeGenModule & CGM,ConstantArrayBuilder & builder,CharUnits offset) AddRelativeLayoutOffset() argument 1035 shouldEmitAvailableExternallyVTable(const CodeGenModule & CGM,const CXXRecordDecl * RD) shouldEmitAvailableExternallyVTable() argument 1204 shouldEmitVTableAtEndOfTranslationUnit(CodeGenModule & CGM,const CXXRecordDecl * RD) shouldEmitVTableAtEndOfTranslationUnit() argument [all...] |
H A D | ItaniumCXXABI.cpp | 63 ItaniumCXXABI(CodeGen::CodeGenModule & CGM,bool UseARMMethodPtrABI=false,bool UseARMGuardVarABI=false) ItaniumCXXABI() argument 478 ARMCXXABI(CodeGen::CodeGenModule & CGM) ARMCXXABI() argument 499 AppleARM64CXXABI(CodeGen::CodeGenModule & CGM) AppleARM64CXXABI() argument 509 FuchsiaCXXABI(CodeGen::CodeGenModule & CGM) FuchsiaCXXABI() argument 518 WebAssemblyCXXABI(CodeGen::CodeGenModule & CGM) WebAssemblyCXXABI() argument 533 XLCXXABI(CodeGen::CodeGenModule & CGM) XLCXXABI() argument 548 CreateItaniumCXXABI(CodeGenModule & CGM) CreateItaniumCXXABI() argument 1281 getAllocateExceptionFn(CodeGenModule & CGM) getAllocateExceptionFn() argument 1290 getThrowFn(CodeGenModule & CGM) getThrowFn() argument 2365 getGuardAcquireFn(CodeGenModule & CGM,llvm::PointerType * GuardPtrTy) getGuardAcquireFn() argument 2378 getGuardReleaseFn(CodeGenModule & CGM,llvm::PointerType * GuardPtrTy) getGuardReleaseFn() argument 2390 getGuardAbortFn(CodeGenModule & CGM,llvm::PointerType * GuardPtrTy) getGuardAbortFn() argument 2683 createGlobalInitOrCleanupFn(CodeGen::CodeGenModule & CGM,StringRef FnName) createGlobalInitOrCleanupFn() argument 2823 isThreadWrapperReplaceable(const VarDecl * VD,CodeGen::CodeGenModule & CGM) isThreadWrapperReplaceable() argument 2835 getThreadLocalWrapperLinkage(const VarDecl * VD,CodeGen::CodeGenModule & CGM) getThreadLocalWrapperLinkage() argument 2901 EmitThreadLocalInitFuncs(CodeGenModule & CGM,ArrayRef<const VarDecl * > CXXThreadLocals,ArrayRef<llvm::Function * > CXXThreadLocalInits,ArrayRef<const VarDecl * > CXXThreadLocalInitVars) EmitThreadLocalInitFuncs() argument 3144 CodeGenModule &CGM; // Per-module state. global() member in __anon910dabe60311::ItaniumRTTIBuilder 3445 ShouldUseExternalRTTIDescriptor(CodeGenModule & CGM,QualType Ty) ShouldUseExternalRTTIDescriptor() argument 3699 getTypeInfoLinkage(CodeGenModule & CGM,QualType Ty) getTypeInfoLinkage() argument 4328 getCodegenToUse(CodeGenModule & CGM,const CXXMethodDecl * MD) getCodegenToUse() argument 4365 emitConstructorDestructorAlias(CodeGenModule & CGM,GlobalDecl AliasDecl,GlobalDecl TargetDecl) emitConstructorDestructorAlias() argument 4463 getBeginCatchFn(CodeGenModule & CGM) getBeginCatchFn() argument 4471 getEndCatchFn(CodeGenModule & CGM) getEndCatchFn() argument 4479 getGetExceptionPtrFn(CodeGenModule & CGM) getGetExceptionPtrFn() argument 4755 getClangCallTerminateFn(CodeGenModule & CGM) getClangCallTerminateFn() argument [all...] |
H A D | CGBlocks.cpp | 56 buildCopyHelper(CodeGenModule & CGM,const CGBlockInfo & blockInfo) buildCopyHelper() argument 62 buildDisposeHelper(CodeGenModule & CGM,const CGBlockInfo & blockInfo) buildDisposeHelper() argument 86 getBlockDescriptorName(const CGBlockInfo & BlockInfo,CodeGenModule & CGM) getBlockDescriptorName() argument 147 buildBlockDescriptor(CodeGenModule & CGM,const CGBlockInfo & blockInfo) buildBlockDescriptor() argument 384 addBlockLayout(CharUnits align,CharUnits size,const BlockDecl::Capture * capture,llvm::Type * type,QualType fieldType,SmallVectorImpl<BlockLayoutChunk> & Layout,CGBlockInfo & Info,CodeGenModule & CGM) addBlockLayout() argument 437 tryCaptureAsConstant(CodeGenModule & CGM,CodeGenFunction * CGF,const VarDecl * var) tryCaptureAsConstant() argument 473 initializeForBlockHeader(CodeGenModule & CGM,CGBlockInfo & info,SmallVectorImpl<llvm::Type * > & elementTypes) initializeForBlockHeader() argument 545 computeBlockInfo(CodeGenModule & CGM,CodeGenFunction * CGF,CGBlockInfo & info) computeBlockInfo() argument 1278 buildGlobalBlock(CodeGenModule & CGM,const CGBlockInfo & blockInfo,llvm::Constant * blockFn) buildGlobalBlock() argument 1682 getBlockCaptureStr(const CGBlockInfo::Capture & Cap,CaptureStrKind StrKind,CharUnits BlockAlignment,CodeGenModule & CGM) getBlockCaptureStr() argument 1777 getCopyDestroyHelperFuncName(const SmallVectorImpl<CGBlockInfo::Capture> & Captures,CharUnits BlockAlignment,CaptureStrKind StrKind,CodeGenModule & CGM) getCopyDestroyHelperFuncName() argument 1845 setBlockHelperAttributesVisibility(bool CapturesNonExternalType,llvm::Function * Fn,const CGFunctionInfo & FI,CodeGenModule & CGM) setBlockHelperAttributesVisibility() argument 2357 buildByrefCopyHelper(CodeGenModule & CGM,const BlockByrefInfo & byrefInfo,BlockByrefHelpers & generator) buildByrefCopyHelper() argument 2413 buildByrefDisposeHelper(CodeGenModule & CGM,const BlockByrefInfo & byrefInfo,BlockByrefHelpers & generator) buildByrefDisposeHelper() argument 2423 buildByrefHelpers(CodeGenModule & CGM,const BlockByrefInfo & byrefInfo,T && generator) buildByrefHelpers() argument 2782 configureBlocksRuntimeObject(CodeGenModule & CGM,llvm::Constant * C) configureBlocksRuntimeObject() argument [all...] |
H A D | CGGPUBuiltin.cpp | 45 llvm::Function *GetOpenMPVprintfDeclaration(CodeGenModule &CGM) { in GetOpenMPVprintfDeclaration() argument 137 CodeGenModule &CGM = CGF->CGM; in EmitDevicePrintfCallExpr() local [all...] |
H A D | CGObjCRuntime.cpp | 31 uint64_t CGObjCRuntime::ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, in ComputeIvarBaseOffset() argument 38 uint64_t CGObjCRuntime::ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, in ComputeIvarBaseOffset() argument 47 CodeGen::CodeGenModule &CGM, in ComputeBitfieldBitOffset() argument 464 emitObjCProtocolObject(CodeGenModule & CGM,const ObjCProtocolDecl * protocol) emitObjCProtocolObject() argument [all...] |
H A D | CGExprConstant.cpp | 45 CodeGenModule &CGM; global() member 109 ConstantAggregateBuilder(CodeGenModule & CGM) ConstantAggregateBuilder() argument 401 buildFrom(CodeGenModule & CGM,ArrayRef<llvm::Constant * > Elems,ArrayRef<CharUnits> Offsets,CharUnits StartOffset,CharUnits Size,bool NaturalLayout,llvm::Type * DesiredTy,bool AllowOversized) buildFrom() argument 560 CodeGenModule &CGM; global() member in __anon4e2986830111::ConstStructBuilder 921 CodeGenModule &CGM = emitter.CGM; tryEmitGlobalCompoundLiteral() local 949 EmitArrayConstant(CodeGenModule & CGM,llvm::ArrayType * DesiredType,llvm::Type * CommonElementType,unsigned ArrayBound,SmallVectorImpl<llvm::Constant * > & Elements,llvm::Constant * Filler) EmitArrayConstant() argument 1018 CodeGenModule &CGM; global() member in __anon4e2986830111::ConstExprEmitter 1521 CodeGenModule &CGM; global() member 1663 getNonMemoryType(CodeGenModule & CGM,QualType type) getNonMemoryType() argument 1735 emitForMemory(CodeGenModule & CGM,llvm::Constant * C,QualType destType) emitForMemory() argument 1815 CodeGenModule &CGM; global() member in __anon4e2986830a11::ConstantLValueEmitter 2005 emitConstantObjCStringLiteral(const StringLiteral * S,QualType T,CodeGenModule & CGM) emitConstantObjCStringLiteral() argument 2264 EmitNullConstant(CodeGenModule & CGM,const RecordDecl * record,bool asCompleteObject) EmitNullConstant() argument 2349 EmitNullConstantForBase(CodeGenModule & CGM,llvm::Type * baseType,const CXXRecordDecl * base) EmitNullConstantForBase() argument 2362 emitNullForMemory(CodeGenModule & CGM,QualType T) emitNullForMemory() argument [all...] |
H A D | PatternInit.cpp | 15 llvm::Constant *clang::CodeGen::initializationPatternFor(CodeGenModule &CGM, in initializationPatternFor()
|
H A D | CGVTables.h | 33 CodeGenModule &CGM; variable
|
H A D | CGOpenCLRuntime.h | 58 CGOpenCLRuntime(CodeGenModule &CGM) : CGM(CGM), in CGOpenCLRuntime()
|
/freebsd-src/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | XCore.cpp | 312 CodeGen::CodeGenModule &CGM, in emitTargetMetadata() argument 336 extractFieldType(SmallVectorImpl<FieldEncoding> & FE,const RecordDecl * RD,const CodeGen::CodeGenModule & CGM,TypeStringCache & TSC) extractFieldType() argument 363 appendRecordType(SmallStringEnc & Enc,const RecordType * RT,const CodeGen::CodeGenModule & CGM,TypeStringCache & TSC,const IdentifierInfo * ID) appendRecordType() argument 532 appendPointerType(SmallStringEnc & Enc,const PointerType * PT,const CodeGen::CodeGenModule & CGM,TypeStringCache & TSC) appendPointerType() argument 544 appendArrayType(SmallStringEnc & Enc,QualType QT,const ArrayType * AT,const CodeGen::CodeGenModule & CGM,TypeStringCache & TSC,StringRef NoSizeEnc) appendArrayType() argument 565 appendFunctionType(SmallStringEnc & Enc,const FunctionType * FT,const CodeGen::CodeGenModule & CGM,TypeStringCache & TSC) appendFunctionType() argument 599 appendType(SmallStringEnc & Enc,QualType QType,const CodeGen::CodeGenModule & CGM,TypeStringCache & TSC) appendType() argument 633 getTypeString(SmallStringEnc & Enc,const Decl * D,const CodeGen::CodeGenModule & CGM,TypeStringCache & TSC) getTypeString() argument 660 createXCoreTargetCodeGenInfo(CodeGenModule & CGM) createXCoreTargetCodeGenInfo() argument [all...] |
H A D | SPIR.cpp | 112 void computeSPIRKernelABIInfo(CodeGenModule &CGM, CGFunctionInfo &FI) { in computeSPIRKernelABIInfo() 175 llvm::Type *CommonSPIRTargetCodeGenInfo::getOpenCLType(CodeGenModule &CGM, in getOpenCLType() 211 CodeGen::createCommonSPIRTargetCodeGenInfo(CodeGenModule &CGM) { in createCommonSPIRTargetCodeGenInfo() 216 CodeGen::createSPIRVTargetCodeGenInfo(CodeGenModule &CGM) { in createSPIRVTargetCodeGenInfo()
|
H A D | AVR.cpp | 117 LangAS getGlobalVarAddressSpace(CodeGenModule &CGM, in getGlobalVarAddressSpace() 151 CodeGen::createAVRTargetCodeGenInfo(CodeGenModule &CGM, unsigned NPR, in createAVRTargetCodeGenInfo()
|
H A D | M68k.cpp | 53 CodeGen::createM68kTargetCodeGenInfo(CodeGenModule &CGM) { in createM68kTargetCodeGenInfo()
|
H A D | TCE.cpp | 80 CodeGen::createTCETargetCodeGenInfo(CodeGenModule &CGM) { in createTCETargetCodeGenInfo()
|
H A D | VE.cpp | 69 CodeGen::createVETargetCodeGenInfo(CodeGenModule &CGM) { in createVETargetCodeGenInfo()
|
H A D | PPC.cpp | 947 emitTargetMetadata(CodeGen::CodeGenModule & CGM,const llvm::MapVector<GlobalDecl,StringRef> & MangledDeclNames) const emitTargetMetadata() argument 972 createAIXTargetCodeGenInfo(CodeGenModule & CGM,bool Is64Bit) createAIXTargetCodeGenInfo() argument 977 createPPC32TargetCodeGenInfo(CodeGenModule & CGM,bool SoftFloatABI) createPPC32TargetCodeGenInfo() argument 985 createPPC64TargetCodeGenInfo(CodeGenModule & CGM) createPPC64TargetCodeGenInfo() argument 990 createPPC64_SVR4_TargetCodeGenInfo(CodeGenModule & CGM,PPC64_SVR4_ABIKind Kind,bool SoftFloatABI) createPPC64_SVR4_TargetCodeGenInfo() argument [all...] |
/freebsd-src/contrib/llvm-project/clang/include/clang/CodeGen/ |
H A D | SwiftCallingConv.h | 42 CodeGenModule &CGM; variable 57 SwiftAggLowering(CodeGenModule &CGM) : CGM(CGM) {} in SwiftAggLowering()
|
H A D | ConstantInitBuilder.h | 58 CodeGenModule &CGM; global() variable 69 ConstantInitBuilderBase(CodeGenModule & CGM) ConstantInitBuilderBase() argument 501 ConstantInitBuilderTemplateBase(CodeGenModule & CGM) ConstantInitBuilderTemplateBase() argument 533 ConstantInitBuilder(CodeGenModule & CGM) ConstantInitBuilder() argument [all...] |