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

123456789

/freebsd-head/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteTest.cpp19 SourceManager &SM = PP.getSourceManager(); local
22 TokenRewriter Rewriter(SM.getMainFileID(), SM, LangOpts);
/freebsd-head/contrib/llvm-project/clang/include/clang/Basic/
H A DSanitizerBlacklist.h30 SourceManager &SM; member in class:clang::SanitizerBlacklist
34 SourceManager &SM);
H A DPrettyStackTrace.h27 SourceManager &SM; member in class:clang::PrettyStackTraceLoc
32 : SM(sm), Loc(L), Message(Msg) {}
H A DSanitizerSpecialCaseList.h51 SanitizerSection(SanitizerMask SM, SectionEntries &E) argument
52 : Mask(SM), Entries(E){};
H A DXRayLists.h33 SourceManager &SM; member in class:clang::XRayFunctionFilter
38 ArrayRef<std::string> AttrListPaths, SourceManager &SM);
/freebsd-head/contrib/llvm-project/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();
H A DSystemZHazardRecognizer.h111 const TargetSchedModel *SM)
112 : TII(tii), SchedModel(SM) {
110 SystemZHazardRecognizer(const SystemZInstrInfo *tii, const TargetSchedModel *SM) argument
/freebsd-head/contrib/llvm-project/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-project/clang/lib/AST/
H A DDataCollection.cpp36 SourceManager &SM = Context.getSourceManager(); local
42 Loc = SM.getImmediateMacroCallerLoc(Loc);
/freebsd-head/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DGCMetadataPrinter.h67 virtual bool emitStackMaps(StackMaps &SM, AsmPrinter &AP) { return false; } argument
/freebsd-head/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DSummaryView.h41 const llvm::MCSchedModel &SM; member in class:llvm::mca::SummaryView
H A DSchedulerStatistics.h48 const llvm::MCSchedModel &SM; member in class:llvm::mca::final
/freebsd-head/contrib/llvm-project/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-project/clang/lib/Lex/
H A DScratchBuffer.cpp23 ScratchBuffer::ScratchBuffer(SourceManager &SM) argument
24 : SourceMgr(SM), CurBuffer(nullptr) {
/freebsd-head/contrib/llvm-project/llvm/lib/MCA/
H A DContext.cpp32 const MCSchedModel &SM = STI.getSchedModel(); local
35 auto RCU = std::make_unique<RetireControlUnit>(SM);
36 auto PRF = std::make_unique<RegisterFile>(SM, MRI, Opts.RegisterFileSize);
37 auto LSU = std::make_unique<LSUnit>(SM, Opts.LoadQueueSize,
39 auto HWS = std::make_unique<Scheduler>(SM, *LSU);
/freebsd-head/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/
H A DSourceExtraction.cpp21 bool isSemicolonAtLocation(SourceLocation TokenLoc, const SourceManager &SM, argument
24 CharSourceRange::getTokenRange(TokenLoc, TokenLoc), SM,
61 const SourceManager &SM) {
63 SM.getSpellingLineNumber(Loc1) == SM.getSpellingLineNumber(Loc2);
73 const SourceManager &SM,
98 if (isSemicolonAtLocation(End, SM, LangOpts))
103 Optional<Token> NextToken = Lexer::findNextToken(End, SM, LangOpts);
105 areOnSameLine(NextToken->getLocation(), End, SM)) {
60 areOnSameLine(SourceLocation Loc1, SourceLocation Loc2, const SourceManager &SM) argument
72 compute(const Stmt *S, SourceRange &ExtractedRange, const SourceManager &SM, const LangOptions &LangOpts) argument
/freebsd-head/contrib/llvm-project/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-project/llvm/lib/AsmParser/
H A DParser.cpp29 SourceMgr SM; local
31 SM.AddNewSourceBuffer(std::move(Buf), SMLoc());
34 return LLParser(F.getBuffer(), SM, Err, M, Index,
147 SourceMgr SM;
149 SM.AddNewSourceBuffer(std::move(Buf), SMLoc());
154 return LLParser(F.getBuffer(), SM, Err, nullptr, &Index, unusedContext)
184 SourceMgr SM;
186 SM.AddNewSourceBuffer(std::move(Buf), SMLoc());
188 if (LLParser(Asm, SM, Err, const_cast<Module *>(&M), nullptr, M.getContext())
201 SourceMgr SM;
[all...]
/freebsd-head/contrib/llvm-project/clang/lib/Basic/
H A DSanitizerBlacklist.cpp23 const std::vector<std::string> &BlacklistPaths, SourceManager &SM)
25 BlacklistPaths, SM.getFileManager().getVirtualFileSystem())),
26 SM(SM) {}
57 isBlacklistedFile(Mask, SM.getFilename(SM.getFileLoc(Loc)), Category);
22 SanitizerBlacklist( const std::vector<std::string> &BlacklistPaths, SourceManager &SM) argument
H A DXRayLists.cpp23 ArrayRef<std::string> AttrListPaths, SourceManager &SM)
25 AlwaysInstrumentPaths, SM.getFileManager().getVirtualFileSystem())),
27 NeverInstrumentPaths, SM.getFileManager().getVirtualFileSystem())),
29 AttrListPaths, SM.getFileManager().getVirtualFileSystem())),
30 SM(SM) {}
75 return this->shouldImbueFunctionsInFile(SM.getFilename(SM.getFileLoc(Loc)),
20 XRayFunctionFilter( ArrayRef<std::string> AlwaysInstrumentPaths, ArrayRef<std::string> NeverInstrumentPaths, ArrayRef<std::string> AttrListPaths, SourceManager &SM) argument
/freebsd-head/contrib/llvm-project/clang/lib/Index/
H A DFileIndexRecord.cpp48 SourceManager &SM = D->getASTContext().getSourceManager(); local
49 SourceLocation Loc = SM.getFileLoc(D->getLocation());
50 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
/freebsd-head/contrib/llvm-project/clang/lib/Analysis/
H A DCFGStmtMap.cpp27 SMap *SM = AsMap(M); local
33 SMap::iterator I = SM->find(X);
34 if (I != SM->end()) {
38 (*SM)[X] = B;
48 static void Accumulate(SMap &SM, CFGBlock *B) { argument
56 CFGBlock *&Entry = SM[CS->getStmt()];
68 SM[Label] = B;
74 SM[Term] = B;
81 SMap *SM = new SMap();
86 Accumulate(*SM, *
[all...]
/freebsd-head/contrib/llvm-project/clang/lib/Rewrite/
H A DTokenRewriter.cpp26 TokenRewriter::TokenRewriter(FileID FID, SourceManager &SM, argument
28 ScratchBuf.reset(new ScratchBuffer(SM));
31 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID);
32 Lexer RawLex(FID, FromFile, SM, LangOpts);
/freebsd-head/contrib/llvm-project/clang/include/clang/AST/
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

Completed in 121 milliseconds

123456789