Home
last modified time | relevance | path

Searched refs:OffsetImm (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp1913 if (!Memory.OffsetImm) in isMemRegQOffset()
2957 if (!Memory.OffsetImm) in addAddrMode2Operands()
3010 if (!Memory.OffsetImm) in addAddrMode3Operands()
3067 if (!Memory.OffsetImm) in addAddrMode5Operands()
3097 if (!Memory.OffsetImm) in addAddrMode5FP16Operands()
3146 if (!Memory.OffsetImm) in addMemImm0_1020s4OffsetOperands()
3240 if (!Memory.OffsetImm) in addMemThumbRIs4Operands()
3252 if (!Memory.OffsetImm) in addMemThumbRIs2Operands()
3269 if (!Memory.OffsetImm) in addMemThumbSPIOperands()
3817 Op->Memory.OffsetImm = OffsetImm; in CreateMem()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dfold-frame-offset-using-rr.mir5 # Imm instr: Reg = op OffsetImm, ToBeDeletedReg(killed)
9 # new ADDI instr: ToBeChangedReg = ADDI FrameBaseReg, (OffsetAddi + OffsetImm)
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DThumb2SizeReduction.cpp581 unsigned OffsetImm = 0; in ReduceLoadStore() local
583 OffsetImm = MI->getOperand(2).getImm(); in ReduceLoadStore()
586 if ((OffsetImm & (Scale - 1)) || OffsetImm > MaxOffset) in ReduceLoadStore()
605 MIB.addImm(OffsetImm / Scale); in ReduceLoadStore()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64LoadStoreOptimizer.cpp757 int OffsetImm = AArch64InstrInfo::getLdStOffsetOp(*RtMI).getImm(); in mergeNarrowZeroStores() local
760 assert(((OffsetImm & 1) == 0) && "Unexpected offset to merge"); in mergeNarrowZeroStores()
761 OffsetImm /= 2; in mergeNarrowZeroStores()
771 .addImm(OffsetImm) in mergeNarrowZeroStores()
960 int OffsetImm = AArch64InstrInfo::getLdStOffsetOp(*RtMI).getImm(); in mergePairedInsns() local
963 assert(!(OffsetImm % TII->getMemScale(*RtMI)) && in mergePairedInsns()
965 OffsetImm /= TII->getMemScale(*RtMI); in mergePairedInsns()
1004 .addImm(OffsetImm) in mergePairedInsns()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.cpp3509 int64_t OffsetImm = 0; in foldFrameOffset() local
3514 if (!isImmInstrEligibleForFolding(MI, ToBeDeletedReg, XFormOpcode, OffsetImm, in foldFrameOffset()
3537 if (isValidToBeChangedReg(ADDMI, 1, ADDIMI, OffsetAddi, OffsetImm)) in foldFrameOffset()
3539 else if (isValidToBeChangedReg(ADDMI, 2, ADDIMI, OffsetAddi, OffsetImm)) in foldFrameOffset()
3576 ADDIMI->getOperand(2).setImm(OffsetAddi + OffsetImm); in foldFrameOffset()
3623 int64_t &OffsetImm, in isImmInstrEligibleForFolding() argument
3658 OffsetImm = ImmOperand.getImm(); in isImmInstrEligibleForFolding()
3666 int64_t OffsetImm) const { in isValidToBeChangedReg()
3700 if (isInt<16>(OffsetAddi + OffsetImm)) in isValidToBeChangedReg()
H A DPPCInstrInfo.h717 int64_t OffsetImm) const;
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp379 const MachineOperand *OffsetImm = in getMemOperandsWithOffsetWidth() local
381 Offset = OffsetImm->getImm(); in getMemOperandsWithOffsetWidth()