Home
last modified time | relevance | path

Searched refs:SrcStr (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp408 Value *SrcStr = CI->getArgOperand(0); in optimizeStrChr() local
419 uint64_t Len = GetStringLength(SrcStr); in optimizeStrChr()
448 if (!getConstantStringInfo(SrcStr, Str)) { in optimizeStrChr()
468 Value *SrcStr = CI->getArgOperand(0); in optimizeStrRChr() local
474 if (!getConstantStringInfo(SrcStr, Str)) { in optimizeStrRChr()
741 std::string SrcStr = Str.str(); in optimizeStrNCpy() local
742 SrcStr.resize(Len, '\0'); in optimizeStrNCpy()
1043 Value *SrcStr = CI->getArgOperand(0); in optimizeMemRChr() local
1131 Value *SrcStr = CI->getArgOperand(0); in optimizeMemChr() local
1455 StringRef SrcStr; in optimizeMemCCpy() local
[all …]
/llvm-project-15.0.7/llvm/unittests/Linker/
H A DLinkModulesTest.cpp239 const char *SrcStr = "define void @foo() !attach !0 {\n" in TEST_F() local
252 std::unique_ptr<Module> Src = parseAssemblyString(SrcStr, Err, C); in TEST_F()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DNotNullTerminatedResultCheck.cpp203 StringRef DestStr = "", SrcStr = "", LengthStr = ""; in isStringDataAndLength() local
210 SrcStr = SrcMD->getName(); in isStringDataAndLength()
217 (SrcStr == "data" || DestStr == "data"); in isStringDataAndLength()