/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/MIRParser/ |
H A D | MILexer.cpp | 32 class Cursor { class 37 Cursor(NoneType) {} in Cursor() function in __anon74c00f590111::Cursor 39 explicit Cursor(StringRef Str) { in Cursor() function in __anon74c00f590111::Cursor 52 StringRef upto(Cursor C) const { in upto() 87 static Cursor skipWhitespace(Cursor C) { in skipWhitespace() 96 static Cursor skipComment(Cursor C) { in skipComment() 106 static Cursor skipMachineOperandComment(Cursor C) { in skipMachineOperandComment() 130 Cursor C = Cursor(Value.substr(1, Value.size() - 2)); in unescapeQuotedString() 156 static Cursor lexStringConstant(Cursor C, ErrorCallbackType ErrorCallback) { in lexStringConstant() 170 static Cursor lexName(Cursor C, MIToken &Token, MIToken::TokenKind Type, in lexName() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
H A D | DataExtractor.h | 54 class Cursor { 62 explicit Cursor(uint64_t Offset) : Offset(Offset), Err(Error::success()) {} in Cursor() function 133 const char *getCStr(Cursor &C) const { return getCStrRef(C).data(); } in getCStr() 166 StringRef getCStrRef(Cursor &C) const { in getCStrRef() 236 StringRef getBytes(Cursor &C, uint64_t Length) { in getBytes() 276 uint64_t getUnsigned(Cursor &C, uint32_t Size) const { in getUnsigned() 329 uint64_t getAddress(Cursor &C) const { return getUnsigned(C, AddressSize); } in getAddress() 356 uint8_t getU8(Cursor &C) const { return getU8(&C.Offset, &C.Err); } in getU8() 387 uint8_t *getU8(Cursor &C, uint8_t *Dst, uint32_t Count) const; 394 void getU8(Cursor &C, SmallVectorImpl<uint8_t> &Dst, uint32_t Count) const { in getU8() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugLine.cpp | 366 DataExtractor::Cursor Cursor(*OffsetPtr); in parse() local 368 DebugLineData.getInitialLength(Cursor); in parse() 371 DWARFDataExtractor(DebugLineData, Cursor.tell() + TotalLength); in parse() 372 FormParams.Version = DebugLineData.getU16(Cursor); in parse() 373 if (Cursor && !versionIsSupported(getVersion())) { in parse() 377 *OffsetPtr = Cursor.tell(); in parse() 386 FormParams.AddrSize = DebugLineData.getU8(Cursor); in parse() 387 assert((!Cursor || DebugLineData.getAddressSize() == 0 || in parse() 390 SegSelectorSize = DebugLineData.getU8(Cursor); in parse() 394 DebugLineData.getRelocatedValue(Cursor, sizeofPrologueLength()); in parse() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/bindings/python/clang/ |
H A D | cindex.py | 1415 class Cursor(Structure): class 1889 assert isinstance(res, Cursor) 1913 assert isinstance(res, Cursor) 3312 cursor = Cursor() 3324 callbacks['cursor_visit'] = CFUNCTYPE(c_int, Cursor, Cursor, py_object) 3325 callbacks['fields_visit'] = CFUNCTYPE(c_int, Cursor, py_object) 3330 [TranslationUnit, POINTER(Token), c_uint, POINTER(Cursor)]), 3401 [Cursor], 3405 [Cursor], 3409 [Cursor], [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/tools/c-index-test/ |
H A D | c-index-test.c | 688 static void PrintCursorComments(CXCursor Cursor, in PrintCursorComments() argument 696 RawComment = clang_Cursor_getRawCommentText(Cursor); in PrintCursorComments() 700 PrintRange(clang_Cursor_getCommentRange(Cursor), "RawCommentRange"); in PrintCursorComments() 702 BriefComment = clang_Cursor_getBriefCommentText(Cursor); in PrintCursorComments() 712 CXComment Comment = clang_Cursor_getParsedComment(Cursor); in PrintCursorComments() 742 static CXString CursorToText(CXCursor Cursor) { in CursorToText() argument 746 return clang_getCursorSpelling(Cursor); in CursorToText() 748 return clang_getCursorDisplayName(Cursor); in CursorToText() 750 CXPrintingPolicy Policy = clang_getCursorPrintingPolicy(Cursor); in CursorToText() 752 text = clang_getCursorPrettyPrinted(Cursor, Policy); in CursorToText() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/ |
H A D | SerializedDiagnosticReader.cpp | 109 enum class SerializedDiagnosticReader::Cursor { enum in SerializedDiagnosticReader 115 llvm::ErrorOr<SerializedDiagnosticReader::Cursor> 130 return Cursor::Record; in skipUntilRecordOrBlock() 138 return Cursor::BlockBegin; in skipUntilRecordOrBlock() 143 return Cursor::BlockEnd; in skipUntilRecordOrBlock() 174 llvm::ErrorOr<Cursor> Res = skipUntilRecordOrBlock(Stream, BlockOrCode); in readMetaBlock() 179 case Cursor::Record: in readMetaBlock() 181 case Cursor::BlockBegin: in readMetaBlock() 188 case Cursor::BlockEnd: in readMetaBlock() 226 llvm::ErrorOr<Cursor> Res = skipUntilRecordOrBlock(Stream, BlockOrCode); in readDiagnosticBlock() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | InterferenceCache.h | 176 class Cursor { 194 Cursor() = default; 196 Cursor(const Cursor &O) { in Cursor() function 200 Cursor &operator=(const Cursor &O) { 205 ~Cursor() { setEntry(nullptr); } in ~Cursor()
|
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/ |
H A D | CXCursor.h | 237 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 D | CXCursor.cpp | 1097 const Decl *cxcursor::getCursorDecl(CXCursor Cursor) { in getCursorDecl() argument 1098 return static_cast<const Decl *>(Cursor.data[0]); in getCursorDecl() 1101 const Expr *cxcursor::getCursorExpr(CXCursor Cursor) { in getCursorExpr() argument 1102 return dyn_cast_or_null<Expr>(getCursorStmt(Cursor)); in getCursorExpr() 1105 const Stmt *cxcursor::getCursorStmt(CXCursor Cursor) { in getCursorStmt() argument 1106 if (Cursor.kind == CXCursor_ObjCSuperClassRef || in getCursorStmt() 1107 Cursor.kind == CXCursor_ObjCProtocolRef || in getCursorStmt() 1108 Cursor.kind == CXCursor_ObjCClassRef) in getCursorStmt() 1111 return static_cast<const Stmt *>(Cursor.data[1]); in getCursorStmt() 1114 const Attr *cxcursor::getCursorAttr(CXCursor Cursor) { in getCursorAttr() argument [all …]
|
H A D | CIndexHigh.cpp | 306 static bool findMacroRefsInFile(CXTranslationUnit TU, CXCursor Cursor, in findMacroRefsInFile() argument 309 if (Cursor.kind != CXCursor_MacroDefinition && in findMacroRefsInFile() 310 Cursor.kind != CXCursor_MacroExpansion) in findMacroRefsInFile() 318 if (Cursor.kind == CXCursor_MacroDefinition) in findMacroRefsInFile() 319 Macro = getCursorMacroDefinition(Cursor)->getName(); in findMacroRefsInFile() 321 Macro = getCursorMacroExpansion(Cursor).getName(); in findMacroRefsInFile()
|
H A D | CXIndexDataConsumer.cpp | 190 CXCursor Cursor; in handleDeclOccurrence() local 192 Cursor = cxcursor::MakeCXCursor(ASTNode.OrigE, in handleDeclOccurrence() 198 Cursor = getRefCursor(OrigND, Loc); in handleDeclOccurrence() 200 Cursor = MakeCXCursor(ASTNode.OrigD, CXTU); in handleDeclOccurrence() 202 Cursor = getRefCursor(ND, Loc); in handleDeclOccurrence() 205 handleReference(ND, Loc, Cursor, in handleDeclOccurrence() 542 SourceLocation Loc, CXCursor Cursor, in handleDecl() argument 564 DInfo.cursor = Cursor; in handleDecl() 601 SourceLocation Loc, CXCursor Cursor, in handleObjCContainer() argument 604 return handleDecl(D, Loc, Cursor, ContDInfo); in handleObjCContainer() [all …]
|
H A D | CIndex.cpp | 194 bool CursorVisitor::Visit(CXCursor Cursor, bool CheckedRegionOfInterest) { in Visit() argument 195 if (clang_isInvalid(Cursor.kind)) in Visit() 198 if (clang_isDeclaration(Cursor.kind)) { in Visit() 199 const Decl *D = getCursorDecl(Cursor); in Visit() 214 SourceRange Range = getRawCursorExtent(Cursor); in Visit() 219 switch (Visitor(Cursor, Parent, ClientData)) { in Visit() 227 bool ret = VisitChildren(Cursor); in Visit() 229 if (PostChildrenVisitor(Cursor, ClientData)) in Visit() 492 bool CursorVisitor::VisitChildren(CXCursor Cursor) { in VisitChildren() argument 493 if (clang_isReference(Cursor.kind) && in VisitChildren() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Serialization/ |
H A D | ASTRecordReader.h | 49 Expected<unsigned> readRecord(llvm::BitstreamCursor &Cursor, 347 explicit SavedStreamPosition(llvm::BitstreamCursor &Cursor) in SavedStreamPosition() 348 : Cursor(Cursor), Offset(Cursor.GetCurrentBitNo()) {} in SavedStreamPosition() 351 if (llvm::Error Err = Cursor.JumpToBit(Offset)) in ~SavedStreamPosition() 358 llvm::BitstreamCursor &Cursor;
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | PlaceSafepoints.cpp | 414 Instruction *Cursor = nullptr; in findLocationForEntrySafepoint() local 415 for (Cursor = &F.getEntryBlock().front(); HasNextInstruction(Cursor); in findLocationForEntrySafepoint() 416 Cursor = NextInstruction(Cursor)) { in findLocationForEntrySafepoint() 425 if (auto *Call = dyn_cast<CallBase>(Cursor)) { in findLocationForEntrySafepoint() 432 assert((HasNextInstruction(Cursor) || Cursor->isTerminator()) && in findLocationForEntrySafepoint() 435 return Cursor; in findLocationForEntrySafepoint()
|
/netbsd-src/external/apache2/llvm/dist/clang/bindings/python/tests/cindex/ |
H A D | util.py | 13 from clang.cindex import Cursor 53 root_cursor = source if isinstance(source, Cursor) else source.cursor 71 root_cursor = source if isinstance(source, Cursor) else source.cursor
|
H A D | test_location.py | 6 from clang.cindex import Cursor 61 cursor = Cursor.from_location(tu, location) 74 cursor = Cursor.from_location(tu, offset_location)
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFDataExtractor.h | 56 std::pair<uint64_t, dwarf::DwarfFormat> getInitialLength(Cursor &C) const { in getInitialLength() 65 uint64_t getRelocatedValue(Cursor &C, uint32_t Size, 75 uint64_t getRelocatedAddress(Cursor &C, uint64_t *SecIx = nullptr) const {
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitstream/Reader/ |
H A D | BitstreamReader.cpp | 66 static Expected<uint64_t> readAbbreviatedField(BitstreamCursor &Cursor, in readAbbreviatedField() argument 76 assert((unsigned)Op.getEncodingData() <= Cursor.MaxChunkSize); in readAbbreviatedField() 77 return Cursor.Read((unsigned)Op.getEncodingData()); in readAbbreviatedField() 79 assert((unsigned)Op.getEncodingData() <= Cursor.MaxChunkSize); in readAbbreviatedField() 80 return Cursor.ReadVBR64((unsigned)Op.getEncodingData()); in readAbbreviatedField() 82 if (Expected<unsigned> Res = Cursor.Read(6)) in readAbbreviatedField()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfCompileUnit.cpp | 486 DIExpressionCursor Cursor({}); in updateSubprogramScopeDIE() local 489 DwarfExpr.addExpression(std::move(Cursor)); in updateSubprogramScopeDIE() 778 DIExpressionCursor Cursor(Expr); in constructVariableDIEImpl() local 782 DIExpressionCursor &Cursor) { in constructVariableDIEImpl() argument 784 if (!DwarfExpr.addMachineRegExpression(TRI, Cursor, in constructVariableDIEImpl() 809 std::move(Cursor), in constructVariableDIEImpl() 810 [&](unsigned Idx, DIExpressionCursor &Cursor) -> bool { in constructVariableDIEImpl() argument 811 return AddEntry(DVal->getLocEntries()[Idx], Cursor); in constructVariableDIEImpl() 859 DIExpressionCursor Cursor(Ops); in constructVariableDIEImpl() local 865 *Asm->MF->getSubtarget().getRegisterInfo(), Cursor, FrameReg); in constructVariableDIEImpl() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-format/ |
H A D | ClangFormat.cpp | 96 Cursor("cursor", variable 340 const cl::opt<unsigned> &Cursor, in outputXML() argument 348 if (Cursor.getNumOccurrences() != 0) in outputXML() 411 unsigned CursorPosition = Cursor; in format() 429 outputXML(Replaces, FormatChanges, Status, Cursor, CursorPosition); in format() 447 if (Cursor.getNumOccurrences() != 0) { in format()
|
/netbsd-src/external/bsd/nvi/docs/ |
H A D | ev | 4 <CK> <CK> (Cursor keys). Move around the file. 32 ^J j Cursor down one line. 33 ^K k Cursor up one line.
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/Disassembler/ |
H A D | AMDGPUDisassembler.cpp | 1628 DataExtractor::Cursor &Cursor, ArrayRef<uint8_t> Bytes, in decodeKernelDescriptorDirective() argument 1645 switch (Cursor.tell()) { in decodeKernelDescriptorDirective() 1647 FourByteBuffer = DE.getU32(Cursor); in decodeKernelDescriptorDirective() 1653 FourByteBuffer = DE.getU32(Cursor); in decodeKernelDescriptorDirective() 1659 FourByteBuffer = DE.getU32(Cursor); in decodeKernelDescriptorDirective() 1666 ReservedBytes = DE.getBytes(Cursor, 4); in decodeKernelDescriptorDirective() 1678 DE.skip(Cursor, 8); in decodeKernelDescriptorDirective() 1683 ReservedBytes = DE.getBytes(Cursor, 20); in decodeKernelDescriptorDirective() 1695 FourByteBuffer = DE.getU32(Cursor); in decodeKernelDescriptorDirective() 1702 FourByteBuffer = DE.getU32(Cursor); in decodeKernelDescriptorDirective() [all …]
|
H A D | AMDGPUDisassembler.h | 72 decodeKernelDescriptorDirective(DataExtractor::Cursor &Cursor,
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Frontend/ |
H A D | SerializedDiagnosticReader.h | 69 enum class Cursor; variable 72 llvm::ErrorOr<Cursor> skipUntilRecordOrBlock(llvm::BitstreamCursor &Stream,
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/ |
H A D | GlobalModuleIndex.cpp | 130 llvm::BitstreamCursor Cursor) in GlobalModuleIndex() argument 144 if (Expected<llvm::BitstreamEntry> Res = Cursor.advance()) in GlobalModuleIndex() 171 if (llvm::Error Err = Cursor.EnterSubBlock(GLOBAL_INDEX_BLOCK_ID)) in GlobalModuleIndex() 174 } else if (llvm::Error Err = Cursor.SkipBlock()) in GlobalModuleIndex() 182 Cursor.readRecord(Entry.ID, Record, &Blob); in GlobalModuleIndex() 267 llvm::BitstreamCursor Cursor(*Buffer); in readIndex() local 271 if (Expected<llvm::SimpleBitstreamCursor::word_t> Res = Cursor.Read(8)) { in readIndex() 280 return std::make_pair(new GlobalModuleIndex(std::move(Buffer), Cursor), in readIndex()
|