Home
last modified time | relevance | path

Searched refs:DynamicType (Results 1 – 25 of 48) sorted by relevance

12

/external/llvm-project/flang/lib/Evaluate/
Dtype.cpp29 if (auto dynamicType{evaluate::DynamicType::From(*type)}) { in IsDescriptor()
100 bool DynamicType::operator==(const DynamicType &that) const { in operator ==()
106 std::optional<Expr<SubscriptInteger>> DynamicType::GetCharLength() const { in GetCharLength()
127 std::optional<Expr<SubscriptInteger>> DynamicType::MeasureSizeInBytes( in MeasureSizeInBytes()
158 bool DynamicType::IsAssumedLengthCharacter() const { in IsAssumedLengthCharacter()
163 bool DynamicType::IsNonConstantLengthCharacter() const { in IsNonConstantLengthCharacter()
175 bool DynamicType::IsTypelessIntrinsicArgument() const { in IsTypelessIntrinsicArgument()
180 const std::optional<DynamicType> &type) { in GetDerivedTypeSpec()
184 const semantics::DerivedTypeSpec *GetDerivedTypeSpec(const DynamicType &type) { in GetDerivedTypeSpec()
320 bool DynamicType::IsTkCompatibleWith(const DynamicType &that) const { in IsTkCompatibleWith()
[all …]
Dintrinsics-library.cpp30 static constexpr DynamicType values[]{FortranType{}.GetType()...};
31 static constexpr const DynamicType *start{&values[0]};
32 static constexpr const DynamicType *end{start + sizeof...(FortranType)};
35 static constexpr const DynamicType *start{nullptr}, *end{nullptr};
43 using const_iterator = const DynamicType *;
46 const DynamicType &operator[](size_t i) const { return *(startPtr + i); } in operator []()
48 const DynamicType *startPtr{nullptr};
49 const DynamicType *endPtr{nullptr};
53 const TypeVector &lhs, const std::vector<DynamicType> &rhs) { in operator ==()
81 DynamicType resultType;
[all …]
Dinitial-image.cpp71 AsConstantHelper(FoldingContext &context, const DynamicType &type, in AsConstantHelper()
102 auto componentType{DynamicType::From(component)}; in Test()
148 const DynamicType &type_;
155 const DynamicType &type, const ConstantSubscripts &extents, in AsConstant()
165 AsConstantDataPointerHelper(const DynamicType &type, in AsConstantDataPointerHelper()
185 const DynamicType &type_;
191 const DynamicType &type, ConstantSubscript offset) const { in AsConstantDataPointer()
Dcall.cpp38 std::optional<DynamicType> ActualArgument::GetType() const { in GetType()
42 return DynamicType::AssumedType(); in GetType()
86 std::optional<DynamicType> ProcedureDesignator::GetType() const { in GetType()
94 return DynamicType::From(GetSymbol()); in GetType()
Dfold-designator.cpp29 if (auto type{DynamicType::From(symbol)}) { in DEFINE_DEFAULT_CONSTRUCTORS_AND_ASSIGNMENTS()
59 if (auto type{DynamicType::From(array)}) { in FoldDesignator()
215 NamedEntity &&entity, const Shape &shape, const DynamicType &elementType, in OffsetToArrayRef()
276 if (std::optional<DynamicType> type{DynamicType::From(symbol)}) { in OffsetToDataRef()
314 if (auto type{DynamicType::From(symbol)}) { in OffsetToDesignator()
Dintrinsics.cpp1166 std::optional<DynamicType> type{arg->GetType()}; in Match()
1377 std::optional<DynamicType> resultType; in Match()
1387 resultType = DynamicType{TypeCategory::Integer, in Match()
1394 DynamicType{*category, defaults.GetDefaultKind(TypeCategory::Real)}; in Match()
1399 resultType = DynamicType{*category, defaults.doublePrecisionKind()}; in Match()
1404 resultType = DynamicType{TypeCategory::Character, in Match()
1410 resultType = DynamicType{TypeCategory::Logical, in Match()
1415 if (std::optional<DynamicType> aType{sameArg->GetType()}) { in Match()
1419 resultType = DynamicType{*category, aType->kind()}; in Match()
1436 resultType = DynamicType{*category, static_cast<int>(*code)}; in Match()
[all …]
Dexpression.cpp83 std::optional<DynamicType> ExpressionBase<A>::GetType() const { in GetType()
88 [&](const auto &x) -> std::optional<DynamicType> { in GetType()
212 DynamicType StructureConstructor::GetType() const { return result_.GetType(); } in GetType()
Dcharacteristics.cpp88 if (auto type{DynamicType::From(tp.type())}) { in Characterize()
110 if (auto type{DynamicType::From(object.type())}) { in Characterize()
121 if (auto type{DynamicType::From(assoc.type())}) { in Characterize()
139 if (auto type{DynamicType::From(spec)}) { in Characterize()
391 TypeAndShape{DynamicType::TypelessIntrinsicArgument()}}); in FromActual()
396 TypeAndShape{DynamicType::TypelessIntrinsicArgument()}}); in FromActual()
497 FunctionResult::FunctionResult(DynamicType t) : u{TypeAndShape{t}} {} in FunctionResult()
542 const DynamicType &type{typeAndShape->type()}; in CanBeReturnedViaImplicitInterface()
689 if (auto resultType{DynamicType::From(*type)}) { in Characterize()
/external/llvm-project/flang/include/flang/Evaluate/
Dtype.h86 class DynamicType {
88 constexpr DynamicType(TypeCategory cat, int k) : category_{cat}, kind_{k} { in DynamicType() function
91 constexpr DynamicType(int k, const semantics::ParamValue &pv) in DynamicType() function
95 explicit constexpr DynamicType(
102 CONSTEXPR_CONSTRUCTORS_AND_ASSIGNMENTS(DynamicType) in CONSTEXPR_CONSTRUCTORS_AND_ASSIGNMENTS() argument
108 static constexpr DynamicType TypelessIntrinsicArgument() { in CONSTEXPR_CONSTRUCTORS_AND_ASSIGNMENTS()
109 DynamicType result; in CONSTEXPR_CONSTRUCTORS_AND_ASSIGNMENTS()
115 static constexpr DynamicType UnlimitedPolymorphic() { in UnlimitedPolymorphic()
116 DynamicType result; in UnlimitedPolymorphic()
123 static constexpr DynamicType AssumedType() { in AssumedType()
[all …]
Dcharacteristics.h61 explicit TypeAndShape(DynamicType t) : type_{t} { AcquireLEN(); } in TypeAndShape()
62 TypeAndShape(DynamicType t, int rank) : type_{t}, shape_(rank) { in TypeAndShape()
65 TypeAndShape(DynamicType t, Shape &&s) : type_{t}, shape_{std::move(s)} { in TypeAndShape()
68 TypeAndShape(DynamicType t, std::optional<Shape> &&s) : type_{t} { in TypeAndShape()
132 DynamicType type() const { return type_; } in type()
133 TypeAndShape &set_type(DynamicType t) { in set_type()
164 DynamicType type_;
179 explicit DummyDataObject(DynamicType t) : type{t} {} in DummyDataObject()
253 explicit FunctionResult(DynamicType);
274 void SetType(DynamicType t) { std::get<TypeAndShape>(u).set_type(t); } in SetType()
Dintrinsics-library.h22 class DynamicType; variable
43 DynamicType resultType, const std::vector<DynamicType> &argTypes);
Dcall.h104 std::optional<DynamicType> GetType() const;
179 std::optional<DynamicType> GetType() const;
226 std::optional<DynamicType> GetType() const { return proc_.GetType(); } in GetType()
Dinitial-image.h96 const DynamicType &, const ConstantSubscripts &,
99 const DynamicType &, ConstantSubscript offset = 0) const;
/external/llvm-project/flang/lib/Semantics/
Dcheck-select-type.cpp23 TypeCaseValues(SemanticsContext &c, const evaluate::DynamicType &t) in TypeCaseValues()
41 } else if (std::optional<evaluate::DynamicType> type{GetGuardType(guard)}) { in AddTypeCase()
52 std::optional<evaluate::DynamicType> GetGuardType( in GetGuardType()
57 -> std::optional<evaluate::DynamicType> { in GetGuardType()
61 return evaluate::DynamicType::From(typeSpec.declTypeSpec); in GetGuardType()
64 -> std::optional<evaluate::DynamicType> { in GetGuardType()
66 return evaluate::DynamicType(*derivedTypeSpec); in GetGuardType()
75 const evaluate::DynamicType &guardDynamicType) { in PassesChecksOnGuard()
155 std::optional<evaluate::DynamicType> guardTypeDynamic) in TypeCase()
160 void SetGuardType(std::optional<evaluate::DynamicType> guardTypeDynamic) { in SetGuardType()
[all …]
Dexpression.cpp48 struct DynamicTypeWithLength : public DynamicType {
49 explicit DynamicTypeWithLength(const DynamicType &t) : DynamicType{t} {} in DynamicTypeWithLength()
84 return DynamicTypeWithLength{DynamicType{kind, len}}; in AnalyzeTypeSpec()
86 return DynamicTypeWithLength{DynamicType{category, kind}}; in AnalyzeTypeSpec()
91 return DynamicTypeWithLength{DynamicType{*derived}}; in AnalyzeTypeSpec()
126 void ConvertBOZ(std::size_t i, std::optional<DynamicType> otherType);
147 std::optional<DynamicType> GetType(std::size_t) const;
159 const DynamicType &lhsType, const DynamicType &rhsType);
199 } else if (auto dyType{DynamicType::From(symbol)}) { in Designate()
784 if (std::optional<DynamicType> dynamicType{ in Analyze()
[all …]
Ddata-to-inits.cpp100 const SomeExpr &, const evaluate::DynamicType &);
156 if (const auto dynamicType{evaluate::DynamicType::From(*name.symbol)}) { in Scan()
222 const SomeExpr &expr, const evaluate::DynamicType &type) { in ConvertElement()
428 if (auto dyType{evaluate::DynamicType::From(symbol)}) { in CombineSomeEquivalencedInits()
434 if (auto dyType{evaluate::DynamicType::From(*s)}) { in CombineSomeEquivalencedInits()
513 if (auto symbolType{evaluate::DynamicType::From(symbol)}) { in ConstructInitializer()
Dtools.cpp83 const std::optional<evaluate::DynamicType> &lhsType, int lhsRank, in IsDefinedAssignment()
84 const std::optional<evaluate::DynamicType> &rhsType, int rhsRank) { in IsDefinedAssignment()
108 const evaluate::DynamicType &type0, int rank0, in IsIntrinsicRelational()
109 const evaluate::DynamicType &type1, int rank1) { in IsIntrinsicRelational()
127 bool IsIntrinsicNumeric(const evaluate::DynamicType &type0) { in IsIntrinsicNumeric()
130 bool IsIntrinsicNumeric(const evaluate::DynamicType &type0, int rank0, in IsIntrinsicNumeric()
131 const evaluate::DynamicType &type1, int rank1) { in IsIntrinsicNumeric()
137 bool IsIntrinsicLogical(const evaluate::DynamicType &type0) { in IsIntrinsicLogical()
140 bool IsIntrinsicLogical(const evaluate::DynamicType &type0, int rank0, in IsIntrinsicLogical()
141 const evaluate::DynamicType &type1, int rank1) { in IsIntrinsicLogical()
[all …]
Dcheck-case.cpp24 CaseValues(SemanticsContext &c, const evaluate::DynamicType &t) in CaseValues()
200 const evaluate::DynamicType &caseExprType_;
217 const evaluate::DynamicType &exprType;
/external/llvm-project/flang/include/flang/Semantics/
Dtools.h63 const std::optional<evaluate::DynamicType> &lhsType, int lhsRank,
64 const std::optional<evaluate::DynamicType> &rhsType, int rhsRank);
67 const evaluate::DynamicType &, int, const evaluate::DynamicType &, int);
68 bool IsIntrinsicNumeric(const evaluate::DynamicType &);
70 const evaluate::DynamicType &, int, const evaluate::DynamicType &, int);
71 bool IsIntrinsicLogical(const evaluate::DynamicType &);
73 const evaluate::DynamicType &, int, const evaluate::DynamicType &, int);
75 const evaluate::DynamicType &, int, const evaluate::DynamicType &, int);
/external/opencensus-java/contrib/agent/src/main/java/io/opencensus/contrib/agent/instrumentation/
DThreadInstrumentation.java30 import net.bytebuddy.dynamic.DynamicType;
62 public DynamicType.Builder<?> transform( in transform()
63 DynamicType.Builder<?> builder, in transform()
DUrlInstrumentation.java31 import net.bytebuddy.dynamic.DynamicType;
60 public DynamicType.Builder<?> transform( in transform()
61 DynamicType.Builder<?> builder, in transform()
DExecutorInstrumentation.java35 import net.bytebuddy.dynamic.DynamicType;
64 public DynamicType.Builder<?> transform( in transform()
65 DynamicType.Builder<?> builder, in transform()
/external/opencensus-java/contrib/agent/src/main/java/io/opencensus/contrib/agent/
DAgentBuilderListener.java23 import net.bytebuddy.dynamic.DynamicType;
40 DynamicType dynamicType) { in onTransformation()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypeChecker.cpp59 void reportTypeError(QualType DynamicType, QualType StaticType,
68 void DynamicTypeChecker::reportTypeError(QualType DynamicType, in reportTypeError() argument
77 QualType::print(DynamicType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), in reportTypeError()
/external/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypeChecker.cpp62 void reportTypeError(QualType DynamicType, QualType StaticType,
71 void DynamicTypeChecker::reportTypeError(QualType DynamicType, in reportTypeError() argument
80 QualType::print(DynamicType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), in reportTypeError()

12