/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/ |
D | DarwinAsmParser.cpp | 45 template<bool (DarwinAsmParser::*HandlerMethod)(StringRef, SMLoc)> 56 SMLoc LastVersionDirective; 198 LastVersionDirective = SMLoc(); in Initialize() 201 bool parseDirectiveAltEntry(StringRef, SMLoc); 202 bool parseDirectiveDesc(StringRef, SMLoc); 203 bool parseDirectiveIndirectSymbol(StringRef, SMLoc); 204 bool parseDirectiveDumpOrLoad(StringRef, SMLoc); 205 bool parseDirectiveLsym(StringRef, SMLoc); 206 bool parseDirectiveLinkerOption(StringRef, SMLoc); 207 bool parseDirectiveSection(StringRef, SMLoc); [all …]
|
D | COFFAsmParser.cpp | 35 template<bool (COFFAsmParser::*HandlerMethod)(StringRef, SMLoc)> 93 bool ParseSectionDirectiveText(StringRef, SMLoc) { in ParseSectionDirectiveText() argument 101 bool ParseSectionDirectiveData(StringRef, SMLoc) { in ParseSectionDirectiveData() argument 108 bool ParseSectionDirectiveBSS(StringRef, SMLoc) { in ParseSectionDirectiveBSS() argument 116 bool ParseDirectiveSection(StringRef, SMLoc); 117 bool ParseDirectiveDef(StringRef, SMLoc); 118 bool ParseDirectiveScl(StringRef, SMLoc); 119 bool ParseDirectiveType(StringRef, SMLoc); 120 bool ParseDirectiveEndef(StringRef, SMLoc); 121 bool ParseDirectiveSecRel32(StringRef, SMLoc); [all …]
|
D | ELFAsmParser.cpp | 37 template<bool (ELFAsmParser::*HandlerMethod)(StringRef, SMLoc)> 92 bool ParseSectionDirectiveData(StringRef, SMLoc) { in ParseSectionDirectiveData() argument 97 bool ParseSectionDirectiveText(StringRef, SMLoc) { in ParseSectionDirectiveText() argument 102 bool ParseSectionDirectiveBSS(StringRef, SMLoc) { in ParseSectionDirectiveBSS() argument 107 bool ParseSectionDirectiveRoData(StringRef, SMLoc) { in ParseSectionDirectiveRoData() argument 112 bool ParseSectionDirectiveTData(StringRef, SMLoc) { in ParseSectionDirectiveTData() argument 118 bool ParseSectionDirectiveTBSS(StringRef, SMLoc) { in ParseSectionDirectiveTBSS() argument 124 bool ParseSectionDirectiveDataRel(StringRef, SMLoc) { in ParseSectionDirectiveDataRel() argument 129 bool ParseSectionDirectiveDataRelRo(StringRef, SMLoc) { in ParseSectionDirectiveDataRelRo() argument 135 bool ParseSectionDirectiveEhFrame(StringRef, SMLoc) { in ParseSectionDirectiveEhFrame() argument [all …]
|
D | AsmParser.cpp | 91 SMLoc InstantiationLoc; 97 SMLoc ExitLoc; 160 SMLoc Loc; 170 SmallVector<std::tuple<SMLoc, CppHashInfoTy, MCSymbol *>, 4> DirLabels; 225 void Note(SMLoc L, const Twine &Msg, SMRange Range = None) override; 226 bool Warning(SMLoc L, const Twine &Msg, SMRange Range = None) override; 227 bool printError(SMLoc L, const Twine &Msg, SMRange Range = None) override; 248 bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) override; 249 bool parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) override; 250 bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) override; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/AsmParser/ |
D | MSP430AsmParser.cpp | 43 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 48 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 51 SMLoc NameLoc, OperandVector &Operands) override; 60 SMLoc NameLoc, OperandVector &Operands); 64 bool ParseLiteralValues(unsigned Size, SMLoc L); 112 SMLoc Start, End; 115 MSP430Operand(StringRef Tok, SMLoc const &S) in MSP430Operand() 117 MSP430Operand(KindTy Kind, unsigned Reg, SMLoc const &S, SMLoc const &E) in MSP430Operand() 119 MSP430Operand(MCExpr const *Imm, SMLoc const &S, SMLoc const &E) in MSP430Operand() 121 MSP430Operand(unsigned Reg, MCExpr const *Expr, SMLoc const &S, SMLoc const &E) in MSP430Operand() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
D | MCStreamer.h | 177 const MCExpr *addConstantPoolEntry(const MCExpr *, SMLoc Loc); 248 bool checkCVLocSection(unsigned FuncId, unsigned FileNo, SMLoc Loc); 286 WinEH::FrameInfo *EnsureValidWinFrameInfo(SMLoc Loc); 456 virtual void EmitLabel(MCSymbol *Symbol, SMLoc Loc = SMLoc()); 614 SMLoc Loc = SMLoc()) = 0; 651 SMLoc Loc = SMLoc()); 653 void EmitValue(const MCExpr *Value, unsigned Size, SMLoc Loc = SMLoc()); 737 SMLoc Loc = SMLoc()); 748 SMLoc Loc = SMLoc()); 797 SMLoc Loc); [all …]
|
D | MCExpr.h | 47 SMLoc Loc; 54 explicit MCExpr(ExprKind Kind, SMLoc Loc) : Kind(Kind), Loc(Loc) {} in MCExpr() 69 SMLoc getLoc() const { return Loc; } in getLoc() 136 : MCExpr(MCExpr::Constant, SMLoc()), Value(Value) {} in MCConstantExpr() 139 : MCExpr(MCExpr::Constant, SMLoc()), Value(Value), in MCConstantExpr() 323 const MCAsmInfo *MAI, SMLoc Loc = SMLoc()); 334 MCContext &Ctx, SMLoc Loc = SMLoc()); 379 MCUnaryExpr(Opcode Op, const MCExpr *Expr, SMLoc Loc) in MCUnaryExpr() 387 MCContext &Ctx, SMLoc Loc = SMLoc()); 389 static const MCUnaryExpr *createLNot(const MCExpr *Expr, MCContext &Ctx, SMLoc Loc = SMLoc()) { [all …]
|
D | MCObjectStreamer.h | 116 void EmitLabel(MCSymbol *Symbol, SMLoc Loc = SMLoc()) override; 117 virtual void EmitLabelAtPos(MCSymbol *Symbol, SMLoc Loc, MCFragment *F, 121 SMLoc Loc = SMLoc()) override; 142 SMLoc Loc) override; 154 StringRef FileName, SMLoc Loc) override; 175 const MCExpr *Expr, SMLoc Loc, 179 SMLoc Loc = SMLoc()) override; 181 SMLoc Loc = SMLoc()) override;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86WinCOFFTargetStreamer.cpp | 34 SMLoc L) override; 35 bool emitFPOEndPrologue(SMLoc L) override; 36 bool emitFPOEndProc(SMLoc L) override; 37 bool emitFPOData(const MCSymbol *ProcSym, SMLoc L) override; 38 bool emitFPOPushReg(unsigned Reg, SMLoc L) override; 39 bool emitFPOStackAlloc(unsigned StackAlloc, SMLoc L) override; 40 bool emitFPOStackAlign(unsigned Align, SMLoc L) override; 41 bool emitFPOSetFrame(unsigned Reg, SMLoc L) override; 78 bool checkInFPOPrologue(SMLoc L); 88 SMLoc L) override; [all …]
|
D | X86TargetStreamer.h | 22 SMLoc L = {}) = 0; 23 virtual bool emitFPOEndPrologue(SMLoc L = {}) = 0; 24 virtual bool emitFPOEndProc(SMLoc L = {}) = 0; 25 virtual bool emitFPOData(const MCSymbol *ProcSym, SMLoc L = {}) = 0; 26 virtual bool emitFPOPushReg(unsigned Reg, SMLoc L = {}) = 0; 27 virtual bool emitFPOStackAlloc(unsigned StackAlloc, SMLoc L = {}) = 0; 28 virtual bool emitFPOStackAlign(unsigned Align, SMLoc L = {}) = 0; 29 virtual bool emitFPOSetFrame(unsigned Reg, SMLoc L = {}) = 0;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/AsmParser/ |
D | AVRAsmParser.cpp | 50 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 55 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 58 SMLoc NameLoc, OperandVector &Operands) override; 81 bool emit(MCInst &Instruction, SMLoc const &Loc, MCStreamer &Out) const; 82 bool invalidOperand(SMLoc const &Loc, OperandVector const &Operands, 84 bool missingFeature(SMLoc const &Loc, uint64_t const &ErrorInfo); 86 bool parseLiteralValues(unsigned SizeInBytes, SMLoc L); 108 AVROperand(StringRef Tok, SMLoc const &S) in AVROperand() 110 AVROperand(unsigned Reg, SMLoc const &S, SMLoc const &E) in AVROperand() 112 AVROperand(MCExpr const *Imm, SMLoc const &S, SMLoc const &E) in AVROperand() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/AsmParser/ |
D | BPFAsmParser.cpp | 32 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 …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | SMLoc.h | 24 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()
|
D | SourceMgr.h | 53 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 …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | SMLoc.h | 23 class SMLoc { 27 SMLoc() = default; 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; 54 SMRange(SMLoc St, SMLoc En) : Start(St), End(En) { in SMRange()
|
D | SourceMgr.h | 85 SMLoc IncludeLoc; 146 SMLoc getParentIncludeLoc(unsigned i) const { in getParentIncludeLoc() 154 SMLoc IncludeLoc) { in AddNewSourceBuffer() 168 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, 174 unsigned FindBufferContainingLoc(SMLoc Loc) const; 178 unsigned FindLineNumber(SMLoc Loc, unsigned BufferID = 0) const { 184 std::pair<unsigned, unsigned> getLineAndColumn(SMLoc Loc, 191 void PrintMessage(raw_ostream &OS, SMLoc Loc, DiagKind Kind, 198 void PrintMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg, 215 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsTargetStreamer.h | 97 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 MCOperand Op3, SMLoc IDLoc, const MCSubtargetInfo *STI); 136 SMLoc IDLoc, const MCSubtargetInfo *STI); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/AsmParser/ |
D | RISCVAsmParser.cpp | 56 SMLoc getLoc() const { return getParser().getTok().getLoc(); } in getLoc() 71 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 76 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 79 SMLoc NameLoc, OperandVector &Operands) override; 95 unsigned SecondOpcode, SMLoc IDLoc, MCStreamer &Out); 98 void emitLoadLocalAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out); 101 void emitLoadAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out); 105 void emitLoadTLSIEAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out); 109 void emitLoadTLSGDAddress(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out); 112 void emitLoadStoreSymbol(MCInst &Inst, unsigned Opcode, SMLoc IDLoc, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/MCParser/ |
D | MCAsmParser.h | 102 SMLoc Location, bool Create) = 0; 111 using DirectiveHandler = bool (*)(MCAsmParserExtension*, StringRef, SMLoc); 116 SMLoc Loc; 180 virtual void Note(SMLoc L, const Twine &Msg, SMRange Range = None) = 0; 185 virtual bool Warning(SMLoc L, const Twine &Msg, SMRange Range = None) = 0; 192 bool Error(SMLoc L, const Twine &Msg, SMRange Range = None); 198 virtual bool printError(SMLoc L, const Twine &Msg, SMRange Range = None) = 0; 225 bool parseTokenLoc(SMLoc &Loc); 238 bool check(bool P, SMLoc Loc, const Twine &Msg); 261 virtual bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/ |
D | Error.cpp | 26 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind, in PrintMessage() 33 SMLoc NullLoc; in PrintMessage() 44 void PrintNote(ArrayRef<SMLoc> NoteLoc, const Twine &Msg) { in PrintNote() 48 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg) { in PrintWarning() 53 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg); in PrintWarning() 58 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintError() 63 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg); in PrintError() 75 void PrintFatalError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintFatalError()
|
D | TGParser.h | 38 SMLoc Loc; 39 LetRecord(StringInit *N, ArrayRef<unsigned> B, Init *V, SMLoc L) in LetRecord() 64 SMLoc Loc; 71 ForeachLoop(SMLoc Loc, VarInit *IVar, Init *LValue) in ForeachLoop() 76 SMLoc Loc; 127 MultiClass(StringRef Name, SMLoc Loc, RecordKeeper &Records) : in MultiClass() 173 bool Error(SMLoc L, const Twine &Msg) const { in Error() 198 bool AddValue(Record *TheRec, SMLoc Loc, const RecordVal &RV); 199 bool SetValue(Record *TheRec, SMLoc Loc, Init *ValName, 211 std::vector<RecordsEntry> *Dest, SMLoc *Loc = nullptr); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 85 SMLoc consumeToken() { in consumeToken() 87 SMLoc Result = Parser.getTok().getLoc(); in consumeToken() 354 SMLoc OffsetOperatorLoc; 376 SMLoc getOffsetLoc() { return OffsetOperatorLoc; } in getOffsetLoc() 817 bool onOffset(const MCExpr *Val, SMLoc OffsetLoc, StringRef ID, in onOffset() 845 bool Error(SMLoc L, const Twine &Msg, SMRange Range = None, in Error() 856 std::nullptr_t ErrorOperand(SMLoc Loc, StringRef Msg, SMRange R = SMRange()) { in ErrorOperand() 861 std::unique_ptr<X86Operand> DefaultMemSIOperand(SMLoc Loc); 862 std::unique_ptr<X86Operand> DefaultMemDIOperand(SMLoc Loc); 875 InlineAsmIdentifierInfo &Info, SMLoc &End); [all …]
|
D | X86Operand.h | 34 SMLoc StartLoc, EndLoc; 35 SMLoc OffsetOfLoc; 81 X86Operand(KindTy K, SMLoc Start, SMLoc End) in X86Operand() 88 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc() 91 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc() 98 SMLoc getOffsetOfLoc() const override { return OffsetOfLoc; } in getOffsetOfLoc() 580 static std::unique_ptr<X86Operand> CreateToken(StringRef Str, SMLoc Loc) { in CreateToken() 581 SMLoc EndLoc = SMLoc::getFromPointer(Loc.getPointer() + Str.size()); in CreateToken() 589 CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc, 590 bool AddressOf = false, SMLoc OffsetOfLoc = SMLoc(), [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/AsmParser/ |
D | SystemZAsmParser.cpp | 88 SMLoc StartLoc, EndLoc; 152 SystemZOperand(OperandKind kind, SMLoc startLoc, SMLoc endLoc) in SystemZOperand() 156 static std::unique_ptr<SystemZOperand> createInvalid(SMLoc StartLoc, in createInvalid() 157 SMLoc EndLoc) { in createInvalid() 161 static std::unique_ptr<SystemZOperand> createToken(StringRef Str, SMLoc Loc) { in createToken() 169 createReg(RegisterKind Kind, unsigned Num, SMLoc StartLoc, SMLoc EndLoc) { in createReg() 177 createImm(const MCExpr *Expr, SMLoc StartLoc, SMLoc EndLoc) { in createImm() 186 unsigned LengthReg, SMLoc StartLoc, SMLoc EndLoc) { in createMem() 202 SMLoc StartLoc, SMLoc EndLoc) { in createImmTLS() 285 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/AsmParser/ |
D | SparcAsmParser.cpp | 66 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 70 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override; 72 SMLoc NameLoc, OperandVector &Operands) override; 99 bool matchSparcAsmModifiers(const MCExpr *&EVal, SMLoc &EndLoc); 105 bool expandSET(MCInst &Inst, SMLoc IDLoc, 223 SMLoc StartLoc, EndLoc; 311 SMLoc getStartLoc() const override { in getStartLoc() 315 SMLoc getEndLoc() const override { in getEndLoc() 378 static std::unique_ptr<SparcOperand> CreateToken(StringRef Str, SMLoc S) { in CreateToken() 388 SMLoc S, SMLoc E) { in CreateReg() [all …]
|