/external/compiler-rt/lib/ubsan/ |
H A D | ubsan_handlers.cc | 31 Location Loc = Data->Loc.acquire(); local 34 if (Loc.getSourceLocation().isDisabled()) 36 if (Data->Loc.isInvalid()) 37 Loc = FallbackLoc; 40 Diag(Loc, DL_Error, "%0 null pointer of type %1") 43 Diag(Loc, DL_Error, "%0 misaligned address %1 for type %3, " 48 Diag(Loc, DL_Error, "%0 address %1 with insufficient space " 69 SourceLocation Loc = Data->Loc local 114 SourceLocation Loc = Data->Loc.acquire(); local 136 SourceLocation Loc = Data->Loc.acquire(); local 159 SourceLocation Loc = Data->Loc.acquire(); local 188 SourceLocation Loc = Data->Loc.acquire(); local 216 SourceLocation Loc = Data->Loc.acquire(); local 249 SourceLocation Loc = Data->Loc.acquire(); local 268 Location Loc = getFunctionLocation(Function, &FName); local [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | GCMetadata.h | 65 DebugLoc Loc; member in struct:llvm::GCPoint 68 : Kind(K), Label(L), Loc(DL) {}
|
H A D | MachineFunction.h | 239 Ty *Loc = static_cast<Ty*>(Allocator.Allocate(sizeof(Ty), local 241 MFInfo = new (Loc) Ty(*this);
|
/external/llvm/include/llvm/MC/ |
H A D | MCTargetAsmParser.h | 59 SMLoc Loc; member in struct:llvm::AsmRewrite 64 : Kind(kind), Loc(loc), Len(len), Val(val) {}
|
/external/llvm/lib/Analysis/IPA/ |
H A D | GlobalsModRef.cpp | 120 const Location &Loc) override; 538 const Location &Loc) { 544 dyn_cast<GlobalValue>(GetUnderlyingObject(Loc.Ptr))) 553 return ModRefResult(Known & AliasAnalysis::getModRefInfo(CS, Loc)); 537 getModRefInfo(ImmutableCallSite CS, const Location &Loc) argument
|
/external/llvm/lib/Analysis/ |
H A D | TypeBasedAliasAnalysis.cpp | 303 bool pointsToConstantMemory(const Location &Loc, bool OrLocal) override; 307 const Location &Loc) override; 470 bool TypeBasedAliasAnalysis::pointsToConstantMemory(const Location &Loc, argument 473 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal); 475 const MDNode *M = Loc.TBAATag; 476 if (!M) return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal); 484 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal); 512 const Location &Loc) { 514 return AliasAnalysis::getModRefInfo(CS, Loc); 516 if (const MDNode *L = Loc 511 getModRefInfo(ImmutableCallSite CS, const Location &Loc) argument [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DebugLocEntry.h | 41 Value(const MDNode *Var, MachineLocation Loc) argument 42 : Variable(Var), EntryKind(E_Location), Loc(Loc) { 60 MachineLocation Loc; member in struct:llvm::DebugLocEntry::Value 68 return Loc == other.Loc; 86 MachineLocation getLoc() const { return Loc; } 106 /// share the same Loc/Constant and if Next immediately follows this
|
/external/llvm/lib/ExecutionEngine/IntelJITEvents/ |
H A D | 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( 71 LineStartToIntelJITFormat( uintptr_t StartAddress, uintptr_t Address, DebugLoc Loc) argument
|
/external/llvm/lib/MC/MCParser/ |
H A D | AsmLexer.cpp | 46 AsmToken AsmLexer::ReturnError(const char *Loc, const std::string &Msg) { argument 47 SetError(SMLoc::getFromPointer(Loc), Msg); 49 return AsmToken(AsmToken::Error, StringRef(Loc, 0));
|
/external/llvm/lib/TableGen/ |
H A D | SetTheory.cpp | 31 ArrayRef<SMLoc> Loc) override { 32 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts, Loc); 39 ArrayRef<SMLoc> Loc) override { 41 PrintFatalError(Loc, "Set difference needs at least two arguments: " + 44 ST.evaluate(*Expr->arg_begin(), Add, Loc); 45 ST.evaluate(Expr->arg_begin() + 1, Expr->arg_end(), Sub, Loc); 55 ArrayRef<SMLoc> Loc) override { 57 PrintFatalError(Loc, "Set intersection requires two arguments: " + 60 ST.evaluate(Expr->arg_begin()[0], S1, Loc); 61 ST.evaluate(Expr->arg_begin()[1], S2, Loc); 272 evaluate(Init *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc) argument [all...] |
H A D | TGParser.h | 38 SMLoc Loc; member in struct:llvm::LetRecord 41 : Name(N), Bits(B), Value(V), Loc(L) { 106 bool AddValue(Record *TheRec, SMLoc Loc, const RecordVal &RV); 107 bool SetValue(Record *TheRec, SMLoc Loc, Init *ValName, 109 bool SetValue(Record *TheRec, SMLoc Loc, const std::string &ValName, argument 111 return SetValue(TheRec, Loc, StringInit::get(ValName), BitList, V); 130 bool ProcessForeachDefs(Record *CurRec, SMLoc Loc); 131 bool ProcessForeachDefs(Record *CurRec, SMLoc Loc, IterSet &IterVals);
|
/external/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARCContract.cpp | 221 AliasAnalysis::Location Loc = AA->getLocation(Load); local 245 } else if (AA->getModRefInfo(Inst, Loc) & AliasAnalysis::Mod) { 250 if (Store->getPointerOperand() != Loc.Ptr) return;
|
/external/llvm/tools/llvm-mcmarkup/ |
H A D | llvm-mcmarkup.cpp | 61 MarkupTag(StringRef n, StringRef m, SMLoc Loc) argument 62 : Name(n), Modifiers(m), StartLoc(Loc) {} 80 void FatalError(SMLoc Loc, StringRef Msg); 83 void MarkupParser::FatalError(SMLoc Loc, StringRef Msg) { argument 84 SM.PrintMessage(Loc, SourceMgr::DK_Error, Msg); 126 SMLoc Loc = SMLoc::getFromPointer(Start - 1); local 134 return MarkupTag(SplitTag.first, SplitTag.second, Loc); 175 SMLoc Loc = SMLoc::getFromPointer(Lex.getPosition() - 1); local 183 Parser.FatalError(Loc, "'>' without matching '<'");
|
/external/clang/include/clang/AST/ |
H A D | CommentLexer.h | 62 SourceLocation Loc; member in class:clang::comments::Token 82 SourceLocation getLocation() const LLVM_READONLY { return Loc; } 83 void setLocation(SourceLocation SL) { Loc = SL; } 87 return Loc; 88 return Loc.getLocWithOffset(Length - 1); 304 SourceLocation getSourceLocation(const char *Loc) const { 305 assert(Loc >= BufferStart && Loc <= BufferEnd && 308 const unsigned CharNo = Loc - BufferStart; 312 DiagnosticBuilder Diag(SourceLocation Loc, unsigne argument [all...] |
H A D | StmtCXX.h | 186 void setForLoc(SourceLocation Loc) { ForLoc = Loc; } argument 188 void setColonLoc(SourceLocation Loc) { ColonLoc = Loc; } argument 190 void setRParenLoc(SourceLocation Loc) { RParenLoc = Loc; } argument
|
H A D | StmtObjC.h | 54 void setForLoc(SourceLocation Loc) { ForLoc = Loc; } argument 56 void setRParenLoc(SourceLocation Loc) { RParenLoc = Loc; } argument 103 void setAtCatchLoc(SourceLocation Loc) { AtCatchLoc = Loc; } argument 105 void setRParenLoc(SourceLocation Loc) { RParenLoc = Loc; } argument 141 void setAtFinallyLoc(SourceLocation Loc) { AtFinallyLoc = Loc; } argument 193 setAtTryLoc(SourceLocation Loc) argument 328 setThrowLoc(SourceLocation Loc) argument 363 setAtLoc(SourceLocation Loc) argument [all...] |
/external/clang/include/clang/Lex/ |
H A D | MacroInfo.h | 341 SourceLocation Loc; 364 MacroDirective(Kind K, SourceLocation Loc) 365 : Previous(nullptr), Loc(Loc), MDKind(K), IsFromPCH(false), 373 SourceLocation getLocation() const { return Loc; } 466 DefMacroDirective(MacroInfo *MI, SourceLocation Loc, bool isImported) argument 467 : MacroDirective(MD_Define, Loc), Info(MI) { 509 explicit VisibilityMacroDirective(SourceLocation Loc, bool Public) argument 510 : MacroDirective(MD_Visibility, Loc) {
|
H A D | Token.h | 39 SourceLocation Loc; member in class:clang::Token 113 SourceLocation getLocation() const { return Loc; } 119 void setLocation(SourceLocation L) { Loc = L; } 156 Loc = SourceLocation();
|
/external/clang/lib/ARCMigrate/ |
H A D | TransUnbridgedCasts.cpp | 284 SourceLocation Loc = E->getExprLoc(); local 285 assert(Loc.isMacroID()); 287 std::tie(MacroBegin, MacroEnd) = SM.getImmediateExpansionRange(Loc);
|
/external/clang/lib/AST/ |
H A D | NestedNameSpecifier.cpp | 423 void SaveSourceLocation(SourceLocation Loc, char *&Buffer, argument 425 unsigned Raw = Loc.getRawEncoding();
|
/external/clang/lib/Analysis/ |
H A D | ReachableCode.cpp | 115 static SourceLocation getTopMostMacro(SourceLocation Loc, SourceManager &SM) { argument 116 assert(Loc.isMacroID()); 118 while (Loc.isMacroID()) { 119 Last = Loc; 120 Loc = SM.getImmediateMacroCallerLoc(Loc); 592 SourceLocation Loc = LoopTarget->getLocStart(); local 593 SourceRange R1(Loc, Loc), R2; 597 Loc 620 SourceLocation Loc = GetUnreachableLoc(S, R1, R2); local [all...] |
/external/clang/lib/Frontend/ |
H A D | DependencyFile.cpp | 38 void FileChanged(SourceLocation Loc, FileChangeReason Reason, 48 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc))); 157 void FileChanged(SourceLocation Loc, FileChangeReason Reason, 229 void DFGImpl::FileChanged(SourceLocation Loc, argument 242 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc)));
|
H A D | DiagnosticRenderer.cpp | 42 static StringRef getImmediateMacroName(SourceLocation Loc, argument 45 assert(Loc.isMacroID() && "Only reasonble to call this on macros"); 47 while (SM.isMacroArgExpansion(Loc)) 48 Loc = SM.getImmediateExpansionRange(Loc).first; 52 if (!SM.getFileEntryForID(SM.getFileID(SM.getSpellingLoc(Loc)))) 58 Loc = SM.getSpellingLoc(SM.getImmediateExpansionRange(Loc).first); 62 std::pair<FileID, unsigned> ExpansionInfo = SM.getDecomposedLoc(Loc); 63 unsigned MacroTokenLength = Lexer::MeasureTokenLength(Loc, S 123 emitDiagnostic(SourceLocation Loc, DiagnosticsEngine::Level Level, StringRef Message, ArrayRef<CharSourceRange> Ranges, ArrayRef<FixItHint> FixItHints, const SourceManager *SM, DiagOrStoredDiag D) argument 210 emitIncludeStack(SourceLocation Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, const SourceManager &SM) argument 235 emitIncludeStackRecursively(SourceLocation Loc, const SourceManager &SM) argument 264 emitImportStack(SourceLocation Loc, const SourceManager &SM) argument 278 emitImportStackRecursively(SourceLocation Loc, StringRef ModuleName, const SourceManager &SM) argument 387 emitCaret(SourceLocation Loc, DiagnosticsEngine::Level Level, ArrayRef<CharSourceRange> Ranges, ArrayRef<FixItHint> Hints, const SourceManager &SM) argument 409 emitMacroExpansions(SourceLocation Loc, DiagnosticsEngine::Level Level, ArrayRef<CharSourceRange> Ranges, ArrayRef<FixItHint> Hints, const SourceManager &SM, unsigned &MacroDepth, unsigned OnMacroInst) argument 477 emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc, const SourceManager &SM) argument 488 emitImportLocation(SourceLocation Loc, PresumedLoc PLoc, StringRef ModuleName, const SourceManager &SM) argument 501 emitBuildingModuleLocation(SourceLocation Loc, PresumedLoc PLoc, StringRef ModuleName, const SourceManager &SM) argument [all...] |
/external/clang/lib/Lex/ |
H A D | PPMacroExpansion.cpp | 349 SourceLocation Loc = local 352 Identifier.setLocation(Loc); 485 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation()); local 488 TempToken.setLocation(Loc); 492 Loc)); 1253 SourceLocation Loc = Tok.getLocation(); 1257 Loc = AdvanceToTokenCharacter(Loc, 0); 1264 Loc = SourceMgr.getExpansionRange(Loc) [all...] |
H A D | PreprocessingRecord.cpp | 72 SourceLocation Loc = PPE->getSourceRange().getBegin(); 73 if (Loc.isInvalid()) 76 if (SM.isInFileID(SM.getFileLoc(Loc), FID)) 203 SourceLocation Loc) const { 204 if (SourceMgr.isLoadedSourceLocation(Loc)) 222 Loc)){ 234 SourceLocation Loc) const { 235 if (SourceMgr.isLoadedSourceLocation(Loc)) 241 Loc, 384 void PreprocessingRecord::Ifdef(SourceLocation Loc, cons argument 392 Ifndef(SourceLocation Loc, const Token &MacroNameTok, const MacroDirective *MD) argument [all...] |