• Home
  • Raw
  • Download

Lines Matching refs:name

243 #define REG(str) if (name == str) SET("kOperandTypeRegister");
244 #define MEM(str) if (name == str) SET("kOperandTypeX86Memory");
245 #define LEA(str) if (name == str) SET("kOperandTypeX86EffectiveAddress");
246 #define IMM(str) if (name == str) SET("kOperandTypeImmediate");
247 #define PCR(str) if (name == str) SET("kOperandTypeX86PCRelative");
255 const std::string &name) { in X86TypeFromOpName() argument
431 const std::string &name = inst.TheDef->getName(); in X86ExtractSemantics() local
433 if (name.find("MOV") != name.npos) { in X86ExtractSemantics()
434 if (name.find("MOV_V") != name.npos) { in X86ExtractSemantics()
436 } else if (name.find("MASK") != name.npos) { in X86ExtractSemantics()
438 } else if (name.find("r0") != name.npos) { in X86ExtractSemantics()
440 } else if (name.find("PS") != name.npos || in X86ExtractSemantics()
441 name.find("PD") != name.npos) { in X86ExtractSemantics()
443 } else if (name.find("MOVS") != name.npos) { in X86ExtractSemantics()
445 } else if (name.find("_F") != name.npos) { in X86ExtractSemantics()
447 } else if (name.find("a") != name.npos) { in X86ExtractSemantics()
449 } else if (name.find("CMOV") != name.npos) { in X86ExtractSemantics()
451 } else if (name.find("PC") != name.npos) { in X86ExtractSemantics()
458 if (name.find("JMP") != name.npos || in X86ExtractSemantics()
459 name.find("J") == 0) { in X86ExtractSemantics()
460 if (name.find("FAR") != name.npos && name.find("i") != name.npos) { in X86ExtractSemantics()
467 if (name.find("PUSH") != name.npos) { in X86ExtractSemantics()
468 if (name.find("CS") != name.npos || in X86ExtractSemantics()
469 name.find("DS") != name.npos || in X86ExtractSemantics()
470 name.find("ES") != name.npos || in X86ExtractSemantics()
471 name.find("FS") != name.npos || in X86ExtractSemantics()
472 name.find("GS") != name.npos || in X86ExtractSemantics()
473 name.find("SS") != name.npos) { in X86ExtractSemantics()
476 } else if (name.find("F") != name.npos) { in X86ExtractSemantics()
478 } else if (name.find("A") != name.npos) { in X86ExtractSemantics()
480 } else if (name[name.length() - 1] == 'm') { in X86ExtractSemantics()
482 } else if (name.find("i") != name.npos) { in X86ExtractSemantics()
489 if (name.find("POP") != name.npos) { in X86ExtractSemantics()
490 if (name.find("POPCNT") != name.npos) { in X86ExtractSemantics()
492 } else if (name.find("CS") != name.npos || in X86ExtractSemantics()
493 name.find("DS") != name.npos || in X86ExtractSemantics()
494 name.find("ES") != name.npos || in X86ExtractSemantics()
495 name.find("FS") != name.npos || in X86ExtractSemantics()
496 name.find("GS") != name.npos || in X86ExtractSemantics()
497 name.find("SS") != name.npos) { in X86ExtractSemantics()
500 } else if (name.find("F") != name.npos) { in X86ExtractSemantics()
502 } else if (name.find("A") != name.npos) { in X86ExtractSemantics()
504 } else if (name[name.length() - 1] == 'm') { in X86ExtractSemantics()
511 if (name.find("CALL") != name.npos) { in X86ExtractSemantics()
512 if (name.find("ADJ") != name.npos) { in X86ExtractSemantics()
514 } else if (name.find("SYSCALL") != name.npos) { in X86ExtractSemantics()
516 } else if (name.find("VMCALL") != name.npos) { in X86ExtractSemantics()
518 } else if (name.find("FAR") != name.npos && name.find("i") != name.npos) { in X86ExtractSemantics()
525 if (name.find("RET") != name.npos) { in X86ExtractSemantics()
543 #define REG(str) if (name == str) SET("kOperandTypeRegister");
544 #define IMM(str) if (name == str) SET("kOperandTypeImmediate");
546 #define MISC(str, type) if (name == str) SET(type);
554 const std::string &name) { in ARMFlagFromOpName() argument
731 const std::string &name = inst.TheDef->getName(); in ARMExtractSemantics() local
733 if (name == "tBcc" || in ARMExtractSemantics()
734 name == "tB" || in ARMExtractSemantics()
735 name == "t2Bcc" || in ARMExtractSemantics()
736 name == "Bcc" || in ARMExtractSemantics()
737 name == "tCBZ" || in ARMExtractSemantics()
738 name == "tCBNZ") { in ARMExtractSemantics()
742 if (name == "tBLr9" || in ARMExtractSemantics()
743 name == "BLr9_pred" || in ARMExtractSemantics()
744 name == "tBLXi_r9" || in ARMExtractSemantics()
745 name == "tBLXr_r9" || in ARMExtractSemantics()
746 name == "BLXr9" || in ARMExtractSemantics()
747 name == "t2BXJ" || in ARMExtractSemantics()
748 name == "BXJ") { in ARMExtractSemantics()