| /llvm-project/flang/lib/Evaluate/ |
| H A D | variable.cpp | 113 void Substring::SetBounds(std::optional<Expr<SubscriptInteger>> &lower, in SetBounds() 123 Expr<SubscriptInteger> Substring::lower() const { in lower() 131 Substring &Substring::set_lower(Expr<SubscriptInteger> &&expr) { in set_lower() 136 std::optional<Expr<SubscriptInteger>> Substring::upper() const { in upper() 152 Substring &Substring::set_upper(Expr<SubscriptInteger> &&expr) { in set_upper() 157 std::optional<Expr<SomeCharacter>> Substring::Fold(FoldingContext &context) { in Fold() 207 if (auto substr{cc->Substring(*lbi, *ubi)}) { in Fold() 332 std::optional<Expr<SubscriptInteger>> Substring in LEN() [all...] |
| H A D | fold.cpp | 195 Substring FoldOperation(FoldingContext &context, Substring &&substring) { in FoldOperation() 199 return Substring{FoldOperation(context, DataRef{*dataRef}), in FoldOperation() 203 return Substring{std::move(p), std::move(lower), std::move(upper)}; in FoldOperation()
|
| H A D | check-expression.cpp | 295 bool operator()(const Substring &x) const { in operator ()() 601 Result operator()(const Substring &x) const { in operator ()() 912 Result operator()(const Substring &x) const { in operator ()() 1126 template std::optional<bool> IsContiguous(const Substring &, FoldingContext &); in operator ()()
|
| H A D | formatting.cpp | 582 [&](const common::CopyableIndirection<Substring> &s) { in AsFortran() 762 llvm::raw_ostream &Substring::AsFortran(llvm::raw_ostream &o) const {
|
| /llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_lzw.h | 24 using Substring = in LzwEncode() local 29 Min(DenseMapInfo<Substring>::getEmptyKey().first, in LzwEncode() 30 DenseMapInfo<Substring>::getTombstoneKey().first) - in LzwEncode() 32 DenseMap<Substring, LzwCodeType> prefix_to_code; in LzwEncode()
|
| /llvm-project/flang/include/flang/Evaluate/ |
| H A D | variable.h | 316 class Substring { in CLASS_BOILERPLATE() 320 CLASS_BOILERPLATE(Substring) in Substring() 321 Substring(DataRef &&parent, std::optional<Expr<SubscriptInteger>> &&lower, in Substring() 326 Substring(StaticDataObject::Pointer &&parent, 337 Substring &set_lower(Expr<SubscriptInteger> &&); 342 Substring &set_upper(Expr<SubscriptInteger> &&); 354 bool operator==(const Substring &) const; 397 std::variant<Substring>, std::variant<>>; 313 CLASS_BOILERPLATE(Substring) CLASS_BOILERPLATE() argument 319 Substring(StaticDataObject::Pointer &&parent, Substring() function
|
| H A D | fold-designator.h | 89 const Substring &, ConstantSubscript); 123 [&](const Substring &ss) { in FoldDesignator()
|
| H A D | tools.h | 48 Result operator()(const Substring &) const; 319 // The Boolean arguments control the handling of Substring and ComplexPart 335 if constexpr (std::is_same_v<std::decay_t<decltype(x)>, Substring>) { 379 std::optional<DataRef> ExtractSubstringBase(const Substring &); 468 template <typename T> static std::optional<Substring> visit(T &&) { 472 static std::optional<Substring> visit(const Substring &e) { return e; } in UnwrapWholeSymbolDataRef() 475 static std::optional<Substring> visit(const Designator<T> &e) { in UnwrapWholeSymbolDataRef() 480 static std::optional<Substring> visit(const Expr<T> &e) { 485 template <typename A> std::optional<Substring> ExtractSubstrin in UnwrapWholeSymbolOrComponentDataRef() [all...] |
| H A D | check-expression.h | 109 const Substring &, FoldingContext &);
|
| H A D | constant.h | 204 std::optional<Constant> Substring(ConstantSubscript, ConstantSubscript) const;
|
| H A D | shape.h | 185 Result operator()(const Substring &) const;
|
| H A D | traverse.h | 153 Result operator()(const Substring &x) const { in operator()
|
| /llvm-project/flang/include/flang/Lower/ |
| H A D | ComponentPath.h | 43 ComponentPath(bool isImplicit, const evaluate::Substring *ss) in ComponentPath() 59 const evaluate::Substring *substring = nullptr;
|
| H A D | DumpEvaluateExpr.h | 106 void show(const Fortran::evaluate::Substring &x); 205 LLVM_DUMP_METHOD void dumpEvExpr(const Fortran::evaluate::Substring &x);
|
| /llvm-project/flang/lib/Parser/ |
| H A D | tools.cpp | 34 const Name &GetLastName(const Substring &x) { in GetLastName() 92 const Name &GetFirstName(const Substring &x) { in GetFirstName() 149 [](const Substring &x) -> const CoindexedNamedObject * { in GetCoindexedNamedObject()
|
| H A D | parse-tree.cpp | 42 [](const Substring &) { return false; }, in EndsInBareName() argument 194 Substring ArrayElement::ConvertToSubstring() { in ConvertToSubstring() 200 return Substring{std::move(base), in ConvertToSubstring()
|
| H A D | type-parsers.h | 88 constexpr Parser<Substring> substring; // R908
|
| /llvm-project/flang/lib/Lower/ |
| H A D | DumpEvaluateExpr.cpp | 127 const Fortran::evaluate::Substring &x) { in show() 263 void Fortran::lower::dumpEvExpr(const Fortran::evaluate::Substring &x) { in dumpEvExpr()
|
| H A D | IterationSpace.cpp | 135 RT find(const Fortran::evaluate::Substring &x) { return find(x.parent()); } in find()
|
| /llvm-project/flang/include/flang/Parser/ |
| H A D | tools.h | 22 const Name &GetLastName(const Substring &); 36 const Name &GetFirstName(const Substring &);
|
| /llvm-project/clang-tools-extra/clang-tidy/readability/ |
| H A D | SuspiciousCallArgumentCheck.h | 30 Substring, enumerator
|
| /llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | AnalysisConsumer.cpp | 499 static bool fileContainsString(StringRef Substring, ASTContext &C) { in fileContainsString() argument 503 return Buffer.contains(Substring); in fileContainsString()
|
| /llvm-project/flang/include/flang/Lower/Support/ |
| H A D | Utils.h | 252 static unsigned getHashValue(const Fortran::evaluate::Substring &x) { in getHashValue() 508 static bool isEqual(const Fortran::evaluate::Substring &x, in isEqual() 509 const Fortran::evaluate::Substring &y) { in isEqual()
|
| /llvm-project/flang/lib/Semantics/ |
| H A D | check-data.cpp | 137 bool operator()(const evaluate::Substring &substring) { in operator ()()
|
| /llvm-project/llvm/unittests/Support/ |
| H A D | SpecialCaseListTest.cpp | 150 TEST_F(SpecialCaseListTest, Substring) { in TEST_F() argument
|