reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/APSInt.h
  199     return APSInt(static_cast<const APInt&>(*this) << Bits, IsUnsigned);
lib/Analysis/BasicAliasAnalysis.cpp
  438   return (Offset << ShiftBits).ashr(ShiftBits);
lib/Analysis/ConstantFolding.cpp
  666           StrVal = (StrVal << 8) | SingleChar;
  671           StrVal = (StrVal << 8) | SingleChar;
  675         StrVal = (StrVal << 8) | SingleChar;
lib/Analysis/InstructionSimplify.cpp
 2040       const APInt EffBitsX = APInt::getLowBitsSet(Width, EffWidthX) << ShftCnt;
lib/Analysis/ValueTracking.cpp
  760         Known.Zero |= RHSKnown.Zero << C;
  761         Known.One  |= RHSKnown.One  << C;
  770         Known.Zero |= RHSKnown.One  << C;
  771         Known.One  |= RHSKnown.Zero << C;
 1173       APInt KZResult = KnownZero << ShiftAmt;
 1183       APInt KOResult = KnownOne << ShiftAmt;
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 2170       APInt SrcDemandedBits = DemandedBits << Amt;
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 1384       APInt InDemandedMask = (DemandedBits << ShAmt);
 1449       APInt InDemandedMask = (DemandedBits << ShAmt);
 1514       APInt Demanded1 = DemandedBits << (IsFSHL ? (BitWidth - Amt) : Amt);
lib/Support/APInt.cpp
  582     Val |= Val << I;
 1218     q1 = q1<<1;          // update q1 = 2p/abs(nc)
 1219     r1 = r1<<1;          // update r1 = rem(2p/abs(nc))
 1224     q2 = q2<<1;          // update q2 = 2p/abs(d)
 1225     r2 = r2<<1;          // update r2 = rem(2p/abs(d))
lib/Target/Hexagon/HexagonConstPropagation.cpp
 2532     APInt HV = HiVs[i].zextOrSelf(64) << 32;
lib/Target/Mips/MipsSEISelLowering.cpp
  764     APInt Floor = APInt(BitWidth, 1) << Val.logBase2();
  766                                   : APInt(BitWidth, 1) << C.ceilLogBase2();
  808   APInt Floor = APInt(BitWidth, 1) << C.logBase2();
  810                                 APInt(BitWidth, 1) << C.ceilLogBase2();
lib/Target/X86/X86ISelLowering.cpp
34793       APInt DemandedMask = OriginalDemandedBits << ShAmt;
34817       APInt DemandedMask = OriginalDemandedBits << ShAmt;
lib/Transforms/InstCombine/InstCombineCompares.cpp
 2242     return new ICmpInst(Pred, X, ConstantInt::get(ShrTy, C << ShAmtVal));
 2250     return new ICmpInst(Pred, And, ConstantInt::get(ShrTy, C << ShAmtVal));
lib/Transforms/InstCombine/InstCombineShifts.cpp
  377     APInt Mask = APInt::getLowBitsSet(TypeWidth, OuterShAmt) << MaskShift;
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  928   BitMask1 = isLshr ? (BitMask1.lshr(ShrAmt) << ShlAmt) :
  929                       (BitMask1.ashr(ShrAmt) << ShlAmt);
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 2147           APInt V2 = APInt(V.getBitWidth(), 1) << V.countTrailingZeros();
 2157         APInt V2 = APInt(V.getBitWidth(), 1) << V.countTrailingZeros();
lib/Transforms/Scalar/DeadStoreElimination.cpp
 1250                 (EarlierValue & ~Mask) | (LaterValue << LShiftAmount);
lib/Transforms/Utils/SimplifyCFG.cpp
 5452       MaskInt |= One << Idx;
tools/clang/lib/CodeGen/CGExpr.cpp
 1566       End = llvm::APInt(Bitwidth, 1) << (NumBits - 1);
 1570       End = llvm::APInt(Bitwidth, 1) << NumPositiveBits;
utils/TableGen/CodeEmitterGen.cpp
  380         Value |= APInt(BitWidth, (uint64_t)B->getValue()) << (e - i - 1);