OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:StrChr
(Results
1 - 6
of
6
) sorted by null
/external/llvm/lib/Transforms/Utils/
BuildLibCalls.cpp
52
/// EmitStrChr - Emit a call to the
strchr
function to the builder, for the
63
Constant *
StrChr
= M->getOrInsertFunction("
strchr
", AttrListPtr::get(&AWI, 1),
65
CallInst *CI = B.CreateCall2(
StrChr
, CastToCStr(Ptr, B),
66
ConstantInt::get(I32Ty, C), "
strchr
");
67
if (const Function *F = dyn_cast<Function>(
StrChr
->stripPointerCasts()))
/external/v8/src/
platform-posix.cc
237
char* OS::
StrChr
(char* str, int c) {
238
return
strchr
(str, c);
platform.h
270
static char*
StrChr
(char* str, int c);
d8.cc
556
char* next = i::OS::
StrChr
(data, token);
platform-win32.cc
785
char* OS::
StrChr
(char* str, int c) {
786
return const_cast<char*>(
strchr
(str, c));
[
all
...]
/external/llvm/lib/Transforms/Scalar/
SimplifyLibCalls.cpp
230
// '
strchr
' Optimizations
234
// Verify the "
strchr
" function prototype.
266
//
strchr
can find the nul character.
271
if (I == std::string::npos) // Didn't find the char.
strchr
returns null.
274
//
strchr
(s+n,c) -> gep(s+n+i,c)
275
return B.CreateGEP(SrcStr, B.getInt64(I), "
strchr
");
301
// strrchr(s, 0) ->
strchr
(s, 0)
570
// strpbrk(s, "a") ->
strchr
(s, 'a')
716
// fold strstr(x, "y") ->
strchr
(x, 'y').
[
all
...]
Completed in 81 milliseconds