Searched refs:Needle (Results 1 – 4 of 4) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | UnicodeNameToCodepoint.cpp | 120 static bool startsWith(StringRef Name, StringRef Needle, bool Strict, in startsWith() argument 126 if (!Name.starts_with(Needle)) in startsWith() 128 Consummed = Needle.size(); in startsWith() 131 if (Needle.empty()) in startsWith() 135 auto NeedlePos = Needle.begin(); in startsWith() 138 char PreviousCharInNeedle = *Needle.begin(); in startsWith() 161 IgnoreSpaces(NeedlePos, Needle.end(), PreviousCharInNeedle, IsPrefix); in startsWith() 162 if (NeedlePos == Needle.end()) in startsWith() 172 if (NeedlePos != Needle.end()) { in startsWith() 175 return NeedlePos == Needle in startsWith() [all...] |
| H A D | StringRef.cpp | 138 const char *Needle = Str.data(); in find() local 145 const char *Ptr = (const char *)::memchr(Start, Needle[0], Size); in find() 156 if (std::memcmp(Start, Needle, 2) == 0) in find() 166 if (std::memcmp(Start, Needle, N) == 0) in find() 181 if (LLVM_UNLIKELY(Last == (uint8_t)Needle[N - 1])) in find() 182 if (std::memcmp(Start, Needle, N - 1) == 0) in find()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopIdiomVectorize.cpp | 1071 Value *Search, *Needle; in recognizeFindFirstByte() local 1073 !match(LoadNeedle, m_Load(m_Value(Needle))) || in recognizeFindFirstByte() 1097 PHINode *PNeedle = dyn_cast<PHINode>(Needle); in recognizeFindFirstByte() 1307 PHINode *Needle = Builder.CreatePHI(PtrTy, 2, "pneedle"); in expandFindFirstByte() local 1312 {Builder.CreatePtrToInt(Needle, I64Ty), INeedleEnd}, nullptr, in expandFindFirstByte() 1316 CharVTy, Needle, Align(1), PredNeedle, Passthru, "needle_load_vec"); in expandFindFirstByte() 1354 Builder.CreateGEP(CharTy, Needle, ConstVF, "needle_next_vec"); in expandFindFirstByte() 1371 Needle->addIncoming(NeedleStart, BB1); in expandFindFirstByte() 1372 Needle->addIncoming(NextNeedle, BB4); in expandFindFirstByte()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | AnalysisBasedWarnings.cpp | 893 const DeclRefExpr *Needle; member in __anon9476153b0711::ContainsReference 898 ContainsReference(ASTContext &Context, const DeclRefExpr *Needle) in ContainsReference() argument 899 : Inherited(Context), FoundReference(false), Needle(Needle) {} in ContainsReference() 910 if (E == Needle) in VisitDeclRefExpr()
|