Searched refs:symTy (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | ConvertVariable.cpp | 264 const Fortran::semantics::Symbol &sym, mlir::Type symTy, in genDefaultInitializerValue() argument 267 mlir::Type scalarType = symTy; in genDefaultInitializerValue() 269 if (auto ty = symTy.dyn_cast<fir::SequenceType>()) { in genDefaultInitializerValue() 385 mlir::Type symTy = converter.genType(var); in defineGlobal() local 402 if (symTy.isa<fir::SequenceType>() && sym.Rank() == 1 && in defineGlobal() 404 mlir::Type eleTy = symTy.cast<fir::SequenceType>().getEleTy(); in defineGlobal() 420 global = builder.createGlobal(loc, symTy, globalName, linkage, in defineGlobal() 436 fir::factory::createUnallocatedBox(b, loc, symTy, llvm::None); in defineGlobal() 451 builder.createConvert(loc, symTy, fir::getBase(initVal)); in defineGlobal() 461 mlir::Value castTo = builder.createConvert(loc, symTy, initVal); in defineGlobal() [all …]
|
| H A D | PFTBuilder.cpp | 1294 if (const Fortran::semantics::DeclTypeSpec *symTy = sym.GetType()) in symbolIsGlobal() local 1295 if (symTy->category() == semantics::DeclTypeSpec::Character) in symbolIsGlobal() 1296 if (auto e = symTy->characterTypeSpec().length().GetExplicit()) in symbolIsGlobal() 1437 const semantics::DeclTypeSpec *symTy = sym.GetType(); in analyze() local 1438 assert(symTy && "symbol must have a type"); in analyze() 1440 if (symTy->category() == semantics::DeclTypeSpec::Character) in analyze() 1441 if (auto e = symTy->characterTypeSpec().length().GetExplicit()) in analyze()
|
| H A D | ConvertExpr.cpp | 5479 mlir::Type symTy = arrTy; in genarr() local 5480 mlir::Type eleTy = symTy.cast<fir::SequenceType>().getEleTy(); in genarr() 7442 mlir::Location loc, mlir::Type symTy, llvm::StringRef globalName, in createDenseGlobal() argument 7464 return builder.createGlobal(loc, symTy, globalName, linkage, init, isConst); in createDenseGlobal()
|
| /llvm-project-15.0.7/flang/include/flang/Lower/ |
| H A D | ConvertExpr.h | 51 fir::GlobalOp createDenseGlobal(mlir::Location loc, mlir::Type symTy,
|