| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | TargetInfo.h | 81 CodeGen::CodeGenModule &M) const {} in setTargetAttributes() 86 CodeGen::CodeGenModule &CGM, in emitTargetMetadata() 90 virtual void emitTargetGlobals(CodeGen::CodeGenModule &CGM) const {} in emitTargetGlobals() 94 virtual void checkFunctionABI(CodeGenModule &CGM, in checkFunctionABI() 99 virtual void checkFunctionCallABI(CodeGenModule &CGM, SourceLocation CallLoc, in checkFunctionCallABI() 146 virtual int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const { in getDwarfEHStackPointer() 184 CodeGenModule &CGM) const { in testFPKind() 241 getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const { in getUBSanFunctionSignature() 309 virtual llvm::Constant *getNullPointer(const CodeGen::CodeGenModule &CGM, 316 virtual LangAS getGlobalVarAddressSpace(CodeGenModule &CGM, [all …]
|
| H A D | CodeGenABITypes.cpp | 28 void CodeGen::addDefaultFunctionDefinitionAttributes(CodeGenModule &CGM, in addDefaultFunctionDefinitionAttributes() 34 CodeGen::arrangeObjCMessageSendSignature(CodeGenModule &CGM, in arrangeObjCMessageSendSignature() 41 CodeGen::arrangeFreeFunctionType(CodeGenModule &CGM, in arrangeFreeFunctionType() 47 CodeGen::arrangeFreeFunctionType(CodeGenModule &CGM, in arrangeFreeFunctionType() 53 CodeGen::arrangeCXXMethodType(CodeGenModule &CGM, in arrangeCXXMethodType() 61 CodeGenModule &CGM, CanQualType returnType, ArrayRef<CanQualType> argTypes, in arrangeCXXMethodCall() 71 CodeGenModule &CGM, CanQualType returnType, ArrayRef<CanQualType> argTypes, in arrangeFreeFunctionCall() 80 CodeGen::getImplicitCXXConstructorArgs(CodeGenModule &CGM, in getImplicitCXXConstructorArgs() 104 CodeGen::convertFreeFunctionType(CodeGenModule &CGM, const FunctionDecl *FD) { in convertFreeFunctionType() 115 CodeGen::convertTypeForMemory(CodeGenModule &CGM, QualType T) { in convertTypeForMemory() [all …]
|
| H A D | CGObjCRuntime.h | 58 class CodeGenModule; variable 67 CodeGen::CodeGenModule &CGM; 68 CGObjCRuntime(CodeGen::CodeGenModule &CGM) : CGM(CGM) {} in CGObjCRuntime() 80 uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, 83 uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, 299 BuildGCBlockLayout(CodeGen::CodeGenModule &CGM, 302 BuildRCBlockLayout(CodeGen::CodeGenModule &CGM, 304 virtual std::string getRCBlockLayoutStr(CodeGen::CodeGenModule &CGM, in getRCBlockLayoutStr() 310 virtual llvm::Constant *BuildByrefLayout(CodeGen::CodeGenModule &CGM, 344 unsigned ComputeBitfieldBitOffset(CodeGen::CodeGenModule &CGM, [all …]
|
| H A D | CodeGenModule.cpp | 87 static CGCXXABI *createCXXABI(CodeGenModule &CGM) { in createCXXABI() 108 createTargetCodeGenInfo(CodeGenModule &CGM) { in createTargetCodeGenInfo() 329 const TargetCodeGenInfo &CodeGenModule::getTargetCodeGenInfo() { in getTargetCodeGenInfo() 400 CodeGenModule::CodeGenModule(ASTContext &C, in CodeGenModule() function in CodeGenModule 560 CodeGenModule::~CodeGenModule() {} in ~CodeGenModule() 562 void CodeGenModule::createObjCRuntime() { in createObjCRuntime() 582 void CodeGenModule::createOpenCLRuntime() { in createOpenCLRuntime() 586 void CodeGenModule::createOpenMPRuntime() { in createOpenMPRuntime() 608 void CodeGenModule::createCUDARuntime() { in createCUDARuntime() 612 void CodeGenModule::createHLSLRuntime() { in createHLSLRuntime() [all …]
|
| H A D | CGPointerAuth.cpp | 26 llvm::ConstantInt *CodeGenModule::getPointerAuthOtherDiscriminator( in getPointerAuthOtherDiscriminator() 49 uint16_t CodeGen::getPointerAuthTypeDiscriminator(CodeGenModule &CGM, in getPointerAuthTypeDiscriminator() 54 uint16_t CodeGen::getPointerAuthDeclDiscriminator(CodeGenModule &CGM, in getPointerAuthDeclDiscriminator() 61 CodeGenModule::getPointerAuthDeclDiscriminator(GlobalDecl Declaration) { in getPointerAuthDeclDiscriminator() 74 CGPointerAuthInfo CodeGenModule::getFunctionPointerAuthInfo(QualType T) { in getFunctionPointerAuthInfo() 158 getPointerAuthInfoForPointeeType(CodeGenModule &CGM, QualType PointeeType) { in getPointerAuthInfoForPointeeType() 170 CGPointerAuthInfo CodeGenModule::getPointerAuthInfoForPointeeType(QualType T) { in getPointerAuthInfoForPointeeType() 176 static CGPointerAuthInfo getPointerAuthInfoForType(CodeGenModule &CGM, in getPointerAuthInfoForType() 192 CGPointerAuthInfo CodeGenModule::getPointerAuthInfoForType(QualType T) { in getPointerAuthInfoForType() 424 CodeGenModule::getConstantSignedPointer(llvm::Constant *Pointer, unsigned Key, in getConstantSignedPointer() [all …]
|
| H A D | CGCUDARuntime.h | 38 class CodeGenModule; variable 45 CodeGenModule &CGM; 83 CGCUDARuntime(CodeGenModule &CGM) : CGM(CGM) {} in CGCUDARuntime() 120 CGCUDARuntime *CreateNVCUDARuntime(CodeGenModule &CGM);
|
| H A D | HLSLBufferLayoutBuilder.h | 17 class CodeGenModule; variable 26 CodeGenModule &CGM; 30 HLSLBufferLayoutBuilder(CodeGenModule &CGM, llvm::StringRef LayoutTypeName) in HLSLBufferLayoutBuilder()
|
| H A D | SanitizerMetadata.h | 30 class CodeGenModule; variable 36 CodeGenModule &CGM; 39 SanitizerMetadata(CodeGenModule &CGM);
|
| H A D | VarBypassDetector.h | 54 void Init(CodeGenModule &CGM, const Stmt *Body); 63 bool BuildScopeInformation(CodeGenModule &CGM, const Decl *D, 65 bool BuildScopeInformation(CodeGenModule &CGM, const Stmt *S,
|
| H A D | SwiftCallingConv.cpp | 23 static const SwiftABIInfo &getSwiftABIInfo(CodeGenModule &CGM) { in getSwiftABIInfo() 56 static CharUnits getTypeStoreSize(CodeGenModule &CGM, llvm::Type *type) { in getTypeStoreSize() 60 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() 658 CharUnits swiftcall::getNaturalAlignment(CodeGenModule &CGM, llvm::Type *type) { in getNaturalAlignment() 667 bool swiftcall::isLegalIntegerType(CodeGenModule &CGM, in isLegalIntegerType() 687 bool swiftcall::isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in isLegalVectorType() 694 bool swiftcall::isLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in isLegalVectorType() 701 swiftcall::splitLegalVectorType(CodeGenModule &CGM, CharUnits vectorSize, in splitLegalVectorType() [all …]
|
| H A D | ConstantEmitter.h | 25 CodeGenModule &CGM; 51 ConstantEmitter(CodeGenModule &CGM, CodeGenFunction *CGF = nullptr) 129 static llvm::Constant *emitNullForMemory(CodeGenModule &CGM, QualType T); 130 static llvm::Constant *emitForMemory(CodeGenModule &CGM, llvm::Constant *C,
|
| H A D | CoverageMappingGen.h | 97 class CodeGenModule; variable 115 CodeGenModule &CGM; 131 CoverageMappingModuleGen(CodeGenModule &CGM, CoverageSourceInfo &SourceInfo); 153 CodeGenModule &getCodeGenModule() { return CGM; } in getCodeGenModule()
|
| H A D | PatternInit.h | 20 class CodeGenModule; variable 22 llvm::Constant *initializationPatternFor(CodeGenModule &, llvm::Type *);
|
| H A D | CGVTables.h | 28 class CodeGenModule; variable 33 CodeGenModule &CGM; 85 CodeGenVTables(CodeGenModule &CGM);
|
| H A D | ModuleBuilder.cpp | 65 std::unique_ptr<CodeGen::CodeGenModule> Builder; 97 CodeGenModule &CGM() { in CGM() 141 std::unique_ptr<CodeGenModule> OldBuilder = std::move(Builder); in StartModule() 164 Builder.reset(new CodeGen::CodeGenModule(Context, FS, HeaderSearchOpts, in Initialize() 328 CodeGenModule &CodeGenerator::CGM() { in CGM()
|
| H A D | TargetInfo.cpp | 131 llvm::Constant *TargetCodeGenInfo::getNullPointer(const CodeGen::CodeGenModule &CGM, in getNullPointer() 136 LangAS TargetCodeGenInfo::getGlobalVarAddressSpace(CodeGenModule &CGM, in getGlobalVarAddressSpace() 157 TargetCodeGenInfo::performAddrSpaceCast(CodeGenModule &CGM, llvm::Constant *Src, in performAddrSpaceCast() 174 const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &CGM) const { in addStackProbeTargetAttributes() 304 CodeGen::createDefaultTargetCodeGenInfo(CodeGenModule &CGM) { in createDefaultTargetCodeGenInfo()
|
| /freebsd/contrib/llvm-project/clang/include/clang/CodeGen/ |
| H A D | CodeGenABITypes.h | 51 class CodeGenModule; variable 63 const CGFunctionInfo &arrangeObjCMessageSendSignature(CodeGenModule &CGM, 67 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM, 70 const CGFunctionInfo &arrangeFreeFunctionType(CodeGenModule &CGM, 73 const CGFunctionInfo &arrangeCXXMethodType(CodeGenModule &CGM, 79 arrangeCXXMethodCall(CodeGenModule &CGM, CanQualType returnType, 85 CodeGenModule &CGM, CanQualType returnType, ArrayRef<CanQualType> argTypes, 92 arrangeFreeFunctionCall(CodeGenModule &CGM, CanQualType returnType, in arrangeFreeFunctionCall() 101 getImplicitCXXConstructorArgs(CodeGenModule &CGM, const CXXConstructorDecl *D); 104 getCXXDestructorImplicitParam(CodeGenModule &CGM, llvm::BasicBlock *InsertBlock, [all …]
|
| H A D | SwiftCallingConv.h | 36 class CodeGenModule; variable 42 CodeGenModule &CGM; 57 SwiftAggLowering(CodeGenModule &CGM) : CGM(CGM) {} in SwiftAggLowering() 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, [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | SPIR.cpp | 55 llvm::Type *getOpenCLType(CodeGenModule &CGM, const Type *T) const override; 57 getHLSLType(CodeGenModule &CGM, const Type *Ty, 61 QualType SampledType, CodeGenModule &CGM) const; 70 LangAS getGlobalVarAddressSpace(CodeGenModule &CGM, 73 CodeGen::CodeGenModule &M) const override; 217 void computeSPIRKernelABIInfo(CodeGenModule &CGM, CGFunctionInfo &FI) { in computeSPIRKernelABIInfo() 247 SPIRVTargetCodeGenInfo::getGlobalVarAddressSpace(CodeGenModule &CGM, in getGlobalVarAddressSpace() 269 const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &M) const { in setTargetAttributes() 350 llvm::Type *CommonSPIRTargetCodeGenInfo::getOpenCLType(CodeGenModule &CGM, in getOpenCLType() 387 static llvm::Type *getInlineSpirvConstant(CodeGenModule &CGM, in getInlineSpirvConstant() [all …]
|
| H A D | XCore.cpp | 123 const CodeGen::CodeGenModule &M) const; 128 void emitTargetMetadata(CodeGen::CodeGenModule &CGM, 293 const CodeGen::CodeGenModule &CGM, 299 const CodeGen::CodeGenModule &CGM) const { in emitTargetMD() 312 CodeGen::CodeGenModule &CGM, in emitTargetMetadata() 328 const CodeGen::CodeGenModule &CGM, 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() [all …]
|
| H A D | M68k.cpp | 26 CodeGen::CodeGenModule &M) const override; 32 const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &M) const { in setTargetAttributes() 53 CodeGen::createM68kTargetCodeGenInfo(CodeGenModule &CGM) { in createM68kTargetCodeGenInfo()
|
| H A D | TCE.cpp | 29 CodeGen::CodeGenModule &M) const override; 33 const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &M) const { in setTargetAttributes() 77 CodeGen::createTCETargetCodeGenInfo(CodeGenModule &CGM) { in createTCETargetCodeGenInfo()
|
| H A D | MSP430.cpp | 69 CodeGen::CodeGenModule &M) const override; 75 const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &M) const { in setTargetAttributes() 96 CodeGen::createMSP430TargetCodeGenInfo(CodeGenModule &CGM) { in createMSP430TargetCodeGenInfo()
|
| H A D | DirectX.cpp | 33 getHLSLType(CodeGenModule &CGM, const Type *T, 38 CodeGenModule &CGM, const Type *Ty, in getHLSLType() 96 CodeGen::createDirectXTargetCodeGenInfo(CodeGenModule &CGM) { in createDirectXTargetCodeGenInfo()
|
| H A D | AVR.cpp | 117 LangAS getGlobalVarAddressSpace(CodeGenModule &CGM, in getGlobalVarAddressSpace() 134 CodeGen::CodeGenModule &CGM) const override { in setTargetAttributes() 151 CodeGen::createAVRTargetCodeGenInfo(CodeGenModule &CGM, unsigned NPR, in createAVRTargetCodeGenInfo()
|