Home
last modified time | relevance | path

Searched refs:semantics (Results 1 – 25 of 413) sorted by relevance

12345678910>>...17

/llvm-project-15.0.7/llvm/test/MC/AArch64/
H A Datomic-acquire-comment.s3 ; CHECK: ldaddab w3, wzr, [x5] ; acquire semantics dropped since destination is zero
4 ; CHECK: ldaddah w5, wzr, [x0] ; acquire semantics dropped since destination is zero
5 ; CHECK: ldadda w7, wzr, [x5] ; acquire semantics dropped since destination is zero
6 ; CHECK: ldadda x9, xzr, [sp] ; acquire semantics dropped since destination is zero
12 ; CHECK: ldaddalb w3, wzr, [x5] ; acquire semantics dropped since destination is zero
13 ; CHECK: ldaddalh w5, wzr, [x0] ; acquire semantics dropped since destination is zero
14 ; CHECK: ldaddal w7, wzr, [x5] ; acquire semantics dropped since destination is zero
15 ; CHECK: ldaddal x9, xzr, [sp] ; acquire semantics dropped since destination is zero
21 ; CHECK: ldclrab w3, wzr, [x5] ; acquire semantics dropped since destination is zero
23 ; CHECK: ldclra w7, wzr, [x5] ; acquire semantics dropped since destination is zero
[all …]
/llvm-project-15.0.7/flang/lib/Lower/
H A DMangler.cpp35 moduleNames(const Fortran::semantics::Symbol &symbol) { in moduleNames()
36 const Fortran::semantics::Scope &scope = symbol.owner(); in moduleNames()
43 hostName(const Fortran::semantics::Symbol &symbol) { in hostName()
44 const Fortran::semantics::Scope &scope = symbol.owner(); in hostName()
58 static const Fortran::semantics::Symbol *
60 const Fortran::semantics::Scope &scope = symbol.owner(); in findInterfaceIfSeperateMP()
65 const Fortran::semantics::Symbol *iface = in findInterfaceIfSeperateMP()
92 if (!Fortran::semantics::IsPointer(ultimateSymbol) && in mangleName()
94 Fortran::semantics::ClassifyProcedure(symbol) != in mangleName()
166 const Fortran::semantics::Symbol &ultimateSymbol = in mangleName()
[all …]
H A DPFTBuilder.cpp424 const semantics::Symbol *sym = in addEvaluation()
575 if (semantics::ExprHasTypeCategory(*semantics::GetExpr(*expr), in analyzeIoBranches()
1227 -> const semantics::Symbol * { in getSymbol()
1231 -> const semantics::Symbol * { in getSymbol()
1239 -> const semantics::Symbol * { in getSymbol()
1470 if (semantics::IsAllocatable(sym)) in analyze()
1472 if (semantics::IsPointer(sym)) in analyze()
1556 const semantics::Scope &scope, in processSymbolTable()
1592 const semantics::SemanticsContext &) in FunctionLikeUnit()
1603 const semantics::SemanticsContext &) in FunctionLikeUnit()
[all …]
H A DAllocatable.cpp211 static const Fortran::semantics::Symbol &
253 const Fortran::semantics::DeclTypeSpec &type;
426 const Fortran::semantics::DeclTypeSpec *typeSpec = in lowerAllocateLengthParameters()
436 Fortran::semantics::ParamValue lenParam = in lowerAllocateLengthParameters()
570 const Fortran::semantics::Scope &owner = sym.owner(); in mayBeCapturedInInternalProc()
571 Fortran::semantics::Scope::Kind kind = owner.kind(); in mayBeCapturedInInternalProc()
608 Fortran::semantics::IsFunctionResult(sym) || in createMutableProperties()
703 if (const Fortran::semantics::Symbol *sym = in isWholeAllocatable()
705 return Fortran::semantics::IsAllocatable(*sym); in isWholeAllocatable()
710 if (const Fortran::semantics::Symbol *sym = in isWholePointer()
[all …]
H A DHostAssociations.cpp100 const Fortran::semantics::Symbol &, in visit()
107 const Fortran::semantics::Symbol &sym, in visit()
113 const Fortran::semantics::Symbol &sym, in visit()
119 const Fortran::semantics::Symbol &sym, in visit()
160 if (Fortran::semantics::IsPointer(sym)) in getType()
281 if (Fortran::semantics::IsOptional(sym)) { in getFromTuple()
337 Fortran::semantics::IsOptional(sym)) { in instantiateHostTuple()
398 if (Fortran::semantics::IsOptional(sym)) { in getFromTuple()
439 const Fortran::semantics::Symbol &sym) { in walkCaptureCategories()
447 if (Fortran::semantics::IsProcedure(sym)) in walkCaptureCategories()
[all …]
H A DConvertVariable.cpp164 if (const Fortran::semantics::Symbol *sym = in genExtAddrInInitializer()
192 if (const Fortran::semantics::Symbol *sym = in genInitialDataTarget()
390 if (Fortran::semantics::IsProcedurePointer(sym)) in defineGlobal()
570 if (Fortran::semantics::IsDummy(sym) && !Fortran::semantics::IsIntentOut(sym)) in mustBeDefaultInitializedAtRuntime()
586 if (Fortran::semantics::IsOptional(sym)) { in defaultInitializeAtRuntime()
681 if (const Fortran::semantics::Symbol *initSym = in defineGlobalAggregateStore()
876 static Fortran::semantics::MutableSymbolVector
1092 Fortran::semantics::IsOptional(sym)) in lowerToBoxValue()
1250 if (Fortran::semantics::IsProcedure(sym)) { in mapSymbolAttributes()
1258 if (Fortran::semantics::IsPointer(sym)) in mapSymbolAttributes()
[all …]
H A DConvertType.cpp227 if (Fortran::semantics::IsProcedurePointer(ultimate)) in genSymbolType()
230 if (const Fortran::semantics::IntrinsicTypeSpec *tySpec = in genSymbolType()
257 if (Fortran::semantics::IsPointer(symbol)) in genSymbolType()
259 if (Fortran::semantics::IsAllocatable(symbol)) in genSymbolType()
274 const Fortran::semantics::Symbol &component) { in componentHasNonDefaultLowerBounds()
292 if (Fortran::semantics::IsFinalizable(tySpec)) in genDerivedType()
303 Fortran::semantics::OrderedComponentIterator(tySpec)) { in genDerivedType()
339 if (const Fortran::semantics::Scope *derivedScope = in genDerivedType()
341 if (const Fortran::semantics::Symbol *typeInfoSym = in genDerivedType()
373 getCharacterLength(const Fortran::semantics::Symbol &symbol) { in getCharacterLength()
[all …]
H A DCallInterface.cpp79 const Fortran::semantics::Symbol *
87 Fortran::semantics::IsDummy(*symbol); in isIndirectCall()
91 const Fortran::semantics::Symbol *
94 if (Fortran::semantics::IsPointer(*symbol) || in getIfIndirectCallSymbol()
95 Fortran::semantics::IsDummy(*symbol)) in getIfIndirectCallSymbol()
284 const semantics::Symbol &sym) const { in getArgumentValue()
307 const Fortran::semantics::Symbol &
318 const Fortran::semantics::SubprogramDetails *
343 const Fortran::semantics::Symbol *
502 static const Fortran::semantics::Symbol &
[all …]
H A DSymbolMap.cpp19 void Fortran::lower::SymMap::addSymbol(Fortran::semantics::SymbolRef sym, in addSymbol()
34 Fortran::lower::SymMap::lookupSymbol(Fortran::semantics::SymbolRef symRef) { in lookupSymbol()
35 Fortran::semantics::SymbolRef sym = symRef.get().GetUltimate(); in lookupSymbol()
46 Fortran::semantics::SymbolRef symRef) { in shallowLookupSymbol()
58 Fortran::semantics::SymbolRef symRef) { in lookupOneLevelUpSymbol()
59 Fortran::semantics::SymbolRef sym = symRef.get().GetUltimate(); in lookupOneLevelUpSymbol()
/llvm-project-15.0.7/flang/include/flang/Lower/
H A DBoxAnalyzer.h45 const Fortran::semantics::Symbol *sym;
73 ScalarDynamicChar(const Fortran::semantics::Symbol &sym, in ScalarDynamicChar()
76 ScalarDynamicChar(const Fortran::semantics::Symbol &sym) in ScalarDynamicChar()
119 StaticArray(const Fortran::semantics::Symbol &sym, in StaticArray()
150 const Fortran::semantics::Symbol &sym, in DynamicArray()
204 const Fortran::semantics::Symbol &sym, in DynamicArrayDynamicChar()
209 const Fortran::semantics::Symbol &sym, in DynamicArrayDynamicChar()
224 Fortran::semantics::DeclTypeSpec::Character; in symIsChar()
466 const Fortran::semantics::ArraySpec &
467 getSymShape(const Fortran::semantics::Symbol &sym) { in getSymShape()
[all …]
H A DSymbolMap.h207 void addSymbol(semantics::SymbolRef sym, mlir::Value value,
228 void addSymbolWithShape(semantics::SymbolRef sym,
240 void addCharSymbolWithShape(semantics::SymbolRef sym,
253 void addSymbolWithBounds(semantics::SymbolRef sym,
267 void addCharSymbolWithBounds(semantics::SymbolRef sym,
273 void addAllocatableOrPointer(semantics::SymbolRef sym,
293 SymbolBox lookupSymbol(semantics::SymbolRef sym);
294 SymbolBox lookupSymbol(const semantics::Symbol *sym) { in lookupSymbol()
300 SymbolBox shallowLookupSymbol(semantics::SymbolRef sym);
301 SymbolBox shallowLookupSymbol(const semantics::Symbol *sym) { in shallowLookupSymbol()
[all …]
H A DPFTBuilder.h398 const semantics::Symbol *symbol{};
439 const semantics::Scope &getOwningScope() const {
445 const semantics::Symbol *namingSymbol;
447 const semantics::Symbol *initialValueSymbol = nullptr;
458 const Fortran::semantics::Symbol &getSymbol() const {
490 const semantics::Scope *scope = getOwningScope();
618 const semantics::Symbol &getSubprogramSymbol() const {
673 const semantics::Symbol *primaryResult{nullptr};
703 const Fortran::semantics::Scope &getScope() const;
739 Program(semantics::CommonBlockList &&commonBlocks)
[all …]
H A DAbstractConverter.h51 namespace semantics {
62 using SymbolRef = Fortran::common::Reference<const Fortran::semantics::Symbol>;
82 getSymbolExtendedValue(const Fortran::semantics::Symbol &sym) = 0;
103 createHostAssociateVarClone(const Fortran::semantics::Symbol &sym) = 0;
105 virtual void copyHostAssociateVar(const Fortran::semantics::Symbol &sym,
113 llvm::SetVector<const Fortran::semantics::Symbol *> &symbolSet,
114 Fortran::semantics::Symbol::Flag flag, bool isUltimateSymbol = true) = 0;
193 virtual mlir::Type genType(const Fortran::semantics::DerivedTypeSpec &) = 0;
224 virtual std::string mangleName(const Fortran::semantics::Symbol &) = 0;
H A DHostAssociations.h18 namespace semantics {
37 const llvm::SetVector<const Fortran::semantics::Symbol *> &s) { in addSymbolsToBind()
54 bool isAssociated(const Fortran::semantics::Symbol &symbol) const { in isAssociated()
60 llvm::SetVector<const Fortran::semantics::Symbol *> symbols;
H A DCallInterface.h37 namespace Fortran::semantics {
70 std::optional<common::Reference<const semantics::Symbol>>;
275 const Fortran::semantics::SubprogramDetails *getInterfaceDetails() const;
285 const Fortran::semantics::Symbol *getProcedureSymbol() const;
295 const Fortran::semantics::Symbol *getIfIndirectCallSymbol() const;
319 mlir::Value getArgumentValue(const semantics::Symbol &sym) const;
324 const Fortran::semantics::Symbol &getResultSymbol() const;
373 const Fortran::semantics::Symbol *getProcedureSymbol() const;
407 mlir::Type getDummyProcedureType(const Fortran::semantics::Symbol &dummyProc,
H A DPFTDefs.h25 namespace semantics {
44 bool definedInCommonBlock(const semantics::Symbol &sym);
45 bool symbolIsGlobal(const semantics::Symbol &sym);
53 using SymbolRef = Fortran::common::Reference<const Fortran::semantics::Symbol>;
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dtype.cpp25 namespace Fortran::semantics { namespace
209 static const semantics::Symbol *FindParentComponent( in FindParentComponent()
210 const semantics::DerivedTypeSpec &derived) { in FindParentComponent()
226 const semantics::DerivedTypeSpec *GetParentTypeSpec( in GetParentTypeSpec()
227 const semantics::DerivedTypeSpec &derived) { in GetParentTypeSpec()
241 const semantics::DerivedTypeSpec *>>;
292 const semantics::Symbol &y, in AreSameComponent()
297 if (x.attrs().test(semantics::Attr::PRIVATE)) { in AreSameComponent()
301 return x.has<semantics::ObjectEntityDetails>() == in AreSameComponent()
302 y.has<semantics::ObjectEntityDetails>(); in AreSameComponent()
[all …]
H A Dcheck-expression.cpp46 bool operator()(const semantics::Symbol &symbol) const { in operator ()()
50 ultimate.has<semantics::TypeParamDetails>() || in operator ()()
212 bool operator()(const semantics::Symbol &symbol) { in operator ()()
397 const semantics::Scope *instantiation) { in NonPointerInitializationExpr()
599 if (!semantics::IsPureProcedure(ultimate)) { in operator ()()
603 if (semantics::IsStmtFunction(ultimate)) { in operator ()()
660 const semantics::Scope &scope_;
685 const semantics::Scope &, FoldingContext &);
687 const semantics::Scope &, FoldingContext &);
711 } else if (semantics::IsPointer(ultimate) || in operator ()()
[all …]
H A Dcharacteristics.cpp303 if (attrs.test(semantics::Attr::INTENT_IN)) { in GetIntent()
317 symbol.has<semantics::EntityDetails>()) { in Characterize()
320 using semantics::Attr; in Characterize()
425 semantics::UnorderedSymbolSet seenProcs);
428 semantics::UnorderedSymbolSet seenProcs);
432 semantics::UnorderedSymbolSet seenProcs) { in CharacterizeProcedure()
582 semantics::UnorderedSymbolSet seenProcs) { in CharacterizeDummyProcedure()
651 semantics::UnorderedSymbolSet seenProcs) { in CharacterizeDummyArgument()
790 semantics::UnorderedSymbolSet seenProcs) { in CharacterizeFunctionResult()
813 semantics::UnorderedSymbolSet seenProcs; in Characterize()
[all …]
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dcheck-expression.h22 namespace Fortran::semantics {
71 const semantics::Scope *instantiation = nullptr);
79 const A &, const semantics::Scope &, FoldingContext &);
81 const Expr<SomeType> &x, const semantics::Scope &, FoldingContext &);
83 const Expr<SomeInteger> &x, const semantics::Scope &, FoldingContext &);
85 const semantics::Scope &, FoldingContext &);
87 const std::optional<Expr<SomeType>> &x, const semantics::Scope &,
90 const std::optional<Expr<SomeInteger>> &x, const semantics::Scope &,
93 const std::optional<Expr<SubscriptInteger>> &x, const semantics::Scope &,
H A Dtype.h35 namespace Fortran::semantics {
93 DynamicType(int charKind, const semantics::ParamValue &len);
99 const semantics::DerivedTypeSpec &dt, bool poly = false)
197 static std::optional<DynamicType> From(const semantics::Symbol &);
231 const semantics::ParamValue *charLengthParamValue_{nullptr};
243 const semantics::DerivedTypeSpec *GetDerivedTypeSpec(
245 const semantics::DerivedTypeSpec *GetParentTypeSpec(
246 const semantics::DerivedTypeSpec &);
393 constexpr explicit SomeKind(const semantics::DerivedTypeSpec &dts) in SomeKind()
407 const semantics::DerivedTypeSpec &derivedTypeSpec() const { in derivedTypeSpec()
[all …]
/llvm-project-15.0.7/flang/include/flang/Frontend/
H A DCompilerInstance.h54 std::unique_ptr<Fortran::semantics::Semantics> semantics; variable
56 std::unique_ptr<Fortran::semantics::RuntimeDerivedTypeTables> rtTyTables;
133 Fortran::semantics::Semantics &getSemantics() { return *semantics; } in getSemantics()
134 const Fortran::semantics::Semantics &getSemantics() const { in getSemantics()
135 return *semantics; in getSemantics()
138 void setSemantics(std::unique_ptr<Fortran::semantics::Semantics> sema) { in setSemantics()
139 semantics = std::move(sema); in setSemantics()
143 std::unique_ptr<Fortran::semantics::RuntimeDerivedTypeTables> tables) { in setRtTyTables()
147 Fortran::semantics::RuntimeDerivedTypeTables &getRtTyTables() { in getRtTyTables()
/llvm-project-15.0.7/llvm/lib/Support/
H A DAPFloat.cpp742 assert(semantics == rhs.semantics); in assign()
811 if (semantics != rhs.semantics) { in operator =()
824 semantics = rhs.semantics; in operator =()
911 if (semantics != rhs.semantics || in bitwiseIsEqual()
992 assert(semantics == rhs.semantics); in addSignificand()
1006 assert(semantics == rhs.semantics); in subtractSignificand()
1026 assert(semantics == rhs.semantics); in multiplySignificand()
1160 assert(semantics == rhs.semantics); in divideSignificand()
1271 assert(semantics == rhs.semantics); in compareAbsoluteValue()
2113 assert(semantics == rhs.semantics); in compare()
[all …]
/llvm-project-15.0.7/flang/tools/f18/
H A Ddump.cpp35 DEFINE_DUMP(semantics, Symbol)
36 DEFINE_DUMP(semantics, Scope)
37 DEFINE_DUMP(semantics, IntrinsicTypeSpec)
38 DEFINE_DUMP(semantics, DerivedTypeSpec)
39 DEFINE_DUMP(semantics, DeclTypeSpec)
/llvm-project-15.0.7/flang/tools/bbc/
H A Dbbc.cpp153 Fortran::semantics::SemanticsContext &semanticsContext, in convertFortranSourceToMLIR()
181 Fortran::semantics::Semantics semantics(semanticsContext, parseTree); in convertFortranSourceToMLIR() local
182 semantics.Perform(); in convertFortranSourceToMLIR()
183 semantics.EmitMessages(llvm::errs()); in convertFortranSourceToMLIR()
184 if (semantics.AnyFatalError()) { in convertFortranSourceToMLIR()
188 Fortran::semantics::RuntimeDerivedTypeTables tables; in convertFortranSourceToMLIR()
189 if (!semantics.AnyFatalError()) { in convertFortranSourceToMLIR()
191 Fortran::semantics::BuildRuntimeDerivedTypeTables(semanticsContext); in convertFortranSourceToMLIR()
198 semantics.DumpSymbols(llvm::outs()); in convertFortranSourceToMLIR()
321 Fortran::semantics::SemanticsContext semanticsContext{ in main()

12345678910>>...17