HomeSort by: relevance | last modified time | path
    Searched refs:SM (Results 1 - 25 of 459) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/apache2/llvm/dist/llvm/include/llvm/MCA/Stages/
EntryStage.h 29 SourceMgr &SM;
39 EntryStage(SourceMgr &SM) : CurrentInstruction(), SM(SM), NumRetired(0) { }
InOrderIssueStage.h 32 const MCSchedModel &SM;
82 InOrderIssueStage(RegisterFile &PRF, const MCSchedModel &SM,
84 : SM(SM), STI(STI), PRF(PRF), RM(std::make_unique<ResourceManager>(SM)),
InstructionTables.h 29 const MCSchedModel &SM;
35 : Stage(), SM(Model), Masks(Model.getNumProcResourceKinds()) {
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
CFGStmtMap.cpp 27 SMap *SM = AsMap(M);
33 SMap::iterator I = SM->find(X);
34 if (I != SM->end()) {
38 (*SM)[X] = B;
48 static void Accumulate(SMap &SM, CFGBlock *B) {
56 CFGBlock *&Entry = SM[CS->getStmt()];
68 SM[Label] = B;
74 SM[Term] = B;
81 SMap *SM = new SMap();
86 Accumulate(*SM, *I)
    [all...]
MacroExpansionContext.cpp 21 SourceManager &SM;
26 const Preprocessor &PP, SourceManager &SM,
28 : PP(PP), SM(SM), ExpansionRanges(ExpansionRanges) {}
36 SourceLocation MacroNameBegin = SM.getExpansionLoc(MacroName.getLocation());
37 assert(MacroNameBegin == SM.getExpansionLoc(Range.getBegin()));
39 const SourceLocation ExpansionEnd = [Range, &SM = SM, &MacroName] {
42 return SM.getExpansionLoc(
46 return SM.getExpansionLoc(Range.getEnd()).getLocWithOffset(1)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/MCA/
Support.cpp 39 void computeProcResourceMasks(const MCSchedModel &SM,
43 assert(Masks.size() == SM.getNumProcResourceKinds() &&
49 for (unsigned I = 1, E = SM.getNumProcResourceKinds(); I < E; ++I) {
50 const MCProcResourceDesc &Desc = *SM.getProcResource(I);
58 for (unsigned I = 1, E = SM.getNumProcResourceKinds(); I < E; ++I) {
59 const MCProcResourceDesc &Desc = *SM.getProcResource(I);
73 for (unsigned I = 0, E = SM.getNumProcResourceKinds(); I < E; ++I) {
74 const MCProcResourceDesc &Desc = *SM.getProcResource(I);
82 double computeBlockRThroughput(const MCSchedModel &SM, unsigned DispatchWidth,
93 for (unsigned I = 0, E = SM.getNumProcResourceKinds(); I < E; ++I)
    [all...]
Context.cpp 33 const MCSchedModel &SM = STI.getSchedModel();
35 if (!SM.isOutOfOrder())
39 auto RCU = std::make_unique<RetireControlUnit>(SM);
40 auto PRF = std::make_unique<RegisterFile>(SM, MRI, Opts.RegisterFileSize);
41 auto LSU = std::make_unique<LSUnit>(SM, Opts.LoadQueueSize,
43 auto HWS = std::make_unique<Scheduler>(SM, *LSU);
73 const MCSchedModel &SM = STI.getSchedModel();
74 auto PRF = std::make_unique<RegisterFile>(SM, MRI, Opts.RegisterFileSize);
77 auto InOrderIssue = std::make_unique<InOrderIssueStage>(*PRF, SM, STI);
  /src/external/apache2/llvm/dist/clang/include/clang/Basic/
PrettyStackTrace.h 27 SourceManager &SM;
31 PrettyStackTraceLoc(SourceManager &sm, SourceLocation L, const char *Msg)
32 : SM(sm), Loc(L), Message(Msg) {}
  /src/external/apache2/llvm/dist/clang/lib/Basic/
XRayLists.cpp 23 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)),
NoSanitizeList.cpp 23 SourceManager &SM)
25 NoSanitizePaths, SM.getFileManager().getVirtualFileSystem())),
26 SM(SM) {}
53 containsFile(Mask, SM.getFilename(SM.getFileLoc(Loc)), Category);
SourceLocation.cpp 35 Loc.print(OS, SM);
62 void SourceLocation::print(raw_ostream &OS, const SourceManager &SM)const{
69 PresumedLoc PLoc = SM.getPresumedLoc(*this);
81 SM.getExpansionLoc(*this).print(OS, SM);
84 SM.getSpellingLoc(*this).print(OS, SM);
89 SourceLocation::printToString(const SourceManager &SM) const {
92 print(OS, SM);
96 LLVM_DUMP_METHOD void SourceLocation::dump(const SourceManager &SM) const
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
RewriteMacros.cpp 63 SourceManager &SM = PP.getSourceManager();
67 llvm::MemoryBufferRef FromFile = SM.getBufferOrFake(SM.getMainFileID());
68 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts());
90 SourceManager &SM = PP.getSourceManager();
93 Rewrite.setSourceMgr(SM, PP.getLangOpts());
94 RewriteBuffer &RB = Rewrite.getEditBuffer(SM.getMainFileID());
114 SourceLocation PPLoc = SM.getExpansionLoc(PPTok.getLocation());
117 if (!SM.isWrittenInMainFile(PPLoc))
    [all...]
RewriteTest.cpp 19 SourceManager &SM = PP.getSourceManager();
22 TokenRewriter Rewriter(SM.getMainFileID(), SM, LangOpts);
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Extract/
SourceExtraction.cpp 21 bool isSemicolonAtLocation(SourceLocation TokenLoc, const SourceManager &SM,
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)) {
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/
SourceCode.cpp 54 const SourceManager &SM) {
63 if (SM.isInSystemHeader(Range.getBegin()) ||
64 SM.isInSystemHeader(Range.getEnd()))
68 std::pair<FileID, unsigned> BeginInfo = SM.getDecomposedLoc(Range.getBegin());
69 std::pair<FileID, unsigned> EndInfo = SM.getDecomposedLoc(Range.getEnd());
83 const SourceManager &SM,
96 CharSourceRange Range = Lexer::makeFileCharRange(EditRange, SM, LangOpts);
97 bool IsInvalid = llvm::errorToBool(validateEditRange(Range, SM));
104 static bool startsWithNewline(const SourceManager &SM, const Token &Tok) {
105 return isVerticalWhitespace(SM.getCharacterData(Tok.getLocation())[0])
    [all...]
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CIndexInclusionStack.cpp 25 SourceManager &SM = CXXUnit->getSourceManager();
28 const bool HasPreamble = SM.getPreambleFileID().isValid();
33 IsLocal ? SM.getLocalSLocEntry(i) : SM.getLoadedSLocEntry(i, &Invalid);
50 PresumedLoc PLoc = SM.getPresumedLoc(L);
76 SourceManager &SM = cxtu::getASTUnit(TU)->getSourceManager();
77 const unsigned n = SM.local_sloc_entry_size();
84 if (n == 1 || SM.getPreambleFileID().isValid()) {
85 getInclusions(/*IsLocal=*/false, SM.loaded_sloc_entry_size(), TU, CB,
CXSourceLocation.cpp 206 const SourceManager &SM =
208 return SM.isInSystemHeader(Loc);
217 const SourceManager &SM =
219 return SM.isWrittenInMainFile(Loc);
239 const SourceManager &SM =
241 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc);
245 FileID fileID = SM.getFileID(ExpansionLoc);
247 const SrcMgr::SLocEntry &sloc = SM.getSLocEntry(fileID, &Invalid);
254 *file = const_cast<FileEntry *>(SM.getFileEntryForSLocEntry(sloc));
256 *line = SM.getExpansionLineNumber(ExpansionLoc)
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Lex/
PPConditionalDirectiveRecord.h 42 SourceManager &SM;
44 explicit Comp(SourceManager &SM) : SM(SM) {}
47 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS.getLoc());
50 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS);
53 return SM.isBeforeInTranslationUnit(LHS, RHS.getLoc());
66 explicit PPConditionalDirectiveRecord(SourceManager &SM);
  /src/external/mit/isl/dist/interface/
cpp_conversion.h 9 cpp_conversion_generator(SourceManager &SM,
13 generator(SM, exported_types, exported_functions, functions) {}
  /src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
AnalysisManager.h 125 static bool isInCodeFile(SourceLocation SL, const SourceManager &SM) {
126 if (SM.isInMainFile(SL))
133 SourceLocation IL = SM.getIncludeLoc(SM.getFileID(SL));
134 if (!IL.isValid() || !SM.isInMainFile(IL))
138 if (SM.getFilename(IL).contains("UnifiedSource")) {
141 return llvm::StringSwitch<bool>(SM.getFilename(SL).rsplit('.').second)
151 const SourceManager &SM = getASTContext().getSourceManager();
152 return isInCodeFile(SL, SM);
  /src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
PlistReporter.cpp 36 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),
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/
RefactoringRuleContext.h 35 RefactoringRuleContext(const SourceManager &SM) : SM(SM) {}
37 const SourceManager &getSources() const { return SM; }
72 const SourceManager &SM;
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
DiagnosticRenderer.cpp 60 const SourceManager &SM, const LangOptions &LangOpts,
62 edit::Commit commit(SM, LangOpts);
80 edit::EditedSource Editor(SM, LangOpts);
249 void DiagnosticRenderer::emitModuleBuildStack(const SourceManager &SM) {
250 ModuleBuildStack Stack = SM.getModuleBuildStack();
264 bool IsBegin, const SourceManager *SM,
266 assert(SM->getFileID(Loc) == MacroFileID);
274 if (SM->isMacroArgExpansion(Loc)) {
280 CharSourceRange(SM->getImmediateSpellingLoc(Loc), IsTokenRange);
281 MacroArgRange = SM->getImmediateExpansionRange(Loc)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/MCA/HardwareUnits/
RetireControlUnit.cpp 22 RetireControlUnit::RetireControlUnit(const MCSchedModel &SM)
24 AvailableEntries(SM.isOutOfOrder() ? SM.MicroOpBufferSize : 0),
26 assert(SM.isOutOfOrder() &&
31 if (SM.hasExtraProcessorInfo()) {
32 const MCExtraProcessorInfo &EPI = SM.getExtraProcessorInfo();
  /src/external/apache2/llvm/dist/clang/lib/AST/
DataCollection.cpp 36 SourceManager &SM = Context.getSourceManager();
42 Loc = SM.getImmediateMacroCallerLoc(Loc);

Completed in 28 milliseconds

1 2 3 4 5 6 7 8 91011>>