Home
last modified time | relevance | path

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

123

/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp178 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP()
188 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP()
190 Value *Tmp1 = Builder.CreateLShr(V,ConstantInt::get(V->getType(), 24), in LowerBSWAP()
212 Value* Tmp4 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP()
214 Value* Tmp3 = Builder.CreateLShr(V, in LowerBSWAP()
217 Value* Tmp2 = Builder.CreateLShr(V, in LowerBSWAP()
220 Value* Tmp1 = Builder.CreateLShr(V, in LowerBSWAP()
283 Value *VShift = Builder.CreateLShr(PartValue, in LowerCTPOP()
291 V = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 64), in LowerCTPOP()
309 ShVal = Builder.CreateLShr(V, ShVal, "ctlz.sh"); in LowerCTLZ()
DAtomicExpandPass.cpp674 Builder.CreateLShr(Loaded, PMV.ShiftAmt), PMV.ValueType); in performMaskedAtomicOp()
722 Builder.CreateLShr(OldResult, PMV.ShiftAmt), PMV.ValueType); in expandPartwordAtomicRMW()
844 Builder.CreateLShr(OldVal, PMV.ShiftAmt), PMV.ValueType); in expandPartwordCmpXchg()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DIntrinsicLowering.cpp178 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP()
188 Value *Tmp2 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP()
190 Value *Tmp1 = Builder.CreateLShr(V,ConstantInt::get(V->getType(), 24), in LowerBSWAP()
212 Value* Tmp4 = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP()
214 Value* Tmp3 = Builder.CreateLShr(V, in LowerBSWAP()
217 Value* Tmp2 = Builder.CreateLShr(V, in LowerBSWAP()
220 Value* Tmp1 = Builder.CreateLShr(V, in LowerBSWAP()
283 Value *VShift = Builder.CreateLShr(PartValue, in LowerCTPOP()
291 V = Builder.CreateLShr(V, ConstantInt::get(V->getType(), 64), in LowerCTPOP()
309 ShVal = Builder.CreateLShr(V, ShVal, "ctlz.sh"); in LowerCTLZ()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp451 BinaryOperator::CreateLShr(Op0, in visitUDiv()
472 return BinaryOperator::CreateLShr(Op0, N); in visitUDiv()
481 Value *TSI = Builder->CreateLShr(Op0, C1->logBase2(), Op1->getName()+".t", in visitUDiv()
485 Value *FSI = Builder->CreateLShr(Op0, C2->logBase2(), Op1->getName()+".f", in visitUDiv()
DInstCombineShifts.cpp190 V = IC.Builder->CreateLShr(C, NumBits); in GetShiftedValue()
590 Value *Shift = Builder->CreateLShr(X, ConstantInt::get(Ty, ShiftDiff)); in FoldShiftByConstant()
753 return BinaryOperator::CreateLShr(Op0, Op1); in visitAShr()
DInstCombineCasts.cpp483 Value *Shift = Builder->CreateLShr(A, Cst->getZExtValue()); in visitTrunc()
520 In = Builder->CreateLShr(In, Sh, In->getName()+".lobit"); in transformZExtICmp()
570 In = Builder->CreateLShr(In, ConstantInt::get(In->getType(),ShiftAmt), in transformZExtICmp()
615 Result = Builder->CreateLShr( in transformZExtICmp()
939 In = Builder->CreateLShr(In, in transformSExtICmp()
DInstCombineSimplifyDemanded.cpp630 Instruction *NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits()
674 Instruction *NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits()
768 NewVal = BinaryOperator::CreateLShr(II->getArgOperand(0), in SimplifyDemandedUseBits()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DNoFolder.h125 Instruction *CreateLShr(Constant *LHS, Constant *RHS,
128 return BinaryOperator::CreateLShr(LHS, RHS);
DIRBuilder.h628 Value *CreateLShr(Value *LHS, Value *RHS, const Twine &Name = "",
632 return Insert(Folder.CreateLShr(LC, RC, isExact), Name);
634 return Insert(BinaryOperator::CreateLShr(LHS, RHS), Name);
637 Value *CreateLShr(Value *LHS, const APInt &RHS, const Twine &Name = "",
639 return CreateLShr(LHS, ConstantInt::get(LHS->getType(), RHS), Name,isExact);
641 Value *CreateLShr(Value *LHS, uint64_t RHS, const Twine &Name = "",
643 return CreateLShr(LHS, ConstantInt::get(LHS->getType(), RHS), Name,isExact);
DConstantFolder.h79 Constant *CreateLShr(Constant *LHS, Constant *RHS,
DTargetFolder.h93 Constant *CreateLShr(Constant *LHS, Constant *RHS, bool isExact = false)const{
/external/llvm/include/llvm/IR/
DNoFolder.h125 Instruction *CreateLShr(Constant *LHS, Constant *RHS,
128 return BinaryOperator::CreateLShr(LHS, RHS);
DIRBuilder.h916 Value *CreateLShr(Value *LHS, Value *RHS, const Twine &Name = "",
920 return Insert(Folder.CreateLShr(LC, RC, isExact), Name);
922 return Insert(BinaryOperator::CreateLShr(LHS, RHS), Name);
925 Value *CreateLShr(Value *LHS, const APInt &RHS, const Twine &Name = "",
927 return CreateLShr(LHS, ConstantInt::get(LHS->getType(), RHS), Name,isExact);
929 Value *CreateLShr(Value *LHS, uint64_t RHS, const Twine &Name = "",
931 return CreateLShr(LHS, ConstantInt::get(LHS->getType(), RHS), Name,isExact);
1749 V = CreateLShr(V, ShAmt, Name + ".shift"); in CreateExtractInteger()
DConstantFolder.h79 Constant *CreateLShr(Constant *LHS, Constant *RHS,
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp620 Instruction *NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits()
664 BinaryOperator *NewVal = BinaryOperator::CreateLShr(I->getOperand(0), in SimplifyDemandedUseBits()
758 NewVal = BinaryOperator::CreateLShr(II->getArgOperand(0), in SimplifyDemandedUseBits()
886 New = isLshr ? BinaryOperator::CreateLShr(VarX, Amt) : in SimplifyShrShlDemandedBits()
DInstCombineShifts.cpp195 V = IC.Builder->CreateLShr(C, NumBits); in GetShiftedValue()
623 Value *Shift = Builder->CreateLShr(X, ShiftDiffCst); in FoldShiftByConstant()
828 return BinaryOperator::CreateLShr(Op0, Op1); in visitAShr()
DInstCombineCasts.cpp540 Value *Shift = Builder->CreateLShr(A, Cst->getZExtValue()); in visitTrunc()
600 In = Builder->CreateLShr(In, Sh, In->getName() + ".lobit"); in transformZExtICmp()
647 In = Builder->CreateLShr(In, ConstantInt::get(In->getType(), ShAmt), in transformZExtICmp()
691 Result = Builder->CreateLShr( in transformZExtICmp()
1021 In = Builder->CreateLShr(In, in transformSExtICmp()
DInstCombineSelect.cpp345 V = Builder->CreateLShr(V, C1Log - C2Log); in foldSelectICmpAndOr()
825 V = Builder->CreateLShr(V, AndZeros - ValZeros); in foldSelectICmpAnd()
DInstCombineMulDivRem.cpp977 BinaryOperator *LShr = BinaryOperator::CreateLShr( in foldUDivPow2Cst()
1007 BinaryOperator *LShr = BinaryOperator::CreateLShr(Op0, N); in foldUDivShl()
/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp283 Value *Tmp3 = Builder.CreateLShr(Dividend, SR_1); in generateUnsignedDivisionCode()
311 Value *Tmp6 = Builder.CreateLShr(Q_2, MSB); in generateUnsignedDivisionCode()
/external/llvm/include/llvm/Analysis/
DTargetFolder.h93 Constant *CreateLShr(Constant *LHS, Constant *RHS, bool isExact = false)const{
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DScalarReplAggregates.cpp751 FromVal = Builder.CreateLShr(FromVal, in ConvertScalar_ExtractValue()
881 SV = Builder.CreateLShr(SV, ConstantInt::get(SV->getType(), -ShAmt)); in ConvertScalar_InsertValue()
2220 EltVal = Builder.CreateLShr(EltVal, ShiftVal, "sroa.store.elt"); in RewriteStoreUserOfWholeAlloca()
2266 EltVal = Builder.CreateLShr(EltVal, ShiftVal, "sroa.store.elt"); in RewriteStoreUserOfWholeAlloca()
DGVN.cpp749 StoredVal = BinaryOperator::CreateLShr(StoredVal, Val, "tmp", InsertPt); in CoerceAvailableValueToLoadType()
968 SrcVal = Builder.CreateLShr(SrcVal, ShiftAmt); in GetStoreValueForLoad()
1021 RV = Builder.CreateLShr(RV, in GetLoadValueForLoad()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp310 Value *Y = Builder.CreateLShr(LoadXY, 16); in getLocalSizeYZ()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp784 StoredVal = IRB.CreateLShr(StoredVal, ShiftAmt, "tmp"); in CoerceAvailableValueToLoadType()
1012 SrcVal = Builder.CreateLShr(SrcVal, ShiftAmt); in GetStoreValueForLoad()
1065 RV = Builder.CreateLShr(RV, (NewLoadSize - SrcValStoreSize) * 8); in GetLoadValueForLoad()

123