| /llvm-project-15.0.7/llvm/lib/BinaryFormat/ |
| H A D | Magic.cpp | 59 if (startswith(Magic, "\0asm")) in identify_magic() 66 if (startswith(Magic, "\x01\xDF")) in identify_magic() 68 if (startswith(Magic, "\x01\xF7")) in identify_magic() 73 if (startswith(Magic, "\x03\xF0\x00")) in identify_magic() 87 if (startswith(Magic, "BC\xC0\xDE")) in identify_magic() 91 if (startswith(Magic, "!<arch>\n") || startswith(Magic, "!<thin>\n")) in identify_magic() 95 if (startswith(Magic, "<bigaf>\n")) in identify_magic() 214 if (Magic.substr(off).startswith( in identify_magic() 220 if (startswith(Magic, "MDMP")) in identify_magic() 230 if (startswith(Magic, "--- !tapi") || startswith(Magic, "---\narchs:")) in identify_magic() [all …]
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | AutoUpgrade.cpp | 423 if (!Name.startswith("x86.")) in UpgradeX86IntrinsicFunction() 546 if (Name.startswith("arm.rbit") || Name.startswith("aarch64.rbit")) { in UpgradeIntrinsicFunction1() 933 if (Name.startswith("nvvm.")) { in UpgradeIntrinsicFunction1() 1625 if (Name.startswith("max.p")) { in upgradeAVX512MaskToSelect() 1636 } else if (Name.startswith("min.p")) { in upgradeAVX512MaskToSelect() 2512 if (Name.startswith("lt")) in UpgradeIntrinsicCall() 2514 else if (Name.startswith("le")) in UpgradeIntrinsicCall() 2516 else if (Name.startswith("gt")) in UpgradeIntrinsicCall() 2518 else if (Name.startswith("ge")) in UpgradeIntrinsicCall() 2520 else if (Name.startswith("eq")) in UpgradeIntrinsicCall() [all …]
|
| /llvm-project-15.0.7/llvm/utils/ |
| H A D | sort_includes.py | 38 if l.startswith('#include'): 44 if look_for_api_header and header.startswith('"'): 48 if (header.startswith('<') or header.startswith('"gtest/') or 49 header.startswith('"isl/') or header.startswith('"json/')): 52 if (header.startswith('"clang/') or header.startswith('"clang-c/') or 53 header.startswith('"polly/')): 56 if (header.startswith('"llvm/') or header.startswith('"llvm-c/')): 66 if l.startswith('//') or l.startswith('#define') or l.startswith('#ifndef'):
|
| H A D | extract_symbols.py | 45 if sys.platform.startswith('aix'): 152 elif symbol.startswith('??$'): 157 elif symbol.startswith('??_G') or symbol.startswith('??_E'): 161 elif symbol.startswith('??0?$') or symbol.startswith('??1?$'): 199 if not symbol.startswith('_') and not symbol.startswith('.'): 277 elif tmp.startswith('I'): 280 elif tmp.startswith('N'): 283 elif tmp.startswith('L') or tmp.startswith('X'): 286 elif tmp.startswith('E'): 316 if tmp.startswith('E'): [all …]
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/gdb_remote_client/ |
| H A D | TestGDBRemotePlatformFile.py | 12 if packet.startswith("vFile:open:"): 14 elif packet.startswith("vFile:pread:"): 16 elif packet.startswith("vFile:pwrite:"): 18 elif packet.startswith("vFile:close:"): 89 if packet.startswith("vFile:open:"): 93 if packet.startswith("vFile:close:"): 149 if packet.startswith("vFile:open:"): 153 if packet.startswith("vFile:close:"): 206 if packet.startswith("vFile:open:"): 208 if packet.startswith("vFile:close:"): [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/fuzzer/ |
| H A D | lit.cfg.py | 30 if (sys.platform.startswith('darwin') or 31 sys.platform.startswith('freebsd') or 32 sys.platform.startswith('win')): 39 if (sys.platform.startswith('darwin') or sys.platform.startswith('win') or 47 if sys.platform.startswith('win') or sys.platform.startswith('cygwin'): 50 if sys.platform.startswith('darwin'): 53 if sys.platform.startswith('linux'):
|
| /llvm-project-15.0.7/clang/lib/Tooling/ |
| H A D | ArgumentsAdjusters.cpp | 48 return Arg.startswith(OutputCommand); in getClangSyntaxOnlyAdjuster() 52 if (!Arg.startswith("-fcolor-diagnostics") && in getClangSyntaxOnlyAdjuster() 53 !Arg.startswith("-fdiagnostics-color")) in getClangSyntaxOnlyAdjuster() 76 if (!Arg.startswith("-o")) in getClangStripOutputAdjuster() 105 if (!UsingClDriver && Arg.startswith("-M")) in getClangStripDependencyFileAdjuster() 109 if (Arg.startswith("/showIncludes") || Arg.startswith("-showIncludes")) in getClangStripDependencyFileAdjuster() 162 llvm::StringRef(Args[I + 1]).startswith("-plugin-arg-") || in getStripPluginsAdjuster()
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | ScriptLexer.cpp | 123 if (s.startswith("\"")) { in tokenize() 138 if (s.startswith("<<=") || s.startswith(">>=")) { in tokenize() 170 if (s.startswith("/*")) { in skipSpace() 179 if (s.startswith("#")) { in skipSpace() 202 if (s.startswith("\"")) in tokenizeExpr() 222 if (s.substr(e).startswith("!=") || s.substr(e).startswith("==") || in tokenizeExpr() 223 s.substr(e).startswith(">=") || s.substr(e).startswith("<=") || in tokenizeExpr() 224 s.substr(e).startswith("<<") || s.substr(e).startswith(">>")) { in tokenizeExpr()
|
| /llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/ |
| H A D | lldbplatformutil.py | 69 if device_id.startswith('[') and device_id.endswith(']'): 107 if sys.platform.startswith('linux'): 109 elif sys.platform.startswith('win32') or sys.platform.startswith('cygwin'): 111 elif sys.platform.startswith('darwin'): 113 elif sys.platform.startswith('freebsd'): 115 elif sys.platform.startswith('netbsd'): 143 if platform.startswith("remote-"):
|
| H A D | gdbclientutils.py | 105 if packet.startswith("vCont;c"): 149 assert tid.startswith("p") 160 if packet.startswith("vAttach;"): 165 if packet.startswith("qThreadStopInfo"): 186 if packet.startswith("qfProcessInfo"): 188 if packet.startswith("qPathComplete:"): 190 if packet.startswith("vFile:"): 192 if packet.startswith("vRun;"): 194 if packet.startswith("qLaunchSuccess"): 196 if packet.startswith("QEnvironment:"): [all …]
|
| /llvm-project-15.0.7/llvm/utils/TableGen/GlobalISel/ |
| H A D | CodeExpander.cpp | 34 if (Current.startswith("\n")) { in emit() 40 if (Current.startswith("\\$") || Current.startswith("\\\\")) { in emit() 46 if (Current.startswith("\\")) { in emit() 51 if (Current.startswith("${")) { in emit()
|
| /llvm-project-15.0.7/clang/utils/perf-training/ |
| H A D | perf-helper.py | 64 first_cmd = next(arg for arg in args if not arg.startswith("--")) 121 ln.startswith('Configured with:') or 122 ln.startswith('Target:') or 123 ln.startswith('Thread model:') or 124 ln.startswith('InstalledDir:') or 125 ln.startswith('LLVM Profile Note') or 126 ln.startswith(' (in-process)') or 175 if not s.startswith(symbol): 189 if not ln.startswith("dtrace-"): 193 if ln.startswith("dtrace-TS: "): [all …]
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldChecker.cpp | 125 if (Expr.startswith("<<") || Expr.startswith(">>")) in getTokenForError() 160 if (Expr.startswith("<<")) in parseBinOpToken() 162 if (Expr.startswith(">>")) in parseBinOpToken() 225 if (!Expr.startswith("(")) in evalDecodeOperand() 256 if (!RemainingExpr.startswith(",")) in evalDecodeOperand() 313 if (!Expr.startswith("(")) in evalNextPC() 351 if (!Expr.startswith("(")) in evalStubOrGOTAddr() 388 if (!Expr.startswith("(")) in evalSectionAddr() 450 if (Symbol.startswith("L")) in evalIdentifierExpr() 471 if (Expr.startswith("0x")) { in parseNumberString() [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-cxxdump/ |
| H A D | llvm-cxxdump.cpp | 220 if (SymName.startswith("??_7")) { in dumpCXXData() 228 else if (SymName.startswith("??_8")) { in dumpCXXData() 235 else if (SymName.startswith("??_R4")) { in dumpCXXData() 244 else if (SymName.startswith("??_R3")) { in dumpCXXData() 282 else if (SymName.startswith("_TI") || SymName.startswith("__TI")) { in dumpCXXData() 290 else if (SymName.startswith("_CTA") || SymName.startswith("__CTA")) { in dumpCXXData() 299 else if (SymName.startswith("_CT") || SymName.startswith("__CT")) { in dumpCXXData() 313 else if (SymName.startswith("_ZTT") || SymName.startswith("__ZTT")) { in dumpCXXData() 318 else if (SymName.startswith("_ZTS") || SymName.startswith("__ZTS")) { in dumpCXXData() 322 else if (SymName.startswith("_ZTV") || SymName.startswith("__ZTV")) { in dumpCXXData() [all …]
|
| /llvm-project-15.0.7/third-party/benchmark/tools/gbench/ |
| H A D | util.py | 15 _num_magic_bytes = 2 if sys.platform.startswith('win') else 4 37 elif sys.platform.startswith('win'): 97 assert prefix.startswith('--') and prefix.endswith('=') 100 if f.startswith(prefix): 110 assert prefix.startswith('--') and prefix.endswith('=') 111 return [f for f in benchmark_flags if not f.startswith(prefix)]
|
| /llvm-project-15.0.7/clang/utils/ |
| H A D | CmpDriver | 82 return (filename.startswith('/tmp/', 1) or 83 filename.startswith('/var/', 1)) 101 ln.startswith('Target: ') or 102 ln.startswith('Configured with: ') or 103 ln.startswith('Thread model: ') or 104 ln.startswith('gcc version') or 105 ln.startswith('clang version')): 107 elif ln.strip().startswith('"'):
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | CocoaConventions.cpp | 29 if (TDName.startswith(Prefix) && TDName.endswith("Ref")) in isRefType() 32 if (TDName.startswith("xpc_")) in isRefType() 46 return Name.startswith(Prefix); in isRefType() 130 if (suffix.startswith("reate")) { in followsCreateRule() 133 else if (suffix.startswith("opy")) { in followsCreateRule()
|
| /llvm-project-15.0.7/compiler-rt/lib/fuzzer/scripts/ |
| H A D | unbalanced_allocs.py | 32 while line and line.startswith(' #'): 38 if not line.startswith('FREE['): 50 if not line.startswith('MALLOC['): 61 if not line.startswith('MallocFreeTracer: START'): 68 if line.startswith('MallocFreeTracer: STOP'):
|
| /llvm-project-15.0.7/polly/test/ |
| H A D | update_check.py | 76 elif line.startswith("remark: "): 123 elif line.startswith(' Alias Groups ('): 127 if not line.startswith(' '): 139 while line.startswith(' '): 146 while line.startswith(' '): 153 while line.startswith(' '): 160 while line.startswith(' '): 167 while line.startswith(' '): 171 elif line.startswith("New access function '"): 195 while line.startswith(' '): [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/portability/ |
| H A D | SIMDIntrinsicsCheck.cpp | 64 if (Name.startswith("max_")) in trySuggestX86() 66 if (Name.startswith("min_")) in trySuggestX86() 70 if (Name.startswith("add_")) in trySuggestX86() 72 if (Name.startswith("sub_")) in trySuggestX86() 74 if (Name.startswith("mul_")) in trySuggestX86()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | ARMTargetParser.cpp | 249 if (Arch.startswith("armeb") || Arch.startswith("thumbeb") || in parseArchEndian() 250 Arch.startswith("aarch64_be")) in parseArchEndian() 253 if (Arch.startswith("arm") || Arch.startswith("thumb")) { in parseArchEndian() 260 if (Arch.startswith("aarch64") || Arch.startswith("aarch64_32")) in parseArchEndian() 301 if (A.startswith("arm64_32")) in getCanonicalArchName() 303 else if (A.startswith("arm64e")) in getCanonicalArchName() 305 else if (A.startswith("arm64")) in getCanonicalArchName() 309 else if (A.startswith("arm")) in getCanonicalArchName() 311 else if (A.startswith("thumb")) in getCanonicalArchName() 313 else if (A.startswith("aarch64")) { in getCanonicalArchName() [all …]
|
| /llvm-project-15.0.7/clang/docs/tools/ |
| H A D | dump_format_style.py | 87 if not indent_first_line or s.startswith('\n'): 248 if line.startswith('///'): 255 if line.startswith(r'/// \version'): 259 elif line.startswith('///'): 261 elif line.startswith('enum'): 265 elif line.startswith('struct'): 271 if line.startswith(prefix): 285 if line.startswith('///'): 292 if line.startswith('///'): 306 if line.startswith('///'): [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/dcl.decl/dcl.fct.def/dcl.fct.def.general/ |
| H A D | p8.cpp | 8 constexpr bool startswith(const char *p, const char *q) { in startswith() function 9 return !*q || (*p == *q && startswith(p + 1, q + 1)); in startswith() 12 return *p && (startswith(p, q) || contains(p + 1, q)); in contains()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvm/ |
| H A D | IncludeOrderCheck.cpp | 66 if (Filename.startswith("llvm/") || Filename.startswith("llvm-c/") || in getPriority() 67 Filename.startswith("clang/") || Filename.startswith("clang-c/")) in getPriority() 72 if (Filename.startswith("gtest/") || Filename.startswith("gmock/")) in getPriority()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Refactoring/ |
| H A D | Lookup.cpp | 101 if (NewName.startswith(NS)) in getBestNamespaceSubstr() 131 assert(QName.startswith("::")); in disambiguateSpellingInScope() 133 if (Spelling.startswith("::")) in disambiguateSpellingInScope() 149 if (CurSpelling.startswith("::")) in disambiguateSpellingInScope() 163 if (!TrimmedQName.startswith(Res->getQualifiedNameAsString()) && in disambiguateSpellingInScope() 190 assert(ReplacementString.startswith("::") && in replaceNestedName()
|