Home
last modified time | relevance | path

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

1234567891011

/external/swiftshader/third_party/LLVM/lib/MC/MCParser/
DDarwinAsmParser.cpp28 template<bool (DarwinAsmParser::*Handler)(StringRef, SMLoc)>
107 bool ParseDirectiveDesc(StringRef, SMLoc);
108 bool ParseDirectiveDumpOrLoad(StringRef, SMLoc);
109 bool ParseDirectiveLsym(StringRef, SMLoc);
110 bool ParseDirectiveSection(StringRef, SMLoc);
111 bool ParseDirectiveSecureLogReset(StringRef, SMLoc);
112 bool ParseDirectiveSecureLogUnique(StringRef, SMLoc);
113 bool ParseDirectiveSubsectionsViaSymbols(StringRef, SMLoc);
114 bool ParseDirectiveTBSS(StringRef, SMLoc);
115 bool ParseDirectiveZerofill(StringRef, SMLoc);
[all …]
DCOFFAsmParser.cpp27 template<bool (COFFAsmParser::*Handler)(StringRef, SMLoc)>
79 bool ParseSectionDirectiveText(StringRef, SMLoc) { in ParseSectionDirectiveText() argument
86 bool ParseSectionDirectiveData(StringRef, SMLoc) { in ParseSectionDirectiveData() argument
93 bool ParseSectionDirectiveBSS(StringRef, SMLoc) { in ParseSectionDirectiveBSS() argument
101 bool ParseDirectiveDef(StringRef, SMLoc);
102 bool ParseDirectiveScl(StringRef, SMLoc);
103 bool ParseDirectiveType(StringRef, SMLoc);
104 bool ParseDirectiveEndef(StringRef, SMLoc);
107 bool ParseSEHDirectiveStartProc(StringRef, SMLoc);
108 bool ParseSEHDirectiveEndProc(StringRef, SMLoc);
[all …]
DELFAsmParser.cpp25 template<bool (ELFAsmParser::*Handler)(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
118 bool ParseSectionDirectiveDataRelRo(StringRef, SMLoc) { in ParseSectionDirectiveDataRelRo() argument
124 bool ParseSectionDirectiveDataRelRoLocal(StringRef, SMLoc) { in ParseSectionDirectiveDataRelRoLocal() argument
[all …]
DAsmParser.cpp68 SMLoc InstantiationLoc;
71 SMLoc ExitLoc;
74 MacroInstantiation(const Macro *M, SMLoc IL, SMLoc EL,
123 SMLoc CppHashLoc;
147 virtual bool Warning(SMLoc L, const Twine &Msg);
148 virtual bool Error(SMLoc L, const Twine &Msg);
153 virtual bool ParseExpression(const MCExpr *&Res, SMLoc &EndLoc);
154 virtual bool ParseParenExpression(const MCExpr *&Res, SMLoc &EndLoc);
164 bool ParseCppHashLineFilenameComment(const SMLoc &L);
166 bool HandleMacroEntry(StringRef Name, SMLoc NameLoc, const Macro *M);
[all …]
/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 …]
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/AsmParser/
DMBlazeAsmParser.cpp36 void Warning(SMLoc L, const Twine &Msg) { Parser.Warning(L, Msg); } in Warning()
37 bool Error(SMLoc L, const Twine &Msg) { return Parser.Error(L, Msg); } in Error()
45 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
47 bool ParseDirectiveWord(unsigned Size, SMLoc L);
49 bool MatchAndEmitInstruction(SMLoc IDLoc,
66 virtual bool ParseInstruction(StringRef Name, SMLoc NameLoc,
83 SMLoc StartLoc, EndLoc;
136 SMLoc getStartLoc() const { return StartLoc; } in getStartLoc()
139 SMLoc getEndLoc() const { return EndLoc; } in getEndLoc()
221 static MBlazeOperand *CreateToken(StringRef Str, SMLoc S) { in CreateToken()
[all …]
/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 …]
/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 …]
/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/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()
/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/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()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DSMLoc.h21 class SMLoc {
24 SMLoc() : Ptr(0) {} in SMLoc() function
25 SMLoc(const SMLoc &RHS) : Ptr(RHS.Ptr) {} in SMLoc() function
29 bool operator==(const SMLoc &RHS) const { return RHS.Ptr == Ptr; }
30 bool operator!=(const SMLoc &RHS) const { return RHS.Ptr != Ptr; }
34 static SMLoc getFromPointer(const char *Ptr) { in getFromPointer()
35 SMLoc L; in getFromPointer()
DSourceMgr.h47 SMLoc IncludeLoc;
94 SMLoc getParentIncludeLoc(unsigned i) const { in getParentIncludeLoc()
101 unsigned AddNewSourceBuffer(MemoryBuffer *F, SMLoc IncludeLoc) { in AddNewSourceBuffer()
113 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc,
118 int FindBufferContainingLoc(SMLoc Loc) const;
122 unsigned FindLineNumber(SMLoc Loc, int BufferID = -1) const;
130 void PrintMessage(SMLoc Loc, const Twine &Msg, const char *Type,
140 SMDiagnostic GetMessage(SMLoc Loc,
150 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const;
158 SMLoc Loc;
[all …]
/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/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/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 …]

1234567891011