Home | History | Annotate | Download | only in arm

Lines Matching refs:shifter_op

28 bool Arm32Assembler::ShifterOperandCanHoldArm32(uint32_t immediate, ShifterOperand* shifter_op) {
31 shifter_op->type_ = ShifterOperand::kImmediate;
32 shifter_op->is_rotate_ = true;
33 shifter_op->rotate_ = 0;
34 shifter_op->immed_ = immediate;
41 shifter_op->type_ = ShifterOperand::kImmediate;
42 shifter_op->is_rotate_ = true;
43 shifter_op->rotate_ = rot;
44 shifter_op->immed_ = imm8;
52 ShifterOperand shifter_op;
53 return ShifterOperandCanHoldArm32(immediate, &shifter_op);
61 ShifterOperand* shifter_op) {
62 return ShifterOperandCanHoldArm32(immediate, shifter_op);
1409 ShifterOperand shifter_op;
1410 if (ShifterOperandCanHoldArm32(value, &shifter_op)) {
1411 add(rd, rn, shifter_op, cond, set_cc);
1412 } else if (ShifterOperandCanHoldArm32(-value, &shifter_op)) {
1413 sub(rd, rn, shifter_op, cond, set_cc);
1416 if (ShifterOperandCanHoldArm32(~value, &shifter_op)) {
1417 mvn(IP, shifter_op, cond, kCcKeep);
1419 } else if (ShifterOperandCanHoldArm32(~(-value), &shifter_op)) {
1420 mvn(IP, shifter_op, cond, kCcKeep);
1434 ShifterOperand shifter_op;
1435 if (ShifterOperandCanHoldArm32(value, &shifter_op)) {
1436 cmp(rn, shifter_op, cond);
1437 } else if (ShifterOperandCanHoldArm32(~value, &shifter_op)) {
1438 cmn(rn, shifter_op, cond);
1450 ShifterOperand shifter_op;
1451 if (ShifterOperandCanHoldArm32(value, &shifter_op)) {
1452 mov(rd, shifter_op, cond);
1453 } else if (ShifterOperandCanHoldArm32(~value, &shifter_op)) {
1454 mvn(rd, shifter_op, cond);