HomeSort by relevance Sort by last modified time
    Searched refs:Loc (Results 1 - 25 of 783) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/Analysis/
region-store.cpp 4 class Loc {
9 Loc l;
10 void setLoc(Loc L) {
24 int radar13445834(Derived *Builder, Loc l) {
  /external/llvm/include/llvm/IR/
DebugLoc.h 35 TrackingMDNodeRef Loc;
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 is o
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DebugLoc.h 35 TrackingMDNodeRef Loc;
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(); }
105 /// Walk up the scope chain of given debug loc and find line number info
113 MDNode *getAsMDNode() const { return Loc; }
115 bool operator==(const DebugLoc &DL) const { return Loc == DL.Loc; }
116 bool operator!=(const DebugLoc &DL) const { return Loc != DL.Loc; }
    [all...]
  /external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DebugLoc.h 35 TrackingMDNodeRef Loc;
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(); }
95 /// Walk up the scope chain of given debug loc and find line number info
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; }
    [all...]
  /external/clang/include/clang/Sema/
PrettyDeclStackTrace.h 34 SourceLocation Loc;
38 PrettyDeclStackTraceEntry(Sema &S, Decl *D, SourceLocation Loc,
40 : S(S), TheDecl(D), Loc(Loc), Message(Msg) {}
  /build/kati/
loc.h 22 struct Loc {
23 Loc() : filename(0), lineno(-1) {}
24 Loc(const char* f, int l) : filename(f), lineno(l) {}
  /external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/
CodeRegion.cpp 21 bool CodeRegion::isLocInRange(SMLoc Loc) const {
22 if (RangeEnd.isValid() && Loc.getPointer() > RangeEnd.getPointer())
24 if (RangeStart.isValid() && Loc.getPointer() < RangeStart.getPointer())
29 void CodeRegions::beginRegion(StringRef Description, SMLoc Loc) {
33 SM.PrintMessage(Loc, SourceMgr::DK_Warning,
41 addRegion(Description, Loc);
44 void CodeRegions::endRegion(SMLoc Loc) {
48 SM.PrintMessage(Loc, SourceMgr::DK_Warning, "Ignoring invalid region end");
52 CurrentRegion.setEndLocation(Loc);
56 const SMLoc &Loc = Instruction->getLoc()
    [all...]
  /external/clang/lib/Lex/
PPConditionalDirectiveRecord.cpp 49 SourceLocation Loc) const {
50 if (Loc.isInvalid())
56 Loc))
61 Loc, CondDirectiveLoc::Comp(SourceMgr));
78 void PPConditionalDirectiveRecord::If(SourceLocation Loc,
81 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back()));
82 CondDirectiveStack.push_back(Loc);
85 void PPConditionalDirectiveRecord::Ifdef(SourceLocation Loc,
88 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back()));
89 CondDirectiveStack.push_back(Loc);
    [all...]
  /external/llvm/lib/TableGen/
Error.cpp 26 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind,
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) {
47 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg);
58 void PrintError(const char *Loc, const Twine &Msg) {
59 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg)
    [all...]
  /external/llvm/tools/llvm-readobj/
StackMapPrinter.h 43 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.getConstantIndex()).getValue() << ")"
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
StackMapPrinter.h 46 for (const auto &Loc : R.locations()) {
49 switch (Loc.getKind()) {
51 OS << "Register R#" << Loc.getDwarfRegNum() << "\n";
54 OS << "Direct R#" << Loc.getDwarfRegNum() << " + " << Loc.getOffset()
58 OS << "Indirect [R#" << Loc.getDwarfRegNum() << " + " << Loc.getOffset()
62 OS << "Constant " << Loc.getSmallConstant() << "\n";
65 OS << "ConstantIndex #" << Loc.getConstantIndex() << " ("
66 << SMP.getConstant(Loc.getConstantIndex()).getValue() << ")\n"
    [all...]
  /external/clang/include/clang/Lex/
PPCallbacks.h 48 /// \param Loc Indicates the new location.
50 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason,
155 /// \param Loc The location of the directive.
158 virtual void Ident(SourceLocation Loc, StringRef str) {
162 virtual void PragmaDirective(SourceLocation Loc,
167 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind,
173 virtual void PragmaDetectMismatch(SourceLocation Loc, StringRef Name,
178 /// \param Loc The location of the debug directive.
180 virtual void PragmaDebug(SourceLocation Loc, StringRef DebugType) {
196 /// \param Loc The location of the message directive
    [all...]
PPConditionalDirectiveRecord.h 32 SourceLocation Loc;
36 CondDirectiveLoc(SourceLocation Loc, SourceLocation RegionLoc)
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, const Token &MacroNameTok
    [all...]
  /external/spirv-llvm/lib/SPIRV/libSPIRV/
SPIRVBasicBlock.h 64 auto Loc = find(I);
65 if (Loc == InstVec.end() || Loc == InstVec.begin())
67 return *(--Loc);
70 auto Loc = find(I);
71 if (Loc == InstVec.end())
73 ++Loc;
74 if (Loc == InstVec.end())
76 return *Loc;
  /external/swiftshader/third_party/LLVM/include/llvm/TableGen/
Error.h 23 SMLoc Loc;
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/clang/include/clang/AST/
CommentBriefParser.h 39 SourceLocation Loc = Tok.getLocation();
41 return Loc;
TypeLoc.h 167 void initialize(ASTContext &Context, SourceLocation Loc) const {
168 initializeImpl(Context, *this, Loc);
187 /// Copies the other type loc into this one.
208 SourceLocation Loc);
263 void initializeLocal(ASTContext &Context, SourceLocation Loc) {
298 if (QualifiedTypeLoc Loc = getAs<QualifiedTypeLoc>())
299 return Loc.getUnqualifiedLoc();
496 void setNameLoc(SourceLocation Loc) {
497 this->getLocalData()->NameLoc = Loc;
502 void initializeLocal(ASTContext &Context, SourceLocation Loc) {
    [all...]
  /external/clang/include/clang/Basic/
PrettyStackTrace.h 29 SourceLocation Loc;
33 : SM(sm), Loc(L), Message(Msg) {}
  /external/clang/tools/libclang/
CXSourceLocation.h 31 SourceLocation Loc) {
32 if (Loc.isInvalid())
36 Loc.getRawEncoding() };
42 SourceLocation Loc) {
45 Loc);
  /external/clang/include/clang/Analysis/Analyses/
ThreadSafety.h 81 /// \param Loc -- the SourceLocation of the unresolved expression.
82 virtual void handleInvalidLockExp(StringRef Kind, SourceLocation Loc) {}
89 /// \param Loc -- The SourceLocation of the Unlock
91 SourceLocation Loc) {}
101 /// \param Loc -- The SourceLocation of the Unlock.
104 SourceLocation Loc) {}
110 /// \param Loc -- The location of the second lock expression.
112 SourceLocation Loc) {}
149 /// \param Loc -- The location of the protected operation.
152 SourceLocation Loc) {}
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
Error.cpp 27 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind,
35 if (Loc.empty())
36 Loc = NullLoc;
37 SrcMgr.PrintMessage(Loc.front(), Kind, Msg);
38 for (unsigned i = 1; i < Loc.size(); ++i)
39 SrcMgr.PrintMessage(Loc[i], SourceMgr::DK_Note,
51 void PrintWarning(const char *Loc, const Twine &Msg) {
52 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg);
61 void PrintError(const char *Loc, const Twine &Msg) {
62 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg)
    [all...]
  /external/clang/lib/Frontend/
DiagnosticRenderer.cpp 40 void insert(SourceLocation loc, StringRef text) override {
41 MergedFixits.push_back(FixItHint::CreateInsertion(loc, text));
81 void DiagnosticRenderer::emitDiagnostic(SourceLocation Loc,
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)
    [all...]
  /external/compiler-rt/lib/ubsan/
ubsan_handlers.cc 46 Location Loc = Data->Loc.acquire();
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 = Data->Loc.acquire()
    [all...]
  /external/clang/include/clang/Frontend/
DiagnosticRenderer.h 75 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, StringRef ModuleName
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Support/
SourceMgr.cpp 72 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 {
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,
148 int CurBuf = FindBufferContainingLoc(Loc);
154 const char *LineStart = Loc.getPointer()
    [all...]

Completed in 617 milliseconds

1 2 3 4 5 6 7 8 91011>>