Lines Matching refs:CIRGenModule
37 static CIRGenCXXABI *createCXXABI(CIRGenModule &cgm) { in createCXXABI()
59 CIRGenModule::CIRGenModule(mlir::MLIRContext &mlirContext, in CIRGenModule() function in CIRGenModule
115 CIRGenModule::~CIRGenModule() = default;
121 CharUnits CIRGenModule::getClassPointerAlignment(const CXXRecordDecl *rd) { in getClassPointerAlignment()
136 CharUnits CIRGenModule::getNaturalTypeAlignment(QualType t, in getNaturalTypeAlignment()
191 const TargetCIRGenInfo &CIRGenModule::getTargetCIRGenInfo() { in getTargetCIRGenInfo()
219 mlir::Location CIRGenModule::getLoc(SourceLocation cLoc) { in getLoc()
228 mlir::Location CIRGenModule::getLoc(SourceRange cRange) { in getLoc()
237 CIRGenModule::getAddrOfGlobal(GlobalDecl gd, ForDefinition_t isForDefinition) { in getAddrOfGlobal()
263 void CIRGenModule::emitGlobalDecl(const clang::GlobalDecl &d) { in emitGlobalDecl()
301 void CIRGenModule::emitDeferred() { in emitDeferred()
332 void CIRGenModule::emitGlobal(clang::GlobalDecl gd) { in emitGlobal()
399 void CIRGenModule::emitGlobalFunctionDefinition(clang::GlobalDecl gd, in emitGlobalFunctionDefinition()
440 mlir::Operation *CIRGenModule::getGlobalValue(StringRef name) { in getGlobalValue()
444 cir::GlobalOp CIRGenModule::createGlobalOp(CIRGenModule &cgm, in createGlobalOp()
479 void CIRGenModule::setCommonAttributes(GlobalDecl gd, mlir::Operation *gv) { in setCommonAttributes()
487 void CIRGenModule::setNonAliasAttributes(GlobalDecl gd, mlir::Operation *op) { in setNonAliasAttributes()
524 CIRGenModule::getOrCreateCIRGlobal(StringRef mangledName, mlir::Type ty, in getOrCreateCIRGlobal()
569 CIRGenModule::createGlobalOp(*this, loc, mangledName, ty, in getOrCreateCIRGlobal()
624 CIRGenModule::getOrCreateCIRGlobal(const VarDecl *d, mlir::Type ty, in getOrCreateCIRGlobal()
642 mlir::Value CIRGenModule::getAddrOfGlobalVar(const VarDecl *d, mlir::Type ty, in getAddrOfGlobalVar()
657 void CIRGenModule::emitGlobalVarDefinition(const clang::VarDecl *vd, in emitGlobalVarDefinition()
764 CIRGenModule::setInitializer(gv, init); in emitGlobalVarDefinition()
787 void CIRGenModule::emitGlobalDefinition(clang::GlobalDecl gd, in emitGlobalDefinition()
823 CIRGenModule::getConstantArrayFromStringLiteral(const StringLiteral *e) { in getConstantArrayFromStringLiteral()
846 bool CIRGenModule::supportsCOMDAT() const { in supportsCOMDAT()
850 static bool shouldBeInCOMDAT(CIRGenModule &cgm, const Decl &d) { in shouldBeInCOMDAT()
876 void CIRGenModule::maybeSetTrivialComdat(const Decl &d, mlir::Operation *op) { in maybeSetTrivialComdat()
887 void CIRGenModule::updateCompletedType(const TagDecl *td) { in updateCompletedType()
892 void CIRGenModule::addReplacement(StringRef name, mlir::Operation *op) { in addReplacement()
896 void CIRGenModule::replacePointerTypeArgs(cir::FuncOp oldF, cir::FuncOp newF) { in replacePointerTypeArgs()
921 void CIRGenModule::applyReplacements() { in applyReplacements()
953 CIRGenModule &cgm, const VarDecl *vd, in isVarDeclStrongDefinition()
1028 cir::GlobalLinkageKind CIRGenModule::getCIRLinkageForDeclarator( in getCIRLinkageForDeclarator()
1107 CIRGenModule::getCIRLinkageVarDefinition(const VarDecl *vd, bool isConstant) { in getCIRLinkageVarDefinition()
1113 cir::GlobalLinkageKind CIRGenModule::getFunctionLinkage(GlobalDecl gd) { in getFunctionLinkage()
1126 cir::GlobalLinkageKind lt, CIRGenModule &cgm, in generateStringLiteral()
1133 CIRGenModule::createGlobalOp(cgm, loc, globalName, c.getType()); in generateStringLiteral()
1141 CIRGenModule::setInitializer(gv, c); in generateStringLiteral()
1158 std::string CIRGenModule::getUniqueGlobalName(const std::string &baseName) { in getUniqueGlobalName()
1175 cir::GlobalOp CIRGenModule::getGlobalForStringLiteral(const StringLiteral *s, in getGlobalForStringLiteral()
1211 void CIRGenModule::emitDeclContext(const DeclContext *dc) { in emitDeclContext()
1226 void CIRGenModule::emitTopLevelDecl(Decl *decl) { in emitTopLevelDecl()
1295 void CIRGenModule::setInitializer(cir::GlobalOp &op, mlir::Attribute value) { in setInitializer()
1301 std::pair<cir::FuncType, cir::FuncOp> CIRGenModule::getAddrAndTypeOfCXXStructor( in getAddrAndTypeOfCXXStructor()
1329 cir::FuncOp CIRGenModule::getAddrOfFunction(clang::GlobalDecl gd, in getAddrOfFunction()
1359 static std::string getMangledNameImpl(CIRGenModule &cgm, GlobalDecl gd, in getMangledNameImpl()
1408 StringRef CIRGenModule::getMangledName(GlobalDecl gd) { in getMangledName()
1429 void CIRGenModule::emitTentativeDefinition(const VarDecl *d) { in emitTentativeDefinition()
1452 bool CIRGenModule::mustBeEmitted(const ValueDecl *global) { in mustBeEmitted()
1469 bool CIRGenModule::mayBeEmittedEagerly(const ValueDecl *global) { in mayBeEmittedEagerly()
1518 static bool shouldAssumeDSOLocal(const CIRGenModule &cgm, in shouldAssumeDSOLocal()
1619 void CIRGenModule::setGlobalVisibility(mlir::Operation *gv, in setGlobalVisibility()
1624 void CIRGenModule::setDSOLocal(cir::CIRGlobalValueInterface gv) const { in setDSOLocal()
1628 void CIRGenModule::setDSOLocal(mlir::Operation *op) const { in setDSOLocal()
1633 void CIRGenModule::setGVProperties(mlir::Operation *op, in setGVProperties()
1639 void CIRGenModule::setGVPropertiesAux(mlir::Operation *op, in setGVPropertiesAux()
1646 void CIRGenModule::setFunctionAttributes(GlobalDecl globalDecl, in setFunctionAttributes()
1667 cir::FuncOp CIRGenModule::getOrCreateCIRFunction( in getOrCreateCIRFunction()
1790 CIRGenModule::createCIRFunction(mlir::Location loc, StringRef name, in createCIRFunction()
1828 CIRGenModule::getMLIRVisibilityFromCIRLinkage(cir::GlobalLinkageKind glk) { in getMLIRVisibilityFromCIRLinkage()
1850 cir::VisibilityKind CIRGenModule::getGlobalVisibilityKindFromClangVisibility( in getGlobalVisibilityKindFromClangVisibility()
1864 CIRGenModule::getGlobalVisibilityAttrFromDecl(const Decl *decl) { in getGlobalVisibilityAttrFromDecl()
1876 void CIRGenModule::release() { in release()
1884 void CIRGenModule::emitAliasForGlobal(StringRef mangledName, in emitAliasForGlobal()
1924 mlir::Type CIRGenModule::convertType(QualType type) { in convertType()
1928 bool CIRGenModule::verifyModule() const { in verifyModule()
1936 CharUnits CIRGenModule::computeNonVirtualBaseClassOffset( in computeNonVirtualBaseClassOffset()
1962 DiagnosticBuilder CIRGenModule::errorNYI(SourceLocation loc, in errorNYI()
1969 DiagnosticBuilder CIRGenModule::errorNYI(SourceRange loc, in errorNYI()