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

  /external/clang/lib/Lex/
PPExpressions.cpp 582 unsigned ShAmt = static_cast<unsigned>(RHS.Val.getLimitedValue());
584 Overflow = ShAmt >= LHS.Val.getBitWidth();
586 ShAmt = LHS.Val.getBitWidth()-1;
587 Res = LHS.Val << ShAmt;
589 Res = llvm::APSInt(LHS.Val.sshl_ov(ShAmt, Overflow), false);
595 unsigned ShAmt = static_cast<unsigned>(RHS.Val.getLimitedValue());
596 if (ShAmt >= LHS.getBitWidth())
597 Overflow = true, ShAmt = LHS.getBitWidth()-1;
598 Res = LHS.Val >> ShAmt;
  /external/llvm/lib/Transforms/InstCombine/
InstCombineAddSub.cpp 135 Constant *ShAmt = ConstantInt::get(I.getType(), ExtendAmt);
136 Value *NewShl = Builder->CreateShl(XorLHS, ShAmt, "sext");
137 return BinaryOperator::CreateAShr(NewShl, ShAmt);
InstCombineShifts.cpp 370 Constant *ShAmt = ConstantExpr::getZExt(Op1, TrOp->getType());
372 Value *NSh = Builder->CreateBinOp(I.getOpcode(), TrOp, ShAmt,I.getName());
694 unsigned ShAmt = Op1C->getZExtValue();
699 APInt::getHighBitsSet(Op1C->getBitWidth(), ShAmt))) {
706 ComputeNumSignBits(I.getOperand(0)) > ShAmt) {
733 unsigned ShAmt = Op1C->getZExtValue();
743 isPowerOf2_32(BitWidth) && Log2_32(BitWidth) == ShAmt) {
753 MaskedValueIsZero(Op0,APInt::getLowBitsSet(Op1C->getBitWidth(),ShAmt))){
773 unsigned ShAmt = Op1C->getZExtValue();
    [all...]
InstCombineMulDivRem.cpp 521 Value *ShAmt = llvm::ConstantInt::get(RHS->getType(),
523 return BinaryOperator::CreateExactAShr(Op0, ShAmt, I.getName());
InstCombineCasts.cpp     [all...]
InstCombineAndOrXor.cpp     [all...]
InstCombineCompares.cpp     [all...]
InstructionCombining.cpp     [all...]
  /external/llvm/lib/VMCore/
ConstantFold.cpp 252 unsigned ShAmt = Amt->getZExtValue();
254 if ((ShAmt & 7) != 0)
256 ShAmt >>= 3;
259 if (ByteStart >= CSize-ShAmt)
263 if (ByteStart+ByteSize+ShAmt <= CSize)
264 return ExtractConstantBytes(CE->getOperand(0), ByteStart+ShAmt, ByteSize);
274 unsigned ShAmt = Amt->getZExtValue();
276 if ((ShAmt & 7) != 0)
278 ShAmt >>= 3;
281 if (ByteStart+ByteSize <= ShAmt)
    [all...]
  /external/llvm/lib/Analysis/
ValueTracking.cpp     [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
TargetLowering.cpp     [all...]
SelectionDAG.cpp     [all...]
DAGCombiner.cpp     [all...]
SelectionDAGBuilder.cpp     [all...]
  /external/llvm/lib/Target/ARM/
ARMBaseInstrInfo.cpp     [all...]
ARMISelDAGToDAG.cpp 97 ARM_AM::ShiftOpc ShOpcVal, unsigned ShAmt);
382 unsigned ShAmt) {
388 return ShOpcVal == ARM_AM::lsl && ShAmt == 2;
507 unsigned ShAmt = Log2_32(RHSC);
509 Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt,
535 unsigned ShAmt = 0;
545 ShAmt = Sh->getZExtValue();
546 if (isShifterOpProfitable(Offset, ShOpcVal, ShAmt))
549 ShAmt = 0;
566 ShAmt = Sh->getZExtValue()
    [all...]
ARMISelLowering.cpp     [all...]
  /external/llvm/lib/Target/X86/
X86InstrInfo.cpp     [all...]
X86ISelLowering.cpp     [all...]
  /external/llvm/lib/Transforms/Scalar/
ScalarReplAggregates.cpp 739 int ShAmt = 0;
744 ShAmt = TD.getTypeStoreSizeInBits(NTy) -
747 ShAmt = Offset;
753 if (ShAmt > 0 && (unsigned)ShAmt < NTy->getBitWidth())
755 ConstantInt::get(FromVal->getType(), ShAmt));
756 else if (ShAmt < 0 && (unsigned)-ShAmt < NTy->getBitWidth())
758 ConstantInt::get(FromVal->getType(), -ShAmt));
    [all...]
  /external/llvm/lib/Target/PowerPC/
PPCISelLowering.cpp     [all...]

Completed in 702 milliseconds