Searched refs:OffImm (Results 1 - 5 of 5) sorted by relevance

/external/llvm/lib/Target/ARM/InstPrinter/
H A DARMInstPrinter.cpp370 int32_t OffImm = (int32_t)MO1.getImm(); local
371 bool isSub = OffImm < 0;
374 if (OffImm == INT32_MIN)
375 OffImm = 0;
377 O << markup("<imm:") << "#-" << formatImm(-OffImm) << markup(">");
379 O << markup("<imm:") << "#" << formatImm(OffImm) << markup(">");
1064 int32_t OffImm = (int32_t)MO.getImm() << scale;
1067 if (OffImm == INT32_MIN)
1069 else if (OffImm < 0)
1070 O << "#-" << -OffImm;
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp79 bool SelectAddrModeIndexed7S8(SDValue N, SDValue &Base, SDValue &OffImm) { argument
80 return SelectAddrModeIndexed7S(N, 1, Base, OffImm);
82 bool SelectAddrModeIndexed7S16(SDValue N, SDValue &Base, SDValue &OffImm) { argument
83 return SelectAddrModeIndexed7S(N, 2, Base, OffImm);
85 bool SelectAddrModeIndexed7S32(SDValue N, SDValue &Base, SDValue &OffImm) { argument
86 return SelectAddrModeIndexed7S(N, 4, Base, OffImm);
88 bool SelectAddrModeIndexed7S64(SDValue N, SDValue &Base, SDValue &OffImm) { argument
89 return SelectAddrModeIndexed7S(N, 8, Base, OffImm);
91 bool SelectAddrModeIndexed7S128(SDValue N, SDValue &Base, SDValue &OffImm) { argument
92 return SelectAddrModeIndexed7S(N, 16, Base, OffImm);
94 SelectAddrModeIndexed8(SDValue N, SDValue &Base, SDValue &OffImm) argument
97 SelectAddrModeIndexed16(SDValue N, SDValue &Base, SDValue &OffImm) argument
100 SelectAddrModeIndexed32(SDValue N, SDValue &Base, SDValue &OffImm) argument
103 SelectAddrModeIndexed64(SDValue N, SDValue &Base, SDValue &OffImm) argument
106 SelectAddrModeIndexed128(SDValue N, SDValue &Base, SDValue &OffImm) argument
109 SelectAddrModeUnscaled8(SDValue N, SDValue &Base, SDValue &OffImm) argument
112 SelectAddrModeUnscaled16(SDValue N, SDValue &Base, SDValue &OffImm) argument
115 SelectAddrModeUnscaled32(SDValue N, SDValue &Base, SDValue &OffImm) argument
118 SelectAddrModeUnscaled64(SDValue N, SDValue &Base, SDValue &OffImm) argument
121 SelectAddrModeUnscaled128(SDValue N, SDValue &Base, SDValue &OffImm) argument
623 SelectAddrModeIndexed7S(SDValue N, unsigned Size, SDValue &Base, SDValue &OffImm) argument
668 SelectAddrModeIndexed(SDValue N, unsigned Size, SDValue &Base, SDValue &OffImm) argument
733 SelectAddrModeUnscaled(SDValue N, unsigned Size, SDValue &Base, SDValue &OffImm) argument
[all...]
/external/llvm/lib/Target/ARM/
H A DARMLoadStoreOptimizer.cpp1550 int OffImm = getMemoryOpOffset(MI);
1554 if (OddRegNum > EvenRegNum && OffImm == 0) {
1580 ? (isT2 ? (OffImm < 0 ? ARM::t2LDRi8 : ARM::t2LDRi12) : ARM::LDRi12)
1581 : (isT2 ? (OffImm < 0 ? ARM::t2STRi8 : ARM::t2STRi12) : ARM::STRi12);
1585 ? (isT2 ? (OffImm+4 < 0 ? ARM::t2LDRi8 : ARM::t2LDRi12) : ARM::LDRi12)
1586 : (isT2 ? (OffImm+4 < 0 ? ARM::t2STRi8 : ARM::t2STRi12) : ARM::STRi12);
1594 InsertLDR_STR(MBB, MBBI, OffImm+4, isLd, dl, NewOpc2,
1598 InsertLDR_STR(MBB, MBBI, OffImm, isLd, dl, NewOpc,
1613 InsertLDR_STR(MBB, MBBI, OffImm, isLd, dl, NewOpc,
1617 InsertLDR_STR(MBB, MBBI, OffImm
[all...]
H A DARMISelDAGToDAG.cpp113 bool SelectAddrModeImm12(SDValue N, SDValue &Base, SDValue &OffImm);
164 SDValue &OffImm);
166 SDValue &OffImm);
168 SDValue &OffImm);
170 SDValue &OffImm);
171 bool SelectThumbAddrModeSP(SDValue N, SDValue &Base, SDValue &OffImm);
174 bool SelectT2AddrModeImm12(SDValue N, SDValue &Base, SDValue &OffImm);
176 SDValue &OffImm);
178 SDValue &OffImm);
181 bool SelectT2AddrModeExclusive(SDValue N, SDValue &Base, SDValue &OffImm);
607 SelectAddrModeImm12(SDValue N, SDValue &Base, SDValue &OffImm) argument
1183 SelectThumbAddrModeImm5S(SDValue N, unsigned Scale, SDValue &Base, SDValue &OffImm) argument
1212 SelectThumbAddrModeImm5S4(SDValue N, SDValue &Base, SDValue &OffImm) argument
1218 SelectThumbAddrModeImm5S2(SDValue N, SDValue &Base, SDValue &OffImm) argument
1224 SelectThumbAddrModeImm5S1(SDValue N, SDValue &Base, SDValue &OffImm) argument
1229 SelectThumbAddrModeSP(SDValue N, SDValue &Base, SDValue &OffImm) argument
1278 SelectT2AddrModeImm12(SDValue N, SDValue &Base, SDValue &OffImm) argument
1332 SelectT2AddrModeImm8(SDValue N, SDValue &Base, SDValue &OffImm) argument
1359 SelectT2AddrModeImm8Offset(SDNode *Op, SDValue N, SDValue &OffImm) argument
1434 SelectT2AddrModeExclusive(SDValue N, SDValue &Base, SDValue &OffImm) argument
[all...]
H A DARMBaseInstrInfo.cpp167 unsigned OffImm = MI->getOperand(NumOps-2).getImm(); local
172 bool isSub = ARM_AM::getAM2Op(OffImm) == ARM_AM::sub;
173 unsigned Amt = ARM_AM::getAM2Offset(OffImm);
184 ARM_AM::ShiftOpc ShOpc = ARM_AM::getAM2ShiftOpc(OffImm);
198 bool isSub = ARM_AM::getAM3Op(OffImm) == ARM_AM::sub;
199 unsigned Amt = ARM_AM::getAM3Offset(OffImm);

Completed in 127 milliseconds