reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Analysis/ValueTracking.h
  304   bool getConstantStringInfo(const Value *V, StringRef &Str,

References

lib/Analysis/ConstantFolding.cpp
  654   if (getConstantStringInfo(CE, Str) && !Str.empty()) {
lib/Transforms/Utils/SimplifyLibCalls.cpp
  365   if (!getConstantStringInfo(SrcStr, Str)) {
  394   if (!getConstantStringInfo(SrcStr, Str)) {
  418   bool HasStr1 = getConstantStringInfo(Str1P, Str1);
  419   bool HasStr2 = getConstantStringInfo(Str2P, Str2);
  490   bool HasStr1 = getConstantStringInfo(Str1P, Str1);
  491   bool HasStr2 = getConstantStringInfo(Str2P, Str2);
  755   bool HasS1 = getConstantStringInfo(CI->getArgOperand(0), S1);
  756   bool HasS2 = getConstantStringInfo(CI->getArgOperand(1), S2);
  793   bool HasS1 = getConstantStringInfo(CI->getArgOperand(0), S1);
  794   bool HasS2 = getConstantStringInfo(CI->getArgOperand(1), S2);
  814   bool HasS1 = getConstantStringInfo(CI->getArgOperand(0), S1);
  815   bool HasS2 = getConstantStringInfo(CI->getArgOperand(1), S2);
  862   bool HasStr1 = getConstantStringInfo(CI->getArgOperand(0), SearchStr);
  863   bool HasStr2 = getConstantStringInfo(CI->getArgOperand(1), ToFindStr);
  916   if (!getConstantStringInfo(SrcStr, Str, 0, /*TrimAtNul=*/false))
 1044   if (getConstantStringInfo(LHS, LHSStr) &&
 1045       getConstantStringInfo(RHS, RHSStr)) {
 2258   if (!getConstantStringInfo(CI->getArgOperand(0), Str))
 2266   if (!getConstantStringInfo(CI->getArgOperand(0), Str))
 2328   if (!getConstantStringInfo(CI->getArgOperand(0), FormatStr))
 2348     if (!getConstantStringInfo(CI->getOperand(1), ChrStr))
 2418   if (!getConstantStringInfo(CI->getArgOperand(1), FormatStr))
 2519   if (!getConstantStringInfo(CI->getArgOperand(2), FormatStr))
 2570       if (!getConstantStringInfo(CI->getArgOperand(3), Str))
 2603   if (!getConstantStringInfo(CI->getArgOperand(1), FormatStr))
 2787   if (getConstantStringInfo(CI->getArgOperand(0), Str) && Str.empty())