Home
last modified time | relevance | path

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

/external/llvm/lib/Target/ARM/InstPrinter/
DARMInstPrinter.cpp370 int32_t OffImm = (int32_t)MO1.getImm(); in printThumbLdrLabelOperand() local
371 bool isSub = OffImm < 0; in printThumbLdrLabelOperand()
374 if (OffImm == INT32_MIN) in printThumbLdrLabelOperand()
375 OffImm = 0; in printThumbLdrLabelOperand()
377 O << markup("<imm:") << "#-" << formatImm(-OffImm) << markup(">"); in printThumbLdrLabelOperand()
379 O << markup("<imm:") << "#" << formatImm(OffImm) << markup(">"); in printThumbLdrLabelOperand()
1064 int32_t OffImm = (int32_t)MO.getImm() << scale; in printAdrLabelOperand() local
1067 if (OffImm == INT32_MIN) in printAdrLabelOperand()
1069 else if (OffImm < 0) in printAdrLabelOperand()
1070 O << "#-" << -OffImm; in printAdrLabelOperand()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp79 bool SelectAddrModeIndexed7S8(SDValue N, SDValue &Base, SDValue &OffImm) { in SelectAddrModeIndexed7S8() argument
80 return SelectAddrModeIndexed7S(N, 1, Base, OffImm); in SelectAddrModeIndexed7S8()
82 bool SelectAddrModeIndexed7S16(SDValue N, SDValue &Base, SDValue &OffImm) { in SelectAddrModeIndexed7S16() argument
83 return SelectAddrModeIndexed7S(N, 2, Base, OffImm); in SelectAddrModeIndexed7S16()
85 bool SelectAddrModeIndexed7S32(SDValue N, SDValue &Base, SDValue &OffImm) { in SelectAddrModeIndexed7S32() argument
86 return SelectAddrModeIndexed7S(N, 4, Base, OffImm); in SelectAddrModeIndexed7S32()
88 bool SelectAddrModeIndexed7S64(SDValue N, SDValue &Base, SDValue &OffImm) { in SelectAddrModeIndexed7S64() argument
89 return SelectAddrModeIndexed7S(N, 8, Base, OffImm); in SelectAddrModeIndexed7S64()
91 bool SelectAddrModeIndexed7S128(SDValue N, SDValue &Base, SDValue &OffImm) { in SelectAddrModeIndexed7S128() argument
92 return SelectAddrModeIndexed7S(N, 16, Base, OffImm); in SelectAddrModeIndexed7S128()
[all …]
/external/llvm/lib/Target/ARM/
DARMLoadStoreOptimizer.cpp1550 int OffImm = getMemoryOpOffset(MI); in FixInvalidRegPairOp() local
1554 if (OddRegNum > EvenRegNum && OffImm == 0) { in FixInvalidRegPairOp()
1580 ? (isT2 ? (OffImm < 0 ? ARM::t2LDRi8 : ARM::t2LDRi12) : ARM::LDRi12) in FixInvalidRegPairOp()
1581 : (isT2 ? (OffImm < 0 ? ARM::t2STRi8 : ARM::t2STRi12) : ARM::STRi12); in FixInvalidRegPairOp()
1585 ? (isT2 ? (OffImm+4 < 0 ? ARM::t2LDRi8 : ARM::t2LDRi12) : ARM::LDRi12) in FixInvalidRegPairOp()
1586 : (isT2 ? (OffImm+4 < 0 ? ARM::t2STRi8 : ARM::t2STRi12) : ARM::STRi12); in FixInvalidRegPairOp()
1594 InsertLDR_STR(MBB, MBBI, OffImm+4, isLd, dl, NewOpc2, in FixInvalidRegPairOp()
1598 InsertLDR_STR(MBB, MBBI, OffImm, isLd, dl, NewOpc, in FixInvalidRegPairOp()
1613 InsertLDR_STR(MBB, MBBI, OffImm, isLd, dl, NewOpc, in FixInvalidRegPairOp()
1617 InsertLDR_STR(MBB, MBBI, OffImm+4, isLd, dl, NewOpc2, in FixInvalidRegPairOp()
[all …]
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);
[all …]
DARMBaseInstrInfo.cpp167 unsigned OffImm = MI->getOperand(NumOps-2).getImm(); in convertToThreeAddress() local
172 bool isSub = ARM_AM::getAM2Op(OffImm) == ARM_AM::sub; in convertToThreeAddress()
173 unsigned Amt = ARM_AM::getAM2Offset(OffImm); in convertToThreeAddress()
184 ARM_AM::ShiftOpc ShOpc = ARM_AM::getAM2ShiftOpc(OffImm); in convertToThreeAddress()
198 bool isSub = ARM_AM::getAM3Op(OffImm) == ARM_AM::sub; in convertToThreeAddress()
199 unsigned Amt = ARM_AM::getAM3Offset(OffImm); in convertToThreeAddress()