| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | IntrinsicLowering.cpp | 65 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP() 75 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP() 77 Value *Tmp1 = Builder.CreateLShr(V,ConstantInt::get(V->getType(), 24), in LowerBSWAP() 99 Value* Tmp4 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP() 101 Value* Tmp3 = Builder.CreateLShr(V, in LowerBSWAP() 104 Value* Tmp2 = Builder.CreateLShr(V, in LowerBSWAP() 107 Value* Tmp1 = Builder.CreateLShr(V, in LowerBSWAP() 169 Value *VShift = Builder.CreateLShr(PartValue, in LowerCTPOP() 177 V = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 64), in LowerCTPOP() 194 ShVal = Builder.CreateLShr(V, ShVal, "ctlz.sh"); in LowerCTLZ()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 651 return IC.Builder.CreateLShr(C, NumBits); in getShiftedValue() 1052 return BinaryOperator::CreateLShr( in visitShl() 1097 auto *NewLShr = BinaryOperator::CreateLShr(X, ShiftDiff); in visitLShr() 1137 Value *NewLshr = Builder.CreateLShr(Y, Op1); in visitLShr() 1150 Value *NewLShr = Builder.CreateLShr(X, ShAmtC); in visitLShr() 1168 Value *NewLShr = Builder.CreateLShr(X, SrcTyBitWidth - 1); in visitLShr() 1194 Value *Signbit = Builder.CreateLShr(X, ShAmtC); in visitLShr() 1204 return BinaryOperator::CreateLShr(X, ConstantInt::get(Ty, AmtSum)); in visitLShr() 1220 Value *SumShift = Builder.CreateLShr(X, AmtSum, "sum.shift"); in visitLShr() 1291 Value *Mask = Builder.CreateLShr(AllOnes, Op1); in visitLShr() [all …]
|
| H A D | InstCombineSimplifyDemanded.cpp | 396 return Builder.CreateLShr(Trunc, C->getZExtValue()); in SimplifyDemandedUseBits() 578 Instruction *Lshr = BinaryOperator::CreateLShr(NewC, X); in SimplifyDemandedUseBits() 698 Instruction *NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits() 734 BinaryOperator *LShr = BinaryOperator::CreateLShr(I->getOperand(0), in SimplifyDemandedUseBits() 865 NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits() 1146 New = isLshr ? BinaryOperator::CreateLShr(VarX, Amt) : in simplifyShrShlDemandedBits()
|
| H A D | InstCombineCasts.cpp | 707 : Builder.CreateLShr(A, ShAmt, OldShift->getName(), IsExact); in narrowBinOp() 1008 In = Builder.CreateLShr(In, Sh, In->getName() + ".lobit"); in transformZExtICmp() 1044 In = Builder.CreateLShr(In, ConstantInt::get(In->getType(), ShAmt), in transformZExtICmp() 1072 Value *Lshr = Builder.CreateLShr(X, ShAmt); in transformZExtICmp() 1099 Result = Builder.CreateLShr( in transformZExtICmp() 1412 In = Builder.CreateLShr(In, in transformSExtICmp()
|
| H A D | InstCombineNegator.cpp | 194 ? Builder.CreateLShr(I->getOperand(0), I->getOperand(1)) in visitImpl()
|
| H A D | InstCombineAndOrXor.cpp | 1040 V = Builder.CreateLShr(V, P.StartBit); in extractIntPart() 1818 return BinaryOperator::CreateLShr(Sext, ShAmtC); in visitAnd() 1826 return BinaryOperator::CreateLShr(X, ConstantInt::get(Ty, *ShiftC)); in visitAnd() 3085 return BinaryOperator::CreateLShr(Constant::getAllOnesValue(Ty), Sub); in visitOr() 3517 return BinaryOperator::CreateLShr(ConstantExpr::getNot(C), Y); in foldNot() 3733 return BinaryOperator::CreateLShr(NotX, ConstantInt::get(Ty, *C)); in visitXor() 3754 auto *Opnd0 = Builder.CreateLShr(X, C2); in visitXor()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | VNCoercion.cpp | 139 StoredVal = Helper.CreateLShr( in coerceAvailableValueToLoadType() 429 SrcVal = Builder.CreateLShr(SrcVal, in getStoreValueForLoadHelper() 497 RV = Builder.CreateLShr(RV, (NewLoadSize - SrcValStoreSize) * 8); in getLoadValueForLoad()
|
| H A D | IntegerDivision.cpp | 281 Value *Tmp3 = Builder.CreateLShr(Dividend, SR_1); in generateUnsignedDivisionCode() 309 Value *Tmp6 = Builder.CreateLShr(Q_2, MSB); in generateUnsignedDivisionCode()
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVPrepareFunctions.cpp | 179 FirstShift = IRB.CreateLShr(FSHFunc->getArg(1), RotateModVal); in lowerFunnelShifts() 196 SecShift = IRB.CreateLShr(FSHFunc->getArg(1), SubRotateVal); in lowerFunnelShifts()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86LowerAMXIntrinsics.cpp | 488 Value *NDWord = PreBuilder.CreateLShr(N, PreBuilder.getInt16(2)); in lowerTileDP() 489 Value *KDWord = PreBuilder.CreateLShr(K, PreBuilder.getInt16(2)); in lowerTileDP() 530 Value *NDWord = PreBuilder.CreateLShr(N, PreBuilder.getInt16(2)); in lowerTileLoadStore() 531 Value *StrideDWord = PreBuilder.CreateLShr(Stride, PreBuilder.getInt64(2)); in lowerTileLoadStore()
|
| H A D | X86InstCombineIntrinsic.cpp | 219 : Builder.CreateLShr(Vec, Amt)) in simplifyX86immShift() 246 : Builder.CreateLShr(Vec, Amt)) in simplifyX86immShift() 293 return Builder.CreateLShr(Vec, ShiftVec); in simplifyX86immShift() 361 : Builder.CreateLShr(Vec, Amt)) in simplifyX86varShift() 432 return Builder.CreateLShr(Vec, ShiftVec); in simplifyX86varShift() 1006 Value *Shifted = IC.Builder.CreateLShr(Masked, ShiftAmt); in instCombineIntrinsic()
|
| /llvm-project-15.0.7/llvm/lib/Target/AVR/ |
| H A D | AVRShiftExpand.cpp | 122 ValueShifted = Builder.CreateLShr(ValuePHI, ConstantInt::get(Int32Ty, 1)); in expand()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULateCodeGenPrepare.cpp | 177 IRB.CreateTrunc(IRB.CreateLShr(NewLd, ShAmt), IntNTy), LI.getType()); in visitLoadInst()
|
| H A D | AMDGPULowerKernelArguments.cpp | 217 Load : Builder.CreateLShr(Load, OffsetDiff * 8); in runOnFunction()
|
| H A D | AMDGPUInstCombineIntrinsic.cpp | 612 : IC.Builder.CreateLShr(Shl, IntSize - Width); in instCombineIntrinsic() 618 : IC.Builder.CreateLShr(Src, Offset); in instCombineIntrinsic()
|
| H A D | AMDGPUCodeGenPrepare.cpp | 438 Builder.CreateLShr(ExtRes, 32 - getBaseElementBitWidth(I.getType())); in promoteUniformBitreverseToI32() 871 Value *Hi = Builder.CreateLShr(MUL64, Builder.getInt64(32)); in getMul64()
|
| H A D | AMDGPUAtomicOptimizer.cpp | 640 B.CreateTrunc(B.CreateLShr(PHI, 32), B.getInt32Ty()); in optimizeAtomic()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | FixedPointBuilder.h | 63 : B.CreateLShr(Result, SrcScale - DstScale, "downscale"); in Convert() 365 return LHSSema.isSigned() ? B.CreateAShr(LHS, RHS) : B.CreateLShr(LHS, RHS); in CreateShr()
|
| H A D | IRBuilder.h | 1310 Value *CreateLShr(Value *LHS, Value *RHS, const Twine &Name = "", 1315 return Insert(BinaryOperator::CreateLShr(LHS, RHS), Name); 1319 Value *CreateLShr(Value *LHS, const APInt &RHS, const Twine &Name = "", 1321 return CreateLShr(LHS, ConstantInt::get(LHS->getType(), RHS), Name,isExact); 1324 Value *CreateLShr(Value *LHS, uint64_t RHS, const Twine &Name = "", 1326 return CreateLShr(LHS, ConstantInt::get(LHS->getType(), RHS), Name,isExact);
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | HWAddressSanitizer.cpp | 806 Value *Shadow = IRB.CreateLShr(Mem, Mapping.Scale); in memToShadow() 846 Value *PtrTag = IRB.CreateTrunc(IRB.CreateLShr(PtrLong, PointerTagShift), in instrumentMemAccessInline() 1059 IRB.CreateLShr(StackPointerLong, 20))); in getStackBaseTag()
|
| H A D | MemProfiler.cpp | 303 Shadow = IRB.CreateLShr(Shadow, Mapping.Scale); in memToShadow()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64StackTagging.cpp | 182 V = IRB.CreateLShr(V, Offset * 8); in sliceValue()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMParallelDSP.cpp | 790 Value *Top = IRB.CreateLShr(WideLoad, ShiftVal); in CreateWideLoad()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonLoopIdiomRecognition.cpp | 1473 Value *S = IRB.CreateLShr(PN, ConstantInt::get(PN->getType(), IterCount)); in convertShiftsToLeft() 1716 B.CreateLShr(BitOp->getOperand(0), S), in setupPreSimplifier() 1717 B.CreateLShr(BitOp->getOperand(1), S)); in setupPreSimplifier()
|
| H A D | HexagonVectorCombine.cpp | 1062 Value *Shift = Builder.CreateLShr(Builder.CreateShl(Pair, Amt), 32); in vlalignb() 1094 Value *Shift = Builder.CreateLShr(Pair, Amt); in vralignb()
|