HomeSort by relevance Sort by last modified time
    Searched defs:Loc (Results 26 - 50 of 171) sorted by null

12 3 4 5 6 7

  /external/llvm/include/llvm/MC/
MCFixup.h 75 SMLoc Loc;
78 MCFixupKind Kind, SMLoc Loc = SMLoc()) {
84 FI.Loc = Loc;
107 SMLoc getLoc() const { return Loc; }
MCTargetAsmParser.h 39 SMLoc Loc;
43 AsmRewrite(AsmRewriteKind kind, SMLoc loc, unsigned len = 0, unsigned val = 0)
44 : Kind(kind), Loc(loc), Len(len), Val(val) {}
MCInst.h 152 SMLoc Loc;
160 void setLoc(SMLoc loc) { Loc = loc; }
161 SMLoc getLoc() const { return Loc; }
  /external/llvm/lib/Analysis/
MemDepPrinter.cpp 130 AliasAnalysis::Location Loc = AA.getLocation(LI);
131 MDA.getNonLocalPointerDependency(Loc, true, LI->getParent(), NLDI);
139 AliasAnalysis::Location Loc = AA.getLocation(SI);
140 MDA.getNonLocalPointerDependency(Loc, false, SI->getParent(), NLDI);
142 AliasAnalysis::Location Loc = AA.getLocation(VI);
143 MDA.getNonLocalPointerDependency(Loc, false, VI->getParent(), NLDI);
  /external/llvm/lib/Object/
Archive.cpp 172 const char *Loc = Data->getBufferStart() + strlen(Magic);
174 ToHeader(Loc)->getSize();
175 Child c(this, StringRef(Loc, Size));
177 if (skip_internal && isInternalMember(*ToHeader(Loc)))
230 const char *Loc = Parent->getData().begin() + Offset;
232 ToHeader(Loc)->getSize();
233 Result = Child(Parent, StringRef(Loc, Size));
  /external/llvm/lib/TableGen/
TGParser.h 38 SMLoc Loc;
41 : Name(N), Bits(B), Value(V), Loc(L) {
104 bool AddValue(Record *TheRec, SMLoc Loc, const RecordVal &RV);
105 bool SetValue(Record *TheRec, SMLoc Loc, Init *ValName,
107 bool SetValue(Record *TheRec, SMLoc Loc, const std::string &ValName,
109 return SetValue(TheRec, Loc, StringInit::get(ValName), BitList, V);
126 bool ProcessForeachDefs(Record *CurRec, SMLoc Loc);
127 bool ProcessForeachDefs(Record *CurRec, SMLoc Loc, IterSet &IterVals);
  /external/llvm/lib/Transforms/Scalar/
Sink.cpp 165 AliasAnalysis::Location Loc = AA->getLocation(L);
168 if (AA->getModRefInfo(*I, Loc) & AliasAnalysis::Mod)
  /external/llvm/tools/llvm-mcmarkup/
llvm-mcmarkup.cpp 62 MarkupTag(StringRef n, StringRef m, SMLoc Loc)
63 : Name(n), Modifiers(m), StartLoc(Loc) {}
81 void FatalError(SMLoc Loc, StringRef Msg);
84 void MarkupParser::FatalError(SMLoc Loc, StringRef Msg) {
85 SM.PrintMessage(Loc, SourceMgr::DK_Error, Msg);
127 SMLoc Loc = SMLoc::getFromPointer(Start - 1);
135 return MarkupTag(SplitTag.first, SplitTag.second, Loc);
175 SMLoc Loc = SMLoc::getFromPointer(Lex.getPosition() - 1);
183 Parser.FatalError(Loc, "'>' without matching '<'");
  /external/clang/include/clang/Lex/
Token.h 38 SourceLocation Loc;
110 SourceLocation getLocation() const { return Loc; }
116 void setLocation(SourceLocation L) { Loc = L; }
155 Loc = SourceLocation();
  /external/clang/lib/ARCMigrate/
TransUnbridgedCasts.cpp 101 SourceLocation loc = castExpr->getExprLoc();
102 if (loc.isValid() && Pass.Ctx.getSourceManager().isInSystemHeader(loc))
276 SourceLocation Loc = E->getExprLoc();
277 assert(Loc.isMacroID());
279 llvm::tie(MacroBegin, MacroEnd) = SM.getImmediateExpansionRange(Loc);
Transforms.h 89 SourceLocation Loc;
166 /// \brief 'Loc' is the end of a statement range. This returns the location
170 SourceLocation findLocationAfterSemi(SourceLocation loc, ASTContext &Ctx);
172 /// \brief \arg Loc is the end of a statement range. This returns the location
176 SourceLocation findSemiAfterLocation(SourceLocation loc, ASTContext &Ctx);
  /external/clang/lib/Edit/
EditedSource.cpp 268 SourceLocation Loc, FileOffset offs,
271 SourceLocation BeginTokLoc = Lexer::GetBeginningOfToken(Loc, SM, LangOpts);
272 if (BeginTokLoc != Loc)
308 SourceLocation Loc = SM.getLocForStartOfFile(offs.getFID());
309 Loc = Loc.getLocWithOffset(offs.getOffset());
310 assert(Loc.isFileID());
313 adjustRemoval(SM, LangOpts, Loc, offs, len, text);
315 CharSourceRange range = CharSourceRange::getCharRange(Loc,
316 Loc.getLocWithOffset(len))
    [all...]
  /external/clang/lib/Lex/
LiteralSupport.cpp 80 FullSourceLoc Loc, unsigned CharWidth,
105 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
111 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
134 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
159 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
182 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
193 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
202 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
206 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
220 FullSourceLoc Loc, DiagnosticsEngine *Diags,
    [all...]
PPExpressions.cpp 358 SourceLocation Loc = PeekTok.getLocation();
361 Result.setBegin(Loc);
371 PP.Diag(Loc, diag::warn_pp_expr_overflow) << Result.getRange();
PPMacroExpansion.cpp 47 SourceLocation Loc, bool isImported) {
50 MacroDirective *MD = AllocateMacroDirective(MI, Loc, isImported);
456 SourceLocation Loc =
459 Identifier.setLocation(Loc);
    [all...]
TokenLexer.cpp 608 SourceLocation Loc =
613 PP.Diag(Loc,
703 /// \brief If \arg loc is a file ID and points inside the current macro
708 TokenLexer::getExpansionLocForMacroDefLoc(SourceLocation loc) const {
711 assert(loc.isValid() && loc.isFileID());
714 assert(SM.isInSLocAddrSpace(loc, MacroDefStart, MacroDefLength) &&
715 "Expected loc to come from the macro definition");
718 SM.isInSLocAddrSpace(loc, MacroDefStart, MacroDefLength, &relativeOffset);
  /external/clang/lib/StaticAnalyzer/Checkers/
DeadStoresChecker.cpp 371 PathDiagnosticLocation Loc =
373 Report(V, DeadInit, Loc, E->getSourceRange());
  /external/clang/tools/libclang/
CIndexHigh.cpp 132 /// \brief For a macro \arg Loc, returns the file spelling location and sets
136 SourceLocation Loc,
138 assert(Loc.isMacroID());
139 SourceLocation SpellLoc = SM.getImmediateSpellingLoc(Loc);
143 isMacroArg = SM.isMacroArgExpansion(Loc);
183 Loc = cxloc::translateSourceLocation(clang_getCursorLocation(cursor));
186 Loc = SelIdLoc;
191 if (Loc.isMacroID()) {
193 Loc = getFileSpellingLoc(SM, Loc, isMacroArg)
    [all...]
CXLoadedDiagnostic.cpp 87 CXSourceLocation Loc = { { (void*) V, 0 }, 0 };
88 return Loc;
162 const Location &Loc = *((Location*)V);
165 *file = Loc.file;
167 *line = Loc.line;
169 *column = Loc.column;
171 *offset = Loc.offset;
234 CXLoadedDiagnostic::Location &Loc);
480 CXLoadedDiagnostic::Location &Loc) {
489 Loc.file = 0
    [all...]
  /external/clang/unittests/AST/
MatchVerifier.h 127 SourceLocation Loc = getLocation(Node);
128 unsigned Line = Result.SourceManager->getSpellingLineNumber(Loc);
129 unsigned Column = Result.SourceManager->getSpellingColumnNumber(Loc);
135 Loc.print(Msg, *Result.SourceManager);
  /external/clang/unittests/Basic/
SourceManagerTest.cpp 238 SourceLocation Loc;
242 MacroAction(SourceLocation Loc, StringRef Name, bool isDefinition)
243 : Loc(Loc), Name(Name), isDefinition(isDefinition) { }
344 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(Macros[3].Loc, Macros[4].Loc));
348 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(Macros[7].Loc, Macros[8].Loc));
  /external/compiler-rt/lib/ubsan/
ubsan_diag.h 52 Location(SourceLocation Loc) :
53 Kind(LK_Source), SourceLoc(Loc) {}
54 Location(ModuleLocation Loc) :
55 Kind(LK_Module), ModuleLoc(Loc) {}
56 Location(MemoryLocation Loc) :
57 Kind(LK_Memory), MemoryLoc(Loc) {}
118 Location Loc;
187 Diag(Location Loc, DiagLevel Level, const char *Message)
188 : Loc(Loc), Level(Level), Message(Message), NumArgs(0), NumRanges(0) {
    [all...]
  /external/llvm/include/llvm/CodeGen/
GCMetadata.h 63 DebugLoc Loc;
66 : Kind(K), Label(L), Loc(DL) {}
MachineFunction.h 240 Ty *Loc = static_cast<Ty*>(Allocator.Allocate(sizeof(Ty),
242 MFInfo = new (Loc) Ty(*this);
  /external/llvm/lib/CodeGen/
MachineSSAUpdater.cpp 185 MachineBasicBlock::iterator Loc = BB->empty() ? BB->end() : BB->begin();
187 Loc, VRC, MRI, TII);
307 MachineBasicBlock::iterator Loc = BB->empty() ? BB->end() : BB->begin();
308 MachineInstr *PHI = InsertNewDef(TargetOpcode::PHI, BB, Loc,

Completed in 813 milliseconds

12 3 4 5 6 7