Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AArch64/
DAArch64LoadStoreOptimizer.cpp616 int OffsetImm = getLdStOffsetOp(RtMI).getImm(); in mergePairedInsns() local
621 assert(((OffsetImm & 1) == 0) && "Unexpected offset to merge"); in mergePairedInsns()
622 OffsetImm /= 2; in mergePairedInsns()
635 .addImm(OffsetImm); in mergePairedInsns()
722 assert(((OffsetImm & 1) == 0) && "Unexpected offset to merge"); in mergePairedInsns()
723 OffsetImm /= 2; in mergePairedInsns()
729 .addImm(OffsetImm); in mergePairedInsns()
735 OffsetImm /= OffsetStride; in mergePairedInsns()
741 .addImm(OffsetImm); in mergePairedInsns()
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp493 const MCConstantExpr *OffsetImm; // Offset immediate value member
695 if(!Memory.OffsetImm || Memory.OffsetRegNum) return false; in isThumbMemPC()
697 Val = Memory.OffsetImm->getValue(); in isThumbMemPC()
1048 return Memory.OffsetRegNum == 0 && Memory.OffsetImm == nullptr && in isMemNoOffset()
1058 if (!Memory.OffsetImm) return true; in isMemPCRelImm12()
1059 int64_t Val = Memory.OffsetImm->getValue(); in isMemPCRelImm12()
1129 if (!Memory.OffsetImm) return true; in isAddrMode2()
1130 int64_t Val = Memory.OffsetImm->getValue(); in isAddrMode2()
1153 if (!Memory.OffsetImm) return true; in isAddrMode3()
1154 int64_t Val = Memory.OffsetImm->getValue(); in isAddrMode3()
[all …]
/external/llvm/lib/Target/ARM/
DThumb2SizeReduction.cpp493 unsigned OffsetImm = 0; in ReduceLoadStore() local
495 OffsetImm = MI->getOperand(2).getImm(); in ReduceLoadStore()
498 if ((OffsetImm & (Scale - 1)) || OffsetImm > MaxOffset) in ReduceLoadStore()
517 MIB.addImm(OffsetImm / Scale); in ReduceLoadStore()
/external/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp210 const MachineOperand *OffsetImm = getNamedOperand(*LdSt, in getMemOpBaseRegImmOfs() local
212 if (OffsetImm) { in getMemOpBaseRegImmOfs()
218 Offset = OffsetImm->getImm(); in getMemOpBaseRegImmOfs()
268 const MachineOperand *OffsetImm = getNamedOperand(*LdSt, in getMemOpBaseRegImmOfs() local
271 Offset = OffsetImm->getImm(); in getMemOpBaseRegImmOfs()
276 const MachineOperand *OffsetImm = getNamedOperand(*LdSt, in getMemOpBaseRegImmOfs() local
278 if (!OffsetImm) in getMemOpBaseRegImmOfs()
284 Offset = OffsetImm->getImm(); in getMemOpBaseRegImmOfs()