HomeSort by relevance Sort by last modified time
    Searched refs:ShAmt (Results 1 - 23 of 23) sorted by null

  /external/llvm/lib/CodeGen/SelectionDAG/
TargetLowering.cpp 583 unsigned ShAmt = SA->getZExtValue();
587 if (ShAmt >= BitWidth)
590 // If this is ((X >>u C1) << ShAmt), see if we can simplify this into a
595 if (ShAmt && (NewMask & APInt::getLowBitsSet(BitWidth, ShAmt)) == 0) {
598 int Diff = ShAmt-C1;
612 if (SimplifyDemandedBits(InOp, NewMask.lshr(ShAmt),
622 if (ShAmt < InnerBits && NewMask.lshr(InnerBits) == 0 &&
625 if (!APInt(BitWidth, ShAmt).isIntN(ShTy.getSizeInBits()))
629 TLO.DAG.getConstant(ShAmt, ShTy))
    [all...]
LegalizeVectorOps.cpp 450 SDValue Lo, Hi, ShAmt;
453 ShAmt = DAG.getConstant(BitOffset, TLI.getShiftAmountTy(WideVT));
454 Lo = DAG.getNode(ISD::SRL, dl, WideVT, LoadVals[WideIdx], ShAmt);
463 ShAmt = DAG.getConstant(SrcEltBits - Offset,
465 Hi = DAG.getNode(ISD::SHL, dl, WideVT, LoadVals[WideIdx], ShAmt);
482 ShAmt = DAG.getConstant(WideBits - SrcEltBits,
484 Lo = DAG.getNode(ISD::SHL, dl, WideVT, Lo, ShAmt);
485 Lo = DAG.getNode(ISD::SRA, dl, WideVT, Lo, ShAmt);
DAGCombiner.cpp     [all...]
SelectionDAG.cpp     [all...]
SelectionDAGBuilder.cpp     [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineShifts.cpp 370 Constant *ShAmt = ConstantExpr::getZExt(Op1, TrOp->getType());
372 Value *NSh = Builder->CreateBinOp(I.getOpcode(), TrOp, ShAmt,I.getName());
687 unsigned ShAmt = Op1C->getZExtValue();
692 APInt::getHighBitsSet(Op1C->getBitWidth(), ShAmt))) {
699 ComputeNumSignBits(I.getOperand(0)) > ShAmt) {
726 unsigned ShAmt = Op1C->getZExtValue();
736 isPowerOf2_32(BitWidth) && Log2_32(BitWidth) == ShAmt) {
746 MaskedValueIsZero(Op0,APInt::getLowBitsSet(Op1C->getBitWidth(),ShAmt))){
766 unsigned ShAmt = Op1C->getZExtValue();
792 MaskedValueIsZero(Op0,APInt::getLowBitsSet(Op1C->getBitWidth(),ShAmt))){
    [all...]
InstCombineCompares.cpp     [all...]
InstCombineCasts.cpp     [all...]
InstCombineAddSub.cpp 962 Constant *ShAmt = ConstantInt::get(I.getType(), ExtendAmt);
963 Value *NewShl = Builder->CreateShl(XorLHS, ShAmt, "sext");
964 return BinaryOperator::CreateAShr(NewShl, ShAmt);
    [all...]
InstCombineMulDivRem.cpp 924 Value *ShAmt = llvm::ConstantInt::get(RHS->getType(),
926 return BinaryOperator::CreateExactAShr(Op0, ShAmt, I.getName());
    [all...]
InstCombineAndOrXor.cpp     [all...]
  /external/clang/lib/Lex/
PPExpressions.cpp 600 unsigned ShAmt = static_cast<unsigned>(RHS.Val.getLimitedValue());
602 Overflow = ShAmt >= LHS.Val.getBitWidth();
604 ShAmt = LHS.Val.getBitWidth()-1;
605 Res = LHS.Val << ShAmt;
607 Res = llvm::APSInt(LHS.Val.sshl_ov(ShAmt, Overflow), false);
613 unsigned ShAmt = static_cast<unsigned>(RHS.Val.getLimitedValue());
614 if (ShAmt >= LHS.getBitWidth())
615 Overflow = true, ShAmt = LHS.getBitWidth()-1;
616 Res = LHS.Val >> ShAmt;
  /external/llvm/lib/Transforms/Scalar/
ScalarReplAggregates.cpp     [all...]
SROA.cpp     [all...]
  /external/llvm/lib/Target/ARM/
ARMISelDAGToDAG.cpp 93 ARM_AM::ShiftOpc ShOpcVal, unsigned ShAmt);
466 unsigned ShAmt) {
473 (ShAmt == 2 || (Subtarget->isSwift() && ShAmt == 1));
594 unsigned ShAmt = Log2_32(RHSC);
596 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt,
622 unsigned ShAmt = 0;
632 ShAmt = Sh->getZExtValue();
633 if (isShifterOpProfitable(Offset, ShOpcVal, ShAmt))
636 ShAmt = 0
    [all...]
ARMBaseInstrInfo.cpp     [all...]
ARMISelLowering.cpp     [all...]
  /external/llvm/lib/IR/
ConstantFold.cpp 256 unsigned ShAmt = Amt->getZExtValue();
258 if ((ShAmt & 7) != 0)
260 ShAmt >>= 3;
263 if (ByteStart >= CSize-ShAmt)
267 if (ByteStart+ByteSize+ShAmt <= CSize)
268 return ExtractConstantBytes(CE->getOperand(0), ByteStart+ShAmt, ByteSize);
278 unsigned ShAmt = Amt->getZExtValue();
280 if ((ShAmt & 7) != 0)
282 ShAmt >>= 3;
285 if (ByteStart+ByteSize <= ShAmt)
    [all...]
  /external/llvm/lib/Target/X86/
X86InstrInfo.cpp     [all...]
X86ISelLowering.cpp     [all...]
  /external/llvm/lib/Analysis/
ValueTracking.cpp     [all...]
  /external/llvm/lib/Support/
APInt.cpp     [all...]
  /external/llvm/lib/Target/ARM/InstPrinter/
ARMInstPrinter.cpp     [all...]

Completed in 388 milliseconds