/external/llvm/utils/TableGen/ |
H A D | DAGISelMatcherEmitter.cpp | 144 const ScopeMatcher *SM = cast<ScopeMatcher>(N); local 145 assert(SM->getNext() == nullptr && "Shouldn't have next after scope"); 150 for (unsigned i = 0, e = SM->getNumChildren(); i != e; ++i) { 176 ChildSize = EmitMatcherList(SM->getChild(i), Indent+1, 187 OS.PadToColumn(CommentIndent) << "// " << SM->getNumChildren() 735 if (const ScopeMatcher *SM = dyn_cast<ScopeMatcher>(M)) { 736 for (unsigned i = 0, e = SM->getNumChildren(); i != e; ++i) 737 BuildHistogram(SM->getChild(i), OpcodeFreq);
|
/external/chromium_org/third_party/skia/experimental/PdfViewer/pdfparser/native/pdfapi/ |
H A D | SkPdfGraphicsStateDictionary_autogen.cpp | 381 double SkPdfGraphicsStateDictionary::SM(SkPdfNativeDoc* doc) { function in class:SkPdfGraphicsStateDictionary 382 SkPdfNativeObject* ret = get("SM", ""); 390 return get("SM", "") != NULL;
|
/external/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 174 void print(raw_ostream &OS, const SourceManager &SM) const; 175 std::string printToString(const SourceManager &SM) const; 176 void dump(const SourceManager &SM) const; 273 explicit FullSourceLoc(SourceLocation Loc, const SourceManager &SM) argument 274 : SourceLocation(Loc), SrcMgr(&SM) {}
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | ProgramState.h | 678 StoreManager &SM = *getStateManager().StoreMgr; local 680 Base = SM.getLValueField(cast<FieldDecl>(I), Base);
|
H A D | CallEvent.h | 216 const SourceManager &SM = local 218 return SM.isInSystemHeader(D->getLocation());
|
/external/clang/lib/ARCMigrate/ |
H A D | Transforms.cpp | 139 SourceManager &SM = Ctx.getSourceManager(); local 141 if (!Lexer::isAtEndOfMacroExpansion(loc, SM, Ctx.getLangOpts(), &loc)) 144 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOpts()); 147 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); 151 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); 158 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), 394 SourceManager &SM = Pass.Ctx.getSourceManager(); 397 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); 401 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); 408 Lexer lexer(SM 547 const SourceManager &SM = pass.Ctx.getSourceManager(); local [all...] |
H A D | TransformActions.cpp | 179 SourceManager &SM,Preprocessor &PP); 386 SourceManager &SM = Ctx.getSourceManager(); 387 if (SM.isInSystemHeader(SM.getExpansionLoc(loc))) 399 SourceManager &SM = Ctx.getSourceManager(); 400 if (SM.isInSystemHeader(SM.getExpansionLoc(loc))) 421 SourceManager &SM = Ctx.getSourceManager(); 422 loc = SM.getExpansionLoc(loc); 425 std::pair<FileID, unsigned> locInfo = SM 482 SourceManager &SM = Ctx.getSourceManager(); local 493 SourceManager &SM = Ctx.getSourceManager(); local 506 SourceManager &SM = Ctx.getSourceManager(); local 591 getLocForEndOfToken(SourceLocation loc, SourceManager &SM, Preprocessor &PP) argument [all...] |
/external/clang/lib/CodeGen/ |
H A D | CodeGenAction.cpp | 215 static void InlineAsmDiagHandler(const llvm::SMDiagnostic &SM,void *Context, argument 218 ((BackendConsumer*)Context)->InlineAsmDiagHandler2(SM, Loc); 643 SourceManager &SM = CI.getSourceManager(); local 644 FileID FID = SM.getMainFileID(); 645 llvm::MemoryBuffer *MainFile = SM.getBuffer(FID, &Invalid); 658 Loc = SM.translateFileLineCol(SM.getFileEntryForID(FID),
|
H A D | CodeGenPGO.cpp | 840 SourceManager &SM = CGM.getContext().getSourceManager(); local 841 loadRegionCounts(PGOReader, SM.isInMainFile(D->getLocation()));
|
/external/clang/lib/Frontend/ |
H A D | SerializedDiagnosticPrinter.cpp | 67 const SourceManager *SM, 73 const SourceManager &SM) override {} 76 const SourceManager *SM) override; 82 const SourceManager &SM) override; 138 const SourceManager *SM, 144 const SourceManager &SM); 147 void EmitCharSourceRange(CharSourceRange R, const SourceManager &SM); 160 void AddLocToRecord(SourceLocation Loc, const SourceManager *SM, 166 const SourceManager *SM, 168 AddLocToRecord(Loc, SM, S 165 AddLocToRecord(SourceLocation Loc, RecordDataImpl &Record, const SourceManager *SM, unsigned TokSize = 0) argument 282 AddLocToRecord(SourceLocation Loc, const SourceManager *SM, PresumedLoc PLoc, RecordDataImpl &Record, unsigned TokSize) argument 302 AddCharSourceRangeToRecord(CharSourceRange Range, RecordDataImpl &Record, const SourceManager &SM) argument 337 EmitCharSourceRange(CharSourceRange R, const SourceManager &SM) argument 583 EmitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, StringRef Message, const SourceManager *SM, DiagOrStoredDiag D) argument 615 emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, StringRef Message, ArrayRef<clang::CharSourceRange> Ranges, const SourceManager *SM, DiagOrStoredDiag D) argument 647 EmitCodeContext(SmallVectorImpl<CharSourceRange> &Ranges, ArrayRef<FixItHint> Hints, const SourceManager &SM) argument 675 emitCodeContext(SourceLocation Loc, DiagnosticsEngine::Level Level, SmallVectorImpl<CharSourceRange> &Ranges, ArrayRef<FixItHint> Hints, const SourceManager &SM) argument 683 emitNote(SourceLocation Loc, StringRef Message, const SourceManager *SM) argument [all...] |
H A D | CacheTokens.cpp | 492 SourceManager &SM = PP.getSourceManager(); local 495 for (SourceManager::fileinfo_iterator I = SM.fileinfo_begin(), 496 E = SM.fileinfo_end(); I != E; ++I) { 504 const llvm::MemoryBuffer *B = C.getBuffer(PP.getDiagnostics(), SM); 507 FileID FID = SM.createFileID(FE, SourceLocation(), SrcMgr::C_User); 508 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); 509 Lexer L(FID, FromFile, SM, LOpts);
|
H A D | PrintPreprocessedOutput.cpp | 83 SourceManager &SM; member in class:__anon17927::PrintPPOutputPPCallbacks 102 : PP(pp), SM(PP.getSourceManager()), 154 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 258 SourceManager &SourceMgr = SM; 513 unsigned ColNo = SM.getExpansionColumnNumber(Tok.getLocation());
|
H A D | VerifyDiagnosticConsumer.cpp | 56 SourceManager &SM; member in class:__anon17931::VerifyFileTracker 59 VerifyFileTracker(VerifyDiagnosticConsumer &Verify, SourceManager &SM) argument 60 : Verify(Verify), SM(SM) { } 67 Verify.UpdateParsedFileStatus(SM, SM.getFileID(Loc), 313 static bool ParseDirective(StringRef S, ExpectedData *ED, SourceManager &SM, argument 316 DiagnosticsEngine &Diags = PP ? PP->getDiagnostics() : SM.getDiagnostics(); 388 unsigned ExpectedLine = SM.getSpellingLineNumber(Pos, &Invalid); 392 ExpectedLoc = SM 527 SourceManager &SM = PP.getSourceManager(); local 584 findDirectives(SourceManager &SM, FileID FID, const LangOptions &LangOpts) argument 674 IsFromSameFile(SourceManager &SM, SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc) argument 769 UpdateParsedFileStatus(SourceManager &SM, FileID FID, ParsedStatus PS) argument [all...] |
/external/clang/lib/Index/ |
H A D | CommentToXML.cpp | 536 const SourceManager &SM, 539 FC(FC), Result(Str), Traits(Traits), SM(SM), 578 const SourceManager &SM; member in class:__anon17940::CommentASTToXMLConverter 900 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); 905 if (const FileEntry *FE = SM.getFileEntryForID(FID)) { 910 Result << " line=\"" << SM.getLineNumber(FID, FileOffset) 911 << "\" column=\"" << SM.getColumnNumber(FID, FileOffset) 533 CommentASTToXMLConverter(const FullComment *FC, SmallVectorImpl<char> &Str, const CommandTraits &Traits, const SourceManager &SM, SimpleFormatContext &SFC, unsigned FUID) argument
|
H A D | USRGeneration.cpp | 28 const SourceManager &SM, bool IncludeOffset) { 32 Loc = SM.getExpansionLoc(Loc); 33 const std::pair<FileID, unsigned> &Decomposed = SM.getDecomposedLoc(Loc); 34 const FileEntry *FE = SM.getFileEntryForID(Decomposed.first); 172 const SourceManager &SM = Context->getSourceManager(); local 173 return !SM.isInSystemHeader(D->getLocation()); 810 const SourceManager &SM, 821 bool ShouldGenerateLocation = !SM.isInSystemHeader(Loc); 825 printLoc(Out, Loc, SM, /*IncludeOffset=*/true); 27 printLoc(llvm::raw_ostream &OS, SourceLocation Loc, const SourceManager &SM, bool IncludeOffset) argument 809 generateUSRForMacro(const MacroDefinition *MD, const SourceManager &SM, SmallVectorImpl<char> &Buf) argument
|
/external/clang/lib/Lex/ |
H A D | Preprocessor.cpp | 59 SourceManager &SM, HeaderSearch &Headers, 64 FileMgr(Headers.getFileMgr()), SourceMgr(SM), HeaderInfo(Headers), 57 Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts, DiagnosticsEngine &diags, LangOptions &opts, SourceManager &SM, HeaderSearch &Headers, ModuleLoader &TheModuleLoader, IdentifierInfoLookup *IILookup, bool OwnsHeaders, TranslationUnitKind TUKind) argument
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | MacOSKeychainAPIChecker.cpp | 222 StoreManager& SM = C.getStoreManager(); local 223 SymbolRef sym = SM.getBinding(State->getStore(), *X).getAsLocSymbol();
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | CallEvent.cpp | 729 const SourceManager &SM = local 737 if (InterfLoc.isValid() && SM.isInMainFile(InterfLoc)) 759 if (D->getLocation().isValid() && !SM.isInMainFile(D->getLocation()))
|
H A D | HTMLDiagnostics.cpp | 340 SourceManager &SM = R.getSourceMgr(); 341 assert(&Pos.getManager() == &SM && "SourceManagers are different!"); 342 std::pair<FileID, unsigned> LPosInfo = SM.getDecomposedExpansionLoc(Pos); 347 const llvm::MemoryBuffer *Buf = SM.getBuffer(LPosInfo.first); 352 unsigned ColNo = SM.getColumnNumber(LPosInfo.first, LPosInfo.second); 475 Lexer rawLexer(SM.getLocForStartOfFile(LocInfo.first), PP.getLangOpts(), 530 SM.getLocForStartOfFile(LPosInfo.first).getLocWithOffset(DisplayPos); 584 SourceManager &SM = R.getSourceMgr(); local 587 SourceLocation InstantiationStart = SM.getExpansionLoc(Range.getBegin()); 588 unsigned StartLineNo = SM [all...] |
H A D | BugReporterVisitors.cpp | 1578 SourceManager &SM = BRC.getSourceManager(); local 1579 FullSourceLoc Loc = BR.getLocation(SM).asLocation(); 1582 if (SM.getFilename(Loc).endswith("sys/queue.h")) {
|
/external/llvm/lib/AsmParser/ |
H A D | LLParser.h | 139 LLParser(MemoryBuffer *F, SourceMgr &SM, SMDiagnostic &Err, Module *m) : argument 140 Context(m->getContext()), Lex(F, SM, Err, m->getContext()),
|
/external/llvm/lib/Target/X86/ |
H A D | X86MCInstLower.cpp | 739 static void LowerSTACKMAP(MCStreamer &OS, StackMaps &SM, argument 742 SM.recordStackMap(MI); 752 static void LowerPATCHPOINT(MCStreamer &OS, StackMaps &SM, argument 755 SM.recordPatchPoint(MI); 874 return LowerSTACKMAP(OutStreamer, SM, *MI, Subtarget->is64Bit(), getSubtargetInfo()); 877 return LowerPATCHPOINT(OutStreamer, SM, *MI, Subtarget->is64Bit(), getSubtargetInfo());
|
/external/skia/experimental/PdfViewer/pdfparser/native/pdfapi/ |
H A D | SkPdfGraphicsStateDictionary_autogen.cpp | 381 double SkPdfGraphicsStateDictionary::SM(SkPdfNativeDoc* doc) { function in class:SkPdfGraphicsStateDictionary 382 SkPdfNativeObject* ret = get("SM", ""); 390 return get("SM", "") != NULL;
|
/external/clang/lib/Parse/ |
H A D | ParseExpr.cpp | 280 const SourceManager &SM = PP.getSourceManager(); local 285 SM.getCharacterData(FILoc.getLocWithOffset(-1), &IsInvalid); 288 SM.getCharacterData(FILoc.getLocWithOffset(-2), &IsInvalid);
|
/external/clang/lib/Sema/ |
H A D | Sema.cpp | 454 SourceManager &SM = Context.getSourceManager(); local 456 [&SM](const std::pair<NamedDecl *, SourceLocation> &l, 463 return SM.isBeforeInTranslationUnit(l.second, r.second); 464 return SM.isBeforeInTranslationUnit(l.first->getLocation(),
|