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

References

gen/tools/clang/include/clang/Basic/arm_mve_builtin_cg.inc
  177   Value *Val10 = Builder.CreateLShr(Val8, Val9);
  227   Value *Val14 = Builder.CreateLShr(Val12, Val13);
  245   Value *Val11 = Builder.CreateLShr(Val9, Val10);
  260   Value *Val7 = Builder.CreateLShr(Val5, Val6);
  336   Value *Val2 = Builder.CreateLShr(Val0, Val1);
include/llvm/IR/IRBuilder.h
 1260     return CreateLShr(LHS, ConstantInt::get(LHS->getType(), RHS), Name,isExact);
lib/CodeGen/AtomicExpandPass.cpp
  722         Builder.CreateLShr(Loaded, PMV.ShiftAmt), PMV.ValueType);
  769       Builder.CreateLShr(OldResult, PMV.ShiftAmt), PMV.ValueType);
  803       Builder.CreateLShr(NewAI, PMV.ShiftAmt), PMV.ValueType);
  926       Builder.CreateLShr(OldVal, PMV.ShiftAmt), PMV.ValueType);
  968       Builder.CreateLShr(OldResult, PMV.ShiftAmt), PMV.ValueType);
  990       Builder.CreateLShr(OldVal, PMV.ShiftAmt), PMV.ValueType);
lib/CodeGen/IntrinsicLowering.cpp
   74     Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8),
   84     Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8),
   86     Value *Tmp1 = Builder.CreateLShr(V,ConstantInt::get(V->getType(), 24),
  108     Value* Tmp4 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8),
  110     Value* Tmp3 = Builder.CreateLShr(V,
  113     Value* Tmp2 = Builder.CreateLShr(V,
  116     Value* Tmp1 = Builder.CreateLShr(V,
  178       Value *VShift = Builder.CreateLShr(PartValue,
  186       V = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 64),
  203     ShVal = Builder.CreateLShr(V, ShVal, "ctlz.sh");
lib/IR/Core.cpp
 3366   return wrap(unwrap(B)->CreateLShr(unwrap(LHS), unwrap(RHS), Name));
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  624   Value *Hi = Builder.CreateLShr(MUL64, Builder.getInt64(32));
lib/Target/ARM/ARMParallelDSP.cpp
  790   Value *Top = IRB.CreateLShr(WideLoad, ShiftVal);
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 1456     Value *S = IRB.CreateLShr(PN, ConstantInt::get(PN->getType(), IterCount));
 1701                 B.CreateLShr(BitOp->getOperand(0), S),
 1702                 B.CreateLShr(BitOp->getOperand(1), S));
lib/Transforms/IPO/LowerTypeTests.cpp
  760       B.CreateLShr(PtrOffset, ConstantExpr::getZExt(TIL.AlignLog2, IntPtrTy));
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 3142             Value *Opnd0 = Builder.CreateLShr(E1->getOperand(0), C2);
lib/Transforms/InstCombine/InstCombineCalls.cpp
  412     return Builder.CreateLShr(Vec, ShiftVec);
  539     return Builder.CreateLShr(Vec, ShiftVec);
 1898       Value *V = Builder.CreateLShr(X, CV);
lib/Transforms/InstCombine/InstCombineCasts.cpp
  863       In = Builder.CreateLShr(In, Sh, In->getName() + ".lobit");
  906           In = Builder.CreateLShr(In, ConstantInt::get(In->getType(), ShAmt),
  949           Result = Builder.CreateLShr(
 1273             In = Builder.CreateLShr(In,
lib/Transforms/InstCombine/InstCombineCompares.cpp
  406       V = Builder.CreateLShr(ConstantInt::get(Ty, MagicBitvector), V);
 1703         IsShl ? Builder.CreateLShr(And->getOperand(1), Shift->getOperand(1))
 3589                   ? Builder.CreateLShr(X, NewShAmt)
 5352   Value *NewX = Builder.CreateLShr(X, Y, X->getName() + ".highbits");
lib/Transforms/InstCombine/InstCombinePHI.cpp
 1087           Res = Builder.CreateLShr(Res, ConstantInt::get(InVal->getType(),
lib/Transforms/InstCombine/InstCombineShifts.cpp
 1011         Value *NewLShr = Builder.CreateLShr(X, ShiftDiff, "", I.isExact());
 1089     Value *Mask = Builder.CreateLShr(AllOnes, Op1);
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
 1712           Builder.CreateLShr(InitX, ConstantInt::get(InitX->getType(), 1));
lib/Transforms/Utils/IntegerDivision.cpp
  282   Value *Tmp3 = Builder.CreateLShr(Dividend, SR_1);
  310   Value *Tmp6  = Builder.CreateLShr(Q_2, MSB);
lib/Transforms/Utils/SimplifyCFG.cpp
 5122         Builder.CreateLShr(BitMap, ShiftAmt, "switch.downshift");
 5462     Value *Shifted = Builder.CreateLShr(TableMask, MaskIndex, "switch.shifted");
 5619   auto *LShr = Builder.CreateLShr(Sub, ShiftC);
lib/Transforms/Utils/VNCoercion.cpp
  120     StoredVal = Helper.CreateLShr(
  374     SrcVal = Helper.CreateLShr(SrcVal,
tools/clang/lib/CodeGen/CGBuiltin.cpp
  434       V = CGF.Builder.CreateLShr(V, ShiftCst);
  815   Value *ShiftedByte = CGF.Builder.CreateLShr(OldByte, PosLow, "bittest.shr");
 4388     return Builder.CreateLShr(Vec, Shift, name);
 5291     Ops[0] = Builder.CreateLShr(Ops[0], ShiftAmt, "vaddhn");
 5638       Ops[0] = Builder.CreateLShr(Ops[0], Ops[1]);
 5693     Ops[0] = Builder.CreateLShr(Ops[0], ShiftAmt, "vsubhn");
 6108     Value *Rt2 = Builder.CreateLShr(RtAndRt2, C1);
 6291       Value *Arg1b = Builder.CreateLShr(Arg1, C1);
 8081     return Builder.CreateLShr(Ops[0], ConstantInt::get(Int64Ty, ShiftAmt),
 8099     Ops[1] = Builder.CreateLShr(Ops[1], ConstantInt::get(Int64Ty, ShiftAmt),
10361       Builder.CreateLShr(Ops[1], ConstantInt::get(Int64Ty, 32)), Int32Ty);
12230       Res = Builder.CreateLShr(Val, Amt);
tools/clang/lib/CodeGen/CGExpr.cpp
  627   llvm::Value *A1 = Builder.CreateXor(Builder.CreateLShr(A0, K47), A0);
  629   llvm::Value *B1 = Builder.CreateXor(Builder.CreateLShr(B0, K47), B0);
tools/clang/lib/CodeGen/CGExprScalar.cpp
 3630       llvm::Value *BitsShiftedOff = Builder.CreateLShr(
 3640         BitsShiftedOff = Builder.CreateLShr(BitsShiftedOff, One);
 3678     return Builder.CreateLShr(Ops.LHS, RHS, "shr");
unittests/IR/InstructionsTest.cpp
  614         cast<Instruction>(B.CreateLShr(Arg0, Arg0, "", /*isExact*/ true));