Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DSectionMemoryManager.cpp191 sys::MemoryBlock Trimmed((void *)((uintptr_t)M.base() + StartOverlap), in trimBlockToPageSize() local
194 assert(((uintptr_t)Trimmed.base() % PageSize) == 0); in trimBlockToPageSize()
195 assert((Trimmed.allocatedSize() % PageSize) == 0); in trimBlockToPageSize()
196 assert(M.base() <= Trimmed.base() && in trimBlockToPageSize()
197 Trimmed.allocatedSize() <= M.allocatedSize()); in trimBlockToPageSize()
199 return Trimmed; in trimBlockToPageSize()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DBreakableToken.cpp737 size_t Trimmed = Content[LineIndex].find_first_not_of(Blanks); in getReflowSplit() local
740 if (PreviousContentIndent && Trimmed != StringRef::npos && in getReflowSplit()
741 Trimmed != PreviousContentIndent) { in getReflowSplit()
746 return Split(0, Trimmed != StringRef::npos ? Trimmed : 0); in getReflowSplit()
1032 size_t Trimmed = Content[LineIndex].find_first_not_of(Blanks); in getReflowSplit() local
1038 return Split(0, Trimmed != StringRef::npos ? Trimmed : 0); in getReflowSplit()
H A DFormat.cpp3387 StringRef Trimmed = Line.trim(); in sortCppIncludes() local
3392 if (RawStringRegex.match(Trimmed, &RawStringMatches)) { in sortCppIncludes()
3398 if (Trimmed.contains(RawStringTermination)) in sortCppIncludes()
3403 if (isClangFormatOff(Trimmed)) { in sortCppIncludes()
3405 } else if (isClangFormatOn(Trimmed)) { in sortCppIncludes()
3407 } else if (Trimmed.starts_with("/*")) { in sortCppIncludes()
3413 Trimmed.empty() && in sortCppIncludes()
3418 bool MergeWithNextLine = Trimmed.ends_with("\\"); in sortCppIncludes()
3421 tooling::HeaderIncludes::IncludeRegex.match(Trimmed, &Matches)) { in sortCppIncludes()
3423 if (Trimmed.contains("/*") && !Trimmed.contains("*/")) { in sortCppIncludes()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRawCommentList.cpp450 llvm::StringRef Trimmed = TokText.drop_front(SkipLen); in getFormattedLines() local
451 Line += Trimmed; in getFormattedLines()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp802 StringRef Trimmed = AsmStr.trim(); in onInlineAsm() local
803 size_t hashPos = Trimmed.find('#'); in onInlineAsm()
805 Trimmed = Trimmed.substr(0, hashPos); in onInlineAsm()
807 if (Trimmed.empty()) in onInlineAsm()
813 if (Trimmed.starts_with(".pushsection")) { in onInlineAsm()
817 if (Trimmed.starts_with(".popsection")) { in onInlineAsm()
822 if (Trimmed.starts_with(".") || Trimmed.contains(":")) in onInlineAsm()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DVirtualFileSystem.cpp1997 StringRef Trimmed = Name; in parseEntry() local
1998 size_t RootPathLen = sys::path::root_path(Trimmed, path_style).size(); in parseEntry()
1999 while (Trimmed.size() > RootPathLen && in parseEntry()
2000 sys::path::is_separator(Trimmed.back(), path_style)) in parseEntry()
2001 Trimmed = Trimmed.slice(0, Trimmed.size() - 1); in parseEntry()
2004 StringRef LastComponent = sys::path::filename(Trimmed, path_style); in parseEntry()
2024 StringRef Parent = sys::path::parent_path(Trimmed, path_style); in parseEntry()