| /src/external/apache2/llvm/dist/clang/lib/Frontend/ |
| SerializedDiagnosticReader.cpp | 109 enum class SerializedDiagnosticReader::Cursor { 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> Res = skipUntilRecordOrBlock(Stream, BlockOrCode) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| InterferenceCache.h | 53 /// 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 { 193 /// Cursor - Create a dangling cursor. 194 Cursor() = default; 196 Cursor(const Cursor &O) { 200 Cursor &operator=(const Cursor &O) [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Serialization/ |
| ASTRecordReader.h | 47 /// Reads a record with id AbbrevID from Cursor, resetting the 49 Expected<unsigned> readRecord(llvm::BitstreamCursor &Cursor, 347 explicit SavedStreamPosition(llvm::BitstreamCursor &Cursor) 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;
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| DataExtractor.h | 52 /// 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 { 61 /// Construct a cursor for extraction from the given offset. 62 explicit Cursor(uint64_t Offset) : Offset(Offset), Err(Error::success()) {} 64 /// Checks whether the cursor is valid (i.e. no errors were encountered). In 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 [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| PlaceSafepoints.cpp | 414 Instruction *Cursor = nullptr; 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;
|
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/MIRParser/ |
| MILexer.cpp | 32 class Cursor { 37 Cursor(NoneType) {} 39 explicit Cursor(StringRef Str) { 52 StringRef upto(Cursor C) const { 86 /// Skip the leading whitespace characters and return the updated cursor. 87 static Cursor skipWhitespace(Cursor C) { 95 /// Skip a line comment and return the updated cursor. 96 static Cursor skipComment(Cursor C) [all...] |
| /src/external/apache2/llvm/dist/clang/tools/libclang/ |
| CXIndexDataConsumer.cpp | 190 CXCursor Cursor; 192 Cursor = cxcursor::MakeCXCursor(ASTNode.OrigE, 198 Cursor = getRefCursor(OrigND, Loc); 200 Cursor = MakeCXCursor(ASTNode.OrigD, CXTU); 202 Cursor = getRefCursor(ND, Loc); 205 handleReference(ND, Loc, Cursor, 267 : AttrInfo(CXIdxAttr_IBOutletCollection, other.cursor, other.loc, other.A) { 542 SourceLocation Loc, CXCursor Cursor, 564 DInfo.cursor = Cursor; [all...] |
| CIndex.cpp | 174 // Cursor visitor. 184 /// Visit the given cursor and, if requested by the visitor, 187 /// \param Cursor the cursor to visit. 190 /// that this cursor is within the region of interest. 194 bool CursorVisitor::Visit(CXCursor Cursor, bool CheckedRegionOfInterest) { 195 if (clang_isInvalid(Cursor.kind)) 198 if (clang_isDeclaration(Cursor.kind)) { 199 const Decl *D = getCursorDecl(Cursor); 201 assert(0 && "Invalid declaration cursor"); 4555 typedef enum CXChildVisitResult (^CXCursorVisitorBlock)(CXCursor cursor, variable 7034 CXCursor cursor; member in struct:__anon3574::AnnotateTokensWorker::PostChildrenAction [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
| AArch64TargetTransformInfo.cpp | 331 Value *Cursor = II.getOperand(0), *EarliestReplacement = nullptr; 336 while (Cursor) { 337 // If the type of the cursor has fewer lanes than the final result, zeroing 339 const auto *CursorVTy = cast<VectorType>(Cursor->getType()); 344 // If the cursor has the same type as I, it is a viable replacement. 345 if (Cursor->getType() == IVTy) 346 EarliestReplacement = Cursor; 348 auto *IntrinsicCursor = dyn_cast<IntrinsicInst>(Cursor); 358 Cursor = IntrinsicCursor->getOperand(0);
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-rc/ |
| ResourceFileWriter.cpp | 736 // CURSORDIR structure. Describes a single cursor in resource group. 750 CursorDir Cursor; // Used in CURSOR resources. 753 ulittle16_t Planes; // HotspotX (.cur files but not CURSOR resource). 754 ulittle16_t BitCount; // HotspotY (.cur files but not CURSOR resource). 788 enum class IconCursorGroupType { Icon, Cursor }; 802 Twine getResourceTypeName() const override { return "Icon/cursor image"; } 824 Twine getResourceTypeName() const override { return "Icon/cursor group"; } 836 if (Res->Type == IconCursorGroupType::Cursor) { 880 Type = IconCursorGroupType::Cursor; [all...] |
| /src/external/apache2/llvm/dist/clang/bindings/python/clang/ |
| cindex.py | 35 Cursor 610 ### Cursor Kinds ### 639 """Get the enumeration name of this cursor kind.""" 659 A CursorKind describes the kind of entity that a cursor points to. 852 # while the type of the variable "size" is referenced. The cursor 1311 # Cursor that represents the translation unit itself. 1313 # The translation unit cursor exists primarily to act as the root cursor for 1415 class Cursor(Structure): 1417 The Cursor class represents a reference to an element within the AST. I 2878 def cursor(self): member in class:TranslationUnit 3310 def cursor(self): member in class:Token [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Serialization/ |
| ASTReader.cpp | 1158 BitstreamCursor &Cursor, 1163 SavedStreamPosition SavedPosition(Cursor); 1164 if (llvm::Error Err = Cursor.JumpToBit(Offset)) { 1171 Expected<unsigned> MaybeCode = Cursor.ReadCode(); 1178 Expected<unsigned> MaybeRecCode = Cursor.readRecord(Code, Record, &Blob); 1208 BitstreamCursor &Cursor, 1213 SavedStreamPosition SavedPosition(Cursor); 1214 if (llvm::Error Err = Cursor.JumpToBit(Offset)) { 1221 Expected<unsigned> MaybeCode = Cursor.ReadCode(); 1228 Expected<unsigned> MaybeRecCode = Cursor.readRecord(Code, Record, &Blob) [all...] |
| ASTReaderStmt.cpp | 101 ASTStmtReader(ASTRecordReader &Record, llvm::BitstreamCursor &Cursor) 102 : Record(Record), DeclsCursor(Cursor) {} 2643 llvm::BitstreamCursor &Cursor = F.DeclsCursor; 2654 ASTStmtReader Reader(Record, Cursor); 2659 Cursor.advanceSkippingSubblocks(); 2682 Expected<unsigned> MaybeStmtCode = Record.readRecord(Cursor, Entry.ID); 3861 StmtEntries[Cursor.GetCurrentBitNo()] = S;
|
| ASTReaderDecl.cpp | 2865 /// Get the correct cursor and offset for loading a declaration. 4167 llvm::BitstreamCursor &Cursor = F->DeclsCursor; 4168 SavedStreamPosition SavedPosition(Cursor); 4169 if (llvm::Error JumpFailed = Cursor.JumpToBit(Offset)) 4174 Expected<unsigned> MaybeCode = Cursor.ReadCode(); 4181 if (Expected<unsigned> MaybeRecCode = Record.readRecord(Cursor, Code)) 4249 llvm::BitstreamCursor &Cursor = M->DeclsCursor; 4250 SavedStreamPosition SavedPosition(Cursor); 4251 if (llvm::Error JumpFailed = Cursor.JumpToBit(LocalOffset)) 4257 Expected<unsigned> MaybeCode = Cursor.ReadCode() [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
| CodeViewDebug.cpp | 176 size_t Cursor = 0; 177 while ((Cursor = Filepath.find("\\.\\", Cursor)) != std::string::npos) 178 Filepath.erase(Cursor, 2); 182 Cursor = 0; 183 while ((Cursor = Filepath.find("\\..\\", Cursor)) != std::string::npos) { 185 if (Cursor == 0) 188 size_t PrevSlash = Filepath.rfind('\\', Cursor - 1); 193 Filepath.erase(PrevSlash, Cursor + 3 - PrevSlash) [all...] |
| /src/external/apache2/llvm/dist/clang/tools/c-index-test/ |
| c-index-test.c | 688 static void PrintCursorComments(CXCursor Cursor, 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) { 746 return clang_getCursorSpelling(Cursor); 748 return clang_getCursorDisplayName(Cursor); 750 CXPrintingPolicy Policy = clang_getCursorPrintingPolicy(Cursor); 752 text = clang_getCursorPrettyPrinted(Cursor, Policy) 2292 CXCursor cursor; local [all...] |