Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp510 if (!getConstantStringInfo(SrcStr, Str)) { in optimizeStrChr()
536 if (!getConstantStringInfo(SrcStr, Str)) { in optimizeStrRChr()
559 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrCmp()
560 bool HasStr2 = getConstantStringInfo(Str2P, Str2); in optimizeStrCmp()
641 bool HasStr1 = getConstantStringInfo(Str1P, Str1); in optimizeStrNCmp()
642 bool HasStr2 = getConstantStringInfo(Str2P, Str2); in optimizeStrNCmp()
790 if (!getConstantStringInfo(Src, Str, /*TrimAtNul=*/false)) in optimizeStrLCpy()
907 if (!getConstantStringInfo(Src, Str)) in optimizeStringNCpy()
1076 bool HasS1 = getConstantStringInfo(CI->getArgOperand(0), S1); in optimizeStrPBrk()
1077 bool HasS2 = getConstantStringInfo(CI->getArgOperand(1), S2); in optimizeStrPBrk()
[all …]
H A DAMDGPUEmitPrintf.cpp253 if (getConstantStringInfo(Args[i], ArgStr)) { in callBufferedPrintfStart()
435 if (getConstantStringInfo(Fmt, FmtStr)) in emitAMDGPUPrintfCall()
/src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp130 if (!getConstantStringInfo(V, S)) in getAsConstantStr()
164 if (!getConstantStringInfo(Op, FormatStr)) { in lowerPrintfForGpu()
/src/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp989 bool HasStr1 = getConstantStringInfo(Str1P, Str1, /*TrimAtNul=*/false); in optimizeStrNCmp()
990 bool HasStr2 = getConstantStringInfo(Str2P, Str2, /*TrimAtNul=*/false); in optimizeStrNCmp()
1118 if (!getConstantStringInfo(Base, Str, /*TrimAtNul=*/false)) in foldMemChr()
/src/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPrepareFunctions.cpp167 if (getConstantStringInfo(C, Str)) in getAnnotation()
H A DSPIRVAsmPrinter.cpp548 getConstantStringInfo(GV, AnnotationString); in outputAnnotations()
/src/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAsmPrinter.cpp582 getConstantStringInfo(GV, AnnotationString); in EmitFunctionAttributes()
/src/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueTracking.h699 bool getConstantStringInfo(const Value *V, StringRef &Str,
/src/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp6343 bool llvm::getConstantStringInfo(const Value *V, StringRef &Str, in getConstantStringInfo() function in llvm
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp18271 if (llvm::getConstantStringInfo(Scope, scp)) { in ProcessOrderScopeAMDGCN()
18506 if (llvm::getConstantStringInfo(V, AS)) { in AddAMDGPUFenceAddressSpaceMMRA()