Home
last modified time | relevance | path

Searched +full:auto +full:- +full:range (Results 1 – 25 of 1082) sorted by relevance

12345678910>>...44

/freebsd-src/contrib/llvm-project/llvm/include/llvm/ADT/
H A DADL.h1 //===- llvm/ADT/ADL.h - Argument dependent lookup utilities -----*- C++ -*-
[all...]
H A DSTLExtras.h1 //===- llvm/ADT/STLExtras.h - Useful STL related functions ------*- C++ -*
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Testing/Annotations/
H A DAnnotations.cpp1 //===--- Annotations.cpp - Annotated source code for unit tests --*- C++-*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
27 auto Require = [Text](bool Assertion, const char *Msg) { in Annotations()
38 {Code.size(), size_t(-1), Name.value_or(""), Payload.value_or("")}); in Annotations()
39 Points[Name.value_or("")].push_back(All.size() - 1); in Annotations()
46 {Code.size(), size_t(-1), Name.value_or(""), Payload.value_or("")}); in Annotations()
58 Ranges[NewRange.Name].push_back(All.size() - 1); in Annotations()
66 Text = Text.drop_front(Name->size()); in Annotations()
70 Require(Text.size() > Payload->size(), "unterminated payload"); in Annotations()
[all …]
/freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStackAddrEscapeChecker.cpp1 //=== StackAddrEscapeChecker.cpp ----------------------------------*- C++ -*--//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // stack address is stored into a global or heap location. See CERT DCL30-C.
12 //===----------------------------------------------------------------------===//
71 R = R->getBaseRegion(); in genName()
73 SourceRange range; in genName() local
77 if (const auto *CR = dyn_cast<CompoundLiteralRegion>(R)) { in genName()
78 const CompoundLiteralExpr *CL = CR->getLiteralExpr(); in genName()
81 << SM.getExpansionLineNumber(CL->getBeginLoc()) << " returned to caller"; in genName()
[all …]
H A DIteratorRangeChecker.cpp1 //===-- IteratorRangeChecker.cpp --------
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp1 //===- InductiveRangeCheckElimination.cpp - -------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 // the middle loop provably does not need range checks. As an example, it will
43 //===----------------------------------------------------------------------===//
98 static cl::opt<unsigned> LoopSizeCutoff("irce-loop-size-cutoff", cl::Hidden,
101 static cl::opt<bool> PrintChangedLoops("irce-print-changed-loops", cl::Hidden,
104 static cl::opt<bool> PrintRangeChecks("irce-print-range-checks", cl::Hidden,
107 static cl::opt<bool> SkipProfitabilityChecks("irce-skip-profitability-checks",
110 static cl::opt<unsigned> MinRuntimeIterations("irce-min-runtime-iterations",
[all …]
/freebsd-src/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTokens.cpp1 //===- Tokens.cpp - collect tokens from preprocessing --------
161 FileRange syntax::Token::range(const SourceManager &SM) const { range() function in syntax::Token
169 FileRange syntax::Token::range(const SourceManager &SM, range() function in syntax::Token
438 SourceRange Range = spelledForExpandedSlow( spelledForExpanded() local
624 MacroExpands(const clang::Token & MacroNameTok,const MacroDefinition & MD,SourceRange Range,const MacroArgs * Args) MacroExpands() argument
[all...]
H A DBuildTree.cpp1 //===- BuildTree.cpp ---------
384 foldNode(ArrayRef<syntax::Token> Range,syntax::Tree * New,ASTPtr From) foldNode() argument
391 foldNode(ArrayRef<syntax::Token> Range,syntax::Tree * New,TypeLoc L) foldNode() argument
396 foldNode(llvm::ArrayRef<syntax::Token> Range,syntax::Tree * New,NestedNameSpecifierLoc From) foldNode() argument
1587 auto Range = getDeclaratorRange( processDeclaratorAndDeclaration() local
1652 foldExplicitTemplateInstantiation(ArrayRef<syntax::Token> Range,const syntax::Token * ExternKW,const syntax::Token * TemplateKW,syntax::SimpleDeclaration * InnerDeclaration,Decl * From) foldExplicitTemplateInstantiation() argument
1665 foldTemplateDeclaration(ArrayRef<syntax::Token> Range,const syntax::Token * TemplateKW,ArrayRef<syntax::Token> TemplatedDeclaration,Decl * From) foldTemplateDeclaration() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Support/
H A DCFGDiff.h1 //===- CFGDiff.h - Define a CFG snapshot. -----------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
30 // a non-inversed graph, the children are naturally the successors when
36 template <typename Range>
37 auto reverse_if_helper(Range &&R, std::integral_constant<bool, false>) { in reverse_if_helper()
38 return std::forward<Range>(R); in reverse_if_helper()
41 template <typename Range>
42 auto reverse_if_helper(Range &&R, std::integral_constant<bool, true>) { in reverse_if_helper()
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDbgEntityHistoryCalculator.cpp1 //===- llvm/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp -------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
45 // scope range which ends on a meta instruction should be considered to end in initialize()
50 // 1 DBG_VALUE for "y" number. If a scope range ends at DBG_VALUE for "y", in initialize()
53 // range. DBG_VALUEs at or after this position for in initialize()
64 assert(A->getParent() && B->getParent() && "Operands must have a parent"); in isBefore()
65 assert(A->getMF() == B->getMF() && in isBefore()
73 // Instruction range should start with a DBG_VALUE instruction for the in startDbgValue()
76 auto &Entries = VarEntries[Var]; in startDbgValue()
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/Analysis/
H A DStackSafetyAnalysis.cpp1 //===- StackSafetyAnalysis.cpp - Stack memory safety analysis --------
120 ConstantRange Range; global() member
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMILexer.cpp1 //===- MILexer.cpp - Machine instructions lexer implementation --------
62 reset(TokenKind Kind,StringRef Range) reset() argument
170 auto Range = C; lexName() local
292 auto Range = C; maybeLexIdentifier() local
306 auto Range = C; maybeLexMachineBasicBlock() local
340 auto Range = C; maybeLexIndex() local
353 auto Range = C; maybeLexIndexAndName() local
426 auto Range = C; lexVirtualRegister() local
442 Cursor Range = C; lexNamedVirtualRegister() local
467 auto Range = C; maybeLexRegister() local
483 auto Range = C; maybeLexGlobalValue() local
552 lexFloatingPointLiteral(Cursor Range,Cursor C,MIToken & Token) lexFloatingPointLiteral() argument
571 Cursor Range = C; maybeLexHexadecimalLiteral() local
593 auto Range = C; maybeLexNumericalLiteral() local
619 auto Range = C; maybeLexExclaim() local
676 auto Range = C; maybeLexSymbol() local
685 auto Range = C; maybeLexNewline() local
695 auto Range = C; maybeLexEscapedIRValue() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLSymbols.cpp1 //===- CodeViewYAMLSymbols.cpp - CodeView YAMLIO Symbol implementation ----===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exceptio
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DRangeSelector.cpp1 //===--- RangeSelector.cpp - RangeSelector implementations ------*
128 CharSourceRange Range = Lexer::makeFileCharRange( after() local
[all...]
H A DSourceCode.cpp1 //===--- SourceCode.cpp - Source code manipulation routines -----*-
31 getText(CharSourceRange Range,const ASTContext & Context) getText() argument
37 maybeExtendRange(CharSourceRange Range,tok::TokenKind Next,ASTContext & Context) maybeExtendRange() argument
53 validateRange(const CharSourceRange & Range,const SourceManager & SM,bool AllowSystemHeaders) validateRange() argument
84 validateEditRange(const CharSourceRange & Range,const SourceManager & SM) validateEditRange() argument
108 CharSourceRange Range; getRange() local
128 CharSourceRange Range = getFileRangeForEdit() local
139 CharSourceRange Range = getFileRange() local
367 CharSourceRange Range = CharSourceRange::getTokenRange(Decl.getSourceRange()); getAssociatedRange() local
[all...]
/freebsd-src/contrib/llvm-project/libcxx/include/__ranges/
H A Dsize.h1 // -*- C++ -*-
2 //===------
[all...]
H A Daccess.h1 // -*- C++ -*-
2 //===------
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/Tooling/Core/
H A DReplacement.cpp1 //===- Replacement.cpp - Framework for clang refactoring tools ------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
58 const CharSourceRange &Range, in Replacement() argument
61 setFromSourceRange(Sources, Range, ReplacementText, LangOpts); in Replacement()
70 auto Entry = SM.getFileManager().getOptionalFileRef(FilePath); in apply()
127 this->FilePath = std::string(Entry ? Entry->getName() : InvalidLocation); in setFromSourceLocation()
128 this->ReplacementRange = Range(DecomposedLocation.second, Length); in setFromSourceLocation()
129 this->ReplacementText = std::string(ReplacementText); in setFromSourceLocation()
[all …]
/freebsd-src/contrib/llvm-project/lldb/include/lldb/Utility/
H A DRangeMap.h1 //===-- RangeMap.h ----------------------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
17 #include "lldb/lldb-private.h"
19 // Uncomment to make sure all Range objects are sorted when needed
27 // A simple range class where you get to define the type of the range
28 // base "B", and the type used for the range byte size "S".
29 template <typename B, typename S> struct Range { struct
36 Range() : base(0), size(0) {} in Range() argument
38 Range(BaseType b, SizeType s) : base(b), size(s) {} in Range() argument
[all …]
/freebsd-src/contrib/llvm-project/clang/lib/Basic/
H A DSourceMgrAdapter.cpp1 //=== SourceMgrAdapter.cpp - SourceMgr to SourceManager Adapter -----------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
21 static_cast<SourceMgrAdapter *>(Context)->handleDiag(Diag); in handleDiag()
47 auto Buffer = LLVMSrcMgr.getMemoryBuffer(BufferID); in mapLocation()
48 auto KnownBuffer = FileIDMapping.find(std::make_pair(&LLVMSrcMgr, BufferID)); in mapLocation()
59 StringRef bufferName = Buffer->getBufferIdentifier(); in mapLocation()
60 auto bufferCopy = std::unique_ptr<llvm::MemoryBuffer>( in mapLocation()
61 llvm::MemoryBuffer::getMemBufferCopy(Buffer->getBuffer(), in mapLocation()
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/IR/
H A DDebugProgramInstruction.cpp1 //=====-- DebugProgramInstruction.cpp - Implement DbgRecords/DbgMarkers --====//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===-
498 absorbDebugValues(iterator_range<DPValue::self_iterator> Range,DPMarker & Src,bool InsertAtHead) absorbDebugValues() argument
517 auto Range = cloneDebugInfoFrom() local
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DHTMLLogger.cpp1 //===-- HTMLLogger.cpp --------
344 auto Range = clang::Lexer::makeFileCharRange( writeCode() local
[all...]
/freebsd-src/contrib/llvm-project/compiler-rt/lib/orc/
H A Dinterval_map.h1 //===--------- interval_map.h - A sorted interval map -----------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
64 // Early out if the key is clearly outside the range. in find()
65 if (empty() || K < begin()->first.first || in find()
66 K >= std::prev(end())->first.second) in find()
69 auto I = Impl.upper_bound(K); in find()
72 if (K < I->first.second) in find()
78 return const_cast<IntervalMapBase<KeyT, ValT> *>(this)->find(K); in find()
[all …]
H A Dcoff_platform.cpp1 //===- coff_platform.cpp --------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
61 Subsections[SubsectionChar - 'A'].push_back(Xtors); in Register()
62 SubsectionsNew[SubsectionChar - 'A'].push_back(Xtors); in Register()
66 Subsections[SubsectionChar - 'A'].push_back(Xtors); in RegisterNoRun()
131 Error registerBlockRange(ExecutorAddr HeaderAddr, ExecutorAddrRange Range);
132 Error deregisterBlockRange(ExecutorAddr HeaderAddr, ExecutorAddrRange Range);
170 auto I = JDStates.find(Header); in getJITDylibStateByHeader()
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBlockRanges.cpp1 //===- HexagonBlockRanges.cpp ---------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
39 bool SbAE = (S < AE) || (S == AE && A.TiedEnd); // S-before-AE. in overlaps()
40 bool ASbE = (AS < E) || (AS == E && TiedEnd); // AS-before-E. in overlaps()
49 // Treat "None" in the range end as equal to the range start. in contains()
76 for (const auto &R : RL) in include()
90 while (Iter != end()-1) { in unionize()
94 bool Merge = MergeAdjacent && (Iter->end() == Next->start()); in unionize()
95 if (Merge || Iter->overlaps(*Next)) { in unionize()
[all …]

12345678910>>...44