/external/llvm-project/llvm/test/Transforms/InstCombine/ |
D | bcmp-1.ll | 2 ; Test that the bcmp library call simplifier works correctly. 12 declare i32 @bcmp(i8*, i8*, i32) 14 ; Check bcmp(mem, mem, size) -> 0. 20 %ret = call i32 @bcmp(i8* %mem, i8* %mem, i32 %size) 24 ; Check bcmp(mem1, mem2, 0) -> 0. 30 %ret = call i32 @bcmp(i8* %mem1, i8* %mem2, i32 0) 34 ;; Check bcmp(mem1, mem2, 1) -> *(unsigned char*)mem1 - *(unsigned char*)mem2. 45 %ret = call i32 @bcmp(i8* %mem1, i8* %mem2, i32 1) 49 ; Check bcmp(mem1, mem2, size) -> cnst, where all arguments are constants. 57 %ret = call i32 @bcmp(i8* %mem1, i8* %mem2, i32 3) [all …]
|
D | 2003-07-21-ExternalConstant.ll | 23 declare i32 @bcmp(i8*, i8*, i32)
|
/external/llvm-project/llvm/test/CodeGen/AArch64/ |
D | bcmp-inline-small.ll | 4 declare i32 @bcmp(i8*, i8*, i64) nounwind readonly 9 %bcmp = call i32 @bcmp(i8* %s1, i8* %s2, i64 15) 10 %ret = icmp eq i32 %bcmp, 0 14 ; CHECKN-NOT: bl bcmp 19 ; CHECKS: bl bcmp 24 %bcmp = call i32 @bcmp(i8* %s1, i8* %s2, i64 15) 25 %ret = icmp eq i32 %bcmp, 0 29 ; CHECKN-NOT: bl bcmp 35 ; CHECKS: bl bcmp
|
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/ |
D | clang-analyzer-security.insecureAPI.bcmp.rst | 1 .. title:: clang-tidy - clang-analyzer-security.insecureAPI.bcmp 3 …p-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#security-insecureapi-bcmp 5 clang-analyzer-security.insecureAPI.bcmp 8 The clang-analyzer-security.insecureAPI.bcmp check is an alias, please see 9 …Available Checkers <https://clang.llvm.org/docs/analyzer/checkers.html#security-insecureapi-bcmp>`_
|
/external/llvm-project/llvm/test/Transforms/PGOProfile/ |
D | memop_size_annotation.ll | 2 …notations=9 -pgo-test-profile-file=%t.profdata -pgo-memop-optimize-memcmp-bcmp -S | FileCheck %s -… 3 …notations=9 -pgo-test-profile-file=%t.profdata -pgo-memop-optimize-memcmp-bcmp -S | FileCheck %s -… 4 ; RUN: opt < %s -pgo-instr-use -pgo-test-profile-file=%t.profdata -pgo-memop-optimize-memcmp-bcmp -… 5 …o-instr-use -pgo-test-profile-file=%t.profdata -pgo-memop-optimize-memcmp-bcmp -S | FileCheck %s -… 39 %bcmp = call i32 @bcmp(i8* %dst, i8* %src, i64 %conv) 40 ; MEMOP_ANNOTATION: call i32 @bcmp(i8* %dst, i8* %src, i64 %conv) 66 declare i32 @bcmp(i8*, i8*, i64)
|
D | memop_size_opt.ll | 1 …t-threshold=90 -pgo-memop-percent-threshold=15 -pgo-memop-optimize-memcmp-bcmp -S | FileCheck %s -… 2 …-threshold=90 -pgo-memop-percent-threshold=15 --pgo-memop-optimize-memcmp-bcmp -S | FileCheck %s -… 3 …t-threshold=90 -pgo-memop-percent-threshold=15 -pgo-memop-optimize-memcmp-bcmp -pass-remarks-with-… 5 …t-threshold=90 -pgo-memop-percent-threshold=15 -pgo-memop-optimize-memcmp-bcmp -pass-remarks-with-… 102 %bcmp = call i32 @bcmp(i8* %dst2, i8* %src2, i64 %conv), !prof !31 103 call void @consume(i32 %memcmp, i32 %bcmp) 121 ; MEMOP_OPT: %[[RV2:.*]] = call i32 @bcmp(i8* %dst2, i8* %src2, i64 1) 124 ; MEMOP_OPT: %[[RVD2:.*]] = call i32 @bcmp(i8* %dst2, i8* %src2, i64 %conv), !prof [[NEWVP]] 193 declare i32 @bcmp(i8*, i8*, i64) 252 ; YAML-NEXT: - Memop: bcmp
|
/external/llvm-project/llvm/test/Analysis/BasicAA/ |
D | libfuncs.ll | 46 declare i32 @bcmp(i8*, i8*, i64) 49 ; CHECK: Just Ref: Ptr: i8* %a <-> %res = tail call i32 @bcmp(i8* %a, i8* %b, i64 4) 50 ; CHECK-NEXT: Just Ref: Ptr: i8* %b <-> %res = tail call i32 @bcmp(i8* %a, i8* %b, i64 4) 51 ; CHECK-NEXT: Just Ref: Ptr: i8* %a.gep.1 <-> %res = tail call i32 @bcmp(i8* %a, i8* %b, i64 4) 52 ; CHECK-NEXT: NoModRef: Ptr: i8* %a.gep.5 <-> %res = tail call i32 @bcmp(i8* %a, i8* %b, i64 4) 53 ; CHECK-NEXT: Just Ref: Ptr: i8* %b.gep.1 <-> %res = tail call i32 @bcmp(i8* %a, i8* %b, i64 4) 54 ; CHECK-NEXT: NoModRef: Ptr: i8* %b.gep.5 <-> %res = tail call i32 @bcmp(i8* %a, i8* %b, i64 4) 57 %res = tail call i32 @bcmp(i8* %a, i8* %b, i64 4) 70 ; CHECK: Just Ref: Ptr: i8* %a <-> %res = tail call i32 @bcmp(i8* %a, i8* %b, i64 %n) 71 ; CHECK-NEXT: Just Ref: Ptr: i8* %b <-> %res = tail call i32 @bcmp(i8* %a, i8* %b, i64 %n) [all …]
|
/external/llvm-project/llvm/test/CodeGen/SystemZ/ |
D | bcmp.ll | 4 declare signext i32 @bcmp(i8* nocapture, i8* nocapture, i64) 14 %c = tail call signext i32 @bcmp(i8* %A, i8* %B, i64 2) 27 %res = tail call signext i32 @bcmp(i8* %A, i8* %B, i64 2)
|
/external/llvm-project/compiler-rt/lib/fuzzer/ |
D | FuzzerInterceptors.cpp | 140 DEFINE_REAL(int, bcmp, const void *, const void *, size_t) in DEFINE_REAL() argument 150 ATTRIBUTE_INTERFACE int bcmp(const char *s1, const char *s2, size_t n) { in DEFINE_REAL() 153 int result = REAL(bcmp)(s1, s2, n); in DEFINE_REAL() 230 REAL(bcmp) = reinterpret_cast<memcmp_type>( in fuzzerInit() 231 getFuncAddr("bcmp", reinterpret_cast<uintptr_t>(&bcmp))); in fuzzerInit()
|
/external/rust/crates/libfuzzer-sys/libfuzzer/ |
D | FuzzerInterceptors.cpp | 140 DEFINE_REAL(int, bcmp, const void *, const void *, size_t) in DEFINE_REAL() argument 150 ATTRIBUTE_INTERFACE int bcmp(const char *s1, const char *s2, size_t n) { in DEFINE_REAL() 153 int result = REAL(bcmp)(s1, s2, n); in DEFINE_REAL() 230 REAL(bcmp) = reinterpret_cast<memcmp_type>( in fuzzerInit() 231 getFuncAddr("bcmp", reinterpret_cast<uintptr_t>(&bcmp))); in fuzzerInit()
|
/external/llvm-project/clang/test/SemaCXX/ |
D | warn-bad-memaccess.cpp | 7 extern "C" int bcmp(void *s1, const void *s2, unsigned n); 63 bcmp(&x1, 0, sizeof x1); // \ in test_warn() 66 bcmp(0, &x1, sizeof x1); // \ in test_warn()
|
/external/clang/test/Analysis/ |
D | bstring.c | 363 #define bcmp BUILTIN(bcmp) macro 365 int bcmp(/*const*/ void *s1, /*const*/ void *s2, size_t n); 366 #define memcmp bcmp
|
/external/llvm-project/clang/test/Analysis/ |
D | bstring.c | 401 #define bcmp BUILTIN(bcmp) macro 402 int bcmp(const void *s1, const void *s2, size_t n); 403 #define memcmp bcmp
|
/external/llvm-project/polly/test/ScopInfo/ |
D | user_provided_assumptions-in-bb-signed-conditional.ll | 36 %bcmp = icmp ne i64 %b, 0 37 br i1 %bcmp, label %for.body, label %for.inc
|
/external/llvm-project/compiler-rt/test/asan/TestCases/Posix/ |
D | bcmp_test.cpp | 13 int res = bcmp(a1, a2, 4 + argc); // BOOM in main()
|
/external/libpcap/lbl/ |
D | os-ultrix4.h | 23 int bcmp(const char *, const char *, u_int);
|
/external/tcpdump/lbl/ |
D | os-ultrix4.h | 23 int bcmp(const char *, const char *, u_int);
|
/external/llvm-project/compiler-rt/test/fuzzer/ |
D | bcmp.test | 2 RUN: %cpp_compiler -DMEMCMP=bcmp %S/MemcmpTest.cpp -o %t
|
D | noasan-bcmp.test | 2 RUN: %cpp_compiler -fno-sanitize=address -DMEMCMP=bcmp %S/MemcmpTest.cpp -o %t
|
/external/llvm-project/llvm/test/CodeGen/AMDGPU/ |
D | sitofp.f16.ll | 109 %bcmp = fcmp oge float %b, 1.000000e+00 110 %result = xor i1 %acmp, %bcmp
|
D | uitofp.f16.ll | 108 %bcmp = fcmp oge float %b, 1.000000e+00 109 %result = xor i1 %acmp, %bcmp
|
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
D | weak_hook_test.cpp | 67 int_sink = bcmp(s1, s2, sizeof(s2)); in main()
|
/external/llvm/test/Transforms/InstCombine/ |
D | 2003-07-21-ExternalConstant.ll | 23 declare i32 @bcmp(i8*, i8*, i32)
|
/external/llvm-project/llvm/test/Analysis/BranchProbabilityInfo/ |
D | libfunc_call.ll | 10 declare i32 @bcmp(i8*, i8*) 293 %val = call i32 @bcmp(i8* %p, i8* %q) 315 %val = call i32 @bcmp(i8* %p, i8* %q) 339 %val = call i32 @bcmp(i8* %p, i8* %q)
|
/external/llvm/test/CodeGen/ARM/ |
D | bfi.ll | 145 %bcmp = icmp ne i32 %band, 0 146 %bsel = select i1 %bcmp, i32 %bor, i32 %asel
|