Home
last modified time | relevance | path

Searched refs:CreateLShr (Results 1 – 25 of 55) sorted by relevance

123

/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp65 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp601 return IC.Builder.CreateLShr(C, NumBits); in getShiftedValue()
1032 return BinaryOperator::CreateLShr( in visitShl()
1077 auto *NewLShr = BinaryOperator::CreateLShr(X, ShiftDiff); in visitLShr()
1082 Value *NewLShr = Builder.CreateLShr(X, ShiftDiff, "", I.isExact()); in visitLShr()
1111 Value *NewLShr = Builder.CreateLShr(X, ShAmt); in visitLShr()
1126 Value *NewLShr = Builder.CreateLShr(X, SrcTyBitWidth - 1); in visitLShr()
1149 Value *Signbit = Builder.CreateLShr(X, ShAmt); in visitLShr()
1159 return BinaryOperator::CreateLShr(X, ConstantInt::get(Ty, AmtSum)); in visitLShr()
1184 Value *Mask = Builder.CreateLShr(AllOnes, Op1); in visitLShr()
1345 return BinaryOperator::CreateLShr(Op0, Op1); in visitAShr()
H A DInstCombineSimplifyDemanded.cpp620 Instruction *NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits()
663 BinaryOperator *LShr = BinaryOperator::CreateLShr(I->getOperand(0), in SimplifyDemandedUseBits()
797 NewVal = BinaryOperator::CreateLShr(II->getArgOperand(0), in SimplifyDemandedUseBits()
1055 New = isLshr ? BinaryOperator::CreateLShr(VarX, Amt) : in simplifyShrShlDemandedBits()
H A DInstCombineCasts.cpp870 : Builder.CreateLShr(A, ShAmt, OldShift->getName(), IsExact); in visitTrunc()
955 In = Builder.CreateLShr(In, Sh, In->getName() + ".lobit"); in transformZExtICmp()
998 In = Builder.CreateLShr(In, ConstantInt::get(In->getType(), ShAmt), in transformZExtICmp()
1041 Result = Builder.CreateLShr( in transformZExtICmp()
1369 In = Builder.CreateLShr(In, in transformSExtICmp()
H A DInstCombineNegator.cpp194 ? Builder.CreateLShr(I->getOperand(0), I->getOperand(1)) in visitImpl()
H A DInstCombineAndOrXor.cpp1106 V = Builder.CreateLShr(V, P.StartBit); in extractIntPart()
1876 return BinaryOperator::CreateLShr(Sext, ShAmtC); in visitAnd()
2968 return BinaryOperator::CreateLShr(Constant::getAllOnesValue(Ty), Sub); in visitOr()
3385 return BinaryOperator::CreateLShr(ConstantExpr::getNot(C), Y); in visitXor()
3467 return BinaryOperator::CreateLShr(NotX, ConstantInt::get(Ty, *C)); in visitXor()
3488 auto *Opnd0 = cast<Instruction>(Builder.CreateLShr(X, C2)); in visitXor()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp133 StoredVal = Helper.CreateLShr( in coerceAvailableValueToLoadTypeHelper()
455 SrcVal = Helper.CreateLShr(SrcVal, in getStoreValueForLoadHelper()
525 RV = Builder.CreateLShr(RV, (NewLoadSize - SrcValStoreSize) * 8); in getLoadValueForLoad()
H A DIntegerDivision.cpp282 Value *Tmp3 = Builder.CreateLShr(Dividend, SR_1); in generateUnsignedDivisionCode()
310 Value *Tmp6 = Builder.CreateLShr(Q_2, MSB); in generateUnsignedDivisionCode()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86LowerAMXIntrinsics.cpp487 Value *NDWord = PreBuilder.CreateLShr(N, PreBuilder.getInt16(2)); in lowerTileDP()
488 Value *KDWord = PreBuilder.CreateLShr(K, PreBuilder.getInt16(2)); in lowerTileDP()
529 Value *NDWord = PreBuilder.CreateLShr(N, PreBuilder.getInt16(2)); in lowerTileLoadStore()
530 Value *StrideDWord = PreBuilder.CreateLShr(Stride, PreBuilder.getInt64(2)); in lowerTileLoadStore()
H A DX86InstCombineIntrinsic.cpp219 : Builder.CreateLShr(Vec, Amt)) in simplifyX86immShift()
246 : Builder.CreateLShr(Vec, Amt)) in simplifyX86immShift()
293 return Builder.CreateLShr(Vec, ShiftVec); in simplifyX86immShift()
362 : Builder.CreateLShr(Vec, Amt)) in simplifyX86varShift()
433 return Builder.CreateLShr(Vec, ShiftVec); in simplifyX86varShift()
1007 Value *Shifted = IC.Builder.CreateLShr(Masked, in instCombineIntrinsic()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DNoFolder.h121 Instruction *CreateLShr(Constant *LHS, Constant *RHS,
124 return BinaryOperator::CreateLShr(LHS, RHS);
H A DFixedPointBuilder.h63 : B.CreateLShr(Result, SrcScale - DstScale, "downscale"); in Convert()
365 return LHSSema.isSigned() ? B.CreateAShr(LHS, RHS) : B.CreateLShr(LHS, RHS); in CreateShr()
H A DIRBuilderFolder.h51 virtual Value *CreateLShr(Constant *LHS, Constant *RHS,
H A DConstantFolder.h96 Constant *CreateLShr(Constant *LHS, Constant *RHS,
H A DIRBuilder.h1300 Value *CreateLShr(Value *LHS, Value *RHS, const Twine &Name = "",
1304 return Insert(Folder.CreateLShr(LC, RC, isExact), Name);
1306 return Insert(BinaryOperator::CreateLShr(LHS, RHS), Name);
1310 Value *CreateLShr(Value *LHS, const APInt &RHS, const Twine &Name = "",
1312 return CreateLShr(LHS, ConstantInt::get(LHS->getType(), RHS), Name,isExact);
1315 Value *CreateLShr(Value *LHS, uint64_t RHS, const Twine &Name = "",
1317 return CreateLShr(LHS, ConstantInt::get(LHS->getType(), RHS), Name,isExact);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPULateCodeGenPrepare.cpp177 IRB.CreateTrunc(IRB.CreateLShr(NewLd, ShAmt), IntNTy), LI.getType()); in visitLoadInst()
H A DAMDGPULowerKernelArguments.cpp217 Load : Builder.CreateLShr(Load, OffsetDiff * 8); in runOnFunction()
H A DAMDGPUInstCombineIntrinsic.cpp453 : IC.Builder.CreateLShr(Shl, IntSize - Width); in instCombineIntrinsic()
459 : IC.Builder.CreateLShr(Src, Offset); in instCombineIntrinsic()
H A DAMDGPUCodeGenPrepare.cpp432 Builder.CreateLShr(ExtRes, 32 - getBaseElementBitWidth(I.getType())); in promoteUniformBitreverseToI32()
824 Value *Hi = Builder.CreateLShr(MUL64, Builder.getInt64(32)); in getMul64()
H A DAMDGPUAtomicOptimizer.cpp634 B.CreateTrunc(B.CreateLShr(PHI, 32), B.getInt32Ty()); in optimizeAtomic()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DTargetFolder.h94 Constant *CreateLShr(Constant *LHS, Constant *RHS,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp726 Value *Shadow = IRB.CreateLShr(Mem, Mapping.Scale); in memToShadow()
758 Value *PtrTag = IRB.CreateTrunc(IRB.CreateLShr(PtrLong, kPointerTagShift), in instrumentMemAccessInline()
967 IRB.CreateXor(StackPointerLong, IRB.CreateLShr(StackPointerLong, 20), in getStackBaseTag()
H A DMemProfiler.cpp299 Shadow = IRB.CreateLShr(Shadow, Mapping.Scale); in memToShadow()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp793 Value *Top = IRB.CreateLShr(WideLoad, ShiftVal); in CreateWideLoad()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp1476 Value *S = IRB.CreateLShr(PN, ConstantInt::get(PN->getType(), IterCount)); in convertShiftsToLeft()
1721 B.CreateLShr(BitOp->getOperand(0), S), in setupPreSimplifier()
1722 B.CreateLShr(BitOp->getOperand(1), S)); in setupPreSimplifier()

123