Lines Matching refs:IDVal

209   bool ParseDirectiveAscii(StringRef IDVal, bool ZeroTerminated);
215 bool ParseDirectiveSet(StringRef IDVal, bool allow_redef); // ".set", ".equ", ".equiv"
642 StringRef IDVal = getTok().getString();
643 if (IDVal == "f" || IDVal == "b"){
645 IDVal == "f" ? 1 : 0);
648 if(IDVal == "b" && Sym->isUndefined())
952 StringRef IDVal;
964 IDVal = "";
967 IDVal = getTok().getString();
978 IDVal = ".";
980 } else if (ParseIdentifier(IDVal)) {
983 IDVal = "";
990 if (IDVal == ".if")
992 if (IDVal == ".ifdef")
994 if (IDVal == ".ifndef" || IDVal == ".ifnotdef")
996 if (IDVal == ".elseif")
998 if (IDVal == ".else")
1000 if (IDVal == ".endif")
1020 if (IDVal == ".")
1030 Sym = getContext().GetOrCreateSymbol(IDVal);
1054 return ParseAssignment(IDVal, true);
1062 if (const Macro *M = MacroMap.lookup(IDVal))
1063 return HandleMacroEntry(IDVal, IDLoc, M);
1066 if (IDVal[0] == '.' && IDVal != ".") {
1068 if (IDVal == ".set" || IDVal == ".equ")
1069 return ParseDirectiveSet(IDVal, true);
1070 if (IDVal == ".equiv")
1071 return ParseDirectiveSet(IDVal, false);
1075 if (IDVal == ".ascii")
1076 return ParseDirectiveAscii(IDVal, false);
1077 if (IDVal == ".asciz" || IDVal == ".string")
1078 return ParseDirectiveAscii(IDVal, true);
1080 if (IDVal == ".byte")
1082 if (IDVal == ".short")
1084 if (IDVal == ".value")
1086 if (IDVal == ".2byte")
1088 if (IDVal == ".long")
1090 if (IDVal == ".int")
1092 if (IDVal == ".4byte")
1094 if (IDVal == ".quad")
1096 if (IDVal == ".8byte")
1098 if (IDVal == ".single" || IDVal == ".float")
1100 if (IDVal == ".double")
1103 if (IDVal == ".align") {
1107 if (IDVal == ".align32") {
1111 if (IDVal == ".balign")
1113 if (IDVal == ".balignw")
1115 if (IDVal == ".balignl")
1117 if (IDVal == ".p2align")
1119 if (IDVal == ".p2alignw")
1121 if (IDVal == ".p2alignl")
1124 if (IDVal == ".org")
1127 if (IDVal == ".fill")
1129 if (IDVal == ".space" || IDVal == ".skip")
1131 if (IDVal == ".zero")
1136 if (IDVal == ".globl" || IDVal == ".global")
1138 if (IDVal == ".indirect_symbol")
1140 if (IDVal == ".lazy_reference")
1142 if (IDVal == ".no_dead_strip")
1144 if (IDVal == ".symbol_resolver")
1146 if (IDVal == ".private_extern")
1148 if (IDVal == ".reference")
1150 if (IDVal == ".weak_definition")
1152 if (IDVal == ".weak_reference")
1154 if (IDVal == ".weak_def_can_be_hidden")
1157 if (IDVal == ".comm" || IDVal == ".common")
1159 if (IDVal == ".lcomm")
1162 if (IDVal == ".abort")
1164 if (IDVal == ".include")
1167 if (IDVal == ".code16")
1168 return TokError(Twine(IDVal) + " not supported yet");
1172 DirectiveMap.lookup(IDVal);
1174 return (*Handler.second)(Handler.first, IDVal, IDLoc);
1189 for (unsigned i = 0, e = IDVal.size(); i != e; ++i)
1190 Opcode.push_back(tolower(IDVal[i]));
1613 bool AsmParser::ParseDirectiveSet(StringRef IDVal, bool allow_redef) {
1617 return TokError("expected identifier after '" + Twine(IDVal) + "'");
1620 return TokError("unexpected token in '" + Twine(IDVal) + "'");
1686 bool AsmParser::ParseDirectiveAscii(StringRef IDVal, bool ZeroTerminated) {
1692 return TokError("expected string in '" + Twine(IDVal) + "' directive");
1708 return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
1776 StringRef IDVal = getTok().getString();
1778 if (!IDVal.compare_lower("infinity") || !IDVal.compare_lower("inf"))
1780 else if (!IDVal.compare_lower("nan"))
1784 } else if (Value.convertFromString(IDVal, APFloat::rmNearestTiesToEven) ==
2662 bool GenericAsmParser::ParseDirectiveCFIPersonalityOrLsda(StringRef IDVal,
2683 if (IDVal == ".cfi_personality")
2686 assert(IDVal == ".cfi_lsda");
2694 bool GenericAsmParser::ParseDirectiveCFIRememberState(StringRef IDVal,
2702 bool GenericAsmParser::ParseDirectiveCFIRestoreState(StringRef IDVal,
2710 bool GenericAsmParser::ParseDirectiveCFISameValue(StringRef IDVal,