Searched refs:ToFindStr (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | SimplifyLibCalls.cpp | 695 std::string SearchStr, ToFindStr; in CallOptimizer() local 697 bool HasStr2 = GetConstantStringInfo(CI->getArgOperand(1), ToFindStr); in CallOptimizer() 700 if (HasStr2 && ToFindStr.empty()) in CallOptimizer() 705 std::string::size_type Offset = SearchStr.find(ToFindStr); in CallOptimizer() 717 if (HasStr2 && ToFindStr.size() == 1) in CallOptimizer() 719 ToFindStr[0], B, TD), CI->getType()); in CallOptimizer()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 589 StringRef SearchStr, ToFindStr; in optimizeStrStr() local 591 bool HasStr2 = getConstantStringInfo(CI->getArgOperand(1), ToFindStr); in optimizeStrStr() 594 if (HasStr2 && ToFindStr.empty()) in optimizeStrStr() 599 size_t Offset = SearchStr.find(ToFindStr); in optimizeStrStr() 611 if (HasStr2 && ToFindStr.size() == 1) { in optimizeStrStr() 612 Value *StrChr = emitStrChr(CI->getArgOperand(0), ToFindStr[0], B, TLI); in optimizeStrStr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 658 StringRef SearchStr, ToFindStr; in optimizeStrStr() local 660 bool HasStr2 = getConstantStringInfo(CI->getArgOperand(1), ToFindStr); in optimizeStrStr() 663 if (HasStr2 && ToFindStr.empty()) in optimizeStrStr() 668 size_t Offset = SearchStr.find(ToFindStr); in optimizeStrStr() 680 if (HasStr2 && ToFindStr.size() == 1) { in optimizeStrStr() 681 Value *StrChr = emitStrChr(CI->getArgOperand(0), ToFindStr[0], B, TLI); in optimizeStrStr()
|