Home | History | Annotate | Download | only in InstPrinter

Lines Matching full:addoffset

46 static bool usesGivenOffset(const MCInst *MI, int AddOffset) {
49 (MI->getOperand(2).getImm() == AddOffset ||
50 MI->getOperand(2).getImm() == -AddOffset);
53 static bool isPreIncrementForm(const MCInst *MI, int AddOffset) {
55 return LPAC::isPreOp(AluCode) && usesGivenOffset(MI, AddOffset);
58 static bool isPostIncrementForm(const MCInst *MI, int AddOffset) {
60 return LPAC::isPostOp(AluCode) && usesGivenOffset(MI, AddOffset);
72 int AddOffset) {
73 if (isPreIncrementForm(MI, AddOffset)) {
79 if (isPostIncrementForm(MI, AddOffset)) {
91 int AddOffset) {
92 if (isPreIncrementForm(MI, AddOffset)) {
98 if (isPostIncrementForm(MI, AddOffset)) {