Home
last modified time | relevance | path

Searched refs:starts_with (Results 1 – 25 of 484) sorted by relevance

12345678910>>...20

/freebsd-head/contrib/llvm-project/llvm/lib/IR/
HDAutoUpgrade.cpp126 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/
HDARMTargetParserCommon.cpp60 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/
HDDemangle.cpp18 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()
HDDLangDemangle.cpp27 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/
HDArgumentsAdjusters.cpp48 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/
HDScriptLexer.cpp118 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/
HDMangled.cpp46 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/
HDllvm-cxxdump.cpp220 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/
HDCocoaConventions.cpp29 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/
HDRuntimeDyldChecker.cpp145 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/
HDSymbol.cpp76 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()
HDUtils.cpp117 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/
HDDistro.cpp37 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/
HDLookup.cpp131 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/
HDCodeExpander.cpp39 if (Current.starts_with("\\$") || Current.starts_with("\\\\")) { in emit()
48 if (Current.starts_with("${")) { in emit()
/freebsd-head/contrib/llvm-project/clang/lib/Format/
HDBreakableToken.cpp58 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/
HDDefineExternalSectionStartAndEndSymbols.h118 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/
HDSPIRVUtils.cpp331 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/
HDVEAsmParser.cpp926 } 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/
HDDebugInfoLinker.h21 return SecName.starts_with(".debug") || SecName.starts_with(".zdebug") || in isDebugSection()
/freebsd-head/contrib/llvm-project/clang/lib/Tooling/Inclusions/
HDHeaderAnalysis.cpp24 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/
HDSanitizerBinaryMetadata.cpp316 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/
HDMetaRenamer.cpp154 [&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/
HDStringViewExtras.h24 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/
HDscheduler_test.cpp92 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 …]

12345678910>>...20