Searched refs:SrcStr (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 293 Value *SrcStr = CI->getArgOperand(0); in optimizeStrChr() local 299 uint64_t Len = GetStringLength(SrcStr); in optimizeStrChr() 303 return EmitMemChr(SrcStr, CI->getArgOperand(1), // include nul. in optimizeStrChr() 311 if (!getConstantStringInfo(SrcStr, Str)) { in optimizeStrChr() 313 return B.CreateGEP(B.getInt8Ty(), SrcStr, EmitStrLen(SrcStr, B, DL, TLI), "strchr"); in optimizeStrChr() 326 return B.CreateGEP(B.getInt8Ty(), SrcStr, B.getInt64(I), "strchr"); in optimizeStrChr() 338 Value *SrcStr = CI->getArgOperand(0); in optimizeStrRChr() local 346 if (!getConstantStringInfo(SrcStr, Str)) { in optimizeStrRChr() 349 return EmitStrChr(SrcStr, '\0', B, TLI); in optimizeStrRChr() 361 return B.CreateGEP(B.getInt8Ty(), SrcStr, B.getInt64(I), "strrchr"); in optimizeStrRChr() [all …]
|
/external/llvm/unittests/Linker/ |
D | LinkModulesTest.cpp | 264 const char *SrcStr = "define void @foo() !attach !0 {\n" in TEST_F() local 277 std::unique_ptr<Module> Src = parseAssemblyString(SrcStr, Err, C); in TEST_F()
|