Home
last modified time | relevance | path

Searched refs:lenExpr (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/flang/lib/Semantics/
H A Dscope.cpp222 auto lenExpr{dyType->GetCharLength()}; in GetType() local
223 if (!lenExpr) { in GetType()
224 lenExpr = in GetType()
227 if (lenExpr) { in GetType()
229 ParamValue{SomeIntExpr{std::move(*lenExpr)}, in GetType()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCStringChecker.cpp1668 SizeArgExpr lenExpr = {CE->getArg(2), 2}; in evalStrcpyCommon() local
1669 SVal lenVal = state->getSVal(lenExpr.Expression, LCtx); in evalStrcpyCommon()
1673 svalBuilder.evalCast(lenVal, sizeTy, lenExpr.Expression->getType()); in evalStrcpyCommon()
2084 const Expr *lenExpr = CE->getArg(2); in evalStrcmpCommon() local
2085 SVal lenVal = state->getSVal(lenExpr, LCtx); in evalStrcmpCommon()
/llvm-project-15.0.7/flang/lib/Lower/
H A DAllocatable.cpp440 Fortran::lower::SomeExpr lenExpr{*intExpr}; in lowerAllocateLengthParameters() local
442 fir::getBase(converter.genExprValue(loc, lenExpr, stmtCtx))); in lowerAllocateLengthParameters()
H A DConvertVariable.cpp1190 if (llvm::Optional<Fortran::lower::SomeExpr> lenExpr = box.getCharLenExpr()) in lowerExplicitCharLen() local
1195 genScalarValue(converter, loc, *lenExpr, symMap, stmtCtx)); in lowerExplicitCharLen()
H A DConvertExpr.cpp2331 if (const Fortran::semantics::MaybeIntExpr &lenExpr = in genStmtFunctionRef() local
2333 mlir::Value len = fir::getBase(genval(*lenExpr)); in genStmtFunctionRef()