Home
last modified time | relevance | path

Searched refs:getConstantStringInfo (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp249 if (!getConstantStringInfo(SrcStr, Str)) { in optimizeStrChr()
277 if (!getConstantStringInfo(SrcStr, Str)) { in optimizeStrRChr()
301 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp()
302 bool HasStr2 = getConstantStringInfo(Str2P, Str2); in optimizeStrCmp()
347 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp()
348 bool HasStr2 = getConstantStringInfo(Str2P, Str2); in optimizeStrNCmp()
552 bool HasS1 = getConstantStringInfo(CI->getArgOperand(0), S1); in optimizeStrPBrk()
553 bool HasS2 = getConstantStringInfo(CI->getArgOperand(1), S2); in optimizeStrPBrk()
590 bool HasS1 = getConstantStringInfo(CI->getArgOperand(0), S1); in optimizeStrSpn()
591 bool HasS2 = getConstantStringInfo(CI->getArgOperand(1), S2); in optimizeStrSpn()
[all …]
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp203 if (!getConstantStringInfo(SrcStr, Str)) { in optimizeStrChr()
231 if (!getConstantStringInfo(SrcStr, Str)) { in optimizeStrRChr()
255 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp()
256 bool HasStr2 = getConstantStringInfo(Str2P, Str2); in optimizeStrCmp()
301 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp()
302 bool HasStr2 = getConstantStringInfo(Str2P, Str2); in optimizeStrNCmp()
420 if (getConstantStringInfo(GEP->getOperand(0), Str, 0, false)) { in optimizeStrLen()
483 bool HasS1 = getConstantStringInfo(CI->getArgOperand(0), S1); in optimizeStrPBrk()
484 bool HasS2 = getConstantStringInfo(CI->getArgOperand(1), S2); in optimizeStrPBrk()
521 bool HasS1 = getConstantStringInfo(CI->getArgOperand(0), S1); in optimizeStrSpn()
[all …]
/external/llvm/include/llvm/Analysis/
DValueTracking.h211 bool getConstantStringInfo(const Value *V, StringRef &Str,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DValueTracking.h278 bool getConstantStringInfo(const Value *V, StringRef &Str,
/external/llvm/lib/Analysis/
DValueTracking.cpp2815 bool llvm::getConstantStringInfo(const Value *V, StringRef &Str, in getConstantStringInfo() function in llvm
2838 return getConstantStringInfo(GEP->getOperand(0), Str, StartIdx + Offset, in getConstantStringInfo()
2930 if (!getConstantStringInfo(V, StrData)) in GetStringLengthH()
DConstantFolding.cpp577 if (getConstantStringInfo(CE, Str) && !Str.empty()) { in ConstantFoldLoadFromConstPtr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DConstantFolding.cpp625 if (getConstantStringInfo(CE, Str) && !Str.empty()) { in ConstantFoldLoadFromConstPtr()
DValueTracking.cpp3291 bool llvm::getConstantStringInfo(const Value *V, StringRef &Str, in getConstantStringInfo() function in llvm
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp4175 return getConstantStringInfo(G->getGlobal(), Str, in isMemSrcFromString()