Home
last modified time | relevance | path

Searched refs:BaseMO (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFAsmPrinter.cpp123 const MachineOperand &BaseMO = MI->getOperand(OpNum); in PrintAsmMemoryOperand() local
125 assert(BaseMO.isReg() && "Unexpected base pointer for inline asm memory operand."); in PrintAsmMemoryOperand()
133 O << "(" << BPFInstPrinter::getRegisterName(BaseMO.getReg()) << " - " << -Offset << ")"; in PrintAsmMemoryOperand()
135 O << "(" << BPFInstPrinter::getRegisterName(BaseMO.getReg()) << " + " << Offset << ")"; in PrintAsmMemoryOperand()
/external/llvm-project/llvm/lib/Target/BPF/
DBPFAsmPrinter.cpp123 const MachineOperand &BaseMO = MI->getOperand(OpNum); in PrintAsmMemoryOperand() local
125 assert(BaseMO.isReg() && "Unexpected base pointer for inline asm memory operand."); in PrintAsmMemoryOperand()
133 O << "(" << BPFInstPrinter::getRegisterName(BaseMO.getReg()) << " - " << -Offset << ")"; in PrintAsmMemoryOperand()
135 O << "(" << BPFInstPrinter::getRegisterName(BaseMO.getReg()) << " + " << Offset << ")"; in PrintAsmMemoryOperand()
/external/llvm-project/llvm/lib/Target/X86/
DX86SpeculativeLoadHardening.cpp197 hardenLoadAddr(MachineInstr &MI, MachineOperand &BaseMO,
1337 MachineOperand &BaseMO = in tracePredStateThroughBlocksAndHarden() local
1345 if (!BaseMO.isFI() && BaseMO.getReg() != X86::RIP && in tracePredStateThroughBlocksAndHarden()
1346 BaseMO.getReg() != X86::NoRegister) in tracePredStateThroughBlocksAndHarden()
1347 BaseReg = BaseMO.getReg(); in tracePredStateThroughBlocksAndHarden()
1411 MachineOperand &BaseMO = in tracePredStateThroughBlocksAndHarden() local
1415 hardenLoadAddr(MI, BaseMO, IndexMO, AddrRegToHardenedReg); in tracePredStateThroughBlocksAndHarden()
1574 MachineInstr &MI, MachineOperand &BaseMO, MachineOperand &IndexMO, in hardenLoadAddr() argument
1585 if (BaseMO.isFI()) { in hardenLoadAddr()
1591 } else if (BaseMO.getReg() == X86::RSP) { in hardenLoadAddr()
[all …]
DX86LoadValueInjectionLoadHardening.cpp786 const MachineOperand &BaseMO = in instrUsesRegToAccessMemory() local
790 return (BaseMO.isReg() && BaseMO.getReg() != X86::NoRegister && in instrUsesRegToAccessMemory()
791 TRI->regsOverlap(BaseMO.getReg(), Reg)) || in instrUsesRegToAccessMemory()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86SpeculativeLoadHardening.cpp196 hardenLoadAddr(MachineInstr &MI, MachineOperand &BaseMO,
1712 MachineOperand &BaseMO = in tracePredStateThroughBlocksAndHarden() local
1720 if (!BaseMO.isFI() && BaseMO.getReg() != X86::RIP && in tracePredStateThroughBlocksAndHarden()
1721 BaseMO.getReg() != X86::NoRegister) in tracePredStateThroughBlocksAndHarden()
1722 BaseReg = BaseMO.getReg(); in tracePredStateThroughBlocksAndHarden()
1785 MachineOperand &BaseMO = in tracePredStateThroughBlocksAndHarden() local
1789 hardenLoadAddr(MI, BaseMO, IndexMO, AddrRegToHardenedReg); in tracePredStateThroughBlocksAndHarden()
1947 MachineInstr &MI, MachineOperand &BaseMO, MachineOperand &IndexMO, in hardenLoadAddr() argument
1958 if (BaseMO.isFI()) { in hardenLoadAddr()
1964 } else if (BaseMO.getReg() == X86::RSP) { in hardenLoadAddr()
[all …]
/external/llvm/lib/Target/Mips/
DMipsAsmPrinter.cpp539 const MachineOperand &BaseMO = MI->getOperand(OpNum); in PrintAsmMemoryOperand() local
541 assert(BaseMO.isReg() && "Unexpected base pointer for inline asm memory operand."); in PrintAsmMemoryOperand()
555 O << Offset << "($" << MipsInstPrinter::getRegisterName(BaseMO.getReg()) << ")"; in PrintAsmMemoryOperand()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsAsmPrinter.cpp628 const MachineOperand &BaseMO = MI->getOperand(OpNum); in PrintAsmMemoryOperand() local
630 assert(BaseMO.isReg() && in PrintAsmMemoryOperand()
655 O << Offset << "($" << MipsInstPrinter::getRegisterName(BaseMO.getReg()) in PrintAsmMemoryOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsAsmPrinter.cpp628 const MachineOperand &BaseMO = MI->getOperand(OpNum); in PrintAsmMemoryOperand() local
630 assert(BaseMO.isReg() && in PrintAsmMemoryOperand()
655 O << Offset << "($" << MipsInstPrinter::getRegisterName(BaseMO.getReg()) in PrintAsmMemoryOperand()
/external/llvm/lib/Target/X86/
DX86InstrInfo.cpp4716 MachineOperand &BaseMO = MemOp.getOperand(MemRefBegin + X86::AddrBaseReg); in getMemOpBaseRegImmOfs() local
4717 if (!BaseMO.isReg()) // Can be an MO_FrameIndex in getMemOpBaseRegImmOfs()
4720 BaseReg = BaseMO.getReg(); in getMemOpBaseRegImmOfs()