Home
last modified time | relevance | path

Searched refs:MemChr (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBuildLibCalls.cpp166 Value *MemChr = M->getOrInsertFunction("memchr", AttrListPtr::get(&AWI, 1), in EmitMemChr() local
172 CallInst *CI = B.CreateCall3(MemChr, CastToCStr(Ptr, B), Val, Len, "memchr"); in EmitMemChr()
174 if (const Function *F = dyn_cast<Function>(MemChr->stripPointerCasts())) in EmitMemChr()
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp835 Value *MemChr = M->getOrInsertFunction("memchr", B.getInt8PtrTy(), in emitMemChr() local
839 CallInst *CI = B.CreateCall(MemChr, {castToCStr(Ptr, B), Val, Len}, "memchr"); in emitMemChr()
841 if (const Function *F = dyn_cast<Function>(MemChr->stripPointerCasts())) in emitMemChr()