Searched refs:RegOpcode (Results 1 – 3 of 3) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86FixupGadgets.cpp | 83 bool isROPFriendlyReg(const MachineOperand &Dst, uint8_t RegOpcode) const; 84 bool badModRM(uint8_t Mod, uint8_t RegOpcode, uint8_t RM) const; 132 uint8_t RegOpcode = getRegNum(Src); in isROPFriendlyRegPair() local 134 return badModRM(Mod, RegOpcode, RM); in isROPFriendlyRegPair() 137 bool FixupGadgetsPass::isROPFriendlyReg(const MachineOperand &Dst, uint8_t RegOpcode) const { in isROPFriendlyReg() 144 return badModRM(Mod, RegOpcode, RM); in isROPFriendlyReg() 147 bool FixupGadgetsPass::badModRM(uint8_t Mod, uint8_t RegOpcode, in badModRM() argument 149 uint8_t ModRM = ((Mod << 6) | (RegOpcode << 3) | RM); in badModRM()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyMCInstLower.cpp | 291 auto RegOpcode = OutMI.getOpcode(); in removeRegisterOperands() local 292 auto StackOpcode = WebAssembly::getStackOpcode(RegOpcode); in removeRegisterOperands()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86MCCodeEmitter.cpp | 103 static uint8_t modRMByte(unsigned Mod, unsigned RegOpcode, unsigned RM) { in modRMByte() argument 104 assert(Mod < 4 && RegOpcode < 8 && RM < 8 && "ModRM Fields out of range!"); in modRMByte() 105 return RM | (RegOpcode << 3) | (Mod << 6); in modRMByte()
|