Home | History | Annotate | Download | only in AsmParser

Lines Matching full:patchedname

1858   StringRef PatchedName = Name;
1861 if (PatchedName.startswith("set") && PatchedName.endswith("b") &&
1862 PatchedName != "setb" && PatchedName != "setnb")
1863 PatchedName = PatchedName.substr(0, Name.size()-1);
1867 if ((PatchedName.startswith("cmp") || PatchedName.startswith("vcmp")) &&
1868 (PatchedName.endswith("ss") || PatchedName.endswith("sd") ||
1869 PatchedName.endswith("ps") || PatchedName.endswith("pd"))) {
1870 bool IsVCMP = PatchedName[0] == 'v';
1873 PatchedName.slice(SSECCIdx, PatchedName.size() - 2))
1911 if (PatchedName.endswith("ss")) {
1912 PatchedName = IsVCMP ? "vcmpss" : "cmpss";
1913 } else if (PatchedName.endswith("sd")) {
1914 PatchedName = IsVCMP ? "vcmpsd" : "cmpsd";
1915 } else if (PatchedName.endswith("ps")) {
1916 PatchedName = IsVCMP ? "vcmpps" : "cmpps";
1918 assert(PatchedName.endswith("pd") && "Unexpected mnemonic!");
1919 PatchedName = IsVCMP ? "vcmppd" : "cmppd";
1924 Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc));