Home
last modified time | relevance | path

Searched refs:ModImm (Results 1 – 5 of 5) sorted by relevance

/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAddressingModes.h536 inline unsigned getVMOVModImmOpCmode(unsigned ModImm) { in getVMOVModImmOpCmode() argument
537 return (ModImm >> 8) & 0x1f; in getVMOVModImmOpCmode()
539 inline unsigned getVMOVModImmVal(unsigned ModImm) { return ModImm & 0xff; } in getVMOVModImmVal() argument
544 inline uint64_t decodeVMOVModImm(unsigned ModImm, unsigned &EltBits) { in decodeVMOVModImm() argument
545 unsigned OpCmode = getVMOVModImmOpCmode(ModImm); in decodeVMOVModImm()
546 unsigned Imm8 = getVMOVModImmVal(ModImm); in decodeVMOVModImm()
571 if ((ModImm >> ByteNum) & 1) in decodeVMOVModImm()
/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp858 int32_t ModImm; in runOnMachineFunction()
860 canModifyToInlineImmOp32(TII, Src, ModImm, /*Scalar=*/false); in runOnMachineFunction()
863 Src.setImm(static_cast<int64_t>(ModImm)); in runOnMachineFunction()
924 int32_t ModImm; in runOnMachineFunction()
928 } else if ((ModOpc = canModifyToInlineImmOp32(TII, Src, ModImm, in runOnMachineFunction()
931 Src.setImm(static_cast<int64_t>(ModImm)); in runOnMachineFunction()
824 int32_t ModImm; runOnMachineFunction() local
889 int32_t ModImm; runOnMachineFunction() local
/llvm-project/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp960 struct ModImmOp ModImm; member
2675 Inst.addOperand(MCOperand::createImm(ModImm.Bits | (ModImm.Rot << 7))); in addModImmOperands()
3767 Op->ModImm.Bits = Bits; in CreateModImm()
3768 Op->ModImm.Rot = Rot; in CreateModImm()
4093 OS << "<mod_imm #" << ModImm.Bits << ", #" in print()
4094 << ModImm.Rot << ")>"; in print()
/llvm-project/llvm/lib/Target/ARM/
H A DARMInstrInfo.td845 let Name = "ModImm";
H A DARMISelLowering.cpp20213 unsigned ModImm = Op.getConstantOperandVal(1); in targetShrinkDemandedConstant()
20215 uint64_t Mask = ARM_AM::decodeVMOVModImm(ModImm, EltBits); in targetShrinkDemandedConstant()
20318 unsigned ModImm = Op.getConstantOperandVal(1); SimplifyDemandedBitsForTargetNode() local