Home
last modified time | relevance | path

Searched refs:Substring (Results 1 – 25 of 45) sorted by relevance

12

/llvm-project/flang/lib/Evaluate/
H A Dvariable.cpp113 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 Dfold.cpp195 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 Dcheck-expression.cpp295 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 Dformatting.cpp582 [&](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 Dsanitizer_lzw.h24 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 Dvariable.h316 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 Dfold-designator.h89 const Substring &, ConstantSubscript);
123 [&](const Substring &ss) { in FoldDesignator()
H A Dtools.h48 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 Dcheck-expression.h109 const Substring &, FoldingContext &);
H A Dconstant.h204 std::optional<Constant> Substring(ConstantSubscript, ConstantSubscript) const;
H A Dshape.h185 Result operator()(const Substring &) const;
H A Dtraverse.h153 Result operator()(const Substring &x) const { in operator()
/llvm-project/flang/include/flang/Lower/
H A DComponentPath.h43 ComponentPath(bool isImplicit, const evaluate::Substring *ss) in ComponentPath()
59 const evaluate::Substring *substring = nullptr;
H A DDumpEvaluateExpr.h106 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 Dtools.cpp34 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 Dparse-tree.cpp42 [](const Substring &) { return false; }, in EndsInBareName() argument
194 Substring ArrayElement::ConvertToSubstring() { in ConvertToSubstring()
200 return Substring{std::move(base), in ConvertToSubstring()
H A Dtype-parsers.h88 constexpr Parser<Substring> substring; // R908
/llvm-project/flang/lib/Lower/
H A DDumpEvaluateExpr.cpp127 const Fortran::evaluate::Substring &x) { in show()
263 void Fortran::lower::dumpEvExpr(const Fortran::evaluate::Substring &x) { in dumpEvExpr()
H A DIterationSpace.cpp135 RT find(const Fortran::evaluate::Substring &x) { return find(x.parent()); } in find()
/llvm-project/flang/include/flang/Parser/
H A Dtools.h22 const Name &GetLastName(const Substring &);
36 const Name &GetFirstName(const Substring &);
/llvm-project/clang-tools-extra/clang-tidy/readability/
H A DSuspiciousCallArgumentCheck.h30 Substring, enumerator
/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp499 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 DUtils.h252 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 Dcheck-data.cpp137 bool operator()(const evaluate::Substring &substring) { in operator ()()
/llvm-project/llvm/unittests/Support/
H A DSpecialCaseListTest.cpp150 TEST_F(SpecialCaseListTest, Substring) { in TEST_F() argument

12