Searched refs:SrcStr (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 185 Value *SrcStr = CI->getArgOperand(0); in optimizeStrChr() local 191 uint64_t Len = GetStringLength(SrcStr); in optimizeStrChr() 195 return emitMemChr(SrcStr, CI->getArgOperand(1), // include nul. in optimizeStrChr() 203 if (!getConstantStringInfo(SrcStr, Str)) { in optimizeStrChr() 205 return B.CreateGEP(B.getInt8Ty(), SrcStr, emitStrLen(SrcStr, B, DL, TLI), in optimizeStrChr() 219 return B.CreateGEP(B.getInt8Ty(), SrcStr, B.getInt64(I), "strchr"); in optimizeStrChr() 223 Value *SrcStr = CI->getArgOperand(0); in optimizeStrRChr() local 231 if (!getConstantStringInfo(SrcStr, Str)) { in optimizeStrRChr() 234 return emitStrChr(SrcStr, '\0', B, TLI); in optimizeStrRChr() 246 return B.CreateGEP(B.getInt8Ty(), SrcStr, B.getInt64(I), "strrchr"); in optimizeStrRChr() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 231 Value *SrcStr = CI->getArgOperand(0); in optimizeStrChr() local 237 uint64_t Len = GetStringLength(SrcStr); in optimizeStrChr() 241 return emitMemChr(SrcStr, CI->getArgOperand(1), // include nul. in optimizeStrChr() 249 if (!getConstantStringInfo(SrcStr, Str)) { in optimizeStrChr() 251 return B.CreateGEP(B.getInt8Ty(), SrcStr, emitStrLen(SrcStr, B, DL, TLI), in optimizeStrChr() 265 return B.CreateGEP(B.getInt8Ty(), SrcStr, B.getInt64(I), "strchr"); in optimizeStrChr() 269 Value *SrcStr = CI->getArgOperand(0); in optimizeStrRChr() local 277 if (!getConstantStringInfo(SrcStr, Str)) { in optimizeStrRChr() 280 return emitStrChr(SrcStr, '\0', B, TLI); in optimizeStrRChr() 292 return B.CreateGEP(B.getInt8Ty(), SrcStr, B.getInt64(I), "strrchr"); in optimizeStrRChr() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | SimplifyLibCalls.cpp | 242 Value *SrcStr = CI->getArgOperand(0); in CallOptimizer() local 251 uint64_t Len = GetStringLength(SrcStr); in CallOptimizer() 255 return EmitMemChr(SrcStr, CI->getArgOperand(1), // include nul. in CallOptimizer() 263 if (!GetConstantStringInfo(SrcStr, Str)) in CallOptimizer() 275 return B.CreateGEP(SrcStr, B.getInt64(I), "strchr"); in CallOptimizer() 292 Value *SrcStr = CI->getArgOperand(0); in CallOptimizer() local 300 if (!GetConstantStringInfo(SrcStr, Str)) { in CallOptimizer() 303 return EmitStrChr(SrcStr, '\0', B, TD); in CallOptimizer() 316 return B.CreateGEP(SrcStr, B.getInt64(I), "strrchr"); in CallOptimizer()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Linker/ |
D | LinkModulesTest.cpp | 240 const char *SrcStr = "define void @foo() !attach !0 {\n" in TEST_F() local 253 std::unique_ptr<Module> Src = parseAssemblyString(SrcStr, Err, C); in TEST_F()
|
/external/llvm/unittests/Linker/ |
D | LinkModulesTest.cpp | 240 const char *SrcStr = "define void @foo() !attach !0 {\n" in TEST_F() local 253 std::unique_ptr<Module> Src = parseAssemblyString(SrcStr, Err, C); in TEST_F()
|