|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/Support/GraphWriter.h 335 N = N.substr(0, std::min<std::size_t>(N.size(), 140));
lib/CodeGen/MIRCanonicalizerPass.cpp 115 StringInstrMap.push_back({(i == std::string::npos) ? S : S.substr(i), II});
lib/DebugInfo/Symbolize/Symbolize.cpp 436 std::string ArchStr = ModuleName.substr(ColonPos + 1);
438 BinaryName = ModuleName.substr(0, ColonPos);
514 if (Name.substr(0, 2) == "_Z") {
lib/IR/Mangler.cpp 200 OS << Flag.substr(1);
lib/MC/MCContext.cpp 587 (Twine(Entry.second) + Path.substr(Entry.first.size())).str();
lib/ProfileData/InstrProf.cpp 352 const std::string &OtherFuncName = PGOFuncName.substr(0, pos);
lib/Support/ScaledNumber.cpp 198 return Float.substr(0, NonZero + 1);
294 return stripTrailingZeros(Str.substr(0, Truncate));
312 return stripTrailingZeros(std::string(Carry, '1') + Str.substr(0, Truncate));
lib/TableGen/StringMatcher.cpp 99 << ", \"" << Matches[0]->first.substr(CharNo, NumChars) << "\", "
lib/Target/SystemZ/SystemZHazardRecognizer.cpp 182 FU = FU.substr(FU.find("_") + 1);
lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp 173 E.Name = E.Name.substr(0, E.Name.find('@', 1));
tools/clang/lib/ARCMigrate/ObjCMT.cpp 1347 std::string MethodNameSubStr = MethodName.substr(0, 3);
tools/clang/lib/AST/DeclPrinter.cpp 1280 Out << name.substr(lastPos, pos - lastPos) << ':';
tools/clang/lib/ASTMatchers/Dynamic/Parser.cpp 513 Completions.emplace_back(Completion.TypedText.substr(CompToken.Text.size()),
tools/clang/lib/Basic/Targets/AMDGPU.h 200 return std::string(Begin).substr(0, Constraint - Begin + 1);
tools/clang/lib/Basic/Targets/Hexagon.cpp 87 HVXVersion = F.substr(std::string("+hvxv").length());
tools/clang/lib/CodeGen/CodeGenFunction.cpp 2225 if (F[0] == '+' && CalleeFeatureMap.lookup(F.substr(1)))
tools/clang/lib/Driver/Driver.cpp 887 FixedConfigFile += CfgFileName.substr(ArchPrefixLen);
1727 llvm::outs() << sysroot << Path.substr(1);
4560 SmallString<128> P(Dir[0] == '=' ? SysRoot + Dir.substr(1) : Dir);
tools/clang/lib/Driver/ToolChain.cpp 214 return ParsedClangName(ProgName.substr(0, SuffixEnd), DS->ModeFlag);
215 std::string ModeSuffix = ProgName.substr(LastComponent + 1,
tools/clang/lib/Format/Format.cpp 1875 NewCode += Code.substr(LastPos);
1878 NewCode += Code.substr(LastPos, Pos - LastPos) + "\n";
tools/clang/lib/Frontend/TextDiagnostic.cpp 369 = llvm::sys::locale::columnWidth(FixItInsertionLine.substr(0, FixItEnd));
tools/clang/lib/Lex/PPMacroExpansion.cpp 1746 WarningName.substr(2), Diags);
tools/clang/lib/Tooling/ASTDiff/ASTDiff.cpp 375 Val = Val.substr(ContextPrefix.size() + 1);
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp 993 std::string MovedCode = ChangedCode->substr(NewOffset, NewLength);
tools/clang/tools/extra/clang-tidy/abseil/TimeSubtractionCheck.cpp 189 getDurationInverseForScale(*Scale).second.str().substr(2)) +
tools/clang/tools/extra/clang-tidy/bugprone/CopyConstructorInitCheck.cpp 102 std::string FixItMsg{FixItInitList.substr(0, FixItInitList.size() - 2)};
tools/clang/tools/extra/clang-tidy/llvm/HeaderGuardCheck.cpp 29 Guard = Guard.substr(PosInclude + std::strlen("include/"));
34 Guard = Guard.substr(PosToolsClang + std::strlen("tools/"));
46 Guard = Guard.substr(PosLLVM);
tools/clang/tools/extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp 360 std::string Specifier = ReturnType.substr(TOffsetInRT, TLengthWithWS);
tools/clang/tools/extra/clangd/DraftStore.cpp 87 lspLength(Contents.substr(*StartIndex, *EndIndex - *StartIndex));
100 NewContents = Contents.substr(0, *StartIndex);
102 NewContents += Contents.substr(*EndIndex);
tools/clang/tools/extra/clangd/refactor/tweaks/DefineInline.cpp 226 return QualifiedFunc->substr(BodyBegin, BodyEnd - BodyBegin + 1);
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp 1056 P.Text = Label.substr(Range.Begin, Range.End - Range.Begin);
tools/clang/tools/extra/modularize/PreprocessorTracker.cpp 284 return Source.substr(0, Offset);
tools/clang/tools/extra/unittests/clang-move/ClangMoveTests.cpp 392 std::string ExpectedOldHeader = Header.substr(0, Header.size() - 32);
tools/clang/utils/TableGen/ClangOptionDocEmitter.cpp 86 if (Name.substr(0, 3) == "no-" && OptionsByName[Name.substr(3)]) {
86 if (Name.substr(0, 3) == "no-" && OptionsByName[Name.substr(3)]) {
87 Aliases[OptionsByName[Name.substr(3)]].push_back(R);
90 if (Name.substr(1, 3) == "no-" && OptionsByName[Name[0] + Name.substr(4)]) {
90 if (Name.substr(1, 3) == "no-" && OptionsByName[Name[0] + Name.substr(4)]) {
91 Aliases[OptionsByName[Name[0] + Name.substr(4)]].push_back(R);
tools/clang/utils/TableGen/NeonEmitter.cpp 1211 std::string VarName = S.substr(Pos + 1, End - Pos - 1);
tools/lldb/source/Core/Disassembler.cpp 919 value = value.substr(1, len - 2);
tools/lldb/source/Core/IOHandler.cpp 319 line_buffer = line_buffer.substr(pos + 1);
tools/lldb/source/Host/common/Editline.cpp 114 result.insert(result.end(), input.substr(start));
117 result.insert(result.end(), input.substr(start, end - start));
128 return line.substr(-indent_correction);
950 to_add = to_add.substr(request.GetCursorArgumentPrefix().size());
959 to_add = to_add.substr(request.GetCursorArgumentPrefix().size());
976 longest_prefix.substr(request.GetCursorArgumentPrefix().size());
tools/lldb/source/Host/common/Socket.cpp 292 host_str = host_str.substr(1, host_str.size() - 2);
tools/lldb/source/Interpreter/CommandInterpreter.cpp 1737 remainder = command_string.substr(actual_cmd_name_len);
tools/lldb/source/Interpreter/CommandObject.cpp 823 std::string whitespace_prefix = line.substr(0, result);
824 std::string remainder = line.substr(result);
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp 256 std::string token_str = body.substr(start, token.getLength());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp 620 fixed_expression.substr(fixed_start, fixed_end - fixed_start);
tools/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp 107 if (apiName.substr(0, 2) == "-[") {
110 className = apiName.substr(2, spacePos - 2);
111 selector = apiName.substr(spacePos + 1, apiName.length() - spacePos - 2);
tools/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp 199 xcode_contents_path = default_xcode_sdk.substr(
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp 1612 std::string value = stop_info_str.substr(start, end - start);
1622 std::string value = stop_info_str.substr(start, end - start);
4966 input.substr(pos, found).c_str());
4976 m_partial_profile_data = input.substr(pos);
tools/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp 306 std::string uuid_str = corefile_identifier.substr(p, 36);
333 std::string uuid_str = corefile_identifier.substr(p, 36);
tools/lldb/tools/lldb-server/lldb-gdbserver.cpp 271 connection_host = final_host_and_port.substr(0, colon_pos);
272 connection_port = final_host_and_port.substr(colon_pos + 1);
tools/lli/lli.cpp 283 if (ModID.substr(0, PrefixLength) != Prefix)
285 std::string CacheSubdir = ModID.substr(PrefixLength);
tools/llvm-cov/CodeCoverage.cpp 875 ? "Created: " + ModifiedTimeStr.substr(0, found)
tools/llvm-cov/SourceCoverageView.cpp 111 Result += Number.substr(IntLen, 3 - IntLen);
tools/llvm-link/llvm-link.cpp 233 std::string FunctionName = Import.substr(0, Idx);
234 std::string FileName = Import.substr(Idx + 1, std::string::npos);
tools/llvm-objcopy/ELF/Object.cpp 515 Name = ".z" + Sec.Name.substr(1);
tools/llvm-objcopy/ELF/Object.h 548 Name = "." + Name.substr(2);
tools/llvm-readobj/ELFDumper.cpp 1252 LLVM_READOBJ_PHDR_ENUM(ELF, PT_NULL)
1253 LLVM_READOBJ_PHDR_ENUM(ELF, PT_LOAD)
1254 LLVM_READOBJ_PHDR_ENUM(ELF, PT_DYNAMIC)
1255 LLVM_READOBJ_PHDR_ENUM(ELF, PT_INTERP)
1256 LLVM_READOBJ_PHDR_ENUM(ELF, PT_NOTE)
1257 LLVM_READOBJ_PHDR_ENUM(ELF, PT_SHLIB)
1258 LLVM_READOBJ_PHDR_ENUM(ELF, PT_PHDR)
1259 LLVM_READOBJ_PHDR_ENUM(ELF, PT_TLS)
1260 LLVM_READOBJ_PHDR_ENUM(ELF, PT_GNU_EH_FRAME)
1261 LLVM_READOBJ_PHDR_ENUM(ELF, PT_SUNW_UNWIND)
1262 LLVM_READOBJ_PHDR_ENUM(ELF, PT_GNU_STACK)
1263 LLVM_READOBJ_PHDR_ENUM(ELF, PT_GNU_RELRO)
tools/llvm-rtdyld/llvm-rtdyld.cpp 609 std::string FileName = SectionIDStr.substr(0, ComaIdx);
610 std::string SectionName = SectionIDStr.substr(ComaIdx + 1);
714 std::string Symbol = Mapping.substr(0, EqualsIdx);
715 std::string AddrStr = Mapping.substr(EqualsIdx + 1);
tools/llvm-xray/xray-graph.cpp 408 << (VA.SymbolName.size() > 40 ? VA.SymbolName.substr(0, 40) + "..."
tools/llvm-xray/xray-stacks.cpp 466 FuncId.size() > 60 ? FuncId.substr(0, 57) + "..." : FuncId,
475 LeafFuncId.size() > 60 ? LeafFuncId.substr(0, 57) + "..."
tools/polly/lib/CodeGen/IslAst.cpp 164 str += " : " + ReductionClause.second.substr(2) + ")";
tools/sancov/sancov.cpp 421 auto LineStr = Loc.substr(0, ColonPos);
422 auto ColStr = Loc.substr(ColonPos + 1, Loc.size());
459 return Path.substr(Pos + ClStripPathPrefix.size());
unittests/ADT/HashingTest.cpp 108 hash_value(s.substr(0, s.size() - 1)));
110 hash_value(s.substr(1, s.size() - 2)));
116 hash_value(ws.substr(0, ws.size() - 1)));
118 hash_value(ws.substr(1, ws.size() - 2)));
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp 1805 int64_t Val = std::atoll(S.substr(ValPos).c_str());
unittests/Support/Path.cpp 1529 return Buf.substr(0, *BytesRead);
1549 return Buf.substr(0, *BytesRead);
unittests/Support/TargetParserTest.cpp 740 if (((std::string)ARMArch[i]).substr(0, 4) == "armv")
unittests/XRay/FDRProducerConsumerTest.cpp 157 EXPECT_EQ(Data2.substr(sizeof(XRayFileHeader)),
158 this->Data.substr(sizeof(XRayFileHeader)));
198 EXPECT_EQ(Data2.substr(sizeof(XRayFileHeader)),
199 this->Data.substr(sizeof(XRayFileHeader)));
utils/TableGen/CodeGenInstruction.cpp 179 std::string OpName = Op.substr(1);
185 SubOpName = OpName.substr(DotIdx+1);
190 OpName = OpName.substr(0, DotIdx);
233 std::string Tok = CStr.substr(start, wpos - start);
235 std::string Name = CStr.substr(wpos+1);
241 Name = Name.substr(wpos);
334 ParseConstraint(CStr.substr(bidx, eidx - bidx), Ops, Rec);
utils/TableGen/RISCVCompressInstEmitter.cpp 511 << CondStream.str().substr(
utils/benchmark/src/complexity.cc 183 reports[0].benchmark_name.substr(0, reports[0].benchmark_name.find('/'));
utils/benchmark/src/sysinfo.cc 234 total += CountBits(Val.substr(0, Pos));
235 Val = Val.substr(Pos + 1);
405 if (SplitIdx != std::string::npos) value = ln.substr(SplitIdx + 1);
476 if (SplitIdx != std::string::npos) value = ln.substr(SplitIdx + 1);
utils/unittest/googlemock/include/gmock/gmock-matchers.h 1260 s2.substr(0, prefix_.length()) == prefix_;
1306 s2.substr(s2.length() - suffix_.length()) == suffix_;
utils/unittest/googletest/src/gtest-death-test.cc 510 ret += output.substr(at);
513 ret += output.substr(at, line_end + 1 - at);
utils/unittest/googletest/src/gtest-filepath.cc 127 return FilePath(pathname_.substr(
348 ? FilePath(pathname_.substr(0, pathname_.length() - 1))
utils/unittest/googletest/src/gtest.cc 929 parsed.push_back(str.substr(pos));
932 parsed.push_back(str.substr(pos, colon - pos));
1284 lines.push_back(str.substr(start, i - start - 1));
1291 lines.push_back(str.substr(start, end - start));
4420 listeners()->Append(new StreamingListener(target.substr(0, pos),
4421 target.substr(pos+1)));