Lines Matching full:idval
200 bool ParseDirectiveAscii(StringRef IDVal, bool ZeroTerminated);
206 bool ParseDirectiveSet(StringRef IDVal, bool allow_redef); // ".set", ".equ", ".equiv"
628 StringRef IDVal = getTok().getString();
629 if (IDVal == "f" || IDVal == "b"){
631 IDVal == "f" ? 1 : 0);
634 if(IDVal == "b" && Sym->isUndefined())
933 StringRef IDVal;
947 IDVal = "";
950 IDVal = getTok().getString();
961 IDVal = ".";
963 } else if (ParseIdentifier(IDVal)) {
966 IDVal = "";
973 if (IDVal == ".if")
975 if (IDVal == ".ifdef")
977 if (IDVal == ".ifndef" || IDVal == ".ifnotdef")
979 if (IDVal == ".elseif")
981 if (IDVal == ".else")
983 if (IDVal == ".endif")
1003 if (IDVal == ".")
1013 Sym = getContext().GetOrCreateSymbol(IDVal);
1037 return ParseAssignment(IDVal, true);
1045 if (const Macro *M = MacroMap.lookup(IDVal))
1046 return HandleMacroEntry(IDVal, IDLoc, M);
1049 if (IDVal[0] == '.' && IDVal != ".") {
1051 if (IDVal == ".set" || IDVal == ".equ")
1052 return ParseDirectiveSet(IDVal, true);
1053 if (IDVal == ".equiv")
1054 return ParseDirectiveSet(IDVal, false);
1058 if (IDVal == ".ascii")
1059 return ParseDirectiveAscii(IDVal, false);
1060 if (IDVal == ".asciz" || IDVal == ".string")
1061 return ParseDirectiveAscii(IDVal, true);
1063 if (IDVal == ".byte")
1065 if (IDVal == ".short")
1067 if (IDVal == ".value")
1069 if (IDVal == ".2byte")
1071 if (IDVal == ".long")
1073 if (IDVal == ".int")
1075 if (IDVal == ".4byte")
1077 if (IDVal == ".quad")
1079 if (IDVal == ".8byte")
1081 if (IDVal == ".single" || IDVal == ".float")
1083 if (IDVal == ".double")
1086 if (IDVal == ".align") {
1090 if (IDVal == ".align32") {
1094 if (IDVal == ".balign")
1096 if (IDVal == ".balignw")
1098 if (IDVal == ".balignl")
1100 if (IDVal == ".p2align")
1102 if (IDVal == ".p2alignw")
1104 if (IDVal == ".p2alignl")
1107 if (IDVal == ".org")
1110 if (IDVal == ".fill")
1112 if (IDVal == ".space" || IDVal == ".skip")
1114 if (IDVal == ".zero")
1119 if (IDVal == ".globl" || IDVal == ".global")
1122 if (IDVal == ".local")
1124 if (IDVal == ".hidden")
1126 if (IDVal == ".indirect_symbol")
1128 if (IDVal == ".internal")
1130 if (IDVal == ".lazy_reference")
1132 if (IDVal == ".no_dead_strip")
1134 if (IDVal == ".symbol_resolver")
1136 if (IDVal == ".private_extern")
1138 if (IDVal == ".protected")
1140 if (IDVal == ".reference")
1142 if (IDVal == ".weak")
1144 if (IDVal == ".weak_definition")
1146 if (IDVal == ".weak_reference")
1148 if (IDVal == ".weak_def_can_be_hidden")
1151 if (IDVal == ".comm" || IDVal == ".common")
1153 if (IDVal == ".lcomm")
1156 if (IDVal == ".abort")
1158 if (IDVal == ".include")
1161 if (IDVal == ".code16" || IDVal == ".code32" || IDVal == ".code64")
1162 return TokError(Twine(IDVal) + " not supported yet");
1166 DirectiveMap.lookup(IDVal);
1168 return (*Handler.second)(Handler.first, IDVal, IDLoc);
1183 for (unsigned i = 0, e = IDVal.size(); i != e; ++i)
1184 Opcode.push_back(tolower(IDVal[i]));
1505 bool AsmParser::ParseDirectiveSet(StringRef IDVal, bool allow_redef) {
1509 return TokError("expected identifier after '" + Twine(IDVal) + "'");
1512 return TokError("unexpected token in '" + Twine(IDVal) + "'");
1578 bool AsmParser::ParseDirectiveAscii(StringRef IDVal, bool ZeroTerminated) {
1584 return TokError("expected string in '" + Twine(IDVal) + "' directive");
1600 return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
1668 StringRef IDVal = getTok().getString();
1670 if (!IDVal.compare_lower("infinity") || !IDVal.compare_lower("inf"))
1672 else if (!IDVal.compare_lower("nan"))
1676 } else if (Value.convertFromString(IDVal, APFloat::rmNearestTiesToEven) ==
2549 bool GenericAsmParser::ParseDirectiveCFIPersonalityOrLsda(StringRef IDVal,
2570 if (IDVal == ".cfi_personality")
2573 assert(IDVal == ".cfi_lsda");
2581 bool GenericAsmParser::ParseDirectiveCFIRememberState(StringRef IDVal,
2589 IDVal,
2597 bool GenericAsmParser::ParseDirectiveCFISameValue(StringRef IDVal,