Lines Matching full:semantics
24 #include "flang/Semantics/tools.h"
64 static bool isDerivedWithLenParameters(const Fortran::semantics::Symbol &sym) { in isDerivedWithLenParameters()
67 return Fortran::semantics::CountLenParameters(*derived) != 0; in isDerivedWithLenParameters()
73 static void bindCapturedSymbol(const Fortran::semantics::Symbol &sym, in bindCapturedSymbol()
125 const Fortran::semantics::Symbol &, in visit()
132 const Fortran::semantics::Symbol &sym, in visit()
138 const Fortran::semantics::Symbol &sym, in visit()
144 const Fortran::semantics::Symbol &sym, in visit()
156 const Fortran::semantics::Symbol &sym) { in getType()
162 const Fortran::semantics::Symbol &) { in instantiateHostTuple()
173 const Fortran::semantics::Symbol &sym, in getFromTuple()
184 const Fortran::semantics::Symbol &sym) { in getType()
186 if (Fortran::semantics::IsPointer(sym)) in getType()
193 const Fortran::semantics::Symbol &) { in instantiateHostTuple()
204 const Fortran::semantics::Symbol &sym, in getFromTuple()
220 const Fortran::semantics::Symbol &sym) { in getType()
228 const Fortran::semantics::Symbol &) { in instantiateHostTuple()
239 const Fortran::semantics::Symbol &sym, in getFromTuple()
258 const Fortran::semantics::Symbol &sym) { in getType()
263 const Fortran::semantics::Symbol &sym) { in instantiateHostTuple()
270 if (Fortran::semantics::IsOptional(sym)) { in instantiateHostTuple()
290 const Fortran::semantics::Symbol &sym, in getFromTuple()
295 if (Fortran::semantics::IsOptional(sym)) { in getFromTuple()
317 const Fortran::semantics::Symbol &sym) { in getType()
319 if (sym.GetUltimate().test(Fortran::semantics::Symbol::Flag::CrayPointee)) in getType()
326 const Fortran::semantics::Symbol &) { in instantiateHostTuple()
338 const Fortran::semantics::Symbol &sym, in getFromTuple()
342 // Non deferred type parameters impact the semantics of some statements in getFromTuple()
344 // scalar character allocatable with has a different semantics in F2003 and in getFromTuple()
353 } else if (Fortran::semantics::IsAssumedLengthCharacter(sym) || in getFromTuple()
382 const Fortran::semantics::Symbol &sym) { in getType()
384 bool isPolymorphic = Fortran::semantics::IsPolymorphic(sym); in getType()
395 const Fortran::semantics::Symbol &sym) { in instantiateHostTuple()
400 Fortran::semantics::IsOptional(sym)) { in instantiateHostTuple()
427 const Fortran::semantics::Symbol &sym, in getFromTuple()
462 if (Fortran::semantics::IsOptional(sym)) { in getFromTuple()
484 const Fortran::semantics::Symbol &sym) { in canReadCapturedBoxValue()
489 const Fortran::semantics::DeclTypeSpec *type = sym.GetType(); in canReadCapturedBoxValue()
505 const Fortran::semantics::Symbol &sym) { in walkCaptureCategories()
513 if (Fortran::semantics::IsProcedure(sym)) in walkCaptureCategories()
516 if (Fortran::semantics::IsAllocatableOrPointer(sym) || in walkCaptureCategories()
517 sym.GetUltimate().test(Fortran::semantics::Symbol::Flag::CrayPointee)) in walkCaptureCategories()
521 if (Fortran::semantics::IsPolymorphic(sym)) in walkCaptureCategories()
547 const llvm::SetVector<const Fortran::semantics::Symbol *> &symbols, in addSymbolsToBind()
548 const Fortran::semantics::Scope &hostScope) { in addSymbolsToBind()
556 (*s).test(Fortran::semantics::Symbol::Flag::OmpThreadprivate)) { in addSymbolsToBind()
610 Fortran::semantics::Symbol::Flag::OmpThreadprivate)) in internalProcedureBindings()
659 for (const Fortran::semantics::Symbol *sym : tupleSymbols) in getArgumentType()