Home
last modified time | relevance | path

Searched refs:bcmp (Results 1 – 25 of 64) sorted by relevance

123

/external/llvm-project/llvm/test/Transforms/InstCombine/
Dbcmp-1.ll2 ; 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 …]
D2003-07-21-ExternalConstant.ll23 declare i32 @bcmp(i8*, i8*, i32)
/external/llvm-project/llvm/test/CodeGen/AArch64/
Dbcmp-inline-small.ll4 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/
Dclang-analyzer-security.insecureAPI.bcmp.rst1 .. 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/
Dmemop_size_annotation.ll2 …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)
Dmemop_size_opt.ll1 …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/
Dlibfuncs.ll46 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/
Dbcmp.ll4 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/
DFuzzerInterceptors.cpp140 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/
DFuzzerInterceptors.cpp140 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/
Dwarn-bad-memaccess.cpp7 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/
Dbstring.c363 #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/
Dbstring.c401 #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/
Duser_provided_assumptions-in-bb-signed-conditional.ll36 %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/
Dbcmp_test.cpp13 int res = bcmp(a1, a2, 4 + argc); // BOOM in main()
/external/libpcap/lbl/
Dos-ultrix4.h23 int bcmp(const char *, const char *, u_int);
/external/tcpdump/lbl/
Dos-ultrix4.h23 int bcmp(const char *, const char *, u_int);
/external/llvm-project/compiler-rt/test/fuzzer/
Dbcmp.test2 RUN: %cpp_compiler -DMEMCMP=bcmp %S/MemcmpTest.cpp -o %t
Dnoasan-bcmp.test2 RUN: %cpp_compiler -fno-sanitize=address -DMEMCMP=bcmp %S/MemcmpTest.cpp -o %t
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dsitofp.f16.ll109 %bcmp = fcmp oge float %b, 1.000000e+00
110 %result = xor i1 %acmp, %bcmp
Duitofp.f16.ll108 %bcmp = fcmp oge float %b, 1.000000e+00
109 %result = xor i1 %acmp, %bcmp
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/
Dweak_hook_test.cpp67 int_sink = bcmp(s1, s2, sizeof(s2)); in main()
/external/llvm/test/Transforms/InstCombine/
D2003-07-21-ExternalConstant.ll23 declare i32 @bcmp(i8*, i8*, i32)
/external/llvm-project/llvm/test/Analysis/BranchProbabilityInfo/
Dlibfunc_call.ll10 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/
Dbfi.ll145 %bcmp = icmp ne i32 %band, 0
146 %bsel = select i1 %bcmp, i32 %bor, i32 %asel

123