Home
last modified time | relevance | path

Searched refs:RHSStr (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/libc/utils/UnitTest/
DTest.cpp60 const char *RHSStr, const char *File, unsigned long Line, in explainDifference() argument
68 << "To be " << OpString << ": " << RHSStr << '\n' in explainDifference()
74 const char *LHSStr, const char *RHSStr, const char *File, in test() argument
77 explainDifference(LHS, RHS, LHSStr, RHSStr, File, Line, OpString); in test()
180 const char *LHSStr, const char *RHSStr,
184 const char *LHSStr, const char *RHSStr,
188 const char *LHSStr, const char *RHSStr,
192 const char *LHSStr, const char *RHSStr,
197 const char *RHSStr, const char *File,
203 const char *RHSStr, const char *File,
[all …]
DTest.h43 const char *LHSStr, const char *RHSStr, const char *File,
86 const char *RHSStr, const char *File, unsigned long Line) { in test() argument
87 return internal::test(Ctx, Cond, LHS, RHS, LHSStr, RHSStr, File, Line); in test()
94 const char *RHSStr, const char *File, unsigned long Line) { in test() argument
96 (unsigned long long)RHS, LHSStr, RHSStr, File, Line); in test()
100 const char *RHSStr, const char *File, unsigned long Line);
103 const char *RHSStr, const char *File, unsigned long Line);
106 const char *RHSStr, const char *File, unsigned long Line);
109 const char *LHSStr, const char *RHSStr,
113 const char *LHSStr, const char *RHSStr,
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp744 StringRef LHSStr, RHSStr; in optimizeMemCmp() local
746 getConstantStringInfo(RHS, RHSStr)) { in optimizeMemCmp()
748 if (Len > LHSStr.size() || Len > RHSStr.size()) in optimizeMemCmp()
753 int Cmp = memcmp(LHSStr.data(), RHSStr.data(), Len); in optimizeMemCmp()
/external/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1029 StringRef LHSStr, RHSStr; in optimizeMemCmpConstantSize() local
1031 getConstantStringInfo(RHS, RHSStr)) { in optimizeMemCmpConstantSize()
1033 if (Len > LHSStr.size() || Len > RHSStr.size()) in optimizeMemCmpConstantSize()
1038 int Cmp = memcmp(LHSStr.data(), RHSStr.data(), Len); in optimizeMemCmpConstantSize()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1046 StringRef LHSStr, RHSStr; in optimizeMemCmpConstantSize() local
1048 getConstantStringInfo(RHS, RHSStr)) { in optimizeMemCmpConstantSize()
1050 if (Len > LHSStr.size() || Len > RHSStr.size()) in optimizeMemCmpConstantSize()
1055 int Cmp = memcmp(LHSStr.data(), RHSStr.data(), Len); in optimizeMemCmpConstantSize()
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp12145 std::string RHSStr = std::string(Lexer::getSourceText( in diagnoseXorMisusedAsPow() local
12151 RHSStr = "-" + RHSStr; in diagnoseXorMisusedAsPow()
12153 RHSStr = "+" + RHSStr; in diagnoseXorMisusedAsPow()
12157 StringRef RHSStrRef = RHSStr; in diagnoseXorMisusedAsPow()
12174 std::string SuggestedExpr = "1 << " + RHSStr; in diagnoseXorMisusedAsPow()
12181 << ExprStr << XorValue.toString(10, true) << ("1LL << " + RHSStr) in diagnoseXorMisusedAsPow()
12182 << FixItHint::CreateReplacement(ExprRange, "1LL << " + RHSStr); in diagnoseXorMisusedAsPow()
12195 S.Diag(Loc, diag::note_xor_used_as_pow_silence) << ("0x2 ^ " + RHSStr) << SuggestXor; in diagnoseXorMisusedAsPow()
12201 S.Diag(Loc, diag::note_xor_used_as_pow_silence) << ("0xA ^ " + RHSStr) << SuggestXor; in diagnoseXorMisusedAsPow()