Home
last modified time | relevance | path

Searched refs:SMLoc (Results 1 – 25 of 226) sorted by relevance

12345678910

/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/
DDarwinAsmParser.cpp46 template<bool (DarwinAsmParser::*HandlerMethod)(StringRef, SMLoc)>
57 SMLoc LastVersionDirective;
199 LastVersionDirective = SMLoc(); in Initialize()
202 bool parseDirectiveAltEntry(StringRef, SMLoc);
203 bool parseDirectiveDesc(StringRef, SMLoc);
204 bool parseDirectiveIndirectSymbol(StringRef, SMLoc);
205 bool parseDirectiveDumpOrLoad(StringRef, SMLoc);
206 bool parseDirectiveLsym(StringRef, SMLoc);
207 bool parseDirectiveLinkerOption(StringRef, SMLoc);
208 bool parseDirectiveSection(StringRef, SMLoc);
[all …]
DCOFFAsmParser.cpp36 template<bool (COFFAsmParser::*HandlerMethod)(StringRef, SMLoc)>
104 bool ParseSectionDirectiveText(StringRef, SMLoc) { in ParseSectionDirectiveText() argument
112 bool ParseSectionDirectiveData(StringRef, SMLoc) { in ParseSectionDirectiveData() argument
119 bool ParseSectionDirectiveBSS(StringRef, SMLoc) { in ParseSectionDirectiveBSS() argument
127 bool ParseDirectiveSection(StringRef, SMLoc);
128 bool ParseDirectiveDef(StringRef, SMLoc);
129 bool ParseDirectiveScl(StringRef, SMLoc);
130 bool ParseDirectiveType(StringRef, SMLoc);
131 bool ParseDirectiveEndef(StringRef, SMLoc);
132 bool ParseDirectiveSecRel32(StringRef, SMLoc);
[all …]
DELFAsmParser.cpp38 template<bool (ELFAsmParser::*HandlerMethod)(StringRef, SMLoc)>
93 bool ParseSectionDirectiveData(StringRef, SMLoc) { in ParseSectionDirectiveData() argument
98 bool ParseSectionDirectiveText(StringRef, SMLoc) { in ParseSectionDirectiveText() argument
103 bool ParseSectionDirectiveBSS(StringRef, SMLoc) { in ParseSectionDirectiveBSS() argument
108 bool ParseSectionDirectiveRoData(StringRef, SMLoc) { in ParseSectionDirectiveRoData() argument
113 bool ParseSectionDirectiveTData(StringRef, SMLoc) { in ParseSectionDirectiveTData() argument
119 bool ParseSectionDirectiveTBSS(StringRef, SMLoc) { in ParseSectionDirectiveTBSS() argument
125 bool ParseSectionDirectiveDataRel(StringRef, SMLoc) { in ParseSectionDirectiveDataRel() argument
130 bool ParseSectionDirectiveDataRelRo(StringRef, SMLoc) { in ParseSectionDirectiveDataRelRo() argument
136 bool ParseSectionDirectiveEhFrame(StringRef, SMLoc) { in ParseSectionDirectiveEhFrame() argument
[all …]
DAsmParser.cpp91 SMLoc InstantiationLoc;
97 SMLoc ExitLoc;
103 MacroInstantiation(SMLoc IL, int EB, SMLoc EL, size_t CondStackDepth);
163 SMLoc Loc;
169 SmallVector<std::tuple<SMLoc, CppHashInfoTy, MCSymbol *>, 4> DirLabels;
221 void Note(SMLoc L, const Twine &Msg, SMRange Range = None) override;
222 bool Warning(SMLoc L, const Twine &Msg, SMRange Range = None) override;
223 bool printError(SMLoc L, const Twine &Msg, SMRange Range = None) override;
242 bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) override;
243 bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) override;
[all …]
/external/llvm/lib/MC/MCParser/
DDarwinAsmParser.cpp33 template<bool (DarwinAsmParser::*HandlerMethod)(StringRef, SMLoc)>
44 SMLoc LastVersionMinDirective;
183 LastVersionMinDirective = SMLoc(); in Initialize()
186 bool parseDirectiveAltEntry(StringRef, SMLoc);
187 bool parseDirectiveDesc(StringRef, SMLoc);
188 bool parseDirectiveIndirectSymbol(StringRef, SMLoc);
189 bool parseDirectiveDumpOrLoad(StringRef, SMLoc);
190 bool parseDirectiveLsym(StringRef, SMLoc);
191 bool parseDirectiveLinkerOption(StringRef, SMLoc);
192 bool parseDirectiveSection(StringRef, SMLoc);
[all …]
DCOFFAsmParser.cpp28 template<bool (COFFAsmParser::*HandlerMethod)(StringRef, SMLoc)>
93 bool ParseSectionDirectiveText(StringRef, SMLoc) { in ParseSectionDirectiveText() argument
100 bool ParseSectionDirectiveData(StringRef, SMLoc) { in ParseSectionDirectiveData() argument
106 bool ParseSectionDirectiveBSS(StringRef, SMLoc) { in ParseSectionDirectiveBSS() argument
114 bool ParseDirectiveSection(StringRef, SMLoc);
115 bool ParseDirectiveDef(StringRef, SMLoc);
116 bool ParseDirectiveScl(StringRef, SMLoc);
117 bool ParseDirectiveType(StringRef, SMLoc);
118 bool ParseDirectiveEndef(StringRef, SMLoc);
119 bool ParseDirectiveSecRel32(StringRef, SMLoc);
[all …]
DELFAsmParser.cpp26 template<bool (ELFAsmParser::*HandlerMethod)(StringRef, SMLoc)>
80 bool ParseSectionDirectiveData(StringRef, SMLoc) { in ParseSectionDirectiveData() argument
85 bool ParseSectionDirectiveText(StringRef, SMLoc) { in ParseSectionDirectiveText() argument
90 bool ParseSectionDirectiveBSS(StringRef, SMLoc) { in ParseSectionDirectiveBSS() argument
95 bool ParseSectionDirectiveRoData(StringRef, SMLoc) { in ParseSectionDirectiveRoData() argument
100 bool ParseSectionDirectiveTData(StringRef, SMLoc) { in ParseSectionDirectiveTData() argument
106 bool ParseSectionDirectiveTBSS(StringRef, SMLoc) { in ParseSectionDirectiveTBSS() argument
112 bool ParseSectionDirectiveDataRel(StringRef, SMLoc) { in ParseSectionDirectiveDataRel() argument
117 bool ParseSectionDirectiveDataRelRo(StringRef, SMLoc) { in ParseSectionDirectiveDataRelRo() argument
123 bool ParseSectionDirectiveEhFrame(StringRef, SMLoc) { in ParseSectionDirectiveEhFrame() argument
[all …]
DMCAsmLexer.cpp22 SMLoc MCAsmLexer::getLoc() const { in getLoc()
23 return SMLoc::getFromPointer(TokStart); in getLoc()
26 SMLoc AsmToken::getLoc() const { in getLoc()
27 return SMLoc::getFromPointer(Str.data()); in getLoc()
30 SMLoc AsmToken::getEndLoc() const { in getEndLoc()
31 return SMLoc::getFromPointer(Str.data() + Str.size()); in getEndLoc()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/MCTargetDesc/
DX86WinCOFFTargetStreamer.cpp35 SMLoc L) override;
36 bool emitFPOEndPrologue(SMLoc L) override;
37 bool emitFPOEndProc(SMLoc L) override;
38 bool emitFPOData(const MCSymbol *ProcSym, SMLoc L) override;
39 bool emitFPOPushReg(unsigned Reg, SMLoc L) override;
40 bool emitFPOStackAlloc(unsigned StackAlloc, SMLoc L) override;
41 bool emitFPOSetFrame(unsigned Reg, SMLoc L) override;
77 bool checkInFPOPrologue(SMLoc L);
87 SMLoc L) override;
88 bool emitFPOEndPrologue(SMLoc L) override;
[all …]
DX86TargetStreamer.h23 SMLoc L = {}) = 0;
24 virtual bool emitFPOEndPrologue(SMLoc L = {}) = 0;
25 virtual bool emitFPOEndProc(SMLoc L = {}) = 0;
26 virtual bool emitFPOData(const MCSymbol *ProcSym, SMLoc L = {}) = 0;
27 virtual bool emitFPOPushReg(unsigned Reg, SMLoc L = {}) = 0;
28 virtual bool emitFPOStackAlloc(unsigned StackAlloc, SMLoc L = {}) = 0;
29 virtual bool emitFPOSetFrame(unsigned Reg, SMLoc L = {}) = 0;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/AsmParser/
DAVRAsmParser.cpp49 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
54 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
57 SMLoc NameLoc, OperandVector &Operands) override;
80 bool emit(MCInst &Instruction, SMLoc const &Loc, MCStreamer &Out) const;
81 bool invalidOperand(SMLoc const &Loc, OperandVector const &Operands,
83 bool missingFeature(SMLoc const &Loc, uint64_t const &ErrorInfo);
85 bool parseLiteralValues(unsigned SizeInBytes, SMLoc L);
107 AVROperand(StringRef Tok, SMLoc const &S) in AVROperand()
109 AVROperand(unsigned Reg, SMLoc const &S, SMLoc const &E) in AVROperand()
111 AVROperand(MCExpr const *Imm, SMLoc const &S, SMLoc const &E) in AVROperand()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCStreamer.h163 const MCExpr *addConstantPoolEntry(const MCExpr *, SMLoc Loc);
198 WinEH::FrameInfo *EnsureValidWinFrameInfo(SMLoc Loc);
431 virtual void EmitLabel(MCSymbol *Symbol, SMLoc Loc = SMLoc());
575 SMLoc Loc = SMLoc()) = 0;
612 SMLoc Loc = SMLoc());
614 void EmitValue(const MCExpr *Value, unsigned Size, SMLoc Loc = SMLoc());
691 SMLoc Loc = SMLoc());
702 SMLoc Loc = SMLoc());
751 SMLoc Loc);
818 unsigned IACol, SMLoc Loc);
[all …]
DMCExpr.h48 SMLoc Loc;
59 explicit MCExpr(ExprKind Kind, SMLoc Loc) : Kind(Kind), Loc(Loc) {} in MCExpr()
74 SMLoc getLoc() const { return Loc; } in getLoc()
140 : MCExpr(MCExpr::Constant, SMLoc()), Value(Value) {} in MCConstantExpr()
315 const MCAsmInfo *MAI, SMLoc Loc = SMLoc());
326 MCContext &Ctx, SMLoc Loc = SMLoc());
371 MCUnaryExpr(Opcode Op, const MCExpr *Expr, SMLoc Loc) in MCUnaryExpr()
379 MCContext &Ctx, SMLoc Loc = SMLoc());
381 static const MCUnaryExpr *createLNot(const MCExpr *Expr, MCContext &Ctx, SMLoc Loc = SMLoc()) {
385 static const MCUnaryExpr *createMinus(const MCExpr *Expr, MCContext &Ctx, SMLoc Loc = SMLoc()) {
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/AsmParser/
DBPFAsmParser.cpp32 SMLoc getLoc() const { return getParser().getTok().getLoc(); } in getLoc()
36 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
41 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
44 SMLoc NameLoc, OperandVector &Operands) override;
95 SMLoc StartLoc, EndLoc;
142 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc()
144 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
196 static std::unique_ptr<BPFOperand> createToken(StringRef Str, SMLoc S) { in createToken()
204 static std::unique_ptr<BPFOperand> createReg(unsigned RegNo, SMLoc S, in createReg()
205 SMLoc E) { in createReg()
[all …]
/external/llvm/include/llvm/Support/
DSMLoc.h23 class SMLoc {
27 SMLoc() : Ptr(nullptr) {} in SMLoc() function
31 bool operator==(const SMLoc &RHS) const { return RHS.Ptr == Ptr; }
32 bool operator!=(const SMLoc &RHS) const { return RHS.Ptr != Ptr; }
36 static SMLoc getFromPointer(const char *Ptr) { in getFromPointer()
37 SMLoc L; in getFromPointer()
50 SMLoc Start, End;
53 SMRange(SMLoc St, SMLoc En) : Start(St), End(En) { in SMRange()
DSourceMgr.h53 SMLoc IncludeLoc;
116 SMLoc getParentIncludeLoc(unsigned i) const { in getParentIncludeLoc()
124 SMLoc IncludeLoc) { in AddNewSourceBuffer()
138 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc,
144 unsigned FindBufferContainingLoc(SMLoc Loc) const;
148 unsigned FindLineNumber(SMLoc Loc, unsigned BufferID = 0) const {
154 std::pair<unsigned, unsigned> getLineAndColumn(SMLoc Loc,
161 void PrintMessage(raw_ostream &OS, SMLoc Loc, DiagKind Kind,
168 void PrintMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
185 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSMLoc.h24 class SMLoc {
28 SMLoc() : Ptr(nullptr) {} in SMLoc() function
32 bool operator==(const SMLoc &RHS) const { return RHS.Ptr == Ptr; }
33 bool operator!=(const SMLoc &RHS) const { return RHS.Ptr != Ptr; }
37 static SMLoc getFromPointer(const char *Ptr) { in getFromPointer()
38 SMLoc L; in getFromPointer()
51 SMLoc Start, End;
55 SMRange(SMLoc St, SMLoc En) : Start(St), End(En) { in SMRange()
DSourceMgr.h53 SMLoc IncludeLoc;
111 SMLoc getParentIncludeLoc(unsigned i) const { in getParentIncludeLoc()
119 SMLoc IncludeLoc) { in AddNewSourceBuffer()
133 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc,
139 unsigned FindBufferContainingLoc(SMLoc Loc) const;
143 unsigned FindLineNumber(SMLoc Loc, unsigned BufferID = 0) const {
149 std::pair<unsigned, unsigned> getLineAndColumn(SMLoc Loc,
156 void PrintMessage(raw_ostream &OS, SMLoc Loc, DiagKind Kind,
163 void PrintMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
180 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DSMLoc.h24 class SMLoc {
28 SMLoc() = default;
32 bool operator==(const SMLoc &RHS) const { return RHS.Ptr == Ptr; }
33 bool operator!=(const SMLoc &RHS) const { return RHS.Ptr != Ptr; }
37 static SMLoc getFromPointer(const char *Ptr) { in getFromPointer()
38 SMLoc L; in getFromPointer()
51 SMLoc Start, End;
55 SMRange(SMLoc St, SMLoc En) : Start(St), End(En) { in SMRange()
DSourceMgr.h86 SMLoc IncludeLoc;
145 SMLoc getParentIncludeLoc(unsigned i) const { in getParentIncludeLoc()
153 SMLoc IncludeLoc) { in AddNewSourceBuffer()
167 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc,
173 unsigned FindBufferContainingLoc(SMLoc Loc) const;
177 unsigned FindLineNumber(SMLoc Loc, unsigned BufferID = 0) const {
183 std::pair<unsigned, unsigned> getLineAndColumn(SMLoc Loc,
190 void PrintMessage(raw_ostream &OS, SMLoc Loc, DiagKind Kind,
197 void PrintMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
214 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg,
[all …]
/external/clang/test/CodeGenCXX/
Darm-cc.cpp3 class SMLoc { class
6 SMLoc();
7 SMLoc(const SMLoc &RHS);
9 SMLoc foo(void *p);
13 void zed(SMLoc x);
15 SMLoc a; in baz()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/
DCodeRegion.h54 llvm::SMLoc RangeStart;
55 llvm::SMLoc RangeEnd;
61 CodeRegion(llvm::StringRef Desc, llvm::SMLoc Start) in CodeRegion()
68 llvm::SMLoc startLoc() const { return RangeStart; } in startLoc()
69 llvm::SMLoc endLoc() const { return RangeEnd; } in endLoc()
71 void setEndLocation(llvm::SMLoc End) { RangeEnd = End; } in setEndLocation()
73 bool isLocInRange(llvm::SMLoc Loc) const;
90 void addRegion(llvm::StringRef Description, llvm::SMLoc Loc) { in addRegion()
107 void beginRegion(llvm::StringRef Description, llvm::SMLoc Loc);
108 void endRegion(llvm::SMLoc Loc);
[all …]
/external/llvm/lib/Target/Mips/
DMipsTargetStreamer.h88 SMLoc IDLoc, const MCSubtargetInfo *STI);
103 void emitR(unsigned Opcode, unsigned Reg0, SMLoc IDLoc,
105 void emitII(unsigned Opcode, int16_t Imm1, int16_t Imm2, SMLoc IDLoc,
107 void emitRX(unsigned Opcode, unsigned Reg0, MCOperand Op1, SMLoc IDLoc,
109 void emitRI(unsigned Opcode, unsigned Reg0, int32_t Imm, SMLoc IDLoc,
111 void emitRR(unsigned Opcode, unsigned Reg0, unsigned Reg1, SMLoc IDLoc,
114 SMLoc IDLoc, const MCSubtargetInfo *STI);
116 SMLoc IDLoc, const MCSubtargetInfo *STI);
118 SMLoc IDLoc, const MCSubtargetInfo *STI);
122 SMLoc IDLoc, const MCSubtargetInfo *STI);
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsTargetStreamer.h97 SMLoc IDLoc, const MCSubtargetInfo *STI);
119 void emitR(unsigned Opcode, unsigned Reg0, SMLoc IDLoc,
121 void emitII(unsigned Opcode, int16_t Imm1, int16_t Imm2, SMLoc IDLoc,
123 void emitRX(unsigned Opcode, unsigned Reg0, MCOperand Op1, SMLoc IDLoc,
125 void emitRI(unsigned Opcode, unsigned Reg0, int32_t Imm, SMLoc IDLoc,
127 void emitRR(unsigned Opcode, unsigned Reg0, unsigned Reg1, SMLoc IDLoc,
130 SMLoc IDLoc, const MCSubtargetInfo *STI);
132 SMLoc IDLoc, const MCSubtargetInfo *STI);
134 SMLoc IDLoc, const MCSubtargetInfo *STI);
136 int16_t Imm1, int16_t Imm2, SMLoc IDLoc,
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DError.cpp27 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind, in PrintMessage()
34 SMLoc NullLoc; in PrintMessage()
43 void PrintNote(ArrayRef<SMLoc> NoteLoc, const Twine &Msg) { in PrintNote()
47 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg) { in PrintWarning()
52 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg); in PrintWarning()
57 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintError()
62 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg); in PrintError()
74 void PrintFatalError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintFatalError()

12345678910