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

1 2 3

  /external/clang/test/CodeGenCXX/
arm-cc.cpp 3 class SMLoc {
6 SMLoc();
7 SMLoc(const SMLoc &RHS);
9 SMLoc foo(void *p);
13 void zed(SMLoc x);
15 SMLoc a;
19 // CHECK: declare void @_Z3fooPv(%class.SMLoc* sret, i8*)
20 // CHECK: declare void @_Z3zed5SMLoc(%class.SMLoc*)
  /external/llvm/include/llvm/Support/
SMLoc.h 1 //===- SMLoc.h - Source location for use with diagnostics -------*- C++ -*-===//
10 // This file declares the SMLoc class. This class encapsulates a location in
23 class SMLoc {
26 SMLoc() : Ptr(0) {}
30 bool operator==(const SMLoc &RHS) const { return RHS.Ptr == Ptr; }
31 bool operator!=(const SMLoc &RHS) const { return RHS.Ptr != Ptr; }
35 static SMLoc getFromPointer(const char *Ptr) {
36 SMLoc L;
49 SMLoc Start, End;
52 SMRange(SMLoc St, SMLoc En) : Start(St), End(En)
    [all...]
SourceMgr.h 22 #include "llvm/Support/SMLoc.h"
54 SMLoc IncludeLoc;
105 SMLoc getParentIncludeLoc(unsigned i) const {
112 size_t AddNewSourceBuffer(MemoryBuffer *F, SMLoc IncludeLoc) {
124 size_t AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc,
129 int FindBufferContainingLoc(SMLoc Loc) const;
133 unsigned FindLineNumber(SMLoc Loc, int BufferID = -1) const {
140 getLineAndColumn(SMLoc Loc, int BufferID = -1) const;
147 void PrintMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
158 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg
    [all...]
  /external/llvm/lib/MC/MCParser/
MCAsmLexer.cpp 22 SMLoc MCAsmLexer::getLoc() const {
23 return SMLoc::getFromPointer(TokStart);
26 SMLoc AsmToken::getLoc() const {
27 return SMLoc::getFromPointer(Str.data());
30 SMLoc AsmToken::getEndLoc() const {
31 return SMLoc::getFromPointer(Str.data() + Str.size());
DarwinAsmParser.cpp 29 template<bool (DarwinAsmParser::*HandlerMethod)(StringRef, SMLoc)>
165 bool ParseDirectiveDesc(StringRef, SMLoc);
166 bool ParseDirectiveDumpOrLoad(StringRef, SMLoc);
167 bool ParseDirectiveLsym(StringRef, SMLoc);
168 bool ParseDirectiveLinkerOption(StringRef, SMLoc);
169 bool ParseDirectiveSection(StringRef, SMLoc);
170 bool ParseDirectivePushSection(StringRef, SMLoc);
171 bool ParseDirectivePopSection(StringRef, SMLoc);
172 bool ParseDirectivePrevious(StringRef, SMLoc);
173 bool ParseDirectiveSecureLogReset(StringRef, SMLoc);
    [all...]
COFFAsmParser.cpp 27 template<bool (COFFAsmParser::*HandlerMethod)(StringRef, SMLoc)>
86 bool ParseSectionDirectiveText(StringRef, SMLoc) {
93 bool ParseSectionDirectiveData(StringRef, SMLoc) {
100 bool ParseSectionDirectiveBSS(StringRef, SMLoc) {
108 bool ParseDirectiveSection(StringRef, SMLoc);
109 bool ParseDirectiveDef(StringRef, SMLoc);
110 bool ParseDirectiveScl(StringRef, SMLoc);
111 bool ParseDirectiveType(StringRef, SMLoc);
112 bool ParseDirectiveEndef(StringRef, SMLoc);
113 bool ParseDirectiveSecRel32(StringRef, SMLoc);
    [all...]
ELFAsmParser.cpp 25 template<bool (ELFAsmParser::*HandlerMethod)(StringRef, SMLoc)>
84 bool ParseSectionDirectiveData(StringRef, SMLoc) {
89 bool ParseSectionDirectiveText(StringRef, SMLoc) {
94 bool ParseSectionDirectiveBSS(StringRef, SMLoc) {
99 bool ParseSectionDirectiveRoData(StringRef, SMLoc) {
104 bool ParseSectionDirectiveTData(StringRef, SMLoc) {
110 bool ParseSectionDirectiveTBSS(StringRef, SMLoc) {
116 bool ParseSectionDirectiveDataRel(StringRef, SMLoc) {
122 bool ParseSectionDirectiveDataRelRo(StringRef, SMLoc) {
128 bool ParseSectionDirectiveDataRelRoLocal(StringRef, SMLoc) {
    [all...]
MCAsmParser.cpp 42 SMLoc L;
  /external/llvm/include/llvm/MC/MCParser/
MCParsedAsmOperand.h 14 class SMLoc;
55 virtual SMLoc getStartLoc() const = 0;
57 virtual SMLoc getEndLoc() const = 0;
69 virtual SMLoc getOffsetOfLoc() const { return SMLoc(); }
MCAsmParserExtension.h 15 #include "llvm/Support/SMLoc.h"
33 template<typename T, bool (T::*Handler)(StringRef, SMLoc)>
36 SMLoc DirectiveLoc) {
59 bool Warning(SMLoc L, const Twine &Msg) {
62 bool Error(SMLoc L, const Twine &Msg) {
MCAsmParser.h 28 class SMLoc;
66 typedef bool (*DirectiveHandler)(MCAsmParserExtension*, StringRef, SMLoc);
124 virtual bool Warning(SMLoc L, const Twine &Msg,
131 virtual bool Error(SMLoc L, const Twine &Msg,
166 virtual bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
174 virtual bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) = 0;
182 virtual bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
MCAsmLexer.h 16 #include "llvm/Support/SMLoc.h"
71 SMLoc getLoc() const;
72 SMLoc getEndLoc() const;
113 SMLoc ErrLoc;
126 void SetError(const SMLoc &errLoc, const std::string &err) {
145 SMLoc getLoc() const;
153 const SMLoc &getErrLoc() {
  /external/llvm/lib/TableGen/
Error.cpp 25 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind,
32 SMLoc NullLoc;
41 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg) {
46 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg);
53 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) {
58 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg);
70 void PrintFatalError(ArrayRef<SMLoc> ErrorLoc, const std::string &Msg) {
TGParser.h 38 SMLoc Loc;
40 SMLoc L)
92 bool Error(SMLoc L, const Twine &Msg) const {
104 bool AddValue(Record *TheRec, SMLoc Loc, const RecordVal &RV);
105 bool SetValue(Record *TheRec, SMLoc Loc, Init *ValName,
107 bool SetValue(Record *TheRec, SMLoc Loc, const std::string &ValName,
126 bool ProcessForeachDefs(Record *CurRec, SMLoc Loc);
127 bool ProcessForeachDefs(Record *CurRec, SMLoc Loc, IterSet &IterVals);
140 SMLoc DefmPrefixLoc,
141 SMLoc SubClassLoc
    [all...]
TGLexer.h 18 #include "llvm/Support/SMLoc.h"
26 class SMLoc;
79 typedef std::map<std::string, SMLoc> DependenciesMapTy;
109 SMLoc getLoc() const;
  /external/llvm/include/llvm/TableGen/
Error.h 22 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg);
26 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg);
31 LLVM_ATTRIBUTE_NORETURN void PrintFatalError(ArrayRef<SMLoc> ErrorLoc,
  /external/llvm/include/llvm/MC/
MCTargetAsmParser.h 18 class SMLoc;
53 SMLoc Loc;
57 AsmRewrite(AsmRewriteKind kind, SMLoc loc, unsigned len = 0, unsigned val = 0)
112 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc,
113 SMLoc &EndLoc) = 0;
129 SMLoc NameLoc,
155 MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
MCFixup.h 15 #include "llvm/Support/SMLoc.h"
75 SMLoc Loc;
78 MCFixupKind Kind, SMLoc Loc = SMLoc()) {
107 SMLoc getLoc() const { return Loc; }
  /external/llvm/tools/llvm-mcmarkup/
llvm-mcmarkup.cpp 60 SMLoc StartLoc;
62 MarkupTag(StringRef n, StringRef m, SMLoc Loc)
66 SMLoc getLoc() const { return StartLoc; }
81 void FatalError(SMLoc Loc, StringRef Msg);
84 void MarkupParser::FatalError(SMLoc Loc, StringRef Msg) {
127 SMLoc Loc = SMLoc::getFromPointer(Start - 1);
131 FatalError(SMLoc::getFromPointer(Start), "unterminated markup tag");
149 SrcMgr.AddNewSourceBuffer(Buffer, SMLoc());
175 SMLoc Loc = SMLoc::getFromPointer(Lex.getPosition() - 1)
    [all...]
  /external/llvm/utils/TableGen/
CTagsEmitter.cpp 35 SMLoc Loc;
37 Tag(const std::string &Name, const SMLoc Location)
58 static SMLoc locate(const Record *R);
63 SMLoc CTagsEmitter::locate(const Record *R) {
64 ArrayRef<SMLoc> Locs = R->getLoc();
66 SMLoc NullLoc;
SetTheory.h 77 ArrayRef<SMLoc> Loc) =0;
124 void evaluate(Init *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc);
128 void evaluate(Iter begin, Iter end, RecSet &Elts, ArrayRef<SMLoc> Loc) {
  /external/llvm/tools/llvm-mc/
Disassembler.cpp 70 SM.PrintMessage(SMLoc::getFromPointer(Bytes[Index].second),
83 SM.PrintMessage(SMLoc::getFromPointer(Bytes[Index].second),
140 SM.PrintMessage(SMLoc::getFromPointer(Value.data()), SourceMgr::DK_Error,
182 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error,
191 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error,
209 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error,
  /external/llvm/lib/Target/SystemZ/AsmParser/
SystemZAsmParser.cpp 63 SMLoc StartLoc, EndLoc;
106 SystemZOperand(OperandKind kind, SMLoc startLoc, SMLoc endLoc)
122 static SystemZOperand *createInvalid(SMLoc StartLoc, SMLoc EndLoc) {
125 static SystemZOperand *createToken(StringRef Str, SMLoc Loc) {
132 SMLoc StartLoc, SMLoc EndLoc) {
138 static SystemZOperand *createAccessReg(unsigned Num, SMLoc StartLoc,
139 SMLoc EndLoc)
    [all...]
  /external/llvm/lib/Target/Mips/AsmParser/
MipsAsmParser.cpp 70 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
75 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
78 SMLoc NameLoc,
133 void expandInstruction(MCInst &Inst, SMLoc IDLoc,
135 void expandLoadImm(MCInst &Inst, SMLoc IDLoc,
137 void expandLoadAddressImm(MCInst &Inst, SMLoc IDLoc,
139 void expandLoadAddressReg(MCInst &Inst, SMLoc IDLoc,
141 void expandMemInst(MCInst &Inst, SMLoc IDLoc,
163 bool parseDirectiveWord(unsigned Size, SMLoc L)
    [all...]
  /external/llvm/lib/Target/AArch64/AsmParser/
AArch64AsmParser.cpp 66 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
68 SMLoc NameLoc,
72 bool ParseDirectiveTLSDescCall(SMLoc L);
73 bool ParseDirectiveWord(unsigned Size, SMLoc L);
75 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
137 IdentifyRegister(unsigned &RegNum, SMLoc &RegEndLoc, StringRef &LayoutSpec,
138 SMLoc &LayoutLoc) const;
161 SMLoc StartLoc, EndLoc;
212 AArch64Operand(KindTy K, SMLoc S, SMLoc E
    [all...]

Completed in 497 milliseconds

1 2 3