/external/llvm-project/libc/utils/UnitTest/ |
D | Test.cpp | 60 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 …]
|
D | Test.h | 43 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/ |
D | SimplifyLibCalls.cpp | 744 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/ |
D | SimplifyLibCalls.cpp | 1029 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/ |
D | SimplifyLibCalls.cpp | 1046 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/ |
D | SemaExpr.cpp | 12145 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()
|