/external/clang/lib/Lex/ |
H A D | TokenLexer.cpp | 616 SourceLocation Loc = local 621 PP.Diag(Loc, PP.getLangOpts().MicrosoftExt ? diag::ext_pp_bad_paste_ms
|
/external/clang/lib/Rewrite/Core/ |
H A D | Rewriter.cpp | 216 unsigned Rewriter::getLocationOffsetAndFileID(SourceLocation Loc, argument 218 assert(Loc.isValid() && "Invalid location"); 219 std::pair<FileID,unsigned> V = SourceMgr->getDecomposedLoc(Loc); 242 bool Rewriter::InsertText(SourceLocation Loc, StringRef Str, argument 244 if (!isRewritable(Loc)) return true; 246 unsigned StartOffs = getLocationOffsetAndFileID(Loc, FID); 283 bool Rewriter::InsertTextAfterToken(SourceLocation Loc, StringRef Str) { argument 284 if (!isRewritable(Loc)) return true; 286 unsigned StartOffs = getLocationOffsetAndFileID(Loc, FID); 289 StartOffs += getRangeSize(SourceRange(Loc, Lo [all...] |
/external/clang/lib/Rewrite/Frontend/ |
H A D | InclusionRewriter.cpp | 58 void FileChanged(SourceLocation Loc, FileChangeReason Reason, 82 const FileChange *FindFileChangeLocation(SourceLocation Loc) const; 139 void InclusionRewriter::FileChanged(SourceLocation Loc, argument 148 LastInsertedFileChange->second.Id = FullSourceLoc(Loc, SM).getFileID(); 190 InclusionRewriter::FindFileChangeLocation(SourceLocation Loc) const { 191 FileChangeMap::const_iterator I = FileChanges.find(Loc.getRawEncoding()); 448 SourceLocation Loc = RawToken.getLocation(); local 470 OutputContentUpTo(FromFile, NextToWrite, SM.getFileOffset(Loc),
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | DeadStoresChecker.cpp | 379 PathDiagnosticLocation Loc = variable 381 Report(V, DeadInit, Loc, E->getSourceRange());
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | CoreEngine.cpp | 228 void CoreEngine::dispatchWorkItem(ExplodedNode* Pred, ProgramPoint Loc, argument 231 switch (Loc.getKind()) { 233 HandleBlockEdge(Loc.castAs<BlockEdge>(), Pred); 237 HandleBlockEntrance(Loc.castAs<BlockEntrance>(), Pred); 245 CallEnter CEnter = Loc.castAs<CallEnter>(); 262 assert(Loc.getAs<PostStmt>() || 263 Loc.getAs<PostInitializer>() || 264 Loc.getAs<PostImplicitCall>() || 265 Loc.getAs<CallExitEnd>()); 492 void CoreEngine::generateNode(const ProgramPoint &Loc, argument 608 generateNodeImpl(const ProgramPoint &Loc, ProgramStateRef State, ExplodedNode *FromN, bool MarkAsSink) argument [all...] |
/external/clang/tools/libclang/ |
H A D | CIndexDiagnostic.cpp | 47 CXSourceLocation Loc; member in class:__anon19518::CXDiagnosticCustomNoteImpl 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);
|
H A D | CXLoadedDiagnostic.cpp | 95 CXSourceLocation Loc = { { (void*) V, nullptr }, 0 }; local 96 return Loc; 170 const Location &Loc = *((Location*)V); 173 *file = Loc.file; 175 *line = Loc.line; 177 *column = Loc.column; 179 *offset = Loc.offset; 242 CXLoadedDiagnostic::Location &Loc); 489 CXLoadedDiagnostic::Location &Loc) { 498 Loc 487 readLocation(CXLoadedDiagnosticSetImpl &TopDiags, RecordData &Record, unsigned &offset, CXLoadedDiagnostic::Location &Loc) argument [all...] |
/external/compiler-rt/lib/ubsan/ |
H A D | ubsan_diag.h | 52 Location(SourceLocation Loc) : argument 53 Kind(LK_Source), SourceLoc(Loc) {} 54 Location(ModuleLocation Loc) : argument 55 Kind(LK_Module), ModuleLoc(Loc) {} 56 Location(MemoryLocation Loc) : argument 57 Kind(LK_Memory), MemoryLoc(Loc) {} 87 Location getFunctionLocation(uptr Loc, const char **FName); 124 Location Loc; member in class:__ubsan::Diag 193 Diag(Location Loc, DiagLevel Level, const char *Message) argument 194 : Loc(Lo [all...] |
/external/llvm/include/llvm/Analysis/ |
H A D | AliasAnalysis.h | 142 /// getLocation - Fill in Loc with information about the memory reference by 216 virtual bool pointsToConstantMemory(const Location &Loc, 362 const Location &Loc) { 364 case Instruction::VAArg: return getModRefInfo((const VAArgInst*)I, Loc); 365 case Instruction::Load: return getModRefInfo((const LoadInst*)I, Loc); 366 case Instruction::Store: return getModRefInfo((const StoreInst*)I, Loc); 367 case Instruction::Fence: return getModRefInfo((const FenceInst*)I, Loc); 369 return getModRefInfo((const AtomicCmpXchgInst*)I, Loc); 371 return getModRefInfo((const AtomicRMWInst*)I, Loc); 372 case Instruction::Call: return getModRefInfo((const CallInst*)I, Loc); 361 getModRefInfo(const Instruction *I, const Location &Loc) argument 397 getModRefInfo(const CallInst *C, const Location &Loc) argument 408 getModRefInfo(const InvokeInst *I, const Location &Loc) argument 439 getModRefInfo(const FenceInst *S, const Location &Loc) argument [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | MachineModuleInfo.h | 174 DebugLoc Loc; member in struct:llvm::MachineModuleInfo::VariableDbgInfo 406 void setVariableDbgInfo(MDNode *N, unsigned Slot, DebugLoc Loc) { argument 407 VariableDbgInfo Info = { N, Slot, Loc };
|
/external/llvm/include/llvm/IR/ |
H A D | Instruction.h | 193 void setDebugLoc(const DebugLoc &Loc) { DbgLoc = Loc; } argument
|
/external/llvm/include/llvm/MC/ |
H A D | MCInst.h | 152 SMLoc Loc; member in class:llvm::MCInst 160 void setLoc(SMLoc loc) { Loc = loc; } 161 SMLoc getLoc() const { return Loc; }
|
/external/llvm/include/llvm/Support/ |
H A D | SourceMgr.h | 138 unsigned FindBufferContainingLoc(SMLoc Loc) const; 142 unsigned FindLineNumber(SMLoc Loc, unsigned BufferID = 0) const { argument 143 return getLineAndColumn(Loc, BufferID).first; 148 std::pair<unsigned, unsigned> getLineAndColumn(SMLoc Loc, 155 void PrintMessage(raw_ostream &OS, SMLoc Loc, DiagKind Kind, 162 void PrintMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg, 179 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg, 201 SMFixIt(SMLoc Loc, const Twine &Insertion) argument 202 : Range(Loc, Loc), Tex 229 SMLoc Loc; member in class:llvm::SMDiagnostic [all...] |
/external/llvm/lib/Analysis/ |
H A D | AliasAnalysis.cpp | 57 bool AliasAnalysis::pointsToConstantMemory(const Location &Loc, argument 60 return AA->pointsToConstantMemory(Loc, OrLocal); 88 const Location &Loc) { 112 if (!isNoAlias(CSLoc, Loc)) { 123 // If Loc is a constant memory location, the call definitely could not 125 if ((Mask & Mod) && pointsToConstantMemory(Loc)) 133 return ModRefResult(AA->getModRefInfo(CS, Loc) & Mask); 310 AliasAnalysis::getModRefInfo(const LoadInst *L, const Location &Loc) { argument 317 if (!alias(getLocation(L), Loc)) 325 AliasAnalysis::getModRefInfo(const StoreInst *S, const Location &Loc) { argument 87 getModRefInfo(ImmutableCallSite CS, const Location &Loc) argument 345 getModRefInfo(const VAArgInst *V, const Location &Loc) argument 361 getModRefInfo(const AtomicCmpXchgInst *CX, const Location &Loc) argument 374 getModRefInfo(const AtomicRMWInst *RMW, const Location &Loc) argument 519 canBasicBlockModify(const BasicBlock &BB, const Location &Loc) argument 529 canInstructionRangeModify(const Instruction &I1, const Instruction &I2, const Location &Loc) argument [all...] |
/external/llvm/lib/CodeGen/ |
H A D | MachineSSAUpdater.cpp | 187 MachineBasicBlock::iterator Loc = BB->empty() ? BB->end() : BB->begin(); 189 Loc, VRC, MRI, TII); 299 MachineBasicBlock::iterator Loc = BB->empty() ? BB->end() : BB->begin(); local 300 MachineInstr *PHI = InsertNewDef(TargetOpcode::PHI, BB, Loc,
|
/external/llvm/lib/DebugInfo/ |
H A D | DWARFContext.h | 37 std::unique_ptr<DWARFDebugLoc> Loc; member in class:llvm::DWARFContext
|
/external/llvm/lib/MC/ |
H A D | MCContext.cpp | 367 void MCContext::FatalError(SMLoc Loc, const Twine &Msg) const { argument 370 if (!SrcMgr || Loc == SMLoc()) 374 SrcMgr->PrintMessage(Loc, SourceMgr::DK_Error, Msg);
|
H A D | MCELFStreamer.cpp | 275 const SMLoc &Loc) { 279 MCObjectStreamer::EmitValueImpl(Value, Size, Loc); 274 EmitValueImpl(const MCExpr *Value, unsigned Size, const SMLoc &Loc) argument
|
/external/llvm/lib/MC/MCParser/ |
H A D | COFFAsmParser.cpp | 491 bool COFFAsmParser::ParseDirectiveLinkOnce(StringRef, SMLoc Loc) { argument 501 return Error(Loc, "cannot make section associative with .linkonce"); 504 return Error(Loc, Twine("section '") + Current->getSectionName() +
|
/external/llvm/lib/Object/ |
H A D | Archive.cpp | 321 const char *Loc = Data->getBufferStart() + strlen(Magic); local 322 Child c(this, Loc); 380 const char *Loc = Parent->getData().begin() + Offset; local 381 child_iterator Iter(Child(Parent, Loc));
|
/external/llvm/lib/Support/ |
H A D | SourceMgr.cpp | 73 unsigned SourceMgr::FindBufferContainingLoc(SMLoc Loc) const { 75 if (Loc.getPointer() >= Buffers[i].Buffer->getBufferStart() && 78 Loc.getPointer() <= Buffers[i].Buffer->getBufferEnd()) 84 SourceMgr::getLineAndColumn(SMLoc Loc, unsigned BufferID) const { argument 86 BufferID = FindBufferContainingLoc(Loc); 103 Cache->LastQuery <= Loc.getPointer()) { 110 for (; SMLoc::getFromPointer(Ptr) != Loc; ++Ptr) 142 SMDiagnostic SourceMgr::GetMessage(SMLoc Loc, SourceMgr::DiagKind Kind, argument 154 if (Loc.isValid()) { 155 unsigned CurBuf = FindBufferContainingLoc(Loc); 222 PrintMessage(raw_ostream &OS, SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, ArrayRef<SMRange> Ranges, ArrayRef<SMFixIt> FixIts, bool ShowColors) const argument 229 PrintMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, ArrayRef<SMRange> Ranges, ArrayRef<SMFixIt> FixIts, bool ShowColors) const argument 232 PrintMessage(llvm::errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors); local [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | DeadStoreElimination.cpp | 203 AliasAnalysis::Location Loc = AA.getLocationForDest(MI); local 207 if (Loc.Size == AliasAnalysis::UnknownSize && DL == nullptr) 209 return Loc; 544 AliasAnalysis::Location Loc = getLocForWrite(Inst, *AA); local 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, 625 // Can't look past this instruction if it might read 'Loc' 662 AliasAnalysis::Location Loc = AliasAnalysis::Location(F->getOperand(0)); local [all...] |
/external/llvm/unittests/Transforms/Utils/ |
H A D | Cloning.cpp | 246 DebugLoc Loc = DebugLoc::get(3, 2, Subprogram); local 247 IBuilder.SetCurrentDebugLocation(Loc);
|
/external/llvm/utils/TableGen/ |
H A D | CodeGenInstruction.cpp | 435 ArrayRef<SMLoc> Loc, CodeGenTarget &T, 445 PrintFatalError(Loc, "result argument #" + Twine(AliasOpNo) + 483 PrintFatalError(Loc, "fixed register " + ADI->getDef()->getName() + 488 PrintFatalError(Loc, "result fixed register argument must " 504 // throw TGError(Loc, "reg0 used for result that is not an " 517 PrintFatalError(Loc, "result argument #" + Twine(AliasOpNo) + 433 tryAliasOpMatch(DagInit *Result, unsigned AliasOpNo, Record *InstOpRec, bool hasSubOps, ArrayRef<SMLoc> Loc, CodeGenTarget &T, ResultOperand &ResOp) argument
|
/external/clang/include/clang/AST/ |
H A D | DeclarationName.h | 433 /// Loc - The main source location for the declaration name. 508 void setCXXLiteralOperatorNameLoc(SourceLocation Loc) { argument 510 LocInfo.CXXLiteralOperatorName.OpNameLoc = Loc.getRawEncoding();
|