Home
last modified time | relevance | path

Searched refs:HasStr1 (Results 1 – 22 of 22) sorted by relevance

/dports/security/afl++/AFLplusplus-3.14c/instrumentation/
H A Dcompare-transform-pass.so.cc207 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in transformCmps() local
219 if (!(HasStr1 || HasStr2)) { in transformCmps()
256 HasStr1 = true; in transformCmps()
280 if (!(HasStr1 || HasStr2)) { in transformCmps()
287 HasStr1 = true; in transformCmps()
306 if (!(HasStr1 || HasStr2)) continue; in transformCmps()
353 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in transformCmps() local
373 if (!(HasStr1 || HasStr2)) { in transformCmps()
380 HasStr1 = true; in transformCmps()
402 if (HasStr1) { in transformCmps()
[all …]
H A Dafl-llvm-dict2file.so.cc359 bool HasStr1; in runOnModule() local
364 HasStr1 = false; in runOnModule()
368 HasStr1 = true; in runOnModule()
390 HasStr1 == true ? "true" : "false", (void *)Str2P, in runOnModule()
478 if (!HasStr1) { in runOnModule()
491 HasStr1 = true; in runOnModule()
506 if (!HasStr1) { in runOnModule()
512 HasStr1 = true; in runOnModule()
522 if (!(HasStr1 ^ HasStr2)) continue; in runOnModule()
526 if (HasStr1) in runOnModule()
H A Dafl-llvm-lto-instrumentation.so.cc478 bool HasStr1;
482 HasStr1 = false;
486 HasStr1 = true;
507 Str1.c_str(), HasStr1 == true ? "true" : "false", Str2P,
593 if (!HasStr1) {
606 HasStr1 = true;
621 if (!HasStr1) {
627 HasStr1 = true;
637 if (!(HasStr1 ^ HasStr2)) continue;
641 if (HasStr1)
H A DSanitizerCoverageLTO.so.cc708 bool HasStr1 = getConstantStringInfo(Str1P, TmpStr);
710 HasStr1 = false;
722 Str1.c_str(), HasStr1 == true ? "true" : "false", Str2P,
808 if (!HasStr1) {
821 HasStr1 = true;
836 if (!HasStr1) {
842 HasStr1 = true;
852 if (!(HasStr1 ^ HasStr2)) continue;
856 if (HasStr1)
/dports/security/clamav-lts/clamav-0.103.5/libclamav/c++/llvm/lib/Transforms/Scalar/
H A DSimplifyLibCalls.cpp292 bool HasStr1 = GetConstantStringInfo(Str1P, Str1); in CallOptimizer() local
295 if (HasStr1 && Str1.empty()) // strcmp("", x) -> *x in CallOptimizer()
302 if (HasStr1 && HasStr2) in CallOptimizer()
354 bool HasStr1 = GetConstantStringInfo(Str1P, Str1); in CallOptimizer() local
357 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> *x in CallOptimizer()
364 if (HasStr1 && HasStr2) in CallOptimizer()
547 bool HasStr1 = GetConstantStringInfo(CI->getArgOperand(0), SearchStr); in CallOptimizer() local
555 if (HasStr1 && HasStr2) { in CallOptimizer()
/dports/devel/llvm80/llvm-8.0.1.src/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp329 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp() local
333 if (HasStr1 && HasStr2) in optimizeStrCmp()
336 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x in optimizeStrCmp()
354 if (!HasStr1 && HasStr2) { in optimizeStrCmp()
360 } else if (HasStr1 && !HasStr2) { in optimizeStrCmp()
390 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp() local
394 if (HasStr1 && HasStr2) { in optimizeStrNCmp()
400 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x in optimizeStrNCmp()
411 if (!HasStr1 && HasStr2) { in optimizeStrNCmp()
418 } else if (HasStr1 && !HasStr2) { in optimizeStrNCmp()
[all …]
/dports/devel/llvm90/llvm-9.0.1.src/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp337 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp() local
341 if (HasStr1 && HasStr2) in optimizeStrCmp()
344 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x in optimizeStrCmp()
363 if (!HasStr1 && HasStr2) { in optimizeStrCmp()
369 } else if (HasStr1 && !HasStr2) { in optimizeStrCmp()
399 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp() local
403 if (HasStr1 && HasStr2) { in optimizeStrNCmp()
409 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x in optimizeStrNCmp()
421 if (!HasStr1 && HasStr2) { in optimizeStrNCmp()
428 } else if (HasStr1 && !HasStr2) { in optimizeStrNCmp()
[all …]
/dports/devel/llvm11/llvm-11.0.1.src/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp396 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp() local
400 if (HasStr1 && HasStr2) in optimizeStrCmp()
403 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x in optimizeStrCmp()
427 if (!HasStr1 && HasStr2) { in optimizeStrCmp()
433 } else if (HasStr1 && !HasStr2) { in optimizeStrCmp()
468 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp() local
472 if (HasStr1 && HasStr2) { in optimizeStrNCmp()
478 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x in optimizeStrNCmp()
494 if (!HasStr1 && HasStr2) { in optimizeStrNCmp()
501 } else if (HasStr1 && !HasStr2) { in optimizeStrNCmp()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp402 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp() local
406 if (HasStr1 && HasStr2) in optimizeStrCmp()
409 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x in optimizeStrCmp()
436 if (!HasStr1 && HasStr2) { in optimizeStrCmp()
445 } else if (HasStr1 && !HasStr2) { in optimizeStrCmp()
483 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp() local
487 if (HasStr1 && HasStr2) { in optimizeStrNCmp()
493 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x in optimizeStrNCmp()
509 if (!HasStr1 && HasStr2) { in optimizeStrNCmp()
519 } else if (HasStr1 && !HasStr2) { in optimizeStrNCmp()
[all …]
/dports/devel/llvm10/llvm-10.0.1.src/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp419 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp() local
423 if (HasStr1 && HasStr2) in optimizeStrCmp()
426 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x in optimizeStrCmp()
450 if (!HasStr1 && HasStr2) { in optimizeStrCmp()
456 } else if (HasStr1 && !HasStr2) { in optimizeStrCmp()
491 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp() local
495 if (HasStr1 && HasStr2) { in optimizeStrNCmp()
501 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x in optimizeStrNCmp()
517 if (!HasStr1 && HasStr2) { in optimizeStrNCmp()
524 } else if (HasStr1 && !HasStr2) { in optimizeStrNCmp()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp366 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp() local
370 if (HasStr1 && HasStr2) in optimizeStrCmp()
373 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x in optimizeStrCmp()
397 if (!HasStr1 && HasStr2) { in optimizeStrCmp()
403 } else if (HasStr1 && !HasStr2) { in optimizeStrCmp()
438 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp() local
442 if (HasStr1 && HasStr2) { in optimizeStrNCmp()
448 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x in optimizeStrNCmp()
464 if (!HasStr1 && HasStr2) { in optimizeStrNCmp()
471 } else if (HasStr1 && !HasStr2) { in optimizeStrNCmp()
[all …]
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp366 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp() local
370 if (HasStr1 && HasStr2) in optimizeStrCmp()
373 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x in optimizeStrCmp()
397 if (!HasStr1 && HasStr2) { in optimizeStrCmp()
403 } else if (HasStr1 && !HasStr2) { in optimizeStrCmp()
438 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp() local
442 if (HasStr1 && HasStr2) { in optimizeStrNCmp()
448 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x in optimizeStrNCmp()
464 if (!HasStr1 && HasStr2) { in optimizeStrNCmp()
471 } else if (HasStr1 && !HasStr2) { in optimizeStrNCmp()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp395 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp() local
399 if (HasStr1 && HasStr2) in optimizeStrCmp()
402 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x in optimizeStrCmp()
426 if (!HasStr1 && HasStr2) { in optimizeStrCmp()
432 } else if (HasStr1 && !HasStr2) { in optimizeStrCmp()
467 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp() local
471 if (HasStr1 && HasStr2) { in optimizeStrNCmp()
477 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x in optimizeStrNCmp()
493 if (!HasStr1 && HasStr2) { in optimizeStrNCmp()
500 } else if (HasStr1 && !HasStr2) { in optimizeStrNCmp()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp419 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp() local
423 if (HasStr1 && HasStr2) in optimizeStrCmp()
426 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x in optimizeStrCmp()
450 if (!HasStr1 && HasStr2) { in optimizeStrCmp()
456 } else if (HasStr1 && !HasStr2) { in optimizeStrCmp()
491 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp() local
495 if (HasStr1 && HasStr2) { in optimizeStrNCmp()
501 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x in optimizeStrNCmp()
517 if (!HasStr1 && HasStr2) { in optimizeStrNCmp()
524 } else if (HasStr1 && !HasStr2) { in optimizeStrNCmp()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp366 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp() local
370 if (HasStr1 && HasStr2) in optimizeStrCmp()
373 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x in optimizeStrCmp()
397 if (!HasStr1 && HasStr2) { in optimizeStrCmp()
403 } else if (HasStr1 && !HasStr2) { in optimizeStrCmp()
438 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp() local
442 if (HasStr1 && HasStr2) { in optimizeStrNCmp()
448 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x in optimizeStrNCmp()
464 if (!HasStr1 && HasStr2) { in optimizeStrNCmp()
471 } else if (HasStr1 && !HasStr2) { in optimizeStrNCmp()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp364 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp() local
368 if (HasStr1 && HasStr2) in optimizeStrCmp()
371 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x in optimizeStrCmp()
395 if (!HasStr1 && HasStr2) { in optimizeStrCmp()
401 } else if (HasStr1 && !HasStr2) { in optimizeStrCmp()
436 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp() local
440 if (HasStr1 && HasStr2) { in optimizeStrNCmp()
446 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x in optimizeStrNCmp()
462 if (!HasStr1 && HasStr2) { in optimizeStrNCmp()
469 } else if (HasStr1 && !HasStr2) { in optimizeStrNCmp()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp366 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp() local
370 if (HasStr1 && HasStr2) in optimizeStrCmp()
373 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x in optimizeStrCmp()
397 if (!HasStr1 && HasStr2) { in optimizeStrCmp()
403 } else if (HasStr1 && !HasStr2) { in optimizeStrCmp()
438 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp() local
442 if (HasStr1 && HasStr2) { in optimizeStrNCmp()
448 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x in optimizeStrNCmp()
464 if (!HasStr1 && HasStr2) { in optimizeStrNCmp()
471 } else if (HasStr1 && !HasStr2) { in optimizeStrNCmp()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp419 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp() local
423 if (HasStr1 && HasStr2) in optimizeStrCmp()
426 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x in optimizeStrCmp()
450 if (!HasStr1 && HasStr2) { in optimizeStrCmp()
456 } else if (HasStr1 && !HasStr2) { in optimizeStrCmp()
491 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp() local
495 if (HasStr1 && HasStr2) { in optimizeStrNCmp()
501 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x in optimizeStrNCmp()
517 if (!HasStr1 && HasStr2) { in optimizeStrNCmp()
524 } else if (HasStr1 && !HasStr2) { in optimizeStrNCmp()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp395 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp() local
399 if (HasStr1 && HasStr2) in optimizeStrCmp()
402 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x in optimizeStrCmp()
426 if (!HasStr1 && HasStr2) { in optimizeStrCmp()
432 } else if (HasStr1 && !HasStr2) { in optimizeStrCmp()
467 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp() local
471 if (HasStr1 && HasStr2) { in optimizeStrNCmp()
477 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x in optimizeStrNCmp()
493 if (!HasStr1 && HasStr2) { in optimizeStrNCmp()
500 } else if (HasStr1 && !HasStr2) { in optimizeStrNCmp()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp395 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp() local
399 if (HasStr1 && HasStr2) in optimizeStrCmp()
402 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x in optimizeStrCmp()
426 if (!HasStr1 && HasStr2) { in optimizeStrCmp()
432 } else if (HasStr1 && !HasStr2) { in optimizeStrCmp()
467 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp() local
471 if (HasStr1 && HasStr2) { in optimizeStrNCmp()
477 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x in optimizeStrNCmp()
493 if (!HasStr1 && HasStr2) { in optimizeStrNCmp()
500 } else if (HasStr1 && !HasStr2) { in optimizeStrNCmp()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp366 bool HasStr1 = getConstantStringInfo(Str1P, Str1);
370 if (HasStr1 && HasStr2)
373 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x
397 if (!HasStr1 && HasStr2) {
403 } else if (HasStr1 && !HasStr2) {
438 bool HasStr1 = getConstantStringInfo(Str1P, Str1);
442 if (HasStr1 && HasStr2) {
448 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x
464 if (!HasStr1 && HasStr2) {
471 } else if (HasStr1 && !HasStr2) {
[all …]
/dports/devel/llvm70/llvm-7.0.1.src/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp301 bool HasStr1 = getConstantStringInfo(Str1P, Str1);
305 if (HasStr1 && HasStr2)
308 if (HasStr1 && Str1.empty()) // strcmp("", x) -> -*x
347 bool HasStr1 = getConstantStringInfo(Str1P, Str1);
351 if (HasStr1 && HasStr2) {
357 if (HasStr1 && Str1.empty()) // strncmp("", x, n) -> -*x
659 bool HasStr1 = getConstantStringInfo(CI->getArgOperand(0), SearchStr);
667 if (HasStr1 && HasStr2) {