Searched defs:SM (Results 1 - 25 of 215) sorted by relevance

123456789

/freebsd-head/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DRewriteTest.cpp19 SourceManager &SM = PP.getSourceManager(); local
22 TokenRewriter Rewriter(SM.getMainFileID(), SM, LangOpts);
/freebsd-head/contrib/llvm/tools/clang/include/clang/Basic/
H A DSanitizerBlacklist.h28 SourceManager &SM; member in class:clang::SanitizerBlacklist
32 SourceManager &SM);
H A DPrettyStackTrace.h27 SourceManager &SM; member in class:clang::PrettyStackTraceLoc
32 : SM(sm), Loc(L), Message(Msg) {}
H A DSanitizerSpecialCaseList.h41 SanitizerSection(SanitizerMask SM, SectionEntries &E) argument
42 : Mask(SM), Entries(E){};
H A DJsonSupport.h82 const SourceManager &SM,
91 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
112 printSourceLocationAsJson(Out, SM.getExpansionLoc(Loc), SM, false);
114 printSourceLocationAsJson(Out, SM.getSpellingLoc(Loc), SM, true);
81 printSourceLocationAsJson(raw_ostream &Out, SourceLocation Loc, const SourceManager &SM, bool AddBraces = true) argument
H A DXRayLists.h29 SourceManager &SM; member in class:clang::XRayFunctionFilter
34 ArrayRef<std::string> AttrListPaths, SourceManager &SM);
/freebsd-head/contrib/llvm/lib/Target/SystemZ/
H A DSystemZAsmPrinter.h27 StackMaps SM; member in class:llvm::SystemZAsmPrinter
31 : AsmPrinter(TM, std::move(Streamer)), SM(*this) {}
44 SM.reset();
/freebsd-head/contrib/llvm/include/llvm/MCA/Stages/
H A DInstructionTables.h29 const MCSchedModel &SM; member in class:llvm::mca::final
35 : Stage(), SM(Model), Masks(Model.getNumProcResourceKinds()) {
H A DEntryStage.h29 SourceMgr &SM; member in class:llvm::mca::final
39 EntryStage(SourceMgr &SM) : CurrentInstruction(), SM(SM), NumRetired(0) { } argument
/freebsd-head/contrib/llvm/tools/clang/include/clang/AST/
H A DASTDumper.h27 const SourceManager *SM)
28 : ASTDumper(OS, Traits, SM, SM && SM->getDiagnostics().getShowColors()) {}
31 const SourceManager *SM, bool ShowColors)
32 : ASTDumper(OS, Traits, SM, ShowColors, LangOptions()) {}
34 const SourceManager *SM, bool ShowColors,
36 : NodeDumper(OS, ShowColors, SM, PrintPolicy, Traits), OS(OS),
26 ASTDumper(raw_ostream &OS, const comments::CommandTraits *Traits, const SourceManager *SM) argument
30 ASTDumper(raw_ostream &OS, const comments::CommandTraits *Traits, const SourceManager *SM, bool ShowColors) argument
33 ASTDumper(raw_ostream &OS, const comments::CommandTraits *Traits, const SourceManager *SM, bool ShowColors, const PrintingPolicy &PrintPolicy) argument
H A DLexicallyOrderedRecursiveASTVisitor.h64 LexicallyOrderedRecursiveASTVisitor(const SourceManager &SM) : SM(SM) {} argument
101 if (!SM.isBeforeInTranslationUnit(Sibling->getBeginLoc(),
157 const SourceManager &SM; member in class:clang::LexicallyOrderedRecursiveASTVisitor
/freebsd-head/contrib/llvm/tools/clang/lib/AST/
H A DDataCollection.cpp36 SourceManager &SM = Context.getSourceManager(); local
42 Loc = SM.getImmediateMacroCallerLoc(Loc);
/freebsd-head/contrib/llvm/lib/MCA/
H A DContext.cpp33 const MCSchedModel &SM = STI.getSchedModel(); local
36 auto RCU = llvm::make_unique<RetireControlUnit>(SM);
37 auto PRF = llvm::make_unique<RegisterFile>(SM, MRI, Opts.RegisterFileSize);
38 auto LSU = llvm::make_unique<LSUnit>(SM, Opts.LoadQueueSize,
40 auto HWS = llvm::make_unique<Scheduler>(SM, *LSU);
/freebsd-head/contrib/llvm/include/llvm/CodeGen/
H A DGCMetadataPrinter.h67 virtual bool emitStackMaps(StackMaps &SM, AsmPrinter &AP) { return false; } argument
/freebsd-head/contrib/llvm/tools/llvm-mca/Views/
H A DInstructionInfoView.cpp22 const MCSchedModel &SM = STI.getSchedModel(); local
37 unsigned CPUID = SM.getProcessorID();
40 while (SchedClassID && SM.getSchedClassDesc(SchedClassID)->isVariant())
43 const MCSchedClassDesc &SCDesc = *SM.getSchedClassDesc(SchedClassID);
H A DSummaryView.h41 const llvm::MCSchedModel &SM; member in class:llvm::mca::SummaryView
/freebsd-head/contrib/llvm/tools/clang/lib/Basic/
H A DSanitizerBlacklist.cpp18 const std::vector<std::string> &BlacklistPaths, SourceManager &SM)
19 : SSCL(SanitizerSpecialCaseList::createOrDie(BlacklistPaths)), SM(SM) {}
48 isBlacklistedFile(Mask, SM.getFilename(SM.getFileLoc(Loc)), Category);
17 SanitizerBlacklist( const std::vector<std::string> &BlacklistPaths, SourceManager &SM) argument
H A DXRayLists.cpp19 ArrayRef<std::string> AttrListPaths, SourceManager &SM)
23 AttrList(llvm::SpecialCaseList::createOrDie(AttrListPaths)), SM(SM) {}
66 return this->shouldImbueFunctionsInFile(SM.getFilename(SM.getFileLoc(Loc)),
16 XRayFunctionFilter( ArrayRef<std::string> AlwaysInstrumentPaths, ArrayRef<std::string> NeverInstrumentPaths, ArrayRef<std::string> AttrListPaths, SourceManager &SM) argument
/freebsd-head/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Extract/
H A DSourceExtraction.cpp21 bool isSemicolonAtLocation(SourceLocation TokenLoc, const SourceManager &SM, argument
24 CharSourceRange::getTokenRange(TokenLoc, TokenLoc), SM,
57 const SourceManager &SM) {
59 SM.getSpellingLineNumber(Loc1) == SM.getSpellingLineNumber(Loc2);
69 const SourceManager &SM,
94 if (isSemicolonAtLocation(End, SM, LangOpts))
99 Optional<Token> NextToken = Lexer::findNextToken(End, SM, LangOpts);
101 areOnSameLine(NextToken->getLocation(), End, SM)) {
56 areOnSameLine(SourceLocation Loc1, SourceLocation Loc2, const SourceManager &SM) argument
68 compute(const Stmt *S, SourceRange &ExtractedRange, const SourceManager &SM, const LangOptions &LangOpts) argument
/freebsd-head/contrib/llvm/tools/clang/lib/Index/
H A DFileIndexRecord.cpp47 SourceManager &SM = D->getASTContext().getSourceManager(); local
48 SourceLocation Loc = SM.getFileLoc(D->getLocation());
49 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
/freebsd-head/contrib/llvm/tools/clang/lib/Lex/
H A DScratchBuffer.cpp23 ScratchBuffer::ScratchBuffer(SourceManager &SM) argument
24 : SourceMgr(SM), CurBuffer(nullptr) {
/freebsd-head/contrib/llvm/tools/clang/include/clang/Tooling/
H A DJSONCompilationDatabase.h100 YAMLStream(this->Database->getBuffer(), SM) {}
135 llvm::SourceMgr SM; member in class:clang::tooling::JSONCompilationDatabase
/freebsd-head/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DPlistReporter.cpp36 SourceManager &SM,
49 AddFID(FM, Fids, SM, D.getLocation());
53 AddFID(FM, Fids, SM, RI->getBegin());
54 AddFID(FM, Fids, SM, RI->getEnd());
75 EmitString(o << " ", SM.getFileEntryForID(FID)->getName()) << '\n';
102 EmitLocation(o, SM, D.getLocation(), FM, 2);
109 CharSourceRange ExpansionRange = SM.getExpansionRange(R);
110 EmitRange(o, SM, Lexer::getAsCharRange(ExpansionRange, SM, LangOpts),
34 writeARCDiagsToPlist(const std::string &outPath, ArrayRef<StoredDiagnostic> diags, SourceManager &SM, const LangOptions &LangOpts) argument
/freebsd-head/contrib/llvm/lib/Remarks/
H A DYAMLRemarkParser.h34 YAMLParseError(StringRef Message, SourceMgr &SM, yaml::Stream &Stream,
56 SourceMgr SM; member in struct:llvm::remarks::YAMLRemarkParser
/freebsd-head/contrib/llvm/lib/MCA/HardwareUnits/
H A DRetireControlUnit.cpp22 RetireControlUnit::RetireControlUnit(const MCSchedModel &SM) argument
24 AvailableSlots(SM.MicroOpBufferSize), MaxRetirePerCycle(0) {
28 if (SM.hasExtraProcessorInfo()) {
29 const MCExtraProcessorInfo &EPI = SM.getExtraProcessorInfo();

Completed in 318 milliseconds

123456789