Home
last modified time | relevance | path

Searched refs:ShiftOp (Results 1 – 10 of 10) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp535 BinaryOperator *ShiftOp = dyn_cast<BinaryOperator>(Op0); in FoldShiftByConstant() local
536 if (ShiftOp && !ShiftOp->isShift()) in FoldShiftByConstant()
537 ShiftOp = nullptr; in FoldShiftByConstant()
539 if (ShiftOp && isa<ConstantInt>(ShiftOp->getOperand(1))) { in FoldShiftByConstant()
553 ConstantInt *ShiftAmt1C = cast<ConstantInt>(ShiftOp->getOperand(1)); in FoldShiftByConstant()
558 Value *X = ShiftOp->getOperand(0); in FoldShiftByConstant()
563 if (I.getOpcode() == ShiftOp->getOpcode()) { in FoldShiftByConstant()
580 ShiftOp->getOpcode() == Instruction::Shl) { in FoldShiftByConstant()
592 ShiftOp->getOpcode() != Instruction::Shl && in FoldShiftByConstant()
593 ShiftOp->isExact()) { in FoldShiftByConstant()
[all …]
/external/chromium_org/v8/src/arm/
Dconstants-arm.h228 enum ShiftOp { enum
558 inline int ShiftValue() const { return static_cast<ShiftOp>(Bits(6, 5)); } in ShiftValue()
559 inline ShiftOp ShiftField() const { in ShiftField()
560 return static_cast<ShiftOp>(BitField(6, 5)); in ShiftField()
Dassembler-arm.h502 explicit Operand(Register rm, ShiftOp shift_op, int shift_imm);
516 explicit Operand(Register rm, ShiftOp shift_op, Register rs);
542 ShiftOp shift_op() const { return shift_op_; } in shift_op()
547 ShiftOp shift_op_;
575 ShiftOp shift_op, int shift_imm, AddrMode am = Offset);
605 ShiftOp shift_op_;
Ddisasm-arm.cc191 ShiftOp shift = instr->ShiftField(); in PrintShiftRm()
Dassembler-arm.cc281 Operand::Operand(Register rm, ShiftOp shift_op, int shift_imm) { in Operand()
302 Operand::Operand(Register rm, ShiftOp shift_op, Register rs) { in Operand()
329 ShiftOp shift_op, int shift_imm, AddrMode am) { in MemOperand()
Dsimulator-arm.cc1349 ShiftOp shift = instr->ShiftField(); in GetShiftRm()
/external/llvm/lib/Target/ARM/InstPrinter/
DARMInstPrinter.cpp723 unsigned ShiftOp = MI->getOperand(OpNum).getImm(); in printShiftImmOperand() local
724 bool isASR = (ShiftOp & (1 << 5)) != 0; in printShiftImmOperand()
725 unsigned Amt = ShiftOp & 0x1f; in printShiftImmOperand()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp2106 SDValue ShiftOp = N->getOperand(1); in ExpandIntRes_Shift() local
2111 if (ShiftOp.getValueType() != ShiftTy) in ExpandIntRes_Shift()
2112 ShiftOp = DAG.getZExtOrTrunc(ShiftOp, dl, ShiftTy); in ExpandIntRes_Shift()
2114 SDValue Ops[] = { LHSL, LHSH, ShiftOp }; in ExpandIntRes_Shift()
DSelectionDAGBuilder.cpp1935 SDValue ShiftOp = DAG.getCopyFromReg(getControlRoot(), getCurSDLoc(), in visitBitTestCase() local
1945 ShiftOp, in visitBitTestCase()
1952 ShiftOp, in visitBitTestCase()
1958 DAG.getConstant(1, VT), ShiftOp); in visitBitTestCase()
/external/llvm/lib/Target/ARM/
DARMCodeEmitter.cpp1452 unsigned ShiftOp = MI.getOperand(3).getImm(); in emitSaturateInstruction() local
1453 ARM_AM::ShiftOpc Opc = ARM_AM::getSORegShOp(ShiftOp); in emitSaturateInstruction()