| /llvm-project-15.0.7/clang/unittests/Index/ |
| H A D | IndexTests.cpp | 30 struct Position { struct 41 Position P; in fromSourceLocation() 48 bool operator==(const Position &LHS, const Position &RHS) { in operator ==() 58 Position WrittenPos; 59 Position DeclPos; 183 DeclAt(Position(3, 13)), in TEST() 186 DeclAt(Position(3, 13)), in TEST() 318 WrittenAt(Position(2, 12))), in TEST() 320 WrittenAt(Position(3, 7))), in TEST() 324 WrittenAt(Position(4, 7))), in TEST() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Conversion/PDLToPDLInterp/ |
| H A D | Predicate.h | 146 virtual ~Position(); 159 Position *parent = nullptr; 224 OperandGroupPosition, Position, 300 ResultGroupPosition, Position, 326 struct TypePosition : public PredicateBase<TypePosition, Position, Position *, 354 : public PredicateBase<UsersPosition, Position, std::pair<Position *, bool>, 588 Position *getForEach(Position *p, unsigned id) { in getForEach() 621 Position *getType(Position *p) { return TypePosition::get(uniquer, p); } in getType() 625 Position *getTypeLiteral(Attribute attr) { in getTypeLiteral() 653 Predicate getEqualTo(Position *pos) { in getEqualTo() [all …]
|
| H A D | PredicateTree.cpp | 34 Position *pos); 37 static bool comparePosDepth(Position *lhs, Position *rhs) { in comparePosDepth() 96 Position *resultPos = nullptr; in getOperandTreePredicates() 177 Position *pos = in getTreePredicates() 239 TypeSwitch<Position *>(pos) in getTreePredicates() 253 Position *&attrPos = inputs[op]; in getAttributePredicates() 267 std::vector<Position *> allPositions; in getConstraintPredicates() 284 Position *&resultPos = inputs[op]; in getResultPredicates() 298 Position *&resultPos = inputs[op]; in getResultPredicates() 534 Position *operandPos; in visitUpward() [all …]
|
| H A D | PredicateTree.h | 31 PositionalPredicate(Position *pos, in PositionalPredicate() 36 Position *position; 60 DenseMap<Value, Position *> &valueToPosition); 63 Position *getPosition() const { return position; } in getPosition() 82 MatcherNode(TypeID matcherTypeID, Position *position = nullptr, 88 Position *position; 110 BoolNode(Position *position, Qualifier *question, Qualifier *answer, 185 SwitchNode(Position *position, Qualifier *question);
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZLongBranch.cpp | 187 Position.Address += in skipNonTerminators() 193 Position.Address = alignTo(Position.Address, Block.Alignment); in skipNonTerminators() 196 Block.Address = Position.Address; in skipNonTerminators() 199 Position.Address += Block.Size; in skipNonTerminators() 208 Terminator.Address = Position.Address; in skipTerminator() 209 Position.Address += Terminator.Size; in skipTerminator() 309 skipNonTerminators(Position, Block); in initMBBInfo() 323 return Position.Address; in initMBBInfo() 360 skipNonTerminators(Position, Block); in setWorstCaseAddresses() 362 skipTerminator(Position, *TI, true); in setWorstCaseAddresses() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | YAMLParser.cpp | 202 if (Position < End && (*Position & 0x80) == 0) { in decodeUTF8() 207 if (Position + 1 < End && ((*Position & 0xE0) == 0xC0) && in decodeUTF8() 216 if (Position + 2 < End && ((*Position & 0xF0) == 0xE0) && in decodeUTF8() 230 if (Position + 3 < End && ((*Position & 0xF8) == 0xF0) && in decodeUTF8() 300 return ::decodeUTF8(StringRef(Position, End - Position)); in decodeUTF8() 923 || (*Position >= 0x20 && *Position <= 0x7E)) in skip_nb_char() 947 if (Position + 1 != End && *(Position + 1) == 0x0A) in skip_b_break() 968 if (*Position == ' ' || *Position == '\t') in skip_s_white() 976 if (*Position == ' ' || *Position == '\t') in skip_ns_char() 1048 return *Position == ' ' || *Position == '\t' || *Position == '\r' || in isBlankOrBreak() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | SymbolLocation.h | 32 struct Position { struct 33 Position() : LineColumnPacked(0) {} in Position() argument 53 Position Start; 54 Position End; 67 inline bool operator==(const SymbolLocation::Position &L, argument 68 const SymbolLocation::Position &R) { 72 inline bool operator<(const SymbolLocation::Position &L, 73 const SymbolLocation::Position &R) {
|
| H A D | SymbolLocation.cpp | 14 constexpr uint32_t SymbolLocation::Position::MaxLine; 15 constexpr uint32_t SymbolLocation::Position::MaxColumn; 17 void SymbolLocation::Position::setLine(uint32_t L) { in setLine() 22 void SymbolLocation::Position::setColumn(uint32_t Col) { in setColumn()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | XRefs.h | 53 std::vector<LocatedSymbol> locateSymbolAt(ParsedAST &AST, Position Pos, 78 Position Pos); 101 std::vector<LocatedSymbol> findImplementations(ParsedAST &AST, Position Pos, 108 std::vector<LocatedSymbol> findType(ParsedAST &AST, Position Pos); 112 ReferencesResult findReferences(ParsedAST &AST, Position Pos, uint32_t Limit, 116 std::vector<SymbolDetails> getSymbolInfo(ParsedAST &AST, Position Pos); 120 Position Pos); 127 ParsedAST &AST, Position Pos, int Resolve, TypeHierarchyDirection Direction, 144 prepareCallHierarchy(ParsedAST &AST, Position Pos, PathRef TUPath);
|
| H A D | ClangdServer.h | 227 void codeComplete(PathRef File, Position Pos, 237 void locateSymbolAt(PathRef File, Position Pos, 246 void findDocumentHighlights(PathRef File, Position Pos, 250 void findHover(PathRef File, Position Pos, 254 void typeHierarchy(PathRef File, Position Pos, int Resolve, 270 void prepareCallHierarchy(PathRef File, Position Pos, 293 void findImplementations(PathRef File, Position Pos, 297 void findType(PathRef File, Position Pos, 301 void findReferences(PathRef File, Position Pos, uint32_t Limit, 317 void prepareRename(PathRef File, Position Pos, [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-mca/ |
| H A D | CodeRegionGenerator.cpp | 83 unsigned Position = Comment.find_first_not_of(" \t"); in HandleComment() local 84 if (Position >= Comment.size()) in HandleComment() 88 Comment = Comment.drop_front(Position); in HandleComment() 91 Position = Comment.find_first_not_of(" \t"); in HandleComment() 92 if (Position < Comment.size()) in HandleComment() 93 Comment = Comment.drop_front(Position); in HandleComment() 103 Position = Comment.find_first_not_of(" \t"); in HandleComment() 104 if (Position < Comment.size()) in HandleComment() 105 Comment = Comment.drop_front(Position); in HandleComment()
|
| /llvm-project-15.0.7/clang/lib/Tooling/ |
| H A D | JSONCompilationDatabase.cpp | 72 if (*Position == '"') { in parseStringInto() 79 } while (*Position != ' '); in parseStringInto() 85 while (*Position != '"') { in parseDoubleQuotedStringInto() 87 String.push_back(*Position); in parseDoubleQuotedStringInto() 95 while (*Position != '\'') { in parseSingleQuotedStringInto() 96 String.push_back(*Position); in parseSingleQuotedStringInto() 107 } while (*Position != ' ' && *Position != '"' && *Position != '\''); in parseFreeStringInto() 112 if (*Position == '\\') { in skipEscapeCharacter() 121 } while (*Position == ' '); in nextNonWhitespace() 126 ++Position; in next() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | SyncAPI.h | 32 runCodeComplete(ClangdServer &Server, PathRef File, Position Pos, 36 PathRef File, Position Pos, 40 runLocateSymbolAt(ClangdServer &Server, PathRef File, Position Pos); 43 runFindDocumentHighlights(ClangdServer &Server, PathRef File, Position Pos); 46 Position Pos, StringRef NewName, 50 runPrepareRename(ClangdServer &Server, PathRef File, Position Pos, 63 const std::vector<Position> &Pos);
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | SIMemoryLegalizer.cpp | 51 enum class Position { enum 975 if (Pos == Position::AFTER) in insertWait() 1055 if (Pos == Position::AFTER) in insertWait() 1073 if (Pos == Position::AFTER) in insertAcquire() 1100 if (Pos == Position::AFTER) in insertAcquire() 1133 if (Pos == Position::AFTER) in insertAcquire() 1160 if (Pos == Position::AFTER) in insertAcquire() 1356 if (Pos == Position::AFTER) in insertAcquire() 1402 if (Pos == Position::AFTER) in insertAcquire() 1420 if (Pos == Position::AFTER) in insertRelease() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/dex/ |
| H A D | Trigram.cpp | 85 for (unsigned Position = 0, HeadsSeen = 0; HeadsSeen < 2;) { in identifierTrigrams() local 88 if (Roles[Position] == Head) in identifierTrigrams() 90 Out(Trigram(LowercaseIdentifier[Position])); in identifierTrigrams() 91 for (unsigned I : Next[Position]) in identifierTrigrams() 93 Out(Trigram(LowercaseIdentifier[Position], LowercaseIdentifier[I])); in identifierTrigrams() 94 Position = Next[Position][1]; in identifierTrigrams() 95 if (Position == 0) in identifierTrigrams()
|
| /llvm-project-15.0.7/mlir/lib/Tools/lsp-server-support/ |
| H A D | Protocol.h | 251 struct Position { struct 268 friend bool operator==(const Position &lhs, const Position &rhs) { argument 272 friend bool operator!=(const Position &lhs, const Position &rhs) { 275 friend bool operator<(const Position &lhs, const Position &rhs) { 279 friend bool operator<=(const Position &lhs, const Position &rhs) { 304 Range(Position start, Position end) : start(start), end(end) {} in Range() 309 : Range(Position(mgr, range.Start), Position(mgr, range.End)) {} in Range() 312 Position start; 315 Position end; 395 Position position; [all …]
|
| /llvm-project-15.0.7/lldb/include/lldb/DataFormatters/ |
| H A D | TypeCategoryMap.h | 37 typedef uint32_t Position; typedef 39 static const Position First = 0; 40 static const Position Default = 1; 41 static const Position Last = UINT32_MAX; 49 bool Enable(KeyType category_name, Position pos = Default); 53 bool Enable(ValueSP category, Position pos = Default);
|
| /llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/ |
| H A D | PDLLServer.h | 29 struct Position; 73 void getLocationsOf(const URIForFile &uri, const Position &defPos, 77 void findReferencesOf(const URIForFile &uri, const Position &pos, 86 Optional<Hover> findHover(const URIForFile &uri, const Position &hoverPos); 94 const Position &completePos); 98 const Position &helpPos);
|
| /llvm-project-15.0.7/mlir/lib/Tools/mlir-lsp-server/ |
| H A D | MLIRServer.h | 26 struct Position; 52 void getLocationsOf(const URIForFile &uri, const Position &defPos, 56 void findReferencesOf(const URIForFile &uri, const Position &pos, 61 Optional<Hover> findHover(const URIForFile &uri, const Position &hoverPos); 69 const Position &completePos);
|
| /llvm-project-15.0.7/llvm/lib/Demangle/ |
| H A D | RustDemangle.cpp | 82 size_t Position; member in __anon798090d70111::Demangler 122 ScopedOverride<size_t> SavePosition(Position, Position); in demangleBackref() 123 Position = Backref; in demangleBackref() 197 Position = 0; in demangle() 549 size_t Start = Position; in demangleType() 620 Position = Start; in demangleType() 866 Position += Bytes; in parseIdentifier() 974 size_t Start = Position; in parseHexNumber() 1223 return Input[Position]; in look() 1236 if (Error || Position >= Input.size() || Input[Position] != Prefix) in consumeIf() [all …]
|
| /llvm-project-15.0.7/polly/include/polly/Support/ |
| H A D | ISLTools.h | 60 : List(&List), Position(std::max(List.size().release(), 0)) {} in isl_iterator() 61 isl_iterator(const ListT &List, int Position) in isl_iterator() argument 62 : List(&List), Position(Position) {} in isl_iterator() 65 return List == O.List && Position == O.Position; 69 ++Position; 75 ++Position; 79 ElementT operator*() const { return List->get_at(this->Position); } 83 int Position = 0; variable
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | FormattedStream.h | 40 std::pair<unsigned, unsigned> Position; variable 107 : TheStream(nullptr), Position(0, 0) { in formatted_raw_ostream() 110 explicit formatted_raw_ostream() : TheStream(nullptr), Position(0, 0) { in formatted_raw_ostream() 129 return Position.first; in getColumn() 135 return Position.second; in getLine()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | 2008-02-27-DeadSlotElimBug.ll | 3 %struct.CompAtom = type <{ %struct.Position, float, i32 }> 4 … = type { %struct.Position, %struct.Position, %struct.Position, %struct.Position, %struct.Position… 5 %struct.Position = type { double, double, double }
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | CombinationGenerator.h | 45 typename decltype(Range)::const_iterator Position; 48 void rewind() { Position = Range.begin(); } in rewind() 53 ++Position; in advance() 54 bool Wrapped = Position == Range.end(); in advance() 61 const value_type &operator*() const { return *Position; }
|
| /llvm-project-15.0.7/clang/test/APINotes/Inputs/Frameworks/SimpleKit.framework/Headers/ |
| H A D | SimpleKit.apinotes | 24 - Position: 0 28 - Position: 0 32 - Position: 0 36 - Position: 0
|