| /freebsd-head/contrib/llvm-project/llvm/lib/IR/ |
| HD | AutoUpgrade.cpp | 126 return (Name.starts_with("blend.p") || // Added in 3.7 in shouldUpgradeX86Intrinsic() 130 Name.starts_with("movnt.") || // Added in 3.2 in shouldUpgradeX86Intrinsic() 131 Name.starts_with("sqrt.p") || // Added in 7.0 in shouldUpgradeX86Intrinsic() 132 Name.starts_with("storeu.") || // Added in 3.9 in shouldUpgradeX86Intrinsic() 133 Name.starts_with("vbroadcast.s") || // Added in 3.5 in shouldUpgradeX86Intrinsic() 134 Name.starts_with("vbroadcastf128") || // Added in 4.0 in shouldUpgradeX86Intrinsic() 135 Name.starts_with("vextractf128.") || // Added in 3.7 in shouldUpgradeX86Intrinsic() 136 Name.starts_with("vinsertf128.") || // Added in 3.7 in shouldUpgradeX86Intrinsic() 137 Name.starts_with("vperm2f128.") || // Added in 6.0 in shouldUpgradeX86Intrinsic() 138 Name.starts_with("vpermil.")); // Added in 3.1 in shouldUpgradeX86Intrinsic() [all …]
|
| /freebsd-head/contrib/llvm-project/llvm/lib/TargetParser/ |
| HD | ARMTargetParserCommon.cpp | 60 if (A.starts_with("arm64_32")) in getCanonicalArchName() 62 else if (A.starts_with("arm64e")) in getCanonicalArchName() 64 else if (A.starts_with("arm64")) in getCanonicalArchName() 66 else if (A.starts_with("aarch64_32")) in getCanonicalArchName() 68 else if (A.starts_with("arm")) in getCanonicalArchName() 70 else if (A.starts_with("thumb")) in getCanonicalArchName() 72 else if (A.starts_with("aarch64")) { in getCanonicalArchName() 119 if (Arch.starts_with("armeb") || Arch.starts_with("thumbeb") || in parseArchEndian() 120 Arch.starts_with("aarch64_be")) in parseArchEndian() 123 if (Arch.starts_with("arm") || Arch.starts_with("thumb")) { in parseArchEndian() [all …]
|
| /freebsd-head/contrib/llvm-project/llvm/lib/Demangle/ |
| HD | Demangle.cpp | 18 using llvm::itanium_demangle::starts_with; 26 if (starts_with(MangledName, '_') && in demangle() 42 return starts_with(S, "_Z") || starts_with(S, "___Z"); in isItaniumEncoding() 45 static bool isRustEncoding(std::string_view S) { return starts_with(S, "_R"); } in isRustEncoding() 47 static bool isDLangEncoding(std::string_view S) { return starts_with(S, "_D"); } in isDLangEncoding()
|
| HD | DLangDemangle.cpp | 27 using llvm::itanium_demangle::starts_with; 451 if (Len >= 4 && starts_with(Mangled, "__S")) { in parseIdentifier() 505 if (starts_with(Mangled, "__initZ")) { in parseLName() 512 if (starts_with(Mangled, "__vtblZ")) { in parseLName() 522 if (starts_with(Mangled, "__ClassZ")) { in parseLName() 532 if (starts_with(Mangled, "__InterfaceZ")) { in parseLName() 542 if (starts_with(Mangled, "__ModuleInfoZ")) { in parseLName() 566 if (MangledName.empty() || !starts_with(MangledName, "_D")) in dlangDemangle()
|
| /freebsd-head/contrib/llvm-project/clang/lib/Tooling/ |
| HD | ArgumentsAdjusters.cpp | 48 return Arg.starts_with(OutputCommand); in getClangSyntaxOnlyAdjuster() 52 if (!Arg.starts_with("-fcolor-diagnostics") && in getClangSyntaxOnlyAdjuster() 53 !Arg.starts_with("-fdiagnostics-color")) in getClangSyntaxOnlyAdjuster() 76 if (!Arg.starts_with("-o")) in getClangStripOutputAdjuster() 105 if (!UsingClDriver && Arg.starts_with("-M")) in getClangStripDependencyFileAdjuster() 109 if (Arg.starts_with("/showIncludes") || Arg.starts_with("-showIncludes")) in getClangStripDependencyFileAdjuster() 162 llvm::StringRef(Args[I + 1]).starts_with("-plugin-arg-") || in getStripPluginsAdjuster()
|
| /freebsd-head/contrib/llvm-project/lld/ELF/ |
| HD | ScriptLexer.cpp | 118 if (s.starts_with("\"")) { in tokenize() 133 if (s.starts_with("<<=") || s.starts_with(">>=")) { in tokenize() 165 if (s.starts_with("/*")) { in skipSpace() 174 if (s.starts_with("#")) { in skipSpace() 197 if (s.starts_with("\"")) in tokenizeExpr() 217 if (s.substr(e).starts_with("!=") || s.substr(e).starts_with("==") || in tokenizeExpr() 218 s.substr(e).starts_with(">=") || s.substr(e).starts_with("<=") || in tokenizeExpr() 219 s.substr(e).starts_with("<<") || s.substr(e).starts_with(">>")) { in tokenizeExpr()
|
| /freebsd-head/contrib/llvm-project/lldb/source/Core/ |
| HD | Mangled.cpp | 46 if (name.starts_with("?")) in GetManglingScheme() 49 if (name.starts_with("_R")) in GetManglingScheme() 52 if (name.starts_with("_D")) { in GetManglingScheme() 62 if (name.starts_with("_Z")) in GetManglingScheme() 66 if (name.starts_with("___Z")) in GetManglingScheme() 75 if (name.starts_with("_TtC") || name.starts_with("_TtGC") || in GetManglingScheme() 76 name.starts_with("_TtP")) in GetManglingScheme() 82 if (name.starts_with("$S") || name.starts_with("_$S") || in GetManglingScheme() 83 name.starts_with("$s") || name.starts_with("_$s") || in GetManglingScheme() 84 name.starts_with("@__swiftmacro_")) in GetManglingScheme()
|
| /freebsd-head/contrib/llvm-project/llvm/tools/llvm-cxxdump/ |
| HD | llvm-cxxdump.cpp | 220 if (SymName.starts_with("??_7")) { in dumpCXXData() 228 else if (SymName.starts_with("??_8")) { in dumpCXXData() 235 else if (SymName.starts_with("??_R4")) { in dumpCXXData() 244 else if (SymName.starts_with("??_R3")) { in dumpCXXData() 253 else if (SymName.starts_with("??_R2")) { in dumpCXXData() 260 else if (SymName.starts_with("??_R1")) { in dumpCXXData() 269 else if (SymName.starts_with("??_R0")) { in dumpCXXData() 282 else if (SymName.starts_with("_TI") || SymName.starts_with("__TI")) { in dumpCXXData() 290 else if (SymName.starts_with("_CTA") || SymName.starts_with("__CTA")) { in dumpCXXData() 299 else if (SymName.starts_with("_CT") || SymName.starts_with("__CT")) { in dumpCXXData() [all …]
|
| /freebsd-head/contrib/llvm-project/clang/lib/Analysis/ |
| HD | CocoaConventions.cpp | 29 if (TDName.starts_with(Prefix) && TDName.ends_with("Ref")) in isRefType() 32 if (TDName.starts_with("xpc_")) in isRefType() 46 return Name.starts_with(Prefix); in isRefType() 130 if (suffix.starts_with("reate")) { in followsCreateRule() 132 } else if (suffix.starts_with("opy")) { in followsCreateRule()
|
| /freebsd-head/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| HD | RuntimeDyldChecker.cpp | 145 if (Expr.starts_with("<<") || Expr.starts_with(">>")) in getTokenForError() 180 if (Expr.starts_with("<<")) in parseBinOpToken() 182 if (Expr.starts_with(">>")) in parseBinOpToken() 245 if (!Expr.starts_with("(")) in evalDecodeOperand() 276 if (!RemainingExpr.starts_with(",")) in evalDecodeOperand() 286 if (!RemainingExpr.starts_with(")")) in evalDecodeOperand() 346 if (!Expr.starts_with("(")) in evalNextPC() 357 if (!RemainingExpr.starts_with(")")) in evalNextPC() 390 if (!Expr.starts_with("(")) in evalStubOrGOTAddr() 401 if (!RemainingExpr.starts_with(",")) in evalStubOrGOTAddr() [all …]
|
| /freebsd-head/contrib/llvm-project/llvm/lib/TextAPI/ |
| HD | Symbol.cpp | 76 if (SymName.starts_with(ObjC1ClassNamePrefix)) in parseSymbol() 79 if (SymName.starts_with(ObjC2ClassNamePrefix)) in parseSymbol() 82 if (SymName.starts_with(ObjC2MetaClassNamePrefix)) in parseSymbol() 85 if (SymName.starts_with(ObjC2EHTypePrefix)) in parseSymbol() 88 if (SymName.starts_with(ObjC2IVarPrefix)) in parseSymbol()
|
| HD | Utils.cpp | 117 if (Path.starts_with("/usr/local/lib")) in isPrivateLibrary() 120 if (Path.starts_with("/System/Library/PrivateFrameworks")) in isPrivateLibrary() 134 if (Path.starts_with("/System/Library/Frameworks/")) { in isPrivateLibrary() 151 return !(Rest.starts_with("framework/") && in isPrivateLibrary() 215 if (L.starts_with("#")) in parseAliasList()
|
| /freebsd-head/contrib/llvm-project/clang/lib/Driver/ |
| HD | Distro.cpp | 37 if (Version == Distro::UnknownDistro && Line.starts_with("ID=")) in DetectOsRelease() 63 Line.starts_with("DISTRIB_CODENAME=")) in DetectLsbRelease() 123 if (Data.starts_with("Fedora release")) in DetectDistro() 125 if (Data.starts_with("Red Hat Enterprise Linux") || in DetectDistro() 126 Data.starts_with("CentOS") || Data.starts_with("Scientific Linux")) { in DetectDistro() 186 if (!Line.trim().starts_with("VERSION")) in DetectDistro()
|
| /freebsd-head/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| HD | Lookup.cpp | 131 assert(QName.starts_with("::")); in disambiguateSpellingInScope() 133 if (Spelling.starts_with("::")) in disambiguateSpellingInScope() 149 if (CurSpelling.starts_with("::")) in disambiguateSpellingInScope() 163 if (!TrimmedQName.starts_with(Res->getQualifiedNameAsString()) && in disambiguateSpellingInScope() 190 assert(ReplacementString.starts_with("::") && in replaceNestedName()
|
| /freebsd-head/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/ |
| HD | CodeExpander.cpp | 39 if (Current.starts_with("\\$") || Current.starts_with("\\\\")) { in emit() 48 if (Current.starts_with("${")) { in emit()
|
| /freebsd-head/contrib/llvm-project/clang/lib/Format/ |
| HD | BreakableToken.cpp | 58 if (Comment.starts_with(KnownPrefix)) { in getLineCommentIndentPrefix() 223 return Content.starts_with("clang-format on") || in switchesFormatting() 224 Content.starts_with("clang-format off"); in switchesFormatting() 274 assert(Tok.TokenText.starts_with(Prefix) && Tok.TokenText.ends_with(Postfix)); in BreakableStringLiteral() 457 if (Content.starts_with(Prefix)) { in mayReflowContent() 491 assert(TokenText.starts_with("/*") && TokenText.ends_with("*/")); in BreakableBlockComment() 514 if (Lines.size() >= 2 && Content[1].starts_with("**") && in BreakableBlockComment() 534 } else if (!Text.empty() && Decoration.starts_with(Text)) { in BreakableBlockComment() 537 while (!Text.starts_with(Decoration)) in BreakableBlockComment() 565 unsigned DecorationSize = Decoration.starts_with(Content[i]) in BreakableBlockComment() [all …]
|
| /freebsd-head/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| HD | DefineExternalSectionStartAndEndSymbols.h | 118 if (SymName.starts_with(StartSymbolPrefix)) { in identifyELFSectionStartAndEndSymbols() 122 } else if (SymName.starts_with(EndSymbolPrefix)) { in identifyELFSectionStartAndEndSymbols() 137 if (SymName.starts_with(StartSymbolPrefix)) { in identifyMachOSectionStartAndEndSymbols() 143 } else if (SymName.starts_with(EndSymbolPrefix)) { in identifyMachOSectionStartAndEndSymbols()
|
| /freebsd-head/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| HD | SPIRVUtils.cpp | 331 if (!Name.starts_with("__")) in isNonMangledOCLBuiltin() 341 bool IsNonMangledSPIRV = Name.starts_with("__spirv_"); in getOclOrSpirvBuiltinDemangledName() 342 bool IsNonMangledHLSL = Name.starts_with("__hlsl_"); in getOclOrSpirvBuiltinDemangledName() 343 bool IsMangled = Name.starts_with("_Z"); in getOclOrSpirvBuiltinDemangledName() 362 if (Name.starts_with("_ZN")) { in getOclOrSpirvBuiltinDemangledName() 377 if (Name.starts_with("opencl.") || Name.starts_with("ocl_") || in hasBuiltinTypePrefix() 378 Name.starts_with("spirv.")) in hasBuiltinTypePrefix()
|
| /freebsd-head/contrib/llvm-project/llvm/lib/Target/VE/AsmParser/ |
| HD | VEAsmParser.cpp | 926 } else if (Name.starts_with("cmov.l.") || Name.starts_with("cmov.w.") || in splitMnemonic() 927 Name.starts_with("cmov.d.") || Name.starts_with("cmov.s.")) { in splitMnemonic() 930 } else if (Name.starts_with("cvt.w.d.sx") || Name.starts_with("cvt.w.d.zx") || in splitMnemonic() 931 Name.starts_with("cvt.w.s.sx") || Name.starts_with("cvt.w.s.zx")) { in splitMnemonic() 933 } else if (Name.starts_with("cvt.l.d")) { in splitMnemonic() 935 } else if (Name.starts_with("vcvt.w.d.sx") || in splitMnemonic() 936 Name.starts_with("vcvt.w.d.zx") || in splitMnemonic() 937 Name.starts_with("vcvt.w.s.sx") || in splitMnemonic() 938 Name.starts_with("vcvt.w.s.zx")) { in splitMnemonic() 940 } else if (Name.starts_with("vcvt.l.d")) { in splitMnemonic() [all …]
|
| /freebsd-head/contrib/llvm-project/llvm/tools/llvm-dwarfutil/ |
| HD | DebugInfoLinker.h | 21 return SecName.starts_with(".debug") || SecName.starts_with(".zdebug") || in isDebugSection()
|
| /freebsd-head/contrib/llvm-project/clang/lib/Tooling/Inclusions/ |
| HD | HeaderAnalysis.cpp | 24 return Line.starts_with("if"); in isIf() 33 if (!Line.starts_with("error")) in isErrorAboutInclude() 57 return Line.starts_with("import"); in isImportLine()
|
| /freebsd-head/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| HD | SanitizerBinaryMetadata.cpp | 316 F->getName().starts_with("__asan_") || in isUARSafeCall() 317 F->getName().starts_with("__hwsan_") || in isUARSafeCall() 318 F->getName().starts_with("__ubsan_") || in isUARSafeCall() 319 F->getName().starts_with("__msan_") || in isUARSafeCall() 320 F->getName().starts_with("__tsan_")); in isUARSafeCall() 381 if (GV->getName().starts_with("__llvm_gcov") || in pretendAtomicAccess() 382 GV->getName().starts_with("__llvm_gcda")) in pretendAtomicAccess()
|
| /freebsd-head/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| HD | MetaRenamer.cpp | 154 [&Name](auto &Prefix) { return Name.starts_with(Prefix); }); in MetaRename() 162 return Name.starts_with("llvm.") || (!Name.empty() && Name[0] == 1) || in MetaRename() 180 if (Name.starts_with("llvm.") || (!Name.empty() && Name[0] == 1) || in MetaRename() 190 if (Name.starts_with("llvm.") || (!Name.empty() && Name[0] == 1) || in MetaRename()
|
| /freebsd-head/contrib/llvm-project/llvm/include/llvm/Demangle/ |
| HD | StringViewExtras.h | 24 inline bool starts_with(std::string_view self, char C) noexcept { in starts_with() function 28 inline bool starts_with(std::string_view haystack, in starts_with() function
|
| /freebsd-head/contrib/kyua/engine/ |
| HD | scheduler_test.cpp | 92 starts_with(const std::string& str, const std::string& prefix) in starts_with() function 108 PRE(starts_with(str, prefix)); in suffix_to_int() 328 } else if (starts_with(test_case_name, "cleanup_timeout")) { in exec_test() 330 } else if (starts_with(test_case_name, "create_files_and_fail")) { in exec_test() 334 } else if (starts_with(test_case_name, "exit ")) { in exec_test() 336 } else if (starts_with(test_case_name, "fail")) { in exec_test() 338 } else if (starts_with(test_case_name, "fail_body_fail_cleanup")) { in exec_test() 340 } else if (starts_with(test_case_name, "fail_body_pass_cleanup")) { in exec_test() 342 } else if (starts_with(test_case_name, "pass_body_fail_cleanup")) { in exec_test() 344 } else if (starts_with(test_case_name, "print_params")) { in exec_test() [all …]
|