HomeSort by relevance Sort by last modified time
    Searched defs:SM (Results 51 - 75 of 158) sorted by null

1 23 4 5 6 7

  /external/clang/unittests/Tooling/
CommentHandlerTest.cpp 41 SourceManager &SM = PP.getSourceManager();
42 std::string C(SM.getCharacterData(Start),
43 SM.getCharacterData(Loc.getEnd()));
46 unsigned CLine = SM.getSpellingLineNumber(Start, &Invalid);
49 unsigned CCol = SM.getSpellingColumnNumber(Start, &Invalid);
RefactoringTest.cpp 292 clang::SourceManager *SM;
315 Visitor->SM = &compiler.getSourceManager();
339 Replace = Replacement(*SM, Record, "");
362 Replace = Replacement(*SM, Call, "");
389 Replace = Replacement(*SM, &NNSLoc, "", Context->getLangOpts());
  /external/guice/core/test/com/google/inject/spi/
ToolStageInjectorTest.java 26 Foo.sm = null;
72 assertNull(Foo.sm);
87 assertNull(Foo.sm);
121 assertNotNull(Tooled.sm);
139 private static SM sm; field in class:ToolStageInjectorTest.Foo
140 @SuppressWarnings("unused") @Inject static void staticMethod(SM sm) { Tooled.sm = sm; }
152 private static SM sm; field in class:ToolStageInjectorTest.Tooled
    [all...]
  /external/llvm/tools/llvm-mcmarkup/
llvm-mcmarkup.cpp 71 SourceMgr &SM;
73 MarkupParser(MarkupLexer &lex, SourceMgr &SrcMgr) : Lex(lex), SM(SrcMgr) {}
84 SM.PrintMessage(Loc, SourceMgr::DK_Error, Msg);
  /external/clang/include/clang/Lex/
LiteralSupport.h 184 const SourceManager &SM;
202 const SourceManager &sm, const LangOptions &features,
205 : SM(sm), Features(features), Target(target), Diags(diags),
  /external/clang/lib/ARCMigrate/
TransUnbridgedCasts.cpp 256 SourceManager &SM = Pass.Ctx.getSourceManager();
257 char PrevChar = *SM.getCharacterData(InsertLoc.getLocWithOffset(-1));
283 SourceManager &SM = Pass.Ctx.getSourceManager();
287 std::tie(MacroBegin, MacroEnd) = SM.getImmediateExpansionRange(Loc);
289 SourceLocation InnerBegin = SM.getImmediateMacroCallerLoc(SubRange.getBegin());
290 SourceLocation InnerEnd = SM.getImmediateMacroCallerLoc(SubRange.getEnd());
Transforms.cpp 138 SourceManager &SM = Ctx.getSourceManager();
140 if (!Lexer::isAtEndOfMacroExpansion(loc, SM, Ctx.getLangOpts(), &loc))
143 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOpts());
146 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc);
150 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp);
157 Lexer lexer(SM.getLocForStartOfFile(locInfo.first),
390 SourceManager &SM = Pass.Ctx.getSourceManager();
393 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc);
397 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp);
404 Lexer lexer(SM.getLocForStartOfFile(locInfo.first)
    [all...]
  /external/clang/lib/Frontend/
DependencyFile.cpp 36 SourceManager &SM;
37 DepCollectorPPCallbacks(DependencyCollector &L, SourceManager &SM)
38 : DepCollector(L), SM(SM) { }
50 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc)));
281 SourceManager &SM = PP->getSourceManager();
284 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc)))
    [all...]
FrontendActions.cpp 618 SourceManager &SM = PP.getSourceManager();
621 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID());
622 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts());
686 const SourceManager& SM = CI.getSourceManager();
687 const llvm::MemoryBuffer *Buffer = SM.getBuffer(SM.getMainFileID(),
  /external/clang/lib/Frontend/Rewrite/
InclusionRewriter.cpp 39 SourceManager &SM; ///< Used to read and manage source files.
96 : PP(PP), SM(PP.getSourceManager()), OS(OS), MainEOL("\n"),
150 FileID Id = FullSourceLoc(Loc, SM).getFileID();
232 const MemoryBuffer &FromFile = *SM.getBuffer(SM.getMainFileID(), &Invalid);
298 SM.getFileOffset(StartToken.getLocation()), LocalEOL, Line,
310 SM.getFileOffset(DirectiveToken.getLocation()) +
407 const MemoryBuffer &FromFile = *SM.getBuffer(FileId, &Invalid);
416 if (FileId == SM.getMainFileID() || FileId == PP.getPredefinesFileID())
421 if (SM.getFileIDSize(FileId) == 0
    [all...]
  /external/clang/lib/Lex/
PreprocessingRecord.cpp 41 PreprocessingRecord::PreprocessingRecord(SourceManager &SM)
42 : SourceMgr(SM),
68 SourceManager &SM) {
77 return SM.isInFileID(SM.getFileLoc(Loc), FID);
172 const SourceManager &SM;
174 explicit PPEntityComp(const SourceManager &SM) : SM(SM) { }
179 return SM.isBeforeInTranslationUnit(LHS, RHS)
    [all...]
TokenLexer.cpp 47 SourceManager &SM = PP.getSourceManager();
48 MacroStartSLocOffset = SM.getNextLocalOffset();
60 MacroDefStart = SM.getExpansionLoc(Tokens[0].getLocation());
61 MacroDefLength = Macro->getDefinitionLength(SM);
62 MacroExpansionStart = SM.createExpansionLoc(MacroDefStart,
434 SourceManager &SM = PP.getSourceManager();
469 SM.isBeforeInSLocAddrSpace(Tok.getLocation(), MacroStartSLocOffset)) {
472 instLoc = SM.createExpansionLoc(Tok.getLocation(),
639 SourceManager &SM = PP.getSourceManager();
641 SM.createExpansionLoc(PasteOpLoc, ExpandLocStart, ExpandLocEnd, 2)
    [all...]
  /external/clang/lib/Rewrite/
HTMLRewrite.cpp 34 SourceManager &SM = R.getSourceMgr();
35 B = SM.getExpansionLoc(B);
36 E = SM.getExpansionLoc(E);
37 FileID FID = SM.getFileID(B);
38 assert(SM.getFileID(E) == FID && "B/E not in the same file!");
40 unsigned BOffset = SM.getFileOffset(B);
41 unsigned EOffset = SM.getFileOffset(E);
47 const char *BufferStart = SM.getBufferData(FID, &Invalid).data();
360 const SourceManager &SM = PP.getSourceManager();
361 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID)
    [all...]
  /external/clang/lib/Tooling/Core/
Replacement.cpp 56 SourceManager &SM = Rewrite.getSourceMgr();
57 const FileEntry *Entry = SM.getFileManager().getFile(FilePath);
61 // FIXME: Use SM.translateFile directly.
62 SourceLocation Location = SM.translateFileLineCol(Entry, 1, 1);
64 SM.getFileID(Location) :
65 SM.createFileID(Entry, SourceLocation(), SrcMgr::C_User);
69 SM.getLocForStartOfFile(ID).
  /external/clang/tools/libclang/
CIndexHigh.cpp 135 static SourceLocation getFileSpellingLoc(SourceManager &SM,
139 SourceLocation SpellLoc = SM.getImmediateSpellingLoc(Loc);
141 return getFileSpellingLoc(SM, SpellLoc, isMacroArg);
143 isMacroArg = SM.isMacroArgExpansion(Loc);
189 SourceManager &SM = Ctx.getSourceManager();
193 Loc = getFileSpellingLoc(SM, Loc, isMacroArg);
198 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc);
219 SourceManager &SM = cxtu::getASTUnit(TU)->getSourceManager();
221 FileID FID = SM.translateFile(File);
235 SourceRange Range(SM.getLocForStartOfFile(FID), SM.getLocForEndOfFile(FID))
    [all...]
  /external/eigen/Eigen/src/SparseLU/
SparseLU_gemm_kernel.h 38 SM = PM*PacketSize // step along M
61 Index actual_b_end1 = (actual_b/SM)*SM; // actual number of rows suitable for peeling
  /external/llvm/include/llvm/Support/
SourceMgr.h 234 const SourceMgr *SM;
246 : SM(nullptr), LineNo(0), ColumnNo(0), Kind(SourceMgr::DK_Error) {}
249 : SM(nullptr), Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd),
253 SMDiagnostic(const SourceMgr &sm, SMLoc L, StringRef FN,
259 const SourceMgr *getSourceMgr() const { return SM; }
  /external/llvm/lib/CodeGen/MIRParser/
MIRParser.cpp 49 SourceMgr SM;
164 : SM(), Filename(Filename), Context(Context) {
165 SM.AddNewSourceBuffer(std::move(Contents), SMLoc());
176 DS_Error, SM.GetMessage(Loc, SourceMgr::DK_Error, Message)));
207 yaml::Input In(SM.getMemoryBuffer(SM.getMainFileID())->getBuffer(),
363 if (parseNamedRegisterReference(PreferredReg, SM, MF,
374 if (parseNamedRegisterReference(Reg, SM, MF, LiveIn.Register.Value, PFS,
380 VReg, SM, MF, LiveIn.VirtualRegister.Value, PFS, IRSlots, Error))
392 if (parseNamedRegisterReference(Reg, SM, MF, RegSource.Value, PFS, IRSlots
    [all...]
  /external/llvm/lib/Target/AArch64/
AArch64AsmPrinter.cpp 51 StackMaps SM;
56 SM(*this), AArch64FI(nullptr) {}
68 void LowerSTACKMAP(MCStreamer &OutStreamer, StackMaps &SM,
70 void LowerPATCHPOINT(MCStreamer &OutStreamer, StackMaps &SM,
132 SM.serializeToStackMapSection();
365 void AArch64AsmPrinter::LowerSTACKMAP(MCStreamer &OutStreamer, StackMaps &SM,
369 SM.recordStackMap(MI);
393 void AArch64AsmPrinter::LowerPATCHPOINT(MCStreamer &OutStreamer, StackMaps &SM,
395 SM.recordPatchPoint(MI);
539 return LowerSTACKMAP(*OutStreamer, SM, *MI)
    [all...]
  /external/llvm/lib/Transforms/Utils/
SymbolRewriter.cpp 249 SourceMgr SM;
250 yaml::Stream YS(MapFile->getBuffer(), SM);
  /external/llvm/utils/TableGen/
DAGISelMatcherEmitter.cpp 162 const ScopeMatcher *SM = cast<ScopeMatcher>(N);
163 assert(SM->getNext() == nullptr && "Shouldn't have next after scope");
168 for (unsigned i = 0, e = SM->getNumChildren(); i != e; ++i) {
194 ChildSize = EmitMatcherList(SM->getChild(i), Indent+1,
205 OS.PadToColumn(CommentIndent) << "// " << SM->getNumChildren()
749 if (const ScopeMatcher *SM = dyn_cast<ScopeMatcher>(M)) {
750 for (unsigned i = 0, e = SM->getNumChildren(); i != e; ++i)
751 BuildHistogram(SM->getChild(i), OpcodeFreq);
  /toolchain/binutils/binutils-2.25/opcodes/
msp430-decode.c 88 #define SM(r, a) OP (1, MSP430_Operand_Indirect, r, a)
226 SM (reg, x);
242 SM (reg, 0);
375 ID (MSO_mov); SM (srcr, 0); DR (dstr);
447 ID (MSO_mov); SM (srcr, IMMS(2)); DR (dstr);
    [all...]
rl78-decode.c 123 #define SM(r,a) OP (1, RL78_Operand_Indirect, RL78_Reg_##r, a)
242 ID(add); W(); DR(AX); SM(None, IMMU(2)); Fzac;
272 ID(add); W(); DR(AX); SM(None, SADDR); Fzac;
304 ID(mov); DR(A); SM(B, IMMU(2));
336 ID(add); DR(A); SM(None, SADDR); Fzac;
366 ID(add); DR(A); SM(HL, 0); Fzac;
381 ID(add); DR(A); SM(HL, IMMU(1)); Fzac;
396 ID(add); DR(A); SM(None, IMMU(2)); Fzac;
535 ID(addc); DR(A); SM(None, SADDR); Fzac;
565 ID(addc); DR(A); SM(HL, 0); Fzac
    [all...]
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
ProgramState.h 713 StoreManager &SM = *getStateManager().StoreMgr;
715 Base = SM.getLValueField(cast<FieldDecl>(I), Base);
  /external/clang/lib/Analysis/
ReachableCode.cpp 115 static SourceLocation getTopMostMacro(SourceLocation Loc, SourceManager &SM) {
120 Loc = SM.getImmediateMacroCallerLoc(Loc);
139 SourceManager &SM = PP.getSourceManager();
140 SourceLocation TopL = getTopMostMacro(L, SM);

Completed in 416 milliseconds

1 23 4 5 6 7