reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
55 std::pair<unsigned, StringRef> add(StringRef Str);
275 R.push_back(StrTab.add(Remark.RemarkName).first); 276 R.push_back(StrTab.add(Remark.PassName).first); 277 R.push_back(StrTab.add(Remark.FunctionName).first); 283 R.push_back(StrTab.add(Loc->SourceFilePath).first); 298 unsigned Key = StrTab.add(Arg.Key).first; 299 unsigned Val = StrTab.add(Arg.Val).first; 306 R.push_back(StrTab.add(Arg.Loc->SourceFilePath).first);lib/Remarks/RemarkStringTable.cpp
26 add(*MaybeStr); 42 auto Impl = [&](StringRef &S) { S = add(S).second; };lib/Remarks/YAMLRemarkSerializer.cpp
64 unsigned PassID = StrTab.add(Remark->PassName).first; 65 unsigned NameID = StrTab.add(Remark->RemarkName).first; 66 unsigned FunctionID = StrTab.add(Remark->FunctionName).first; 89 unsigned FileID = StrTab.add(File).first; 144 auto ValueID = StrTab.add(A.Val).first;unittests/Remarks/BitstreamRemarksSerializerTest.cpp
107 StrTab.add("function"); 108 StrTab.add("pass"); 109 StrTab.add("remark"); 299 StrTab.add("pass"); 300 StrTab.add("remark"); 301 StrTab.add("function"); 302 StrTab.add("path"); 303 StrTab.add("key"); 304 StrTab.add("value"); 305 StrTab.add("argpath");unittests/Remarks/RemarksAPITest.cpp
112 EXPECT_EQ(StrTab.add(R.PassName).second.data(), R2.PassName.data()); 113 EXPECT_EQ(StrTab.add(R.RemarkName).second.data(), R2.RemarkName.data()); 114 EXPECT_EQ(StrTab.add(R.FunctionName).second.data(), R2.FunctionName.data()); 115 EXPECT_EQ(StrTab.add(R.Loc->SourceFilePath).second.data(), 117 EXPECT_EQ(StrTab.add(R.Args.back().Key).second.data(), 119 EXPECT_EQ(StrTab.add(R.Args.back().Val).second.data(), 121 EXPECT_EQ(StrTab.add(R.Args.back().Loc->SourceFilePath).second.data(),