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

References

gen/lib/IR/AttributesCompatFunc.inc
  161     return A.getValueAsString().equals("true");
gen/lib/Target/AArch64/AArch64GenAsmMatcher.inc
40921     if (T.equals(Prev))
gen/lib/Target/AMDGPU/AMDGPUGenAsmMatcher.inc
80476     if (T.equals(Prev))
gen/lib/Target/ARM/ARMGenAsmMatcher.inc
16406     if (T.equals(Prev))
gen/lib/Target/Mips/MipsGenAsmMatcher.inc
11745     if (T.equals(Prev))
gen/lib/Target/PowerPC/PPCGenAsmMatcher.inc
 7232     if (T.equals(Prev))
gen/lib/Target/SystemZ/SystemZGenAsmMatcher.inc
 9268     if (T.equals(Prev))
include/llvm/ADT/SmallString.h
   99     return str().equals(RHS);
include/llvm/ADT/StringRef.h
  887     return LHS.equals(RHS);
include/llvm/Support/YAMLTraits.h
  546   if (S.empty() || S.equals("+") || S.equals("-"))
  546   if (S.empty() || S.equals("+") || S.equals("-"))
  549   if (S.equals(".nan") || S.equals(".NaN") || S.equals(".NAN"))
  549   if (S.equals(".nan") || S.equals(".NaN") || S.equals(".NAN"))
  549   if (S.equals(".nan") || S.equals(".NaN") || S.equals(".NAN"))
  557   if (Tail.equals(".inf") || Tail.equals(".Inf") || Tail.equals(".INF"))
  557   if (Tail.equals(".inf") || Tail.equals(".Inf") || Tail.equals(".INF"))
  557   if (Tail.equals(".inf") || Tail.equals(".Inf") || Tail.equals(".INF"))
  578       (S.equals(".") ||
  635   return S.equals("null") || S.equals("Null") || S.equals("NULL") ||
  635   return S.equals("null") || S.equals("Null") || S.equals("NULL") ||
  635   return S.equals("null") || S.equals("Null") || S.equals("NULL") ||
  636          S.equals("~");
  640   return S.equals("true") || S.equals("True") || S.equals("TRUE") ||
  640   return S.equals("true") || S.equals("True") || S.equals("TRUE") ||
  640   return S.equals("true") || S.equals("True") || S.equals("TRUE") ||
  641          S.equals("false") || S.equals("False") || S.equals("FALSE");
  641          S.equals("false") || S.equals("False") || S.equals("FALSE");
  641          S.equals("false") || S.equals("False") || S.equals("FALSE");
lib/Analysis/BlockFrequencyInfo.cpp
  191        F.getName().equals(ViewBlockFreqFuncName))) {
  196        F.getName().equals(PrintBlockFreqFuncName))) {
lib/Analysis/BranchProbabilityInfo.cpp
 1011        F.getName().equals(PrintBranchProbFuncName))) {
lib/Analysis/LoopInfo.cpp
  994     if (Name.equals(S->getString()))
lib/CodeGen/MIRParser/MIRParser.cpp
  511     if (StringRef(VReg.Class.Value).equals("_")) {
lib/CodeGen/MachineBlockFrequencyInfo.cpp
  199        F.getName().equals(ViewBlockFreqFuncName))) {
  204        F.getName().equals(PrintBlockFreqFuncName))) {
lib/CodeGen/MachineBlockPlacement.cpp
 3079        F->getFunction().getName().equals(ViewBlockFreqFuncName))) {
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
12795   if (StrictOverflow.getValueAsString().equals("false"))
20443         if (Denorms.getValueAsString().equals("ieee")) {
lib/CodeGen/TargetLoweringBase.cpp
 1924     if (RecipType.equals(VTName) || RecipType.equals(VTNameNoSize))
 1924     if (RecipType.equals(VTName) || RecipType.equals(VTNameNoSize))
 1974     if (RecipType.equals(VTName) || RecipType.equals(VTNameNoSize))
 1974     if (RecipType.equals(VTName) || RecipType.equals(VTNameNoSize))
lib/CodeGen/TargetPassConfig.cpp
  407   if (StringRef(PrintMachineInstrs.getValue()).equals(""))
  876   if (!PrintMachineInstrsPassName.equals("") &&
  877       !PrintMachineInstrsPassName.equals("option-unspecified")) {
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  546       !StringRef(Triple::getArchTypePrefix(Arch)).equals("mips")) {
  557   IsMipsN64ABI = Obj.getFileFormatName().equals("ELF64-mips");
lib/FuzzMutate/FuzzerCLI.cpp
   30     if (StringRef(ArgV[I++]).equals("-ignore_remaining_args=1"))
   48     if (Opt.equals("gisel")) {
  150       if (Arg.equals("-ignore_remaining_args=1"))
lib/IR/BasicBlock.cpp
  484     if (MDName->getString().equals("loop_header_weight")) {
lib/IR/Function.cpp
 1551       if (MDS->getString().equals("function_entry_count")) {
 1560                  MDS->getString().equals("synthetic_function_entry_count")) {
 1573       if (MDS->getString().equals("function_entry_count"))
 1591                .equals("function_section_prefix") &&
 1601           .equals("true");
lib/IR/Instructions.cpp
  472   if (!ProfDataName || (!ProfDataName->getString().equals("branch_weights") &&
  473                         !ProfDataName->getString().equals("VP")))
  489   if (ProfDataName->getString().equals("branch_weights") &&
  498   } else if (ProfDataName->getString().equals("VP"))
lib/IR/Metadata.cpp
 1322   if (!ProfDataName || !ProfDataName->getString().equals("branch_weights"))
 1353   if (ProfDataName->getString().equals("branch_weights")) {
 1362   } else if (ProfDataName->getString().equals("VP") &&
lib/IR/ProfileSummary.cpp
   93   if (!KeyMD->getString().equals(Key))
  107   if (!KeyMD->getString().equals(Key) || !ValMD->getString().equals(Val))
  107   if (!KeyMD->getString().equals(Key) || !ValMD->getString().equals(Val))
  117   if (!KeyMD || !KeyMD->getString().equals("DetailedSummary"))
lib/IR/Verifier.cpp
 1862       Assert(ProfName.equals("function_entry_count") ||
 1863                  ProfName.equals("synthetic_function_entry_count"),
 4031   if (ProfName.equals("branch_weights")) {
lib/MC/MCAsmInfoXCOFF.cpp
   31   if (Name.equals("TOC[TC0]"))
lib/MC/MCAsmStreamer.cpp
  401   if (c.equals(StringRef(MAI->getSeparatorString())))
lib/MC/MCParser/AsmParser.cpp
 4388       if (CurrParam.Name.equals(Parameter.Name))
lib/MC/MCParser/DarwinAsmParser.cpp
  710     if (!Section.equals(NonCoalSection)) {
lib/Object/MachOObjectFile.cpp
  390     IsPageZeroSegment |= StringRef("__PAGEZERO").equals(S.segname);
 4011     if (!Info.SegmentName.equals(CurSegName)) {
lib/ObjectYAML/COFFEmitter.cpp
  367     if (S.Name.equals(".text"))
  369     else if (S.Name.equals(".data"))
lib/Passes/StandardInstrumentations.cpp
  163   assert(std::get<2>(ModuleDesc).equals(PassID) && "malformed ModuleDescStack");
lib/ProfileData/GCOV.cpp
  687   if (Options.LongFileNames && !Filename.equals(MainFilename))
lib/ProfileData/InstrProf.cpp
  995   if (!Tag->getString().equals("VP"))
lib/Support/APFloat.cpp
 2588   if (str.equals("inf") || str.equals("INFINITY") || str.equals("+Inf")) {
 2588   if (str.equals("inf") || str.equals("INFINITY") || str.equals("+Inf")) {
 2588   if (str.equals("inf") || str.equals("INFINITY") || str.equals("+Inf")) {
 2593   if (str.equals("-inf") || str.equals("-INFINITY") || str.equals("-Inf")) {
 2593   if (str.equals("-inf") || str.equals("-INFINITY") || str.equals("-Inf")) {
 2593   if (str.equals("-inf") || str.equals("-INFINITY") || str.equals("-Inf")) {
 2598   if (str.equals("nan") || str.equals("NaN")) {
 2598   if (str.equals("nan") || str.equals("NaN")) {
 2603   if (str.equals("-nan") || str.equals("-NaN")) {
 2603   if (str.equals("-nan") || str.equals("-NaN")) {
lib/Support/CodeGenCoverage.cpp
   62     bool IsForThisBackend = BackendName.equals(LexedBackendName);
lib/Support/FileCheck.cpp
  156   if (IsPseudo && !Name.equals("@LINE"))
lib/Support/FileCollector.cpp
   30   if (sys::fs::real_path(UpperDest, RealDest) && Path.equals(RealDest))
lib/Support/StringRef.cpp
  213     if (substr(i, N).equals(Str))
  378     if (substr(i, N).equals(Str))
lib/Support/Triple.cpp
  249   if (ArchName.equals("bpf")) {
  254   } else if (ArchName.equals("bpf_be") || ArchName.equals("bpfeb")) {
  254   } else if (ArchName.equals("bpf_be") || ArchName.equals("bpfeb")) {
  256   } else if (ArchName.equals("bpf_le") || ArchName.equals("bpfel")) {
  256   } else if (ArchName.equals("bpf_le") || ArchName.equals("bpfel")) {
 1625   if (!CPU.empty() && !CPU.equals("invalid"))
lib/Support/VirtualFileSystem.cpp
  152   return Component.equals("..") || Component.equals(".");
  152   return Component.equals("..") || Component.equals(".");
 1219         if (Name.equals(Root->getName())) {
 1232         if (DirContent && Name.equals(Content->getName()))
 1674     if (CaseSensitive ? !Start->equals(FromName)
lib/Support/YAMLTraits.cpp
  127   return Tag.equals(foundTag);
  270     if (SN->value().equals(Str)) {
  309         if (SN->value().equals(Str)) {
  858   if (Scalar.equals("true")) {
  861   } else if (Scalar.equals("false")) {
lib/Target/AArch64/AArch64FrameLowering.cpp
  329   if (Scope.equals("none"))
  332   if (Scope.equals("all"))
  335   assert(Scope.equals("non-leaf") && "Expected all, none or non-leaf");
lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
  245         .getValueAsString().equals("true")) {
lib/Target/AMDGPU/AMDGPULibCalls.cpp
 1321     if (!UCallee || !UCallee->getName().equals(PairName))
lib/Target/Hexagon/HexagonTargetObjectFile.cpp
   88   if (Sec.equals(".sdata") || Sec.equals(".sbss") || Sec.equals(".scommon"))
   88   if (Sec.equals(".sdata") || Sec.equals(".sbss") || Sec.equals(".scommon"))
   88   if (Sec.equals(".sdata") || Sec.equals(".sbss") || Sec.equals(".scommon"))
lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
  991     if (name.equals("fp")) {
  997     if (name.equals("sp")) {
 1003     if (name.equals("y")) {
 1018     if (name.equals("fprs")) {
 1024     if (name.equals("icc")) {
 1030     if (name.equals("psr")) {
 1036     if (name.equals("fsr")) {
 1042     if (name.equals("fq")) {
 1048     if (name.equals("csr")) {
 1054     if (name.equals("cq")) {
 1060     if (name.equals("wim")) {
 1066     if (name.equals("tbr")) {
 1072     if (name.equals("xcc")) {
 1153     if (name.equals("tpc")) {
 1158     if (name.equals("tnpc")) {
 1163     if (name.equals("tstate")) {
 1168     if (name.equals("tt")) {
 1173     if (name.equals("tick")) {
 1178     if (name.equals("tba")) {
 1183     if (name.equals("pstate")) {
 1188     if (name.equals("tl")) {
 1193     if (name.equals("pil")) {
 1198     if (name.equals("cwp")) {
 1203     if (name.equals("cansave")) {
 1208     if (name.equals("canrestore")) {
 1213     if (name.equals("cleanwin")) {
 1218     if (name.equals("otherwin")) {
 1223     if (name.equals("wstate")) {
lib/Target/Sparc/SparcISelLowering.cpp
 3297     if (name.substr(0, 1).equals("r")
 3307     if (name.substr(0, 1).equals("f") &&
lib/Target/X86/AsmParser/X86AsmParser.cpp
 1699   if(Tok.getIdentifier().equals("sae")){
 1841     if (!(Tok.getString().equals("PTR") || Tok.getString().equals("ptr")))
 1841     if (!(Tok.getString().equals("PTR") || Tok.getString().equals("ptr")))
lib/Transforms/IPO/BlockExtractor.cpp
  184         return BB.getName().equals(BBInfo);
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
 1593          F.getName().equals(ViewBlockFreqFuncName))) {
 1608          F.getName().equals(ViewBlockFreqFuncName))) {
lib/Transforms/Scalar/ADCE.cpp
  347       if (Callee->getName().equals(getInstrProfValueProfFuncName()))
lib/Transforms/Scalar/PlaceSafepoints.cpp
  439   return F.getName().equals(GCSafepointPollName);
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 1455   if (DeoptLowering.equals("live-in"))
 1458     assert(DeoptLowering.equals("live-through") && "Unsupported value!");
lib/Transforms/Utils/LoopUnroll.cpp
  976     if (Name.equals(S->getString()))
lib/Transforms/Utils/LoopUtils.cpp
  222         if (S && S->getString().equals(StringMD)) {
lib/Transforms/Utils/MisExpect.cpp
  100         MisExpectDataName->getString().equals("misexpect")) {
  162       if (Tag->getString().equals("branch_weights")) {
lib/Transforms/Utils/SimplifyCFG.cpp
  960       return MDS->getString().equals("branch_weights");
lib/Transforms/Utils/SymbolRewriter.cpp
  311   if (RewriteType.equals("function"))
  313   else if (RewriteType.equals("global variable"))
  315   else if (RewriteType.equals("global alias"))
  351     if (KeyValue.equals("source")) {
  359     } else if (KeyValue.equals("target")) {
  361     } else if (KeyValue.equals("transform")) {
  363     } else if (KeyValue.equals("naked")) {
  420     if (KeyValue.equals("source")) {
  428     } else if (KeyValue.equals("target")) {
  430     } else if (KeyValue.equals("transform")) {
  483     if (KeyValue.equals("source")) {
  491     } else if (KeyValue.equals("target")) {
  493     } else if (KeyValue.equals("transform")) {
tools/clang/include/clang/Basic/IdentifierTable.h
  571     if (Name.equals("import"))
tools/clang/include/clang/Basic/OpenCLOptions.h
   92     if (Ext.equals("all")) {
tools/clang/include/clang/Basic/SourceManager.h
 1476     return Filename.equals("<built-in>");
 1482     return Filename.equals("<command line>");
 1488     return Filename.equals("<scratch space>");
tools/clang/lib/ARCMigrate/ObjCMT.cpp
  498   if (PropertyName.equals("target") ||
tools/clang/lib/AST/PrintfFormatString.cpp
  148         } else if (MatchedStr.equals("sensitive"))
  152                  MatchedStr.equals("private"))
  154         else if (PrivacyFlags == 0 && MatchedStr.equals("public"))
tools/clang/lib/Basic/Builtins.cpp
   53     if (FuncName.equals(BuiltinInfo[i].Name))
   66     llvm::StringRef(BuiltinInfo.HeaderName).equals("math.h");
tools/clang/lib/Basic/CodeGenOptions.cpp
   26     if (FuncName.equals(NoBuiltinFuncs[i]))
tools/clang/lib/Basic/Diagnostic.cpp
  781       StringRef(DiagStr, DiagEnd - DiagStr).equals("%0") &&
tools/clang/lib/Basic/LangOptions.cpp
   41     if (FuncName.equals(NoBuiltinFuncs[i]))
tools/clang/lib/Basic/Targets/ARM.cpp
  166   return CPUAttr.equals("6T2") ||
  167          (ArchVersion >= 7 && !CPUAttr.equals("8M_BASE"));
  905     if (CPUAttr.equals("6T2") || ArchVersion >= 7) {
tools/clang/lib/Basic/Targets/X86.h
  171     if (RegName.equals("esp") || RegName.equals("ebp")) {
  171     if (RegName.equals("esp") || RegName.equals("ebp")) {
  683     if (RegName.equals("rsp") || RegName.equals("rbp")) {
  683     if (RegName.equals("rsp") || RegName.equals("rbp")) {
tools/clang/lib/Driver/ToolChains/AMDGPU.cpp
   78   if (!Args.getLastArgValue(options::OPT_x).equals("cl"))
tools/clang/lib/Driver/ToolChains/Clang.cpp
 1449   if (Value.equals("standard")) {
 1454   } else if (!Value.equals("none")) {
 1460       if (Protection->equals("bti"))
 1462       else if (Protection->equals("pac-ret")) {
 1467           if (Protection->equals("leaf"))
 1469           else if (Protection->equals("b-key"))
 1550       if (!Scope.equals("none") && !Scope.equals("non-leaf") &&
 1550       if (!Scope.equals("none") && !Scope.equals("non-leaf") &&
 1551           !Scope.equals("all"))
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
   98   if (Name.equals("-I") || Name.equals("-L"))
   98   if (Name.equals("-I") || Name.equals("-L"))
tools/clang/lib/Frontend/ModuleDependencyCollector.cpp
   89     if (!UmbrellaDir.equals(UmbreallDirFromHeader)) {
  125   if (!llvm::sys::fs::real_path(UpperDest, RealDest) && Path.equals(RealDest))
tools/clang/lib/Lex/PPDirectives.cpp
  149   if (Lang.CPlusPlus11 && (Text.equals("override") || Text.equals("final")))
  149   if (Lang.CPlusPlus11 && (Text.equals("override") || Text.equals("final")))
 2435       return TrimmedValue.equals(MacroText);
tools/clang/lib/Parse/ParseDecl.cpp
 3309           Tok.getIdentifierInfo()->getName().equals("__declspec")) {
tools/clang/lib/Parse/ParseDeclCXX.cpp
 3932     return !ScopeName && AttrName->getName().equals("nodiscard");
 3934     return !ScopeName && AttrName->getName().equals("maybe_unused");
tools/clang/lib/Parse/ParseOpenMP.cpp
  708     } else if (ClauseName.equals("simdlen")) {
tools/clang/lib/Sema/SemaCodeComplete.cpp
 3702   if (MacroName.equals("nil") || MacroName.equals("NULL") ||
 3702   if (MacroName.equals("nil") || MacroName.equals("NULL") ||
 3703       MacroName.equals("Nil")) {
 3709   else if (MacroName.equals("YES") || MacroName.equals("NO") ||
 3709   else if (MacroName.equals("YES") || MacroName.equals("NO") ||
 3710            MacroName.equals("true") || MacroName.equals("false"))
 3710            MacroName.equals("true") || MacroName.equals("false"))
 3713   else if (MacroName.equals("bool"))
tools/clang/lib/Sema/SemaDecl.cpp
  696                                 II->getName().equals(CorrectedStr);
  971                                   Name->getName().equals(CorrectedStr);
tools/clang/lib/Sema/SemaDeclCXX.cpp
 9814                               Ident->getName().equals(CorrectedStr);
tools/clang/lib/Sema/SemaStmtAsm.cpp
  775   if (getLangOpts().CPlusPlus && Base.equals("this")) {
tools/clang/lib/Sema/SemaTemplate.cpp
 3063   return AliasTemplate->getName().equals("enable_if_t");
tools/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
  655   if (DomName.equals("AF_SYSTEM") || DomName.equals("AF_LOCAL") ||
  655   if (DomName.equals("AF_SYSTEM") || DomName.equals("AF_LOCAL") ||
  656       DomName.equals("AF_UNIX") || DomName.equals("AF_RESERVED_36"))
  656       DomName.equals("AF_UNIX") || DomName.equals("AF_RESERVED_36"))
tools/clang/lib/StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp
   44   if (!II || !II->getName().equals(NS))
tools/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
 1165     if (Result.getRawIdentifier().equals("nil")) {
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
 1454     if (S.getNameForSlot(i).equals("freeWhenDone"))
 2973         FirstSlot.equals("valueWithPointer")) {
tools/clang/lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp
  104   if (Name.equals("CFArrayCreate") || Name.equals("CFSetCreate")) {
  104   if (Name.equals("CFArrayCreate") || Name.equals("CFSetCreate")) {
  111   } else if (Name.equals("CFDictionaryCreate")) {
tools/clang/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp
   93   if (Name.equals("CFArrayCreate")) {
  103   if (Name.equals("CFArrayGetCount")) {
  116   if (Name.equals("CFArrayGetValueAtIndex")) {
tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
 1178       !InstRecIg->getFoundDecl()->getName().equals("self"))
 1183       !ME->getSelector().getNameForSlot(0).equals("class"))
tools/clang/lib/StaticAnalyzer/Core/CheckerContext.cpp
   79   if (FName.equals(Name))
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
  130         return URI && URI->equals(FileURI);
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
  244     if (!Magic.equals(OFFLOAD_BUNDLER_MAGIC_STR))
tools/clang/tools/diagtool/ShowEnabledWarnings.cpp
   92     if (FirstArg.equals("--no-levels")) {
   96     } else if (FirstArg.equals("--levels")) {
tools/clang/tools/diagtool/TreeView.cpp
  133     if (FirstArg.equals("--internal")) {
tools/clang/tools/driver/driver.cpp
  343   if (StringRef(TargetAndMode.DriverMode).equals("--driver-mode=cl") ||
tools/clang/tools/extra/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.cpp
   30            (TypeDecl->getName().equals("enable_if") ||
   31             TypeDecl->getName().equals("enable_if_t"));
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp
  862     if (StringRef(Fixup).equals(Name)) {
  899   if (StringRef(Fixup).equals(Name)) {
tools/clang/tools/extra/clang-tidy/utils/IncludeSorter.cpp
   75     if (CanonicalFile.equals(AltCanonicalInclude) ||
   76         CanonicalFile.equals(ProtoCanonicalInclude)) {
tools/clang/unittests/CodeGen/IRMatchers.h
  320       return MDS->getString().equals(Name);
tools/dsymutil/DwarfLinker.cpp
 2256     bool isClangModule = sys::path::extension(Filename).equals(".pcm");
tools/dsymutil/SymbolMap.cpp
  139   } else if (LHS.equals("BCSymbolMap Version: 1.0")) {
  141   } else if (LHS.equals("BCSymbolMap Version: 2.0")) {
tools/lld/COFF/PDB.cpp
  514   return path1.equals(path2);
tools/lld/ELF/InputSection.cpp
 1054       if (rel.sym->getName().equals("__morestack"))
tools/lld/ELF/Writer.cpp
  784   if (sec->name.equals(".toc"))
tools/lld/include/lld/Core/SymbolTable.h
   70       return lhs.equals(rhs);
tools/lld/lib/Core/Reader.cpp
   83       if (!inputStr.equals(pair->name))
tools/lld/lib/Core/SymbolTable.cpp
  236     if (!l->customSectionName().equals(r->customSectionName()))
tools/lld/lib/Driver/DarwinLdDriver.cpp
  227         if (!ctx.archName().equals(prefix))
  987     if (StringRef(undef->getValue()).equals("error"))
  989     else if (StringRef(undef->getValue()).equals("warning"))
  991     else if (StringRef(undef->getValue()).equals("suppress"))
  993     else if (StringRef(undef->getValue()).equals("dynamic_lookup"))
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
  127     if (info->archName.equals(archName))
  774   if (!dylib->path().equals(dylib->installName()))
  782     if (dylib->installName().equals(installName))
  817     if (seg.equals(entry.segmentName) && sect.equals(entry.sectionName)) {
  817     if (seg.equals(entry.segmentName) && sect.equals(entry.sectionName)) {
  951     if (info.fileFilter.equals(objName)) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
  521       if (sg.name.equals(s.segmentName)) {
  565     if (!sg.name.equals("__LINKEDIT")) {
  676     if (seg.name.equals("__LINKEDIT")) {
 1272       if (partialStr.substr(0, n).equals(edgeStr.substr(0, n))) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
  242     if (sect.second->sectionName.equals(sectionName) &&
  243         sect.second->segmentName.equals(segmentName)) {
  327       if (sect.second->sectionName.equals(p.sectionName) &&
  328           sect.second->segmentName.equals(p.segmentName)) {
  358       if (firstAtom->customSectionName().equals(customName)) {
  442     if ( si->name.equals(segName) )
  448   if (segName.equals("__TEXT"))
  450   else if (segName.equals("__PAGEZERO"))
  452   else if (segName.equals("__LINKEDIT"))
  466       if (segName.equals("__PAGEZERO")) {
  540     if (seg->name.equals("__TEXT")) {
  594     if (seg->name.equals("__PAGEZERO")) {
  598     else if (seg->name.equals("__TEXT")) {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
  113     if (!p->segmentName.equals(section.segmentName) && !p->segmentName.empty())
  115     if (!p->sectionName.equals(section.sectionName) && !p->sectionName.empty())
  692   return section.segmentName.equals("__DWARF");
tools/lld/lib/ReaderWriter/MachO/StubsPass.cpp
  275           return atom->name().equals(_stubInfo.binderSymbolName);
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp
  274   EXPECT_TRUE(text.segmentName.equals("__TEXT"));
  275   EXPECT_TRUE(text.sectionName.equals("__text"));
  300   EXPECT_TRUE(cstring.segmentName.equals("__TEXT"));
  301   EXPECT_TRUE(cstring.sectionName.equals("__cstring"));
  320   EXPECT_TRUE(mainLabel.name.equals("_main"));
  327   EXPECT_TRUE(printfLabel.name.equals("_printf"));
  399   EXPECT_TRUE(text.segmentName.equals("__TEXT"));
  400   EXPECT_TRUE(text.sectionName.equals("__text"));
  435   EXPECT_TRUE(cstring.segmentName.equals("__TEXT"));
  436   EXPECT_TRUE(cstring.sectionName.equals("__cstring"));
  451   EXPECT_TRUE(mainLabel.name.equals("_main"));
  458   EXPECT_TRUE(printfLabel.name.equals("_printf"));
  531   EXPECT_TRUE(text.segmentName.equals("__TEXT"));
  532   EXPECT_TRUE(text.sectionName.equals("__text"));
  576   EXPECT_TRUE(cstring.segmentName.equals("__TEXT"));
  577   EXPECT_TRUE(cstring.sectionName.equals("__cstring"));
  592   EXPECT_TRUE(mainLabel.name.equals("_main"));
  599   EXPECT_TRUE(printfLabel.name.equals("_printf"));
  675   EXPECT_TRUE(text.segmentName.equals("__TEXT"));
  676   EXPECT_TRUE(text.sectionName.equals("__text"));
  719   EXPECT_TRUE(cstring.segmentName.equals("__TEXT"));
  720   EXPECT_TRUE(cstring.sectionName.equals("__cstring"));
  735   EXPECT_TRUE(mainLabel.name.equals("_main"));
  742   EXPECT_TRUE(printfLabel.name.equals("_printf"));
tools/lld/unittests/MachOTests/MachONormalizedFileBinaryWriterTests.cpp
  166   EXPECT_TRUE(barUndef.name.equals("_bar"));
  170   EXPECT_TRUE(tbarUndef.name.equals("_tbar"));
  176   EXPECT_TRUE(text.segmentName.equals("__TEXT"));
  177   EXPECT_TRUE(text.sectionName.equals("__text"));
  278   EXPECT_TRUE(barUndef.name.equals("_bar"));
  282   EXPECT_TRUE(tbarUndef.name.equals("_tbar"));
  288   EXPECT_TRUE(text.segmentName.equals("__TEXT"));
  289   EXPECT_TRUE(text.sectionName.equals("__text"));
  396   EXPECT_TRUE(fooDef.name.equals("_foo"));
  401   EXPECT_TRUE(foo2Def.name.equals("_foo2"));
  408   EXPECT_TRUE(barUndef.name.equals("_bar"));
  414   EXPECT_TRUE(text.segmentName.equals("__TEXT"));
  415   EXPECT_TRUE(text.sectionName.equals("__text"));
  553   EXPECT_TRUE(fooDef.name.equals("_foo"));
  558   EXPECT_TRUE(foo2Def.name.equals("_foo2"));
  565   EXPECT_TRUE(barUndef.name.equals("_bar"));
  571   EXPECT_TRUE(text.segmentName.equals("__TEXT"));
  572   EXPECT_TRUE(text.sectionName.equals("__text"));
tools/lld/unittests/MachOTests/MachONormalizedFileToAtomsTests.cpp
   81   EXPECT_TRUE(atom1->name().equals("_foo"));
   87   EXPECT_TRUE(atom2->name().equals("_bar"));
   92   EXPECT_TRUE(atom3->name().equals("_baz"));
   97   EXPECT_TRUE(atom4->name().equals("_undef"));
tools/lld/unittests/MachOTests/MachONormalizedFileYAMLTests.cpp
  182   EXPECT_TRUE(sym.name.equals("_main"));
  211   EXPECT_TRUE(sect.segmentName.equals("__TEXT"));
  212   EXPECT_TRUE(sect.sectionName.equals("__text"));
  282   EXPECT_TRUE(sect1.segmentName.equals("__TEXT"));
  283   EXPECT_TRUE(sect1.sectionName.equals("__text"));
  314   EXPECT_TRUE(sect2.segmentName.equals("__TEXT"));
  315   EXPECT_TRUE(sect2.sectionName.equals("__cstring"));
  327   EXPECT_TRUE(sym1.name.equals("_main"));
  335   EXPECT_TRUE(sym2.name.equals("L_.str"));
  343   EXPECT_TRUE(sym3.name.equals("_printf"));
  412   EXPECT_TRUE(sect1.segmentName.equals("__TEXT"));
  413   EXPECT_TRUE(sect1.sectionName.equals("__text"));
  451   EXPECT_TRUE(sect2.segmentName.equals("__TEXT"));
  452   EXPECT_TRUE(sect2.sectionName.equals("__cstring"));
  464   EXPECT_TRUE(sym1.name.equals("_main"));
  472   EXPECT_TRUE(sym2.name.equals("_printf"));
  540   EXPECT_TRUE(sect1.segmentName.equals("__TEXT"));
  541   EXPECT_TRUE(sect1.sectionName.equals("__text"));
  579   EXPECT_TRUE(sect2.segmentName.equals("__TEXT"));
  580   EXPECT_TRUE(sect2.sectionName.equals("__cstring"));
  592   EXPECT_TRUE(sym1.name.equals("_main"));
  600   EXPECT_TRUE(sym2.name.equals("_printf"));
  680   EXPECT_TRUE(sect1.segmentName.equals("__TEXT"));
  681   EXPECT_TRUE(sect1.sectionName.equals("__text"));
  735   EXPECT_TRUE(sect2.segmentName.equals("__TEXT"));
  736   EXPECT_TRUE(sect2.sectionName.equals("__cstring"));
  748   EXPECT_TRUE(sym1.name.equals("_main"));
  756   EXPECT_TRUE(sym2.name.equals("_printf"));
tools/lldb/source/Core/FormatEntity.cpp
 1886     if (key.equals(entry_def->name) || entry_def->name[0] == '*') {
 1968     if (p.first.equals(entry_def->name) || entry_def->name[0] == '*') {
 2311   if (variable_name.empty() || variable_name.equals(".fullpath")) {
 2314   } else if (variable_name.equals(".basename")) {
 2317   } else if (variable_name.equals(".dirname")) {
 2402   } else if (remainder.equals(".")) {
tools/lldb/source/Expression/IRExecutionUnit.cpp
  516     if (name.equals("__text") || name.equals(".text"))
  516     if (name.equals("__text") || name.equals(".text"))
  518     else if (name.equals("__data") || name.equals(".data"))
  518     else if (name.equals("__data") || name.equals(".data"))
  525         if (dwarf_name.equals("abbrev"))
  527         else if (dwarf_name.equals("aranges"))
  529         else if (dwarf_name.equals("addr"))
  534         if (dwarf_name.equals("frame"))
  539         if (dwarf_name.equals("info"))
  544         if (dwarf_name.equals("line"))
  546         else if (dwarf_name.equals("loc"))
  548         else if (dwarf_name.equals("loclists"))
  553         if (dwarf_name.equals("macinfo"))
  558         if (dwarf_name.equals("pubnames"))
  560         else if (dwarf_name.equals("pubtypes"))
  565         if (dwarf_name.equals("str"))
  567         else if (dwarf_name.equals("str_offsets"))
  572         if (dwarf_name.equals("ranges"))
  581     else if (name.equals("__objc_imageinfo"))
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
 1685   if (argument->getName().equals("this")) {
 1697   } else if (argument->getName().equals("self")) {
 1708     if (!iter->getName().equals("_cmd")) {
 1729   if (!argument->getName().equals("$__lldb_arg")) {
tools/lldb/source/Plugins/Language/ObjC/Cocoa.cpp
  688   if (!class_name.equals("NSURL"))
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
  998           if (name.equals("name")) {
 1001           } else if (name.equals("version")) {
 1149           if (name.equals("cputype")) {
 1153           } else if (name.equals("cpusubtype")) {
 1157           } else if (name.equals("arch")) {
 1160           } else if (name.equals("triple")) {
 1164           } else if (name.equals("distribution_id")) {
 1168           } else if (name.equals("os_build")) {
 1172           } else if (name.equals("hostname")) {
 1176           } else if (name.equals("os_kernel")) {
 1180           } else if (name.equals("ostype")) {
 1181             if (value.equals("maccatalyst")) {
 1187           } else if (name.equals("vendor")) {
 1190           } else if (name.equals("endian")) {
 1198           } else if (name.equals("ptrsize")) {
 1201           } else if (name.equals("os_version") ||
 1202                      name.equals(
 1209           } else if (name.equals("maccatalyst_version")) {
 1212           } else if (name.equals("watchpoint_exceptions_received")) {
 1220           } else if (name.equals("default_packet_timeout")) {
 1472         if (name.equals("start")) {
 1475         } else if (name.equals("size")) {
 1478         } else if (name.equals("permissions") &&
 1506         } else if (name.equals("name")) {
 1511         } else if (name.equals("error")) {
 1696         if (name.equals("num")) {
 1895       if (name.equals("pid")) {
 1899       } else if (name.equals("ppid")) {
 1903       } else if (name.equals("uid")) {
 1907       } else if (name.equals("euid")) {
 1911       } else if (name.equals("gid")) {
 1915       } else if (name.equals("egid")) {
 1919       } else if (name.equals("triple")) {
 1924       } else if (name.equals("name")) {
 1931       } else if (name.equals("args")) {
 1951       } else if (name.equals("cputype")) {
 1953       } else if (name.equals("cpusubtype")) {
 1955       } else if (name.equals("vendor")) {
 1957       } else if (name.equals("ostype")) {
 2034         if (name.equals("cputype")) {
 2037         } else if (name.equals("cpusubtype")) {
 2040         } else if (name.equals("triple")) {
 2044         } else if (name.equals("ostype")) {
 2045           if (value.equals("maccatalyst")) {
 2051         } else if (name.equals("vendor")) {
 2054         } else if (name.equals("endian")) {
 2062         } else if (name.equals("ptrsize")) {
 2065         } else if (name.equals("pid")) {
 2068         } else if (name.equals("elf_abi")) {
 2512       if (name.equals("port"))
 2514       else if (name.equals("pid"))
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
  346       if (key.equals("name")) {
  352       } else if (key.equals("name_match")) {
  363       } else if (key.equals("pid")) {
  368       } else if (key.equals("parent_pid")) {
  373       } else if (key.equals("uid")) {
  378       } else if (key.equals("gid")) {
  383       } else if (key.equals("euid")) {
  388       } else if (key.equals("egid")) {
  393       } else if (key.equals("all_users")) {
  396       } else if (key.equals("triple")) {
  479   if (success && key.equals("response_size")) {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
  175     if (name.equals("host"))
  177     else if (name.equals("port"))
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  530           if (name.equals("name")) {
  532           } else if (name.equals("alt-name")) {
  534           } else if (name.equals("bitsize")) {
  537           } else if (name.equals("offset")) {
  540           } else if (name.equals("encoding")) {
  544           } else if (name.equals("format")) {
  567           } else if (name.equals("set")) {
  569           } else if (name.equals("gcc") || name.equals("ehframe")) {
  569           } else if (name.equals("gcc") || name.equals("ehframe")) {
  572           } else if (name.equals("dwarf")) {
  575           } else if (name.equals("generic")) {
  578           } else if (name.equals("container-regs")) {
  580           } else if (name.equals("invalidate-regs")) {
  582           } else if (name.equals("dynamic_size_dwarf_expr_bytes")) {
 4998         if (usec_name.equals("thread_used_usec")) {
tools/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
 1117     if (namespace_decl->getName().equals(name))
tools/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
 1125     if (!name.GetStringRef().equals(
tools/lldb/source/Symbol/ClangASTContext.cpp
 7183           } else if (field_name.equals(name_sref)) {
 7270               if (ivar_decl->getName().equals(name_sref)) {
 7472           if (field->getName().equals(name_sref))
 7500               if (ivar_decl->getName().equals(name_sref)) {
 7511               if (superclass_interface_decl->getName().equals(name_sref))
10012                     ii->getName().equals(name.AsCString(nullptr)))
10019             if (ii != nullptr && ii->getName().equals(name.AsCString(nullptr)))
10129                     !ii->getName().equals(child_name->AsCString(nullptr)))
tools/llvm-extract/llvm-extract.cpp
  274         return BB.getName().equals(BBName);
tools/llvm-objdump/MachODump.cpp
 1959       if (SectName.equals("__text")) {
tools/llvm-xray/xray-graph-diff.cpp
  398                   (HeadId.equals("")) ? static_cast<StringRef>("F0") : HeadId,
  405     if (VertexId.equals("")) {
tools/llvm-yaml-numeric-parser-fuzzer/yaml-numeric-parser-fuzzer.cpp
   22   if (S.equals(".nan") || S.equals(".NaN") || S.equals(".NAN"))
   22   if (S.equals(".nan") || S.equals(".NaN") || S.equals(".NAN"))
   22   if (S.equals(".nan") || S.equals(".NaN") || S.equals(".NAN"))
unittests/ADT/StringRefTest.cpp
  937   EXPECT_TRUE(StrEmpty.equals(StrEmptyc));
  946   EXPECT_TRUE(Str1.equals(Str1c));
  948   EXPECT_TRUE(Str2.equals(Str2c));
unittests/IR/VerifierTest.cpp
   92                   .equals("Global is used by function in a different module\n"
  106   EXPECT_TRUE(StringRef(ErrorOS.str()).equals(
unittests/Support/MemoryBufferTest.cpp
  301   EXPECT_TRUE(BufData.substr(0x0000,8).equals("12345678"));
  302   EXPECT_TRUE(BufData.substr(0x0FF8,8).equals("12345678"));
  303   EXPECT_TRUE(BufData.substr(0x1000,8).equals("abcdefgh"));
  304   EXPECT_TRUE(BufData.substr(0x2FF8,8).equals("abcdefgh"));
  305   EXPECT_TRUE(BufData.substr(0x3000,8).equals("ABCDEFGH"));
  306   EXPECT_TRUE(BufData.substr(0x3FF8,8).equals("ABCDEFGH"));
  316   EXPECT_TRUE(BufData2.substr(0x0000,8).equals("12345678"));
  317   EXPECT_TRUE(BufData2.substr(0x17F8,8).equals("12345678"));
  318   EXPECT_TRUE(BufData2.substr(0x1800,8).equals("abcdefgh"));
  319   EXPECT_TRUE(BufData2.substr(0x2FF8,8).equals("abcdefgh"));
unittests/Support/TargetParserTest.cpp
   38   bool pass = ARM::getArchName(AK).equals(ExpectedArch);
   40   pass &= ARM::getFPUName(FPUKind).equals(ExpectedFPU);
   47   pass &= ARM::getCPUAttr(AK).equals(CPUAttr);
  336          ARM::getDefaultCPU(Arch).equals(DefaultCPU) &
  337          ARM::getSubArch(AK).equals(SubArch) &
  750   bool pass = AArch64::getArchName(AK).equals(ExpectedArch);
  758   pass &= AArch64::getCPUAttr(AK).equals(CPUAttr);
  929          AArch64::getDefaultCPU(Arch).equals(DefaultCPU) &
  930          AArch64::getSubArch(AK).equals(SubArch) &
unittests/Support/YAMLIOTest.cpp
  402   EXPECT_TRUE(map.str.equals("hello there"));
  458     EXPECT_TRUE(map.str.equals("one two"));
  789     EXPECT_TRUE(map.str1.equals("'aaa"));
  790     EXPECT_TRUE(map.str2.equals("\"bbb"));
  791     EXPECT_TRUE(map.str3.equals("`ccc"));
  792     EXPECT_TRUE(map.str4.equals("@ddd"));
  793     EXPECT_TRUE(map.str5.equals(""));
  794     EXPECT_TRUE(map.str6.equals("0000000004000000"));
 1323     EXPECT_TRUE(map2.name.equals("hello"));
 1325     EXPECT_TRUE(map2.strings[0].value.equals("one"));
 1326     EXPECT_TRUE(map2.strings[1].value.equals("two"));
 1370     EXPECT_TRUE(map2.name.equals("hello"));