Searched refs:MemoryOperand (Results 1 – 10 of 10) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/MCTargetDesc/ |
| H A D | SPIRVBaseInfo.cpp | 985 if (e == static_cast<uint32_t>(MemoryOperand::None)) in getMemoryOperandName() 987 if (e == static_cast<uint32_t>(MemoryOperand::Volatile)) in getMemoryOperandName() 989 if (e & static_cast<uint32_t>(MemoryOperand::Volatile)) { in getMemoryOperandName() 993 if (e == static_cast<uint32_t>(MemoryOperand::Aligned)) in getMemoryOperandName() 995 if (e & static_cast<uint32_t>(MemoryOperand::Aligned)) { in getMemoryOperandName() 999 if (e == static_cast<uint32_t>(MemoryOperand::Nontemporal)) in getMemoryOperandName() 1001 if (e & static_cast<uint32_t>(MemoryOperand::Nontemporal)) { in getMemoryOperandName() 1011 if (e == static_cast<uint32_t>(MemoryOperand::MakePointerVisibleKHR)) in getMemoryOperandName() 1013 if (e & static_cast<uint32_t>(MemoryOperand::MakePointerVisibleKHR)) { in getMemoryOperandName() 1017 if (e == static_cast<uint32_t>(MemoryOperand::NonPrivatePointerKHR)) in getMemoryOperandName() [all …]
|
| H A D | SPIRVBaseInfo.h | 665 enum class MemoryOperand : uint32_t { enum
|
| H A D | SPIRVInstPrinter.cpp | 154 static_cast<unsigned>(SPIRV::MemoryOperand::Aligned)) { in printInst()
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVEnums.td | 47 def MemoryOperand : EnumOperand<"MemoryOperand">;
|
| H A D | SPIRVInstructionSelector.cpp | 429 uint32_t SpvMemOp = static_cast<uint32_t>(SPIRV::MemoryOperand::None); in addMemoryOperands() 431 SpvMemOp |= static_cast<uint32_t>(SPIRV::MemoryOperand::Volatile); in addMemoryOperands() 433 SpvMemOp |= static_cast<uint32_t>(SPIRV::MemoryOperand::Nontemporal); in addMemoryOperands() 435 SpvMemOp |= static_cast<uint32_t>(SPIRV::MemoryOperand::Aligned); in addMemoryOperands() 437 if (SpvMemOp != static_cast<uint32_t>(SPIRV::MemoryOperand::None)) { in addMemoryOperands() 439 if (SpvMemOp & static_cast<uint32_t>(SPIRV::MemoryOperand::Aligned)) in addMemoryOperands() 445 uint32_t SpvMemOp = static_cast<uint32_t>(SPIRV::MemoryOperand::None); in addMemoryOperands() 447 SpvMemOp |= static_cast<uint32_t>(SPIRV::MemoryOperand::Volatile); in addMemoryOperands() 449 SpvMemOp |= static_cast<uint32_t>(SPIRV::MemoryOperand::Nontemporal); in addMemoryOperands() 451 if (SpvMemOp != static_cast<uint32_t>(SPIRV::MemoryOperand::None)) in addMemoryOperands()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86AsmBackend.cpp | 262 int MemoryOperand = X86II::getMemoryOperandNo(TSFlags); in isRIPRelative() local 263 if (MemoryOperand < 0) in isRIPRelative() 265 unsigned BaseRegNum = MemoryOperand + CurOp + X86::AddrBaseReg; in isRIPRelative() 302 int MemoryOperand = X86II::getMemoryOperandNo(TSFlags); in determinePaddingPrefix() local 303 if (MemoryOperand != -1) in determinePaddingPrefix() 304 MemoryOperand += X86II::getOperandBias(Desc); in determinePaddingPrefix() 307 if (MemoryOperand >= 0) { in determinePaddingPrefix() 309 SegmentReg = Inst.getOperand(MemoryOperand + X86::AddrSegmentReg).getReg(); in determinePaddingPrefix() 340 if (MemoryOperand >= 0) { in determinePaddingPrefix() 341 unsigned BaseRegNum = MemoryOperand + X86::AddrBaseReg; in determinePaddingPrefix()
|
| H A D | X86InstPrinterCommon.cpp | 386 int MemoryOperand = X86II::getMemoryOperandNo(TSFlags); in printInstFlags() local 387 if (MemoryOperand != -1) in printInstFlags() 388 MemoryOperand += X86II::getOperandBias(Desc); in printInstFlags() 392 !X86_MC::needsAddressSizeOverride(*MI, STI, MemoryOperand, TSFlags)) { in printInstFlags()
|
| H A D | X86MCTargetDesc.cpp | 116 int MemoryOperand, uint64_t TSFlags) { in needsAddressSizeOverride() argument 151 if (MemoryOperand < 0) in needsAddressSizeOverride() 155 assert(!is16BitMemOperand(MI, MemoryOperand, STI)); in needsAddressSizeOverride() 156 return is32BitMemOperand(MI, MemoryOperand); in needsAddressSizeOverride() 159 assert(!is64BitMemOperand(MI, MemoryOperand)); in needsAddressSizeOverride() 160 return is16BitMemOperand(MI, MemoryOperand, STI); in needsAddressSizeOverride() 163 assert(!is64BitMemOperand(MI, MemoryOperand)); in needsAddressSizeOverride() 164 return !is16BitMemOperand(MI, MemoryOperand, STI); in needsAddressSizeOverride()
|
| H A D | X86MCTargetDesc.h | 86 int MemoryOperand, uint64_t TSFlags);
|
| H A D | X86MCCodeEmitter.cpp | 601 int MemoryOperand = X86II::getMemoryOperandNo(TSFlags); in emitPrefixImpl() local 603 if (MemoryOperand != -1) { in emitPrefixImpl() 604 MemoryOperand += CurOp; in emitPrefixImpl() 605 emitSegmentOverridePrefix(MemoryOperand + X86::AddrSegmentReg, MI, OS); in emitPrefixImpl() 616 if (X86_MC::needsAddressSizeOverride(MI, STI, MemoryOperand, TSFlags) || in emitPrefixImpl() 654 emitVEXOpcodePrefix(MemoryOperand, MI, OS); in emitPrefixImpl() 656 HasREX = emitOpcodePrefix(MemoryOperand, MI, STI, OS); in emitPrefixImpl()
|