Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp771 ParseStatus parseDirective(AsmToken DirectiveID) override { in parseDirective() argument
772 assert(DirectiveID.getKind() == AsmToken::Identifier); in parseDirective()
778 if (DirectiveID.getString() == ".globaltype") { in parseDirective()
815 if (DirectiveID.getString() == ".tabletype") { in parseDirective()
849 if (DirectiveID.getString() == ".functype") { in parseDirective()
890 if (DirectiveID.getString() == ".export_name") { in parseDirective()
905 if (DirectiveID.getString() == ".import_module") { in parseDirective()
920 if (DirectiveID.getString() == ".import_name") { in parseDirective()
935 if (DirectiveID.getString() == ".tagtype") { in parseDirective()
950 if (DirectiveID.getString() == ".local") { in parseDirective()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp55 ParseStatus parseDirective(AsmToken DirectiveID) override;
56 bool ParseDirectiveRefSym(AsmToken DirectiveID);
423 bool MSP430AsmParser::ParseDirectiveRefSym(AsmToken DirectiveID) { in ParseDirectiveRefSym() argument
433 ParseStatus MSP430AsmParser::parseDirective(AsmToken DirectiveID) { in parseDirective() argument
434 StringRef IDVal = DirectiveID.getIdentifier(); in parseDirective()
436 return ParseLiteralValues(4, DirectiveID.getLoc()); in parseDirective()
438 return ParseLiteralValues(2, DirectiveID.getLoc()); in parseDirective()
440 return ParseLiteralValues(1, DirectiveID.getLoc()); in parseDirective()
442 return ParseDirectiveRefSym(DirectiveID); in parseDirective()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMCTargetAsmParser.cpp32 ParseStatus MCTargetAsmParser::parseDirective(AsmToken DirectiveID) { in parseDirective() argument
36 bool Res = ParseDirective(DirectiveID); in parseDirective()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp66 ParseStatus parseDirective(AsmToken DirectiveID) override;
681 ParseStatus AVRAsmParser::parseDirective(llvm::AsmToken DirectiveID) { in parseDirective() argument
682 StringRef IDVal = DirectiveID.getIdentifier(); in parseDirective()
684 return parseLiteralValues(SIZE_LONG, DirectiveID.getLoc()); in parseDirective()
686 return parseLiteralValues(SIZE_WORD, DirectiveID.getLoc()); in parseDirective()
688 return parseLiteralValues(1, DirectiveID.getLoc()); in parseDirective()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1295 bool ParseDirective(AsmToken DirectiveID) override;
4591 bool X86AsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
4593 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective()
4597 return ParseDirectiveCode(IDVal, DirectiveID.getLoc()); in ParseDirective()
4603 return Error(DirectiveID.getLoc(), "'.att_syntax noprefix' is not " in ParseDirective()
4615 return Error(DirectiveID.getLoc(), "'.intel_syntax prefix' is not " in ParseDirective()
4621 return parseDirectiveNops(DirectiveID.getLoc()); in ParseDirective()
4623 return parseDirectiveEven(DirectiveID.getLoc()); in ParseDirective()
4625 return parseDirectiveFPOProc(DirectiveID.getLoc()); in ParseDirective()
4627 return parseDirectiveFPOSetFrame(DirectiveID.getLoc()); in ParseDirective()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp156 bool ParseDirective(AsmToken DirectiveID) override;
1735 bool PPCAsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
1736 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective()
1738 ParseDirectiveWord(2, DirectiveID); in ParseDirective()
1740 ParseDirectiveWord(8, DirectiveID); in ParseDirective()
1742 ParseDirectiveTC(isPPC64() ? 8 : 4, DirectiveID); in ParseDirective()
1744 ParseDirectiveMachine(DirectiveID.getLoc()); in ParseDirective()
1746 ParseDirectiveAbiVersion(DirectiveID.getLoc()); in ParseDirective()
1748 ParseDirectiveLocalEntry(DirectiveID.getLoc()); in ParseDirective()
1750 ParseGNUAttribute(DirectiveID.getLoc()); in ParseDirective()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCTargetAsmParser.h460 virtual bool ParseDirective(AsmToken DirectiveID) { return true; } in ParseDirective() argument
472 virtual ParseStatus parseDirective(AsmToken DirectiveID);
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp717 bool ParseDirective(AsmToken DirectiveID) override;
11432 bool ARMAsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
11437 std::string IDVal = DirectiveID.getIdentifier().lower(); in ParseDirective()
11439 parseLiteralValues(4, DirectiveID.getLoc()); in ParseDirective()
11441 parseLiteralValues(2, DirectiveID.getLoc()); in ParseDirective()
11443 parseDirectiveThumb(DirectiveID.getLoc()); in ParseDirective()
11445 parseDirectiveARM(DirectiveID.getLoc()); in ParseDirective()
11447 parseDirectiveThumbFunc(DirectiveID.getLoc()); in ParseDirective()
11449 parseDirectiveCode(DirectiveID.getLoc()); in ParseDirective()
11451 parseDirectiveSyntax(DirectiveID.getLoc()); in ParseDirective()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/AsmParser/
H A DXtensaAsmParser.cpp46 ParseStatus parseDirective(AsmToken DirectiveID) override;
801 ParseStatus XtensaAsmParser::parseDirective(AsmToken DirectiveID) { in parseDirective() argument
802 StringRef IDVal = DirectiveID.getString(); in parseDirective()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp191 bool ParseDirective(AsmToken DirectiveID) override;
714 bool HexagonAsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
715 StringRef IDVal = DirectiveID.getIdentifier(); in ParseDirective()
717 return ParseDirectiveFalign(256, DirectiveID.getLoc()); in ParseDirective()
719 return ParseDirectiveComm(true, DirectiveID.getLoc()); in ParseDirective()
721 return ParseDirectiveComm(false, DirectiveID.getLoc()); in ParseDirective()
723 return ParseDirectiveSubsection(DirectiveID.getLoc()); in ParseDirective()
725 return parseDirectiveAttribute(DirectiveID.getLoc()); in ParseDirective()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/AsmParser/
H A DVEAsmParser.cpp64 ParseStatus parseDirective(AsmToken DirectiveID) override;
1003 ParseStatus VEAsmParser::parseDirective(AsmToken DirectiveID) { in parseDirective() argument
1004 std::string IDVal = DirectiveID.getIdentifier().lower(); in parseDirective()
1012 return parseLiteralValues(4, DirectiveID.getLoc()); in parseDirective()
1016 return parseLiteralValues(8, DirectiveID.getLoc()); in parseDirective()
1020 return parseLiteralValues(8, DirectiveID.getLoc()); in parseDirective()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp495 ParseStatus parseDirective(AsmToken DirectiveID) override;
1199 ParseStatus SystemZAsmParser::parseDirective(AsmToken DirectiveID) { in parseDirective() argument
1200 StringRef IDVal = DirectiveID.getIdentifier(); in parseDirective()
1203 return ParseDirectiveInsn(DirectiveID.getLoc()); in parseDirective()
1205 return ParseDirectiveMachine(DirectiveID.getLoc()); in parseDirective()
1207 return ParseGNUAttribute(DirectiveID.getLoc()); in parseDirective()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/AsmParser/
H A DCSKYAsmParser.cpp80 ParseStatus parseDirective(AsmToken DirectiveID) override;
1531 ParseStatus CSKYAsmParser::parseDirective(AsmToken DirectiveID) { in parseDirective() argument
1532 StringRef IDVal = DirectiveID.getString(); in parseDirective()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp82 ParseStatus parseDirective(AsmToken DirectiveID) override;
941 ParseStatus SparcAsmParser::parseDirective(AsmToken DirectiveID) { in parseDirective() argument
942 StringRef IDVal = DirectiveID.getString(); in parseDirective()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp121 ParseStatus parseDirective(AsmToken DirectiveID) override;
2764 ParseStatus RISCVAsmParser::parseDirective(AsmToken DirectiveID) { in parseDirective() argument
2765 StringRef IDVal = DirectiveID.getString(); in parseDirective()
2772 return parseDirectiveInsn(DirectiveID.getLoc()); in parseDirective()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp196 bool ParseDirective(AsmToken DirectiveID) override;
8628 bool MipsAsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
8635 StringRef IDVal = DirectiveID.getString(); in ParseDirective()
8638 parseDirectiveCpAdd(DirectiveID.getLoc()); in ParseDirective()
8642 parseDirectiveCpLoad(DirectiveID.getLoc()); in ParseDirective()
8646 parseDirectiveCpRestore(DirectiveID.getLoc()); in ParseDirective()
8650 parseDirectiveCpLocal(DirectiveID.getLoc()); in ParseDirective()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp329 bool ParseDirective(AsmToken DirectiveID) override;
6801 bool AArch64AsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
6806 auto IDVal = DirectiveID.getIdentifier().lower(); in ParseDirective()
6807 SMLoc Loc = DirectiveID.getLoc(); in ParseDirective()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1590 bool ParseDirective(AsmToken DirectiveID) override;
6164 bool AMDGPUAsmParser::ParseDirective(AsmToken DirectiveID) { in ParseDirective() argument
6165 StringRef IDVal = DirectiveID.getString(); in ParseDirective()