OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MemCmp
(Results
1 - 2
of
2
) sorted by null
/external/llvm/lib/Transforms/Utils/
BuildLibCalls.cpp
180
/// EmitMemCmp - Emit a call to the
memcmp
function.
191
Value *
MemCmp
= M->getOrInsertFunction("
memcmp
", AttrListPtr::get(AWI, 3),
196
CallInst *CI = B.CreateCall3(
MemCmp
, CastToCStr(Ptr1, B), CastToCStr(Ptr2, B),
197
Len, "
memcmp
");
199
if (const Function *F = dyn_cast<Function>(
MemCmp
->stripPointerCasts()))
/external/llvm/lib/Transforms/Scalar/
SimplifyLibCalls.cpp
352
// strcmp(P, "x") ->
memcmp
(P, "x", 2)
396
if (TD && Length == 1) // strncmp(x,y,1) ->
memcmp
(x,y,1)
721
// '
memcmp
' Optimizations
733
if (LHS == RHS) //
memcmp
(s,s,x) -> 0
741
if (Len == 0) //
memcmp
(s1,s2,0) -> 0
744
//
memcmp
(S1,S2,1) -> *(unsigned char*)LHS - *(unsigned char*)RHS
753
// Constant folding:
memcmp
(x, y, l) -> cnst (all arguments are constant)
760
uint64_t Ret =
memcmp
(LHSStr.data(), RHSStr.data(), Len);
[
all
...]
Completed in 5649 milliseconds