Home
last modified time | relevance | path

Searched refs:DirectiveID (Results 1 – 25 of 44) sorted by relevance

12

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/AsmParser/
DWebAssemblyAsmParser.cpp648 bool ParseDirective(AsmToken DirectiveID) override { in ParseDirective() argument
655 assert(DirectiveID.getKind() == AsmToken::Identifier); in ParseDirective()
663 if (DirectiveID.getString() == ".globaltype") { in ParseDirective()
686 if (DirectiveID.getString() == ".functype") { in ParseDirective()
715 if (DirectiveID.getString() == ".export_name") { in ParseDirective()
727 if (DirectiveID.getString() == ".import_module") { in ParseDirective()
739 if (DirectiveID.getString() == ".import_name") { in ParseDirective()
751 if (DirectiveID.getString() == ".eventtype") { in ParseDirective()
767 if (DirectiveID.getString() == ".local") { in ParseDirective()
779 if (DirectiveID.getString() == ".int8" || in ParseDirective()
[all …]
/external/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
DWebAssemblyAsmParser.cpp693 bool ParseDirective(AsmToken DirectiveID) override { in ParseDirective() argument
700 assert(DirectiveID.getKind() == AsmToken::Identifier); in ParseDirective()
708 if (DirectiveID.getString() == ".globaltype") { in ParseDirective()
744 if (DirectiveID.getString() == ".tabletype") { in ParseDirective()
767 if (DirectiveID.getString() == ".functype") { in ParseDirective()
796 if (DirectiveID.getString() == ".export_name") { in ParseDirective()
808 if (DirectiveID.getString() == ".import_module") { in ParseDirective()
820 if (DirectiveID.getString() == ".import_name") { in ParseDirective()
832 if (DirectiveID.getString() == ".eventtype") { in ParseDirective()
848 if (DirectiveID.getString() == ".local") { in ParseDirective()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/AsmParser/
DMSP430AsmParser.cpp53 bool ParseDirective(AsmToken DirectiveID) override;
54 bool ParseDirectiveRefSym(AsmToken DirectiveID);
411 bool MSP430AsmParser::ParseDirectiveRefSym(AsmToken DirectiveID) { in ParseDirectiveRefSym() argument
421 bool MSP430AsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
422 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective()
424 ParseLiteralValues(4, DirectiveID.getLoc()); in ParseDirective()
426 ParseLiteralValues(2, DirectiveID.getLoc()); in ParseDirective()
428 ParseLiteralValues(1, DirectiveID.getLoc()); in ParseDirective()
430 return ParseDirectiveRefSym(DirectiveID); in ParseDirective()
/external/llvm-project/llvm/lib/Target/MSP430/AsmParser/
DMSP430AsmParser.cpp55 bool ParseDirective(AsmToken DirectiveID) override;
56 bool ParseDirectiveRefSym(AsmToken DirectiveID);
428 bool MSP430AsmParser::ParseDirectiveRefSym(AsmToken DirectiveID) { in ParseDirectiveRefSym() argument
438 bool MSP430AsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
439 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective()
441 ParseLiteralValues(4, DirectiveID.getLoc()); in ParseDirective()
443 ParseLiteralValues(2, DirectiveID.getLoc()); in ParseDirective()
445 ParseLiteralValues(1, DirectiveID.getLoc()); in ParseDirective()
447 return ParseDirectiveRefSym(DirectiveID); in ParseDirective()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/AsmParser/
DAVRAsmParser.cpp60 bool ParseDirective(AsmToken DirectiveID) override;
631 bool AVRAsmParser::ParseDirective(llvm::AsmToken DirectiveID) { in ParseDirective() argument
632 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective()
634 parseLiteralValues(SIZE_LONG, DirectiveID.getLoc()); in ParseDirective()
636 parseLiteralValues(SIZE_WORD, DirectiveID.getLoc()); in ParseDirective()
638 parseLiteralValues(1, DirectiveID.getLoc()); in ParseDirective()
/external/llvm-project/llvm/lib/Target/AVR/AsmParser/
DAVRAsmParser.cpp62 bool ParseDirective(AsmToken DirectiveID) override;
651 bool AVRAsmParser::ParseDirective(llvm::AsmToken DirectiveID) { in ParseDirective() argument
652 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective()
654 parseLiteralValues(SIZE_LONG, DirectiveID.getLoc()); in ParseDirective()
656 parseLiteralValues(SIZE_WORD, DirectiveID.getLoc()); in ParseDirective()
658 parseLiteralValues(1, DirectiveID.getLoc()); in ParseDirective()
/external/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp56 bool ParseDirective(AsmToken DirectiveID) override;
663 ParseDirective(AsmToken DirectiveID) in ParseDirective() argument
665 StringRef IDVal = DirectiveID.getString(); in ParseDirective()
668 return parseDirectiveWord(1, DirectiveID.getLoc()); in ParseDirective()
671 return parseDirectiveWord(2, DirectiveID.getLoc()); in ParseDirective()
674 return parseDirectiveWord(4, DirectiveID.getLoc()); in ParseDirective()
677 return parseDirectiveWord(is64Bit() ? 8 : 4, DirectiveID.getLoc()); in ParseDirective()
680 return parseDirectiveWord(8, DirectiveID.getLoc()); in ParseDirective()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp1032 bool ParseDirective(AsmToken DirectiveID) override;
3618 bool X86AsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
3620 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective()
3622 return ParseDirectiveCode(IDVal, DirectiveID.getLoc()); in ParseDirective()
3628 return Error(DirectiveID.getLoc(), "'.att_syntax noprefix' is not " in ParseDirective()
3640 return Error(DirectiveID.getLoc(), "'.intel_syntax prefix' is not " in ParseDirective()
3646 return parseDirectiveEven(DirectiveID.getLoc()); in ParseDirective()
3648 return parseDirectiveFPOProc(DirectiveID.getLoc()); in ParseDirective()
3650 return parseDirectiveFPOSetFrame(DirectiveID.getLoc()); in ParseDirective()
3652 return parseDirectiveFPOPushReg(DirectiveID.getLoc()); in ParseDirective()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp159 bool ParseDirective(AsmToken DirectiveID) override;
1623 bool PPCAsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
1624 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective()
1627 ParseDarwinDirectiveMachine(DirectiveID.getLoc()); in ParseDirective()
1631 ParseDirectiveWord(2, DirectiveID); in ParseDirective()
1633 ParseDirectiveWord(8, DirectiveID); in ParseDirective()
1635 ParseDirectiveTC(isPPC64() ? 8 : 4, DirectiveID); in ParseDirective()
1637 ParseDirectiveMachine(DirectiveID.getLoc()); in ParseDirective()
1639 ParseDirectiveAbiVersion(DirectiveID.getLoc()); in ParseDirective()
1641 ParseDirectiveLocalEntry(DirectiveID.getLoc()); in ParseDirective()
/external/llvm-project/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp1263 bool ParseDirective(AsmToken DirectiveID) override;
4598 bool X86AsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
4600 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective()
4604 return ParseDirectiveCode(IDVal, DirectiveID.getLoc()); in ParseDirective()
4610 return Error(DirectiveID.getLoc(), "'.att_syntax noprefix' is not " in ParseDirective()
4622 return Error(DirectiveID.getLoc(), "'.intel_syntax prefix' is not " in ParseDirective()
4628 return parseDirectiveNops(DirectiveID.getLoc()); in ParseDirective()
4630 return parseDirectiveEven(DirectiveID.getLoc()); in ParseDirective()
4632 return parseDirectiveFPOProc(DirectiveID.getLoc()); in ParseDirective()
4634 return parseDirectiveFPOSetFrame(DirectiveID.getLoc()); in ParseDirective()
[all …]
/external/llvm-project/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp156 bool ParseDirective(AsmToken DirectiveID) override;
1585 bool PPCAsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
1586 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective()
1588 ParseDirectiveWord(2, DirectiveID); in ParseDirective()
1590 ParseDirectiveWord(8, DirectiveID); in ParseDirective()
1592 ParseDirectiveTC(isPPC64() ? 8 : 4, DirectiveID); in ParseDirective()
1594 ParseDirectiveMachine(DirectiveID.getLoc()); in ParseDirective()
1596 ParseDirectiveAbiVersion(DirectiveID.getLoc()); in ParseDirective()
1598 ParseDirectiveLocalEntry(DirectiveID.getLoc()); in ParseDirective()
/external/llvm/include/llvm/MC/MCParser/
DMCTargetAsmParser.h174 virtual bool ParseDirective(AsmToken DirectiveID) = 0;
/external/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp168 virtual bool ParseDirective(AsmToken DirectiveID) override;
862 bool HexagonAsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
863 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective()
865 return ParseDirectiveValue(4, DirectiveID.getLoc()); in ParseDirective()
868 return ParseDirectiveValue(2, DirectiveID.getLoc()); in ParseDirective()
870 return ParseDirectiveFalign(256, DirectiveID.getLoc()); in ParseDirective()
872 return ParseDirectiveComm(true, DirectiveID.getLoc()); in ParseDirective()
874 return ParseDirectiveComm(false, DirectiveID.getLoc()); in ParseDirective()
876 return ParseDirectiveSubsection(DirectiveID.getLoc()); in ParseDirective()
/external/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp306 bool ParseDirective(AsmToken DirectiveID) override;
1739 bool PPCAsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
1740 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective()
1743 return ParseDirectiveWord(2, DirectiveID.getLoc()); in ParseDirective()
1745 return ParseDirectiveWord(8, DirectiveID.getLoc()); in ParseDirective()
1747 return ParseDirectiveTC(isPPC64()? 8 : 4, DirectiveID.getLoc()); in ParseDirective()
1749 return ParseDirectiveMachine(DirectiveID.getLoc()); in ParseDirective()
1751 return ParseDirectiveAbiVersion(DirectiveID.getLoc()); in ParseDirective()
1753 return ParseDirectiveLocalEntry(DirectiveID.getLoc()); in ParseDirective()
1756 return ParseDarwinDirectiveMachine(DirectiveID.getLoc()); in ParseDirective()
/external/llvm-project/llvm/lib/Target/BPF/AsmParser/
DBPFAsmParser.cpp48 bool ParseDirective(AsmToken DirectiveID) override;
504 bool BPFAsmParser::ParseDirective(AsmToken DirectiveID) { return true; } in ParseDirective() argument
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/AsmParser/
DBPFAsmParser.cpp46 bool ParseDirective(AsmToken DirectiveID) override;
494 bool BPFAsmParser::ParseDirective(AsmToken DirectiveID) { return true; } in ParseDirective() argument
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp392 bool ParseDirective(AsmToken DirectiveID) override;
8950 bool ARMAsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
8956 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective()
8958 return parseLiteralValues(4, DirectiveID.getLoc()); in ParseDirective()
8960 return parseLiteralValues(2, DirectiveID.getLoc()); in ParseDirective()
8962 return parseDirectiveThumb(DirectiveID.getLoc()); in ParseDirective()
8964 return parseDirectiveARM(DirectiveID.getLoc()); in ParseDirective()
8966 return parseDirectiveThumbFunc(DirectiveID.getLoc()); in ParseDirective()
8968 return parseDirectiveCode(DirectiveID.getLoc()); in ParseDirective()
8970 return parseDirectiveSyntax(DirectiveID.getLoc()); in ParseDirective()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp633 bool ParseDirective(AsmToken DirectiveID) override;
10543 bool ARMAsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
10549 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective()
10551 parseLiteralValues(4, DirectiveID.getLoc()); in ParseDirective()
10553 parseLiteralValues(2, DirectiveID.getLoc()); in ParseDirective()
10555 parseDirectiveThumb(DirectiveID.getLoc()); in ParseDirective()
10557 parseDirectiveARM(DirectiveID.getLoc()); in ParseDirective()
10559 parseDirectiveThumbFunc(DirectiveID.getLoc()); in ParseDirective()
10561 parseDirectiveCode(DirectiveID.getLoc()); in ParseDirective()
10563 parseDirectiveSyntax(DirectiveID.getLoc()); in ParseDirective()
[all …]
/external/llvm-project/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp699 bool ParseDirective(AsmToken DirectiveID) override;
10839 bool ARMAsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
10845 std::string IDVal = DirectiveID.getIdentifier().lower(); in ParseDirective()
10847 parseLiteralValues(4, DirectiveID.getLoc()); in ParseDirective()
10849 parseLiteralValues(2, DirectiveID.getLoc()); in ParseDirective()
10851 parseDirectiveThumb(DirectiveID.getLoc()); in ParseDirective()
10853 parseDirectiveARM(DirectiveID.getLoc()); in ParseDirective()
10855 parseDirectiveThumbFunc(DirectiveID.getLoc()); in ParseDirective()
10857 parseDirectiveCode(DirectiveID.getLoc()); in ParseDirective()
10859 parseDirectiveSyntax(DirectiveID.getLoc()); in ParseDirective()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp188 bool ParseDirective(AsmToken DirectiveID) override;
653 bool HexagonAsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
654 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective()
656 return ParseDirectiveFalign(256, DirectiveID.getLoc()); in ParseDirective()
658 return ParseDirectiveComm(true, DirectiveID.getLoc()); in ParseDirective()
660 return ParseDirectiveComm(false, DirectiveID.getLoc()); in ParseDirective()
662 return ParseDirectiveSubsection(DirectiveID.getLoc()); in ParseDirective()
/external/llvm-project/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp190 bool ParseDirective(AsmToken DirectiveID) override;
660 bool HexagonAsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
661 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective()
663 return ParseDirectiveFalign(256, DirectiveID.getLoc()); in ParseDirective()
665 return ParseDirectiveComm(true, DirectiveID.getLoc()); in ParseDirective()
667 return ParseDirectiveComm(false, DirectiveID.getLoc()); in ParseDirective()
669 return ParseDirectiveSubsection(DirectiveID.getLoc()); in ParseDirective()
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp820 bool ParseDirective(AsmToken DirectiveID) override;
2911 bool X86AsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
2913 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective()
2915 return ParseDirectiveWord(2, DirectiveID.getLoc()); in ParseDirective()
2917 return ParseDirectiveCode(IDVal, DirectiveID.getLoc()); in ParseDirective()
2923 return Error(DirectiveID.getLoc(), "'.att_syntax noprefix' is not " in ParseDirective()
2935 return Error(DirectiveID.getLoc(), "'.intel_syntax prefix' is not " in ParseDirective()
2941 return parseDirectiveEven(DirectiveID.getLoc()); in ParseDirective()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp450 bool ParseDirective(AsmToken DirectiveID) override;
1015 bool SystemZAsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
1016 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective()
1019 return ParseDirectiveInsn(DirectiveID.getLoc()); in ParseDirective()
/external/llvm-project/llvm/include/llvm/MC/MCParser/
DMCTargetAsmParser.h416 virtual bool ParseDirective(AsmToken DirectiveID) = 0;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/MCParser/
DMCTargetAsmParser.h409 virtual bool ParseDirective(AsmToken DirectiveID) = 0;

12