Searched refs:Loc (Results 1 - 25 of 555) sorted by relevance

1234567891011>>

/external/clang/test/Analysis/
H A Dregion-store.cpp4 class Loc { class
9 Loc l;
10 void setLoc(Loc L) {
24 int radar13445834(Derived *Builder, Loc l) {
/external/llvm/include/llvm/IR/
H A DDebugLoc.h35 TrackingMDNodeRef Loc; member in class:llvm::DebugLoc
39 DebugLoc(DebugLoc &&X) : Loc(std::move(X.Loc)) {}
40 DebugLoc(const DebugLoc &X) : Loc(X.Loc) {}
42 Loc = std::move(X.Loc);
46 Loc = X.Loc;
74 /// the conversion to \c DILocation, this doesn't require that \c Loc i
[all...]
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
H A DDebugLoc.h35 TrackingMDNodeRef Loc; member in class:llvm::DebugLoc
64 /// the conversion to \c DILocation, this doesn't require that \c Loc is of
67 explicit operator bool() const { return Loc; }
70 bool hasTrivialDestructor() const { return Loc.hasTrivialDestructor(); }
103 MDNode *getAsMDNode() const { return Loc; }
105 bool operator==(const DebugLoc &DL) const { return Loc == DL.Loc; }
106 bool operator!=(const DebugLoc &DL) const { return Loc != DL.Loc; }
/external/clang/lib/Lex/
H A DPPConditionalDirectiveRecord.cpp49 SourceLocation Loc) const {
50 if (Loc.isInvalid())
56 Loc))
61 Loc, CondDirectiveLoc::Comp(SourceMgr));
78 void PPConditionalDirectiveRecord::If(SourceLocation Loc, argument
81 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back()));
82 CondDirectiveStack.push_back(Loc);
85 void PPConditionalDirectiveRecord::Ifdef(SourceLocation Loc, argument
88 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back()));
89 CondDirectiveStack.push_back(Loc);
92 Ifndef(SourceLocation Loc, const Token &MacroNameTok, const MacroDefinition &MD) argument
99 Elif(SourceLocation Loc, SourceRange ConditionRange, ConditionValueKind ConditionValue, SourceLocation IfLoc) argument
107 Else(SourceLocation Loc, SourceLocation IfLoc) argument
113 Endif(SourceLocation Loc, SourceLocation IfLoc) argument
[all...]
/external/llvm/lib/TableGen/
H A DError.cpp26 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind, argument
34 if (Loc.empty())
35 Loc = NullLoc;
36 SrcMgr.PrintMessage(Loc.front(), Kind, Msg);
37 for (unsigned i = 1; i < Loc.size(); ++i)
38 SrcMgr.PrintMessage(Loc[i], SourceMgr::DK_Note,
46 void PrintWarning(const char *Loc, const Twine &Msg) { argument
47 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg);
58 void PrintError(const char *Loc, const Twine &Msg) { argument
59 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMg
[all...]
/external/llvm/tools/llvm-readobj/
H A DStackMapPrinter.h43 for (const auto &Loc : R.locations()) {
45 switch (Loc.getKind()) {
47 OS << "Register R#" << Loc.getDwarfRegNum();
50 OS << "Direct R#" << Loc.getDwarfRegNum() << " + "
51 << Loc.getOffset();
54 OS << "Indirect [R#" << Loc.getDwarfRegNum() << " + "
55 << Loc.getOffset() << "]";
58 OS << "Constant " << Loc.getSmallConstant();
61 OS << "ConstantIndex #" << Loc.getConstantIndex() << " ("
62 << SMP.getConstant(Loc
[all...]
/external/clang/include/clang/Lex/
H A DPPCallbacks.h48 /// \param Loc Indicates the new location.
50 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason, argument
155 /// \param Loc The location of the directive.
158 virtual void Ident(SourceLocation Loc, StringRef str) { argument
162 virtual void PragmaDirective(SourceLocation Loc, argument
167 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind, argument
173 virtual void PragmaDetectMismatch(SourceLocation Loc, StringRef Name, argument
178 /// \param Loc The location of the debug directive.
180 virtual void PragmaDebug(SourceLocation Loc, StringRef DebugType) { argument
196 /// \param Loc Th
200 PragmaMessage(SourceLocation Loc, StringRef Namespace, PragmaMessageKind Kind, StringRef Str) argument
206 PragmaDiagnosticPush(SourceLocation Loc, StringRef Namespace) argument
212 PragmaDiagnosticPop(SourceLocation Loc, StringRef Namespace) argument
217 PragmaDiagnostic(SourceLocation Loc, StringRef Namespace, diag::Severity mapping, StringRef Str) argument
228 PragmaWarning(SourceLocation Loc, StringRef WarningSpec, ArrayRef<int> Ids) argument
233 PragmaWarningPush(SourceLocation Loc, int Level) argument
237 PragmaWarningPop(SourceLocation Loc) argument
280 If(SourceLocation Loc, SourceRange ConditionRange, ConditionValueKind ConditionValue) argument
290 Elif(SourceLocation Loc, SourceRange ConditionRange, ConditionValueKind ConditionValue, SourceLocation IfLoc) argument
298 Ifdef(SourceLocation Loc, const Token &MacroNameTok, const MacroDefinition &MD) argument
306 Ifndef(SourceLocation Loc, const Token &MacroNameTok, const MacroDefinition &MD) argument
313 Else(SourceLocation Loc, SourceLocation IfLoc) argument
319 Endif(SourceLocation Loc, SourceLocation IfLoc) argument
[all...]
H A DPPConditionalDirectiveRecord.h32 SourceLocation Loc; member in class:clang::PPConditionalDirectiveRecord::CondDirectiveLoc
36 CondDirectiveLoc(SourceLocation Loc, SourceLocation RegionLoc) argument
37 : Loc(Loc), RegionLoc(RegionLoc) {}
39 SourceLocation getLoc() const { return Loc; }
86 SourceLocation findConditionalDirectiveRegionLoc(SourceLocation Loc) const;
89 void If(SourceLocation Loc, SourceRange ConditionRange,
91 void Elif(SourceLocation Loc, SourceRange ConditionRange,
93 void Ifdef(SourceLocation Loc, const Token &MacroNameTok,
95 void Ifndef(SourceLocation Loc, cons
[all...]
/external/clang/include/clang/Sema/
H A DPrettyDeclStackTrace.h34 SourceLocation Loc; member in class:clang::PrettyDeclStackTraceEntry
38 PrettyDeclStackTraceEntry(Sema &S, Decl *D, SourceLocation Loc, argument
40 : S(S), TheDecl(D), Loc(Loc), Message(Msg) {}
H A DTemplateDeduction.h38 SourceLocation Loc; member in class:clang::sema::TemplateDeductionInfo
51 TemplateDeductionInfo(SourceLocation Loc) argument
52 : Deduced(nullptr), Loc(Loc), HasSFINAEDiagnostic(false),
58 return Loc;
89 void addSFINAEDiagnostic(SourceLocation Loc, PartialDiagnostic PD) { argument
94 SuppressedDiagnostics.emplace_back(Loc, std::move(PD));
99 void addSuppressedDiagnostic(SourceLocation Loc, argument
103 SuppressedDiagnostics.emplace_back(Loc, std::move(PD));
274 SourceLocation Loc; member in class:clang::TemplateSpecCandidateSet
287 TemplateSpecCandidateSet(SourceLocation Loc, bool ForTakingAddress = false) argument
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/TableGen/
H A DError.h23 SMLoc Loc; member in class:llvm::TGError
26 TGError(SMLoc loc, const std::string &message) : Loc(loc), Message(message) {}
28 SMLoc getLoc() const { return Loc; }
33 void PrintError(const char *Loc, const Twine &Msg);
/external/spirv-llvm/lib/SPIRV/libSPIRV/
H A DSPIRVBasicBlock.h64 auto Loc = find(I); local
65 if (Loc == InstVec.end() || Loc == InstVec.begin())
67 return *(--Loc);
70 auto Loc = find(I); local
71 if (Loc == InstVec.end())
73 ++Loc;
74 if (Loc == InstVec.end())
76 return *Loc;
/external/clang/include/clang/Basic/
H A DPrettyStackTrace.h29 SourceLocation Loc; member in class:clang::PrettyStackTraceLoc
33 : SM(sm), Loc(L), Message(Msg) {}
/external/clang/tools/libclang/
H A DCXSourceLocation.h31 SourceLocation Loc) {
32 if (Loc.isInvalid())
36 Loc.getRawEncoding() };
42 SourceLocation Loc) {
45 Loc);
30 translateSourceLocation(const SourceManager &SM, const LangOptions &LangOpts, SourceLocation Loc) argument
41 translateSourceLocation(ASTContext &Context, SourceLocation Loc) argument
/external/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp81 void DiagnosticRenderer::emitDiagnostic(SourceLocation Loc, argument
88 assert(SM || Loc.isInvalid());
92 if (!Loc.isValid())
94 emitDiagnosticMessage(Loc, PresumedLoc(), Level, Message, Ranges, SM, D);
112 SourceLocation UnexpandedLoc = Loc;
115 Loc = SM->getFileLoc(Loc);
117 PresumedLoc PLoc = SM->getPresumedLoc(Loc, DiagOpts->ShowPresumedLoc);
121 emitIncludeStack(Loc, PLoc, Level, *SM);
124 emitDiagnosticMessage(Loc, PLo
166 emitIncludeStack(SourceLocation Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, const SourceManager &SM) argument
192 emitIncludeStackRecursively(SourceLocation Loc, const SourceManager &SM) argument
221 emitImportStack(SourceLocation Loc, const SourceManager &SM) argument
235 emitImportStackRecursively(SourceLocation Loc, StringRef ModuleName, const SourceManager &SM) argument
271 retrieveMacroLocation(SourceLocation Loc, FileID MacroFileID, FileID CaretFileID, const SmallVectorImpl<FileID> &CommonArgExpansions, bool IsBegin, const SourceManager *SM) argument
313 getMacroArgExpansionFileIDs(SourceLocation Loc, SmallVectorImpl<FileID> &IDs, bool IsBegin, const SourceManager *SM) argument
409 emitCaret(SourceLocation Loc, DiagnosticsEngine::Level Level, ArrayRef<CharSourceRange> Ranges, ArrayRef<FixItHint> Hints, const SourceManager &SM) argument
421 emitSingleMacroExpansion( SourceLocation Loc, DiagnosticsEngine::Level Level, ArrayRef<CharSourceRange> Ranges, const SourceManager &SM) argument
450 checkLocForMacroArgExpansion(SourceLocation Loc, const SourceManager &SM, SourceLocation ArgumentLoc) argument
478 checkRangesForMacroArgExpansion(SourceLocation Loc, ArrayRef<CharSourceRange> Ranges, const SourceManager &SM) argument
521 emitMacroExpansions(SourceLocation Loc, DiagnosticsEngine::Level Level, ArrayRef<CharSourceRange> Ranges, ArrayRef<FixItHint> Hints, const SourceManager &SM) argument
587 emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc, const SourceManager &SM) argument
598 emitImportLocation(SourceLocation Loc, PresumedLoc PLoc, StringRef ModuleName, const SourceManager &SM) argument
614 emitBuildingModuleLocation(SourceLocation Loc, PresumedLoc PLoc, StringRef ModuleName, const SourceManager &SM) argument
[all...]
/external/compiler-rt/lib/ubsan/
H A Dubsan_handlers.cc46 Location Loc = Data->Loc.acquire(); local
58 if (ignoreReport(Loc.getSourceLocation(), Opts, ET))
62 if (Data->Loc.isInvalid()) {
64 Loc = FallbackLoc;
67 ScopedReport R(Opts, Loc, ET);
71 Diag(Loc, DL_Error, "%0 null pointer of type %1")
75 Diag(Loc, DL_Error, "%0 misaligned address %1 for type %3, "
81 Diag(Loc, DL_Error, "%0 address %1 with insufficient space "
110 SourceLocation Loc local
144 SourceLocation Loc = Data->Loc.acquire(); local
178 SourceLocation Loc = Data->Loc.acquire(); local
222 SourceLocation Loc = Data->Loc.acquire(); local
271 SourceLocation Loc = Data->Loc.acquire(); local
323 SourceLocation Loc = Data->Loc.acquire(); local
369 Location Loc; local
409 SourceLocation Loc = Data->Loc.acquire(); local
475 SourceLocation Loc = Data->Loc.acquire(); local
501 SourceLocation Loc = Data->Loc.acquire(); local
531 SourceLocation Loc = Data->Loc.acquire(); local
[all...]
H A Dubsan_handlers.h21 SourceLocation Loc; member in struct:__ubsan::TypeMismatchData
43 SourceLocation Loc; member in struct:__ubsan::OverflowData
64 SourceLocation Loc; member in struct:__ubsan::ShiftOutOfBoundsData
75 SourceLocation Loc; member in struct:__ubsan::OutOfBoundsData
84 SourceLocation Loc; member in struct:__ubsan::UnreachableData
93 SourceLocation Loc; member in struct:__ubsan::VLABoundData
108 SourceLocation Loc; member in struct:__ubsan::FloatCastOverflowDataV2
118 SourceLocation Loc; member in struct:__ubsan::InvalidValueData
126 SourceLocation Loc; member in struct:__ubsan::FunctionTypeMismatchData
135 SourceLocation Loc; member in struct:__ubsan::NonNullReturnData
143 SourceLocation Loc; member in struct:__ubsan::NonNullArgData
163 SourceLocation Loc; member in struct:__ubsan::CFICheckFailData
[all...]
/external/clang/include/clang/Frontend/
H A DDiagnosticRenderer.h75 virtual void emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc,
82 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc,
87 virtual void emitCodeContext(SourceLocation Loc,
93 virtual void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc,
95 virtual void emitImportLocation(SourceLocation Loc, PresumedLoc PLoc,
98 virtual void emitBuildingModuleLocation(SourceLocation Loc, PresumedLoc PLoc,
110 void emitIncludeStack(SourceLocation Loc, PresumedLoc PLoc,
112 void emitIncludeStackRecursively(SourceLocation Loc, const SourceManager &SM);
113 void emitImportStack(SourceLocation Loc, const SourceManager &SM);
114 void emitImportStackRecursively(SourceLocation Loc, StringRe
[all...]
H A DTextDiagnostic.h78 void emitDiagnosticMessage(SourceLocation Loc,PresumedLoc PLoc,
85 void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc,
90 void emitCodeContext(SourceLocation Loc,
95 emitSnippetAndCaret(Loc, Level, Ranges, Hints, SM);
98 void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc,
101 void emitImportLocation(SourceLocation Loc, PresumedLoc PLoc,
105 void emitBuildingModuleLocation(SourceLocation Loc, PresumedLoc PLoc,
110 void emitSnippetAndCaret(SourceLocation Loc, DiagnosticsEngine::Level Level,
/external/swiftshader/third_party/LLVM/lib/Support/
H A DSourceMgr.cpp72 int SourceMgr::FindBufferContainingLoc(SMLoc Loc) const {
74 if (Loc.getPointer() >= Buffers[i].Buffer->getBufferStart() &&
77 Loc.getPointer() <= Buffers[i].Buffer->getBufferEnd())
84 unsigned SourceMgr::FindLineNumber(SMLoc Loc, int BufferID) const { argument
85 if (BufferID == -1) BufferID = FindBufferContainingLoc(Loc);
101 Cache->LastQuery <= Loc.getPointer()) {
108 for (; SMLoc::getFromPointer(Ptr) != Loc; ++Ptr)
143 SMDiagnostic SourceMgr::GetMessage(SMLoc Loc, const Twine &Msg, argument
148 int CurBuf = FindBufferContainingLoc(Loc);
154 const char *LineStart = Loc
181 PrintMessage(SMLoc Loc, const Twine &Msg, const char *Type, bool ShowLine) const argument
[all...]
/external/clang/lib/Sema/
H A DSemaCoroutine.cpp27 SourceLocation Loc) {
31 S.Diag(Loc, diag::err_implied_std_coroutine_traits_not_found);
36 Loc, Sema::LookupOrdinaryName);
38 S.Diag(Loc, diag::err_implied_std_coroutine_traits_not_found);
52 TemplateArgumentListInfo Args(Loc, Loc);
55 S.Context.getTrivialTypeSourceInfo(FnType->getReturnType(), Loc)));
60 TemplateArgument(T), S.Context.getTrivialTypeSourceInfo(T, Loc)));
64 S.CheckTemplateIdType(TemplateName(CoroTraits), Loc, Args);
67 if (S.RequireCompleteType(Loc, CoroTrai
26 lookupPromiseType(Sema &S, const FunctionProtoType *FnType, SourceLocation Loc) argument
104 checkCoroutineContext(Sema &S, SourceLocation Loc, StringRef Keyword) argument
162 buildOperatorCoawaitCall(Sema &SemaRef, Scope *S, SourceLocation Loc, Expr *E) argument
175 buildMemberCall(Sema &S, Expr *Base, SourceLocation Loc, StringRef Name, MutableArrayRef<Expr *> Args) argument
194 buildCoawaitCalls(Sema &S, SourceLocation Loc, Expr *E) argument
215 ActOnCoawaitExpr(Scope *S, SourceLocation Loc, Expr *E) argument
227 BuildCoawaitExpr(SourceLocation Loc, Expr *E) argument
260 buildPromiseCall(Sema &S, FunctionScopeInfo *Coroutine, SourceLocation Loc, StringRef Name, MutableArrayRef<Expr *> Args) argument
276 ActOnCoyieldExpr(Scope *S, SourceLocation Loc, Expr *E) argument
294 BuildCoyieldExpr(SourceLocation Loc, Expr *E) argument
327 ActOnCoreturnStmt(SourceLocation Loc, Expr *E) argument
330 BuildCoreturnStmt(SourceLocation Loc, Expr *E) argument
387 SourceLocation Loc = FD->getLocation(); local
[all...]
/external/clang/include/clang/AST/
H A DCommentBriefParser.h39 SourceLocation Loc = Tok.getLocation(); local
41 return Loc;
/external/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64TargetStreamer.cpp30 SMLoc Loc) {
31 return ConstantPools->addEntry(Streamer, Expr, Size, Loc);
28 addConstantPoolEntry(const MCExpr *Expr, unsigned Size, SMLoc Loc) argument
/external/swiftshader/third_party/LLVM/lib/TableGen/
H A DError.cpp27 void PrintError(const char *Loc, const Twine &Msg) { argument
28 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), Msg, "error");
/external/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLoc.cpp29 for (unsigned char Loc : E.Loc) {
30 OS << format("%2.2x ", Loc);
41 LocationList &Loc = Locations.back(); local
42 Loc.Offset = Offset;
69 E.Loc.append(str.begin(), str.end());
70 Loc.Entries.push_back(std::move(E));
81 LocationList &Loc = Locations.back(); local
82 Loc.Offset = Offset;
102 E.Loc
[all...]

Completed in 599 milliseconds

1234567891011>>