Home
last modified time | relevance | path

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

12345678910>>...16

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.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/contrib/llvm-project/llvm/lib/TargetParser/
H A DARMTargetParserCommon.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/contrib/llvm-project/llvm/lib/Demangle/
H A DDemangle.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"); }
47 static bool isDLangEncoding(std::string_view S) { return starts_with(S, "_D"); }
H A DDLangDemangle.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()
H A DMicrosoftDemangle.cpp44 if (!llvm::itanium_demangle::starts_with(S, C)) in consumeFront()
51 if (!llvm::itanium_demangle::starts_with(S, C)) in consumeFront()
66 return llvm::itanium_demangle::starts_with(S, Prefix); in startsWith()
224 if (llvm::itanium_demangle::starts_with(S, "$$Q")) // foo && in isPointerType()
241 return llvm::itanium_demangle::starts_with(S, "$$A8@@") || in isFunctionType()
242 llvm::itanium_demangle::starts_with(S, "$$A6"); in isFunctionType()
525 assert(llvm::itanium_demangle::starts_with(MangledName, '?')); in demangleFunctionIdentifierCode()
799 assert(llvm::itanium_demangle::starts_with(MangledName, "??@")); in demangleMD5Name()
834 assert(llvm::itanium_demangle::starts_with(MangledName, '.')); in demangleTypeinfoName()
850 if (llvm::itanium_demangle::starts_with(MangledName, '.')) in parse()
[all …]
/freebsd/contrib/llvm-project/lld/ELF/
H A DScriptLexer.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/contrib/llvm-project/lldb/source/Core/
H A DMangled.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/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.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/contrib/llvm-project/llvm/lib/TextAPI/
H A DSymbol.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()
H A DUtils.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/contrib/llvm-project/clang/lib/Driver/
H A DDistro.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/contrib/llvm-project/clang/lib/Format/
H A DBreakableToken.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/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DCodeExpander.cpp39 if (Current.starts_with("\\$") || Current.starts_with("\\\\")) { in emit()
48 if (Current.starts_with("${")) { in emit()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DDefineExternalSectionStartAndEndSymbols.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/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVUtils.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()
H A DSPIRVCommandLine.cpp90 if (Token.empty() || (!Token.starts_with("+") && !Token.starts_with("-"))) in parse()
99 if (Token.starts_with("+")) { in parse()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/AsmParser/
H A DVEAsmParser.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/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerBinaryMetadata.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/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DStringViewExtras.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/contrib/kyua/engine/
H A Dscheduler_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 …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsABIInfo.cpp59 if (Options.getABIName().starts_with("o32")) in computeTargetABI()
61 if (Options.getABIName().starts_with("n32")) in computeTargetABI()
63 if (Options.getABIName().starts_with("n64")) in computeTargetABI()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/
H A DHeaderIncludes.cpp239 if (!IncludeName.starts_with("\"")) in isMainHeader()
243 if (!IncludeName.starts_with("<")) in isMainHeader()
370 ((IsAngled && StringRef(Inc.Name).starts_with("<")) || in insert()
371 (!IsAngled && StringRef(Inc.Name).starts_with("\"")))) in insert()
413 if ((IsAngled && StringRef(Inc.Name).starts_with("\"")) || in remove()
414 (!IsAngled && StringRef(Inc.Name).starts_with("<"))) in remove()
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/
H A DCPPLanguageRuntime.cpp224 vtable_name.starts_with("vtable for std::__1::__function::__func<"); in FindLibCppStdFunctionCallableInfo()
281 if (symbol && !symbol->GetName().GetStringRef().starts_with("vtable for") && in FindLibCppStdFunctionCallableInfo()
316 if (name.starts_with(name_to_use) && name.contains("operator")) in FindLibCppStdFunctionCallableInfo()
377 function_name.starts_with("std::__1::function<"); in GetStepThroughTrampolinePlan()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Shared/
H A DObjectFormats.cpp86 if (InitSection.starts_with(SegName) && InitSection.substr(7) == SecName) in isMachOInitializerSection()
109 return SecName.starts_with(".CRT"); in isCOFFInitializerSection()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibStdcppTuple.cpp72 if (name_str.starts_with("std::_Tuple_impl<")) { in Update()
74 } else if (name_str.starts_with("std::_Head_base<")) { in Update()

12345678910>>...16