Home
last modified time | relevance | path

Searched refs:substring (Results 1 – 25 of 60) sorted by relevance

123

/llvm-project-15.0.7/lld/MachO/
H A DExportTrie.cpp53 Edge(StringRef s, TrieNode *node) : substring(s), child(node) {} in Edge()
55 StringRef substring; member
112 nodeSize += edge.substring.size() + 1 // String length. in updateOffset()
141 memcpy(buf, edge.substring.data(), edge.substring.size()); in writeTo()
142 buf += edge.substring.size(); in writeTo()
287 StringRef substring = StringRef(cbuf, strnlen(cbuf, end - buf)); in parse() local
288 buf += substring.size() + 1; in parse()
291 parse(start + offset, cumulativeString + substring); in parse()
/llvm-project-15.0.7/clang-tools-extra/clang-doc/assets/
H A Dindex.js16 return FilePath.substring(Path.length + 1);
17 Path = Path.substring(0, Path.lastIndexOf("/"));
25 Dir = Dir.substring(0, Dir.lastIndexOf("/"));
28 Result = append(Result, FilePath.substring(Dir.length))
/llvm-project-15.0.7/flang/test/Lower/Intrinsics/
H A Dindex.f9058 character (*) :: string(:), substring local
60 print *, index(string, substring, back)
/llvm-project-15.0.7/flang/include/flang/Runtime/
H A Dcharacter.h110 std::size_t RTNAME(Index1)(const char *, std::size_t, const char *substring,
113 const char16_t *substring, std::size_t, bool back = false);
115 const char32_t *substring, std::size_t, bool back = false);
117 const Descriptor &substring, const Descriptor *back /*can be null*/,
/llvm-project-15.0.7/flang/test/Fir/
H A Drebox-susbtring.fir1 // Test translation to llvm IR of fir.rebox with substring array sections.
6 // Test a fir.rebox with a substring on a character array with constant
19 // Only test the computation of the base address offset computation accounting for the substring
38 …ay section like x(3:60:9)%c(2:8) with both a triplet, a component and a substring where x is a fir…
52 // Only test the computation of the base address offset computation accounting for the substring of…
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-data.cpp119 bool operator()(const evaluate::Substring &substring) { in operator ()() argument
121 return (*this)(substring.parent()) && (*this)(substring.lower()) && in operator ()()
122 (*this)(substring.upper()); in operator ()()
/llvm-project-15.0.7/flang/include/flang/Lower/
H A DComponentPath.h43 : substring(ss) { in ComponentPath()
58 const evaluate::Substring *substring = nullptr; variable
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dfold.cpp177 Substring FoldOperation(FoldingContext &context, Substring &&substring) { in FoldOperation() argument
178 auto lower{Fold(context, substring.lower())}; in FoldOperation()
179 auto upper{Fold(context, substring.upper())}; in FoldOperation()
180 if (const DataRef * dataRef{substring.GetParentIf<DataRef>()}) { in FoldOperation()
184 auto p{*substring.GetParentIf<StaticDataObject::Pointer>()}; in FoldOperation()
H A Dvariable.cpp586 if (const Substring * substring{std::get_if<Substring>(&u)}) { in GetType() local
587 const auto *parent{substring->GetParentIf<StaticDataObject::Pointer>()}; in GetType()
/llvm-project-15.0.7/mlir/lib/IR/
H A DDiagnostics.cpp595 StringRef substring) in ExpectedDiag()
596 : kind(kind), lineNo(lineNo), fileLoc(fileLoc), substring(substring) {} in ExpectedDiag()
602 substring.size())); in emitError()
613 return str.contains(substring); in match()
621 StringRef strToProcess = substring; in computeRegex()
659 StringRef substring; member
839 err.substring + "\" was not produced"); in verify()
/llvm-project-15.0.7/flang/include/flang/Optimizer/CodeGen/
H A DCGOps.td45 - substring: A substring operator (offset, length) for CHARACTER.
103 - substring: A substring operator (offset, length) for CHARACTER.
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Dsuspicious-call-argument.rst84 The substring heuristic combines the prefix and the suffix heuristic, and tries
85 to find the *longest common substring* in the two strings provided.
86 The similarity percentage is the ratio of the found longest common substring
135 This metric is applied to strings by creating bigrams (substring sequences of
/llvm-project-15.0.7/compiler-rt/docs/
H A DTestingGuide.rst34 ``XFAIL:`` with a substring of LLVM's default target triple. Unfortunately, the
38 The first pitfall is that these directives perform a substring match on the
/llvm-project-15.0.7/flang/lib/Lower/
H A DComponentPath.cpp29 substring = nullptr; in clear()
H A DVectorSubscripts.cpp80 mlir::Type gen(const Fortran::evaluate::Substring &substring) { in gen() argument
84 gen(std::get<Fortran::evaluate::DataRef>(substring.parent())); in gen()
87 mlir::Value lb = genScalarValue(substring.lower()); in gen()
89 if (const auto &ubExpr = substring.upper()) { in gen()
/llvm-project-15.0.7/llvm/test/tools/llvm-ar/
H A Dtool-name.test13 ## Ensure that the "lib" substring does not result in misidentification as the
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/tool/
H A Dclang-include-fixer.el280 (substring .Header 1 -1)
281 (string= (substring .Header 0 1) "<")))))))
/llvm-project-15.0.7/llvm/test/Other/
H A Dcfg-printer-filter.ll3 ;; Both f and func are dumped because their names contain the pattern 'f' as a substring.
/llvm-project-15.0.7/llvm/test/Bindings/Go/
H A Dlit.local.cfg36 # substring 'clang' to determine if the compiler is Clang. This won't work if
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DFIRBuilder.cpp1147 llvm::ArrayRef<mlir::Value> path, llvm::ArrayRef<mlir::Value> substring) { in genLenOfCharacter() argument
1151 arrLoad.getMemref(), typeParams, path, substring); in genLenOfCharacter()
1157 llvm::ArrayRef<mlir::Value> path, llvm::ArrayRef<mlir::Value> substring) { in genLenOfCharacter() argument
1168 if (substring.size() == 2) { in genLenOfCharacter()
1169 auto upper = builder.createConvert(loc, idxTy, substring.back()); in genLenOfCharacter()
1170 auto lower = builder.createConvert(loc, idxTy, substring.front()); in genLenOfCharacter()
1174 if (substring.size() == 1) in genLenOfCharacter()
1175 lower = builder.createConvert(loc, idxTy, substring.front()); in genLenOfCharacter()
/llvm-project-15.0.7/flang/lib/Parser/
H A Dtype-parsers.h85 constexpr Parser<Substring> substring; // R908 variable
/llvm-project-15.0.7/flang/runtime/
H A Dcharacter.cpp868 const Descriptor &substring, const Descriptor *back, int kind, in RTNAME()
874 result, string, substring, back, kind, terminator); in RTNAME()
878 result, string, substring, back, kind, terminator); in RTNAME()
882 result, string, substring, back, kind, terminator); in RTNAME()
/llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/
H A DFIRBuilder.h531 llvm::ArrayRef<mlir::Value> substring);
536 llvm::ArrayRef<mlir::Value> substring);
/llvm-project-15.0.7/flang/docs/
H A Df2018-grammar.md308 R872 equivalence-object -> variable-name | array-element | substring
317 structure-component | substring
324 R908 substring -> parent-string ( substring-range )
329 R910 substring-range -> [scalar-int-expr] : [scalar-int-expr]
338 data-ref [( substring-range )] | complex-part-designator
/llvm-project-15.0.7/llvm/docs/
H A DPasses.rst130 Additionally the ``-cfg-func-name=<substring>`` option can be used to filter the
131 functions that are printed. All functions that contain the specified substring
141 Additionally the ``-cfg-func-name=<substring>`` option can be used to filter the
142 functions that are printed. All functions that contain the specified substring
1209 Additionally the ``-cfg-func-name=<substring>`` option can be used to filter the
1210 functions that are displayed. All functions that contain the specified substring
1218 Additionally the ``-cfg-func-name=<substring>`` option can be used to filter the
1219 functions that are displayed. All functions that contain the specified substring

123