• Home
  • Raw
  • Download

Lines Matching refs:PatchedName

3096   StringRef PatchedName = Name;  in ParseInstruction()  local
3100 (PatchedName == "jmp" || PatchedName == "jc" || PatchedName == "jnc" || in ParseInstruction()
3101 PatchedName == "jcxz" || PatchedName == "jexcz" || in ParseInstruction()
3102 (PatchedName.startswith("j") && in ParseInstruction()
3103 ParseConditionCode(PatchedName.substr(1)) != X86::COND_INVALID))) { in ParseInstruction()
3119 if (PatchedName.startswith("set") && PatchedName.endswith("b") && in ParseInstruction()
3120 PatchedName != "setb" && PatchedName != "setnb") in ParseInstruction()
3121 PatchedName = PatchedName.substr(0, Name.size()-1); in ParseInstruction()
3126 if ((PatchedName.startswith("cmp") || PatchedName.startswith("vcmp")) && in ParseInstruction()
3127 (PatchedName.endswith("ss") || PatchedName.endswith("sd") || in ParseInstruction()
3128 PatchedName.endswith("ps") || PatchedName.endswith("pd"))) { in ParseInstruction()
3129 bool IsVCMP = PatchedName[0] == 'v'; in ParseInstruction()
3132 PatchedName.slice(CCIdx, PatchedName.size() - 2)) in ParseInstruction()
3182 if (PatchedName.endswith("ss")) in ParseInstruction()
3183 PatchedName = IsVCMP ? "vcmpss" : "cmpss"; in ParseInstruction()
3184 else if (PatchedName.endswith("sd")) in ParseInstruction()
3185 PatchedName = IsVCMP ? "vcmpsd" : "cmpsd"; in ParseInstruction()
3186 else if (PatchedName.endswith("ps")) in ParseInstruction()
3187 PatchedName = IsVCMP ? "vcmpps" : "cmpps"; in ParseInstruction()
3188 else if (PatchedName.endswith("pd")) in ParseInstruction()
3189 PatchedName = IsVCMP ? "vcmppd" : "cmppd"; in ParseInstruction()
3198 if (PatchedName.startswith("vpcmp") && in ParseInstruction()
3199 (PatchedName.back() == 'b' || PatchedName.back() == 'w' || in ParseInstruction()
3200 PatchedName.back() == 'd' || PatchedName.back() == 'q')) { in ParseInstruction()
3201 unsigned SuffixSize = PatchedName.drop_back().back() == 'u' ? 2 : 1; in ParseInstruction()
3203 PatchedName.slice(5, PatchedName.size() - SuffixSize)) in ParseInstruction()
3214 switch (PatchedName.back()) { in ParseInstruction()
3216 case 'b': PatchedName = SuffixSize == 2 ? "vpcmpub" : "vpcmpb"; break; in ParseInstruction()
3217 case 'w': PatchedName = SuffixSize == 2 ? "vpcmpuw" : "vpcmpw"; break; in ParseInstruction()
3218 case 'd': PatchedName = SuffixSize == 2 ? "vpcmpud" : "vpcmpd"; break; in ParseInstruction()
3219 case 'q': PatchedName = SuffixSize == 2 ? "vpcmpuq" : "vpcmpq"; break; in ParseInstruction()
3227 if (PatchedName.startswith("vpcom") && in ParseInstruction()
3228 (PatchedName.back() == 'b' || PatchedName.back() == 'w' || in ParseInstruction()
3229 PatchedName.back() == 'd' || PatchedName.back() == 'q')) { in ParseInstruction()
3230 unsigned SuffixSize = PatchedName.drop_back().back() == 'u' ? 2 : 1; in ParseInstruction()
3232 PatchedName.slice(5, PatchedName.size() - SuffixSize)) in ParseInstruction()
3243 switch (PatchedName.back()) { in ParseInstruction()
3245 case 'b': PatchedName = SuffixSize == 2 ? "vpcomub" : "vpcomb"; break; in ParseInstruction()
3246 case 'w': PatchedName = SuffixSize == 2 ? "vpcomuw" : "vpcomw"; break; in ParseInstruction()
3247 case 'd': PatchedName = SuffixSize == 2 ? "vpcomud" : "vpcomd"; break; in ParseInstruction()
3248 case 'q': PatchedName = SuffixSize == 2 ? "vpcomuq" : "vpcomq"; break; in ParseInstruction()
3309 PatchedName = Name; in ParseInstruction()
3312 if (PatchedName == "data16" && is16BitMode()) { in ParseInstruction()
3315 if (PatchedName == "data32") { in ParseInstruction()
3321 PatchedName = "data16"; in ParseInstruction()
3334 PatchedName = Name; in ParseInstruction()
3340 Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc)); in ParseInstruction()