Searched refs:Str1P (Results 1 – 1 of 1) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 414 Value *Str1P = CI->getArgOperand(0), *Str2P = CI->getArgOperand(1); in optimizeStrCmp() local 415 if (Str1P == Str2P) // strcmp(x,x) -> 0 in optimizeStrCmp() 419 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp() 431 return B.CreateZExt(B.CreateLoad(B.getInt8Ty(), Str1P, "strcmpload"), in optimizeStrCmp() 435 uint64_t Len1 = GetStringLength(Str1P); in optimizeStrCmp() 443 return emitMemCmp(Str1P, Str2P, in optimizeStrCmp() 451 if (canTransformToMemCmp(CI, Str1P, Len2, DL)) in optimizeStrCmp() 453 Str1P, Str2P, in optimizeStrCmp() 459 Str1P, Str2P, in optimizeStrCmp() 469 Value *Str1P = CI->getArgOperand(0); in optimizeStrNCmp() local [all …]
|