Searched refs:Cursor (Results 1 - 25 of 67) sorted by relevance

123

/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/MIRParser/
H A DMILexer.cpp32 class Cursor { class in namespace:__anon1798
37 Cursor(NoneType) {} function in class:__anon1798::Cursor
39 explicit Cursor(StringRef Str) { function in class:__anon1798::Cursor
52 StringRef upto(Cursor C) const {
87 static Cursor skipWhitespace(Cursor C) {
96 static Cursor skipComment(Cursor C) {
106 static Cursor skipMachineOperandComment(Cursor
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DDataExtractor.h52 /// attempting to parse and without updating the Cursor offset. After clearing
53 /// the error flag, one can again use the Cursor object for parsing.
54 class Cursor { class in class:llvm::DataExtractor
62 explicit Cursor(uint64_t Offset) : Offset(Offset), Err(Error::success()) {} function in class:llvm::DataExtractor::Cursor
69 /// Return the current position of this Cursor. In the error state this is
70 /// the position of the Cursor before the first error was encountered.
73 /// Return error contained inside this Cursor, if any. Clears the internal
74 /// Cursor state.
133 const char *getCStr(Cursor &C) const { return getCStrRef(C).data(); }
166 StringRef getCStrRef(Cursor
[all...]
H A DELFAttributeParser.h34 DataExtractor::Cursor cursor{0};
/netbsd-current/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLine.cpp366 DataExtractor::Cursor Cursor(*OffsetPtr);
368 DebugLineData.getInitialLength(Cursor);
371 DWARFDataExtractor(DebugLineData, Cursor.tell() + TotalLength);
372 FormParams.Version = DebugLineData.getU16(Cursor);
373 if (Cursor && !versionIsSupported(getVersion())) {
377 *OffsetPtr = Cursor.tell();
386 FormParams.AddrSize = DebugLineData.getU8(Cursor);
387 assert((!Cursor || DebugLineData.getAddressSize() == 0 ||
390 SegSelectorSize = DebugLineData.getU8(Cursor);
716 parseULEB128(DWARFDataExtractor &Data, DataExtractor::Cursor &Cursor) argument
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/bindings/python/tests/cindex/
H A Dutil.py13 from clang.cindex import Cursor namespace
48 TranslationUnit or Cursor instance.
53 root_cursor = source if isinstance(source, Cursor) else source.cursor
66 TranslationUnit or Cursor instance.
71 root_cursor = source if isinstance(source, Cursor) else source.cursor
H A Dtest_access_specifiers.py7 from clang.cindex import Cursor namespace
H A Dtest_linkage.py7 from clang.cindex import Cursor namespace
H A Dtest_location.py6 from clang.cindex import Cursor namespace
61 cursor = Cursor.from_location(tu, location)
74 cursor = Cursor.from_location(tu, offset_location)
H A Dtest_tls_kind.py7 from clang.cindex import Cursor namespace
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DInterferenceCache.h53 /// RefCount - The total number of Cursor instances referring to this Entry.
175 /// Cursor - The primary query interface for the block interference cache.
176 class Cursor { class in class:llvm::InterferenceCache
193 /// Cursor - Create a dangling cursor.
194 Cursor() = default;
196 Cursor(const Cursor &O) { function in class:llvm::InterferenceCache::Cursor
200 Cursor &operator=(const Cursor &O) {
205 ~Cursor() { setEntr
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/Frontend/
H A DSerializedDiagnosticReader.cpp109 enum class SerializedDiagnosticReader::Cursor { class in class:SerializedDiagnosticReader
115 llvm::ErrorOr<SerializedDiagnosticReader::Cursor>
130 return Cursor::Record;
138 return Cursor::BlockBegin;
143 return Cursor::BlockEnd;
174 llvm::ErrorOr<Cursor> Res = skipUntilRecordOrBlock(Stream, BlockOrCode);
179 case Cursor::Record:
181 case Cursor::BlockBegin:
188 case Cursor::BlockEnd:
226 llvm::ErrorOr<Cursor> Re
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDataExtractor.h56 std::pair<uint64_t, dwarf::DwarfFormat> getInitialLength(Cursor &C) const {
65 uint64_t getRelocatedValue(Cursor &C, uint32_t Size,
75 uint64_t getRelocatedAddress(Cursor &C, uint64_t *SecIx = nullptr) const {
/netbsd-current/external/apache2/llvm/dist/clang/bindings/python/clang/
H A Dcindex.py35 Cursor
610 ### Cursor Kinds ###
1311 # Cursor that represents the translation unit itself.
1415 class Cursor(Structure): class in inherits:Structure
1417 The Cursor class represents a reference to an element within the AST. It
1655 """Return the canonical Cursor corresponding to this Cursor.
1669 """Retrieve the Type of the result for this Cursor."""
1774 """Returns the TranslationUnit to which this Cursor belongs."""
1792 """Returns the brief comment text associated with that Cursor"""
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/tools/c-index-test/
H A Dc-index-test.c688 static void PrintCursorComments(CXCursor Cursor, argument
696 RawComment = clang_Cursor_getRawCommentText(Cursor);
700 PrintRange(clang_Cursor_getCommentRange(Cursor), "RawCommentRange");
702 BriefComment = clang_Cursor_getBriefCommentText(Cursor);
712 CXComment Comment = clang_Cursor_getParsedComment(Cursor);
742 static CXString CursorToText(CXCursor Cursor) { argument
746 return clang_getCursorSpelling(Cursor);
748 return clang_getCursorDisplayName(Cursor);
750 CXPrintingPolicy Policy = clang_getCursorPrintingPolicy(Cursor);
752 text = clang_getCursorPrettyPrinted(Cursor, Polic
764 PrintCursor(CXCursor Cursor, const char *CommentSchemaFile) argument
1159 GetCursorSource(CXCursor Cursor) argument
1297 FilteredPrintingVisitor(CXCursor Cursor, CXCursor Parent, CXClientData ClientData) argument
1333 FunctionScanVisitor(CXCursor Cursor, CXCursor Parent, CXClientData ClientData) argument
2822 CXCursor Cursor; local
2911 inspect_print_cursor(CXCursor Cursor) argument
3028 inspect_evaluate_cursor(CXCursor Cursor) argument
3065 inspect_macroinfo_cursor(CXCursor Cursor) argument
3116 CXCursor Cursor; local
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Serialization/
H A DASTRecordReader.h47 /// Reads a record with id AbbrevID from Cursor, resetting the
49 Expected<unsigned> readRecord(llvm::BitstreamCursor &Cursor,
347 explicit SavedStreamPosition(llvm::BitstreamCursor &Cursor) argument
348 : Cursor(Cursor), Offset(Cursor.GetCurrentBitNo()) {}
351 if (llvm::Error Err = Cursor.JumpToBit(Offset))
353 "Cursor should always be able to go back, failed: " +
358 llvm::BitstreamCursor &Cursor; member in struct:clang::SavedStreamPosition
H A DGlobalModuleIndex.h118 llvm::BitstreamCursor Cursor);
/netbsd-current/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXCursor.h237 const Decl *getCursorDecl(CXCursor Cursor);
238 const Expr *getCursorExpr(CXCursor Cursor);
239 const Stmt *getCursorStmt(CXCursor Cursor);
240 const Attr *getCursorAttr(CXCursor Cursor);
242 ASTContext &getCursorContext(CXCursor Cursor);
243 ASTUnit *getCursorASTUnit(CXCursor Cursor);
244 CXTranslationUnit getCursorTU(CXCursor Cursor);
H A DCIndexHigh.cpp306 static bool findMacroRefsInFile(CXTranslationUnit TU, CXCursor Cursor, argument
309 if (Cursor.kind != CXCursor_MacroDefinition &&
310 Cursor.kind != CXCursor_MacroExpansion)
318 if (Cursor.kind == CXCursor_MacroDefinition)
319 Macro = getCursorMacroDefinition(Cursor)->getName();
321 Macro = getCursorMacroExpansion(Cursor).getName();
H A DCXCursor.cpp1097 const Decl *cxcursor::getCursorDecl(CXCursor Cursor) { argument
1098 return static_cast<const Decl *>(Cursor.data[0]);
1101 const Expr *cxcursor::getCursorExpr(CXCursor Cursor) { argument
1102 return dyn_cast_or_null<Expr>(getCursorStmt(Cursor));
1105 const Stmt *cxcursor::getCursorStmt(CXCursor Cursor) { argument
1106 if (Cursor.kind == CXCursor_ObjCSuperClassRef ||
1107 Cursor.kind == CXCursor_ObjCProtocolRef ||
1108 Cursor.kind == CXCursor_ObjCClassRef)
1111 return static_cast<const Stmt *>(Cursor.data[1]);
1114 const Attr *cxcursor::getCursorAttr(CXCursor Cursor) { argument
1118 getCursorContext(CXCursor Cursor) argument
1122 getCursorASTUnit(CXCursor Cursor) argument
1129 getCursorTU(CXCursor Cursor) argument
[all...]
/netbsd-current/external/mit/xorg/lib/libXfixes/
H A DMakefile11 SRCS= Cursor.c Disconnect.c Region.c SaveSet.c Selection.c Xfixes.c
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Frontend/
H A DSerializedDiagnosticReader.h69 enum class Cursor;
72 llvm::ErrorOr<Cursor> skipUntilRecordOrBlock(llvm::BitstreamCursor &Stream,
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DPlaceSafepoints.cpp414 Instruction *Cursor = nullptr; local
415 for (Cursor = &F.getEntryBlock().front(); HasNextInstruction(Cursor);
416 Cursor = NextInstruction(Cursor)) {
425 if (auto *Call = dyn_cast<CallBase>(Cursor)) {
432 assert((HasNextInstruction(Cursor) || Cursor->isTerminator()) &&
435 return Cursor;
/netbsd-current/external/mit/xorg/lib/libXrender/
H A DMakefile10 SRCS= Xrender.c AddTrap.c Color.c Composite.c Cursor.c \
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Bitstream/Reader/
H A DBitstreamReader.cpp66 static Expected<uint64_t> readAbbreviatedField(BitstreamCursor &Cursor, argument
76 assert((unsigned)Op.getEncodingData() <= Cursor.MaxChunkSize);
77 return Cursor.Read((unsigned)Op.getEncodingData());
79 assert((unsigned)Op.getEncodingData() <= Cursor.MaxChunkSize);
80 return Cursor.ReadVBR64((unsigned)Op.getEncodingData());
82 if (Expected<unsigned> Res = Cursor.Read(6))
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp486 DIExpressionCursor Cursor({});
489 DwarfExpr.addExpression(std::move(Cursor));
778 DIExpressionCursor Cursor(Expr);
782 DIExpressionCursor &Cursor) {
784 if (!DwarfExpr.addMachineRegExpression(TRI, Cursor,
809 std::move(Cursor),
810 [&](unsigned Idx, DIExpressionCursor &Cursor) -> bool {
811 return AddEntry(DVal->getLocEntries()[Idx], Cursor);
859 DIExpressionCursor Cursor(Ops);
865 *Asm->MF->getSubtarget().getRegisterInfo(), Cursor, FrameRe
[all...]

Completed in 337 milliseconds

123