HomeSort by relevance Sort by last modified time
    Searched refs:MemCmp (Results 1 - 2 of 2) sorted by null

  /external/llvm/lib/Transforms/Utils/
BuildLibCalls.cpp 258 /// EmitMemCmp - Emit a call to the memcmp function.
262 if (!TLI->has(LibFunc::memcmp))
274 Value *MemCmp = M->getOrInsertFunction("memcmp",
280 CallInst *CI = B.CreateCall3(MemCmp, CastToCStr(Ptr1, B), CastToCStr(Ptr2, B),
281 Len, "memcmp");
283 if (const Function *F = dyn_cast<Function>(MemCmp->stripPointerCasts()))
SimplifyLibCalls.cpp 555 // strcmp(P, "x") -> memcmp(P, "x", 2)
596 if (TD && Length == 1) // strncmp(x,y,1) -> memcmp(x,y,1)
    [all...]

Completed in 133 milliseconds