/external/clang/tools/libclang/ |
Indexing.cpp | 60 bool isParsed(SourceLocation Loc, FileID FID, const FileEntry *FE) { 187 bool isParsed(SourceLocation Loc, FileID FID, const FileEntry *FE) { 188 PPRegion region = getRegion(Loc, FID, FE); 208 PPRegion getRegion(SourceLocation Loc, FileID FID, const FileEntry *FE) { 209 SourceLocation RegionLoc = PPRec.findConditionalDirectiveRegionLoc(Loc); 256 void FileChanged(SourceLocation Loc, FileChangeReason Reason, 264 if (Loc == MainFileLoc && Reason == PPCallbacks::EnterFile) { 362 SourceLocation Loc = D->getLocation(); 363 if (Loc.isMacroID()) 365 if (SM.isInSystemHeader(Loc)) [all...] |
CIndexDiagnostic.cpp | 47 CXSourceLocation Loc; 51 Message(Msg), Loc(L) {} 60 return Loc; 116 void emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, 127 L = translateSourceLocation(*SM, LangOpts, Loc); 134 void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, 139 void emitCodeContext(SourceLocation Loc, 145 void emitNote(SourceLocation Loc, StringRef Message, 149 L = translateSourceLocation(*SM, LangOpts, Loc);
|
IndexTypeSourceInfo.cpp | 127 SourceLocation Loc = NNS.getSourceRange().getBegin(); 136 Loc, Parent, DC); 140 Loc, Parent, DC);
|
/external/llvm/lib/CodeGen/ |
LiveDebugVariables.cpp | 182 /// getLocationNo - Return the location number that matches Loc. 211 // Add a singular (Idx,Idx) -> Loc mapping. 377 OS << " Loc" << i << '='; 455 // DBG_VALUE loc, offset, variable 650 const MachineOperand &Loc = locations[LocNo]; 652 if (!Loc.isReg()) { 658 if (TargetRegisterInfo::isVirtualRegister(Loc.getReg())) { 661 if (LIS.hasInterval(Loc.getReg())) { 662 LI = &LIS.getInterval(Loc.getReg()); 673 unsigned Unit = *MCRegUnitIterator(Loc.getReg(), &TRI) [all...] |
/external/clang/lib/Sema/ |
JumpDiagnostics.cpp | 57 /// Loc - Location to emit the diagnostic. 58 SourceLocation Loc; 62 : ParentScope(parentScope), InDiag(InDiag), OutDiag(OutDiag), Loc(L) {} 256 SourceLocation Loc = D->getLocation(); 257 if (Loc.isInvalid()) 258 Loc = BDecl->getLocation(); 260 Diags.first, Diags.second, Loc)); 514 SourceLocation Loc; 516 Loc = CS->getLocStart(); 518 Loc = DS->getLocStart() [all...] |
AttributeList.cpp | 25 IdentifierLoc *IdentifierLoc::create(ASTContext &Ctx, SourceLocation Loc, 28 Result->Loc = Loc;
|
/external/clang/include/clang/Basic/ |
SourceLocation.h | 197 SourceRange(SourceLocation loc) : B(loc), E(loc) {} 273 explicit FullSourceLoc(SourceLocation Loc, const SourceManager &SM) 274 : SourceLocation(Loc), SrcMgr(&SM) {} 311 /// \returns true if this source location comes before 'Loc', false otherwise. 312 bool isBeforeInTranslationUnitThan(SourceLocation Loc) const; 316 /// \returns true if this source location comes before 'Loc', false otherwise. 317 bool isBeforeInTranslationUnitThan(FullSourceLoc Loc) const { 318 assert(Loc.isValid()) [all...] |
DiagnosticIDs.h | 248 /// \param Loc The source location for which we are interested in finding out 251 getDiagnosticLevel(unsigned DiagID, SourceLocation Loc, 255 getDiagnosticSeverity(unsigned DiagID, SourceLocation Loc,
|
/external/clang/include/clang/Lex/ |
Lexer.h | 213 DiagnosticBuilder Diag(const char *Loc, unsigned DiagID) const; 217 SourceLocation getSourceLocation(const char *Loc, unsigned TokLen = 1) const; 271 static StringRef getSpelling(SourceLocation loc, 281 static unsigned MeasureTokenLength(SourceLocation Loc, 287 static bool getRawToken(SourceLocation Loc, Token &Result, 295 static SourceLocation GetBeginningOfToken(SourceLocation Loc, 311 /// points just past the end of the token referenced by \p Loc, and 322 static SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset, 331 static bool isAtStartOfMacroExpansion(SourceLocation loc, 341 static bool isAtEndOfMacroExpansion(SourceLocation loc, [all...] |
/external/llvm/include/llvm/CodeGen/ |
CallingConvLower.h | 50 /// Loc is either a stack offset or a register number. 51 unsigned Loc; 53 /// isMem - True if this is a memory loc, false if it is a register loc. 74 Ret.Loc = RegNo; 97 Ret.Loc = Offset; 123 Loc = RegNo; 128 Loc = Offset; 140 unsigned getLocReg() const { assert(isRegLoc()); return Loc; } 141 unsigned getLocMemOffset() const { assert(isMemLoc()); return Loc; } [all...] |
/external/llvm/lib/Analysis/ |
BasicAliasAnalysis.cpp | 481 const Location &Loc) override; 491 bool pointsToConstantMemory(const Location &Loc, bool OrLocal) override; 601 BasicAliasAnalysis::pointsToConstantMemory(const Location &Loc, bool OrLocal) { 606 Worklist.push_back(Loc.Ptr); 611 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal); 625 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal); 643 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal); 652 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal); 725 Location Loc = AliasAnalysis::getArgLocation(CS, ArgIdx, Mask); 737 Loc.Size = LenCI->getZExtValue() [all...] |
/external/clang/lib/Parse/ |
ParseDecl.cpp | 186 SourceLocation Loc = Tok.getLocation(); 190 *endLoc = Loc; [all...] |
/external/llvm/lib/ExecutionEngine/IntelJITEvents/ |
IntelJITEventListener.cpp | 74 DebugLoc Loc) { 78 Result.LineNumber = Loc.getLine(); 133 DebugLoc FirstLoc = Details.LineStarts[0].Loc; 158 I->Loc)); 163 MDNode *scope = I->Loc.getScope(
|
/external/llvm/lib/ExecutionEngine/OProfileJIT/ |
OProfileJITEventListener.cpp | 86 uintptr_t Address, DebugLoc Loc) { 89 Result.lineno = Loc.getLine(); 91 Loc.getScope(MF.getFunction()->getContext())); 120 DebugLoc FirstLoc = Details.LineStarts[0].Loc; 141 *Details.MF, Filenames, I->Address, I->Loc));
|
/external/clang/lib/Frontend/ |
SerializedDiagnosticPrinter.cpp | 62 void emitDiagnosticMessage(SourceLocation Loc, 70 void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, 75 void emitNote(SourceLocation Loc, StringRef Message, 78 void emitCodeContext(SourceLocation Loc, 134 void EmitDiagnosticMessage(SourceLocation Loc, 160 void AddLocToRecord(SourceLocation Loc, const SourceManager *SM, 165 void AddLocToRecord(SourceLocation Loc, RecordDataImpl &Record, 168 AddLocToRecord(Loc, SM, SM ? SM->getPresumedLoc(Loc) : PresumedLoc(), 282 void SDiagsWriter::AddLocToRecord(SourceLocation Loc, [all...] |
/external/clang/include/clang/Analysis/ |
ProgramPoint.h | 379 /// \param Loc can be used to store the information about the location 381 PostStore(const Stmt *S, const LocationContext *L, const void *Loc, 385 setData2(Loc); 478 /// \param Loc The location of the field being initialized. 480 const void *Loc, 482 : ProgramPoint(I, Loc, PostInitializerKind, L) {} 506 ImplicitCallPoint(const Decl *D, SourceLocation Loc, Kind K, 508 : ProgramPoint(Loc.getPtrEncoding(), D, K, L, Tag) {} 530 PreImplicitCall(const Decl *D, SourceLocation Loc, const LocationContext *L, 532 : ImplicitCallPoint(D, Loc, PreImplicitCallKind, L, Tag) { [all...] |
/external/clang/include/clang/Serialization/ |
ASTWriter.h | 293 unsigned Loc; 302 DeclUpdate(unsigned Kind, SourceLocation Loc) 303 : Kind(Kind), Loc(Loc.getRawEncoding()) {} 311 return SourceLocation::getFromRawEncoding(Loc); 364 unsigned Loc; 366 ReplacedDeclInfo() : ID(0), Offset(0), Loc(0) {} 368 SourceLocation Loc) 369 : ID(ID), Offset(Offset), Loc(Loc.getRawEncoding()) { [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
NonNullParamChecker.cpp | 88 assert(!haveRefTypeParam || DV->getAs<Loc>()); 90 if (haveAttrNonNull && !DV->getAs<Loc>()) { 110 if (!V.getAs<Loc>())
|
/external/clang/unittests/Tooling/ |
CommentHandlerTest.cpp | 37 virtual bool HandleComment(Preprocessor &PP, SourceRange Loc) { 40 SourceLocation Start = Loc.getBegin(); 43 SM.getCharacterData(Loc.getEnd()));
|
/external/llvm/include/llvm/MC/ |
MCInst.h | 152 SMLoc Loc; 160 void setLoc(SMLoc loc) { Loc = loc; } 161 SMLoc getLoc() const { return Loc; }
|
/external/llvm/lib/Transforms/Scalar/ |
DeadStoreElimination.cpp | 203 AliasAnalysis::Location Loc = AA.getLocationForDest(MI); 207 if (Loc.Size == AliasAnalysis::UnknownSize && DL == nullptr) 209 return Loc; 467 // If the read and written loc obviously don't alias, it isn't a read. 544 AliasAnalysis::Location Loc = getLocForWrite(Inst, *AA); 547 if (!Loc.Ptr) 552 // skip any instructions that 'Loc' clearly doesn't interact with. If we 565 // completely obliterated by the store to 'Loc', and c) which we know that 568 !isPossibleSelfRead(Inst, Loc, DepWrite, *AA)) { 570 OverwriteResult OR = isOverwrite(Loc, DepLoc, *AA [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldImpl.h | 369 SymbolLoc Loc = pos->second; 370 return getSectionAddress(Loc.first) + Loc.second; 379 SymbolLoc Loc = pos->second; 380 return getSectionLoadAddress(Loc.first) + Loc.second;
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
DwarfUnit.cpp | 403 void DwarfUnit::addBlock(DIE &Die, dwarf::Attribute Attribute, DIELoc *Loc) { 404 Loc->ComputeSize(Asm); 405 DIELocs.push_back(Loc); // Memoize so we can call the destructor later on. 406 Die.addValue(Attribute, Loc->BestForm(DD->getDwarfVersion()), Loc); 560 DIELoc *Loc = new (DIEValueAllocator) DIELoc(); 563 addRegisterOp(*Loc, Location.getReg()); 565 addRegisterOffset(*Loc, Location.getReg(), Location.getOffset()); 567 addUInt(*Loc, dwarf::DW_FORM_data1, dwarf::DW_OP_deref); 572 addBlock(Die, Attribute, Loc); [all...] |
/external/bison/src/ |
complain.c | 40 * \param loc the location, defaulting to the current file, 51 error_message (location *loc, 57 if (loc) 58 pos += location_print (stderr, *loc); 82 if (loc && feature_flag & feature_caret) 83 location_caret (stderr, *loc); 90 #define ERROR_MESSAGE(Loc, Prefix, Message) \ 94 error_message (Loc, Prefix, Message, args); \ 116 warn_at (location loc, const char *message, ...) 121 ERROR_MESSAGE (&loc, _("warning"), message) [all...] |
/external/clang/include/clang/AST/ |
ASTImporter.h | 254 DiagnosticBuilder ToDiag(SourceLocation Loc, unsigned DiagID); 257 DiagnosticBuilder FromDiag(SourceLocation Loc, unsigned DiagID);
|