reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/lib/Target/AArch64/AArch64GenSystemOperands.inc
 1103       int CmpName = StringRef(LHS.Name).compare(RHS.Name);
 1188       int CmpName = StringRef(LHS.Name).compare(RHS.Name);
 1280       int CmpName = StringRef(LHS.Name).compare(RHS.Name);
 1413       int CmpName = StringRef(LHS.Name).compare(RHS.Name);
 1531       int CmpRepr = StringRef(LHS.Repr).compare(RHS.Repr);
 1574       int CmpName = StringRef(LHS.Name).compare(RHS.Name);
 1644       int CmpName = StringRef(LHS.Name).compare(RHS.Name);
 1712       int CmpName = StringRef(LHS.Name).compare(RHS.Name);
 1814       int CmpName = StringRef(LHS.Name).compare(RHS.Name);
 1899       int CmpName = StringRef(LHS.Name).compare(RHS.Name);
 1981       int CmpName = StringRef(LHS.Name).compare(RHS.Name);
 2088       int CmpName = StringRef(LHS.Name).compare(RHS.Name);
 2194       int CmpName = StringRef(LHS.Name).compare(RHS.Name);
 3809       int CmpName = StringRef(LHS.Name).compare(RHS.Name);
 4799       int CmpName = StringRef(LHS.Name).compare(RHS.Name);
 4944       int CmpName = StringRef(LHS.Name).compare(RHS.Name);
gen/lib/Target/AMDGPU/AMDGPUGenSearchableTables.inc
  760       int CmpAsmSuffix = StringRef(LHS.AsmSuffix).compare(RHS.AsmSuffix);
gen/lib/Target/ARM/ARMGenSystemRegister.inc
  171       int CmpName = StringRef(LHS.Name).compare(RHS.Name);
  345       int CmpName = StringRef(LHS.Name).compare(RHS.Name);
gen/lib/Target/RISCV/RISCVGenSystemOperands.inc
  488       int CmpName = StringRef(LHS.Name).compare(RHS.Name);
include/llvm/ADT/SmallString.h
  110     return str().compare(RHS);
include/llvm/ADT/StringRef.h
  893     return LHS.compare(RHS) == -1;
  897     return LHS.compare(RHS) != 1;
  901     return LHS.compare(RHS) == 1;
  905     return LHS.compare(RHS) != -1;
include/llvm/IR/LegacyPassNameParser.h
   91     return VT1->Name.compare(VT2->Name);
include/llvm/TableGen/Record.h
 1836       if (int Res = LHSPart.second.compare(RHSPart.second))
lib/Analysis/ScalarEvolution.cpp
  611       return LGV->getName().compare(RGV->getName());
lib/CodeGen/MachineModuleInfoImpls.cpp
   31   return LHS->first->getName().compare(RHS->first->getName());
lib/Option/OptTable.cpp
  221       if (Val.startswith(Arg) && Arg.compare(Val))
lib/Support/CommandLine.cpp
 2171     return (*A)->getName().compare((*B)->getName());
lib/Support/TargetRegistry.cpp
  114   return LHS->first.compare(RHS->first);
lib/Target/X86/AsmParser/X86AsmParser.cpp
 1413   if (Name.compare(Name.lower()) && Name.compare(Name.upper()))
 1413   if (Name.compare(Name.lower()) && Name.compare(Name.upper()))
lib/Transforms/IPO/GlobalOpt.cpp
 2596   return AStripped->getName().compare(BStripped->getName());
lib/Transforms/Utils/FunctionComparator.cpp
  100   return L.compare(R);
  185     if (int Res = OBL.getTagName().compare(OBR.getTagName()))
lib/Transforms/Utils/SimplifyLibCalls.cpp
  423     return ConstantInt::get(CI->getType(), Str1.compare(Str2));
  497     return ConstantInt::get(CI->getType(), SubStr1.compare(SubStr2));
tools/clang/lib/AST/ASTContext.cpp
 8249   return (*lhs)->getName().compare((*rhs)->getName());
tools/clang/lib/AST/DeclarationName.cpp
   58     return LII->getName().compare(RII->getName());
   69       return LHSSelector.getAsIdentifierInfo()->getName().compare(
   74       switch (LHSSelector.getNameForSlot(I).compare(
  108     return LHS.getCXXLiteralIdentifier()->getName().compare(
tools/clang/lib/Analysis/PathDiagnostic.cpp
  339   int NameCmp = XFE->getName().compare(YFE->getName());
tools/clang/lib/CodeGen/CodeGenModule.cpp
 2998     if (LHSName.compare(RHSName) < 0)
tools/clang/lib/Driver/Driver.cpp
 1643     return A.compare(B) > 0;
tools/clang/lib/Frontend/PrintPreprocessedOutput.cpp
  822   return LHS->first->getName().compare(RHS->first->getName());
tools/clang/lib/Sema/CodeCompleteConsumer.cpp
  765   return XStr.compare(YStr) < 0;
tools/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
 2004         : s1StrRef.compare(s2StrRef);
tools/clang/lib/StaticAnalyzer/Checkers/DebugCheckers.cpp
  264     return (*LHS)->getKey().compare((*RHS)->getKey());
tools/clang/tools/extra/modularize/ModularizeUtilities.cpp
  438     if (B->compare(".") == 0) {
  440     else if (B->compare("..") == 0)
tools/clang/tools/libclang/CIndexCodeCompletion.cpp
 1034       result = XText.compare(YText);
tools/lld/COFF/Writer.cpp
  177     int c = name.compare(other.name);
tools/lld/lib/ReaderWriter/MachO/GOTPass.cpp
  131       return (left->slotName().compare(right->slotName()) < 0);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
  980   return (left.atom->name().compare(right.atom->name()) < 0);
tools/lld/lib/ReaderWriter/MachO/StubsPass.cpp
  287       return (left->name().compare(right->name()) < 0);
tools/lld/lib/ReaderWriter/MachO/TLVPass.cpp
  103                 return (lhs->slotName().compare(rhs->slotName()) < 0);
tools/lldb/source/Core/Module.cpp
  763             if (cpp_method.GetBasename().compare(m_name.GetStringRef()) != 0) {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
 2516       else if (name.compare("socket_name") == 0) {
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
 2201       if (key.compare("metype") == 0) {
 2204       } else if (key.compare("medata") == 0) {
 2209       } else if (key.compare("thread") == 0) {
 2213       } else if (key.compare("threads") == 0) {
 2228       } else if (key.compare("thread-pcs") == 0) {
 2240       } else if (key.compare("jstopinfo") == 0) {
 2249       } else if (key.compare("hexname") == 0) {
 2254       } else if (key.compare("name") == 0) {
 2256       } else if (key.compare("qaddr") == 0) {
 2258       } else if (key.compare("dispatch_queue_t") == 0) {
 2261       } else if (key.compare("qname") == 0) {
 2266       } else if (key.compare("qkind") == 0) {
 2272       } else if (key.compare("qserialnum") == 0) {
 2275       } else if (key.compare("reason") == 0) {
 2277       } else if (key.compare("description") == 0) {
 2281       } else if (key.compare("memory") == 0) {
 2309       } else if (key.compare("watch") == 0 || key.compare("rwatch") == 0 ||
 2309       } else if (key.compare("watch") == 0 || key.compare("rwatch") == 0 ||
 2310                  key.compare("awatch") == 0) {
 2326       } else if (key.compare("library") == 0) {
 4989     if (name.compare("thread_used_id") == 0) {
tools/lldb/source/Utility/ConstString.cpp
  244       return lhs_string_ref.compare(rhs_string_ref);
tools/llvm-cov/CoverageExporterJson.cpp
  216       return FilenameA.compare(FilenameB) < 0;
tools/llvm-profdata/llvm-profdata.cpp
  298   if (OutputFilename.compare("-") == 0)
unittests/ADT/StringRefTest.cpp
   84   EXPECT_EQ(-1, StringRef("aab").compare("aad"));
   85   EXPECT_EQ( 0, StringRef("aab").compare("aab"));
   86   EXPECT_EQ( 1, StringRef("aab").compare("aaa"));
   87   EXPECT_EQ(-1, StringRef("aab").compare("aabb"));
   88   EXPECT_EQ( 1, StringRef("aab").compare("aa"));
   89   EXPECT_EQ( 1, StringRef("\xFF").compare("\1"));
utils/TableGen/AsmMatcherEmitter.cpp
  615     if (int Cmp = Mnemonic.compare(RHS.Mnemonic))
utils/TableGen/SearchableTableEmitter.cpp
  242       int comp = LHSr->getName().compare(RHSr->getName());