Home
last modified time | relevance | path

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

12

/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()
DCodeGenPrepare.cpp937 BinaryOperator::CreateLShr(ShiftI->getOperand(0), CI, "", InsertPt); in SinkShiftAndTruncate()
1032 BinaryOperator::CreateLShr(ShiftI->getOperand(0), CI, "", InsertPt); in OptimizeExtractBits()
/external/llvm/include/llvm/IR/
DNoFolder.h125 Instruction *CreateLShr(Constant *LHS, Constant *RHS,
128 return BinaryOperator::CreateLShr(LHS, RHS);
DIRBuilder.h832 Value *CreateLShr(Value *LHS, Value *RHS, const Twine &Name = "",
836 return Insert(Folder.CreateLShr(LC, RC, isExact), Name);
838 return Insert(BinaryOperator::CreateLShr(LHS, RHS), Name);
841 Value *CreateLShr(Value *LHS, const APInt &RHS, const Twine &Name = "",
843 return CreateLShr(LHS, ConstantInt::get(LHS->getType(), RHS), Name,isExact);
845 Value *CreateLShr(Value *LHS, uint64_t RHS, const Twine &Name = "",
847 return CreateLShr(LHS, ConstantInt::get(LHS->getType(), RHS), Name,isExact);
1605 V = CreateLShr(V, ShAmt, Name + ".shift"); in CreateExtractInteger()
DConstantFolder.h79 Constant *CreateLShr(Constant *LHS, Constant *RHS,
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp705 Instruction *NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits()
749 BinaryOperator *NewVal = BinaryOperator::CreateLShr(I->getOperand(0), in SimplifyDemandedUseBits()
843 NewVal = BinaryOperator::CreateLShr(II->getArgOperand(0), in SimplifyDemandedUseBits()
940 New = isLshr ? BinaryOperator::CreateLShr(VarX, Amt) : in SimplifyShrShlDemandedBits()
DInstCombineShifts.cpp196 V = IC.Builder->CreateLShr(C, NumBits); in GetShiftedValue()
622 Value *Shift = Builder->CreateLShr(X, ShiftDiffCst); in FoldShiftByConstant()
827 return BinaryOperator::CreateLShr(Op0, Op1); in visitAShr()
DInstCombineCasts.cpp488 Value *Shift = Builder->CreateLShr(A, Cst->getZExtValue()); in visitTrunc()
525 In = Builder->CreateLShr(In, Sh, In->getName()+".lobit"); in transformZExtICmp()
572 In = Builder->CreateLShr(In, ConstantInt::get(In->getType(),ShiftAmt), in transformZExtICmp()
616 Result = Builder->CreateLShr( in transformZExtICmp()
947 In = Builder->CreateLShr(In, in transformSExtICmp()
DInstCombineSelect.cpp427 V = Builder->CreateLShr(V, C1Log - C2Log); in foldSelectICmpAndOr()
895 V = Builder->CreateLShr(V, AndZeros - ValZeros); in foldSelectICmpAnd()
DInstCombineMulDivRem.cpp953 BinaryOperator *LShr = BinaryOperator::CreateLShr( in foldUDivPow2Cst()
983 BinaryOperator *LShr = BinaryOperator::CreateLShr(Op0, N); in foldUDivShl()
DInstCombinePHI.cpp750 Res = Builder->CreateLShr(Res, ConstantInt::get(InVal->getType(), in SliceUpIllegalIntegerPHI()
DInstCombineCalls.cpp401 Value *V = Builder->CreateLShr(X, CV); in visitCallInst()
749 return BinaryOperator::CreateLShr(Vec, in visitCallInst()
DInstCombineAddSub.cpp1587 return BinaryOperator::CreateLShr(X, CI); in visitSub()
DInstCombineAndOrXor.cpp286 ShVal = Builder->CreateLShr(ShVal, OpRHS, Op->getName()); in OptAndOp()
2672 Value *Opnd0 = Builder->CreateLShr(E1->getOperand(0), C2); in visitXor()
/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/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp859 FromVal = Builder.CreateLShr(FromVal, in ConvertScalar_ExtractValue()
1011 SV = Builder.CreateLShr(SV, ConstantInt::get(SV->getType(), -ShAmt)); in ConvertScalar_InsertValue()
2386 EltVal = Builder.CreateLShr(EltVal, ShiftVal, "sroa.store.elt"); in RewriteStoreUserOfWholeAlloca()
2432 EltVal = Builder.CreateLShr(EltVal, ShiftVal, "sroa.store.elt"); in RewriteStoreUserOfWholeAlloca()
DGVN.cpp922 StoredVal = BinaryOperator::CreateLShr(StoredVal, Val, "tmp", InsertPt); in CoerceAvailableValueToLoadType()
1145 SrcVal = Builder.CreateLShr(SrcVal, ShiftAmt); in GetStoreValueForLoad()
1198 RV = Builder.CreateLShr(RV, in GetLoadValueForLoad()
/external/llvm/lib/Transforms/IPO/
DLowerBitSets.cpp457 B.CreateLShr(PtrOffset, ConstantInt::get(IntPtrTy, BSI.AlignLog2)); in lowerBitSetCall()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1646 Value *SaOtherBits = IRB.CreateLShr(IRB.CreateShl(Sa, 1), 1); in getLowestPossibleValue()
1663 Value *SaOtherBits = IRB.CreateLShr(IRB.CreateShl(Sa, 1), 1); in getHighestPossibleValue()
2208 S = IRB.CreateLShr(S, ZeroBitsPerResultElement); in handleVectorSadIntrinsic()
DAddressSanitizer.cpp615 : IRB.CreateLShr(Val, Shift); in shiftAllocaMagic()
779 Shadow = IRB.CreateLShr(Shadow, Mapping.Scale); in memToShadow()
DDataFlowSanitizer.cpp1102 Value *ShrShadow = IRB.CreateLShr(WideShadow, 64 - DFS.ShadowWidth); in loadShadow()
/external/clang/lib/CodeGen/
DCGExpr.cpp475 llvm::Value *A1 = Builder.CreateXor(Builder.CreateLShr(A0, K47), A0); in emitHash16Bytes()
477 llvm::Value *B1 = Builder.CreateXor(Builder.CreateLShr(B0, K47), B0); in emitHash16Bytes()
1376 Val = Builder.CreateLShr(Val, Info.Offset, "bf.lshr"); in EmitLoadOfBitfieldLValue()
DCGBuiltin.cpp1962 return Builder.CreateLShr(Vec, Shift, name); in EmitNeonRShiftImm()
2773 Ops[0] = Builder.CreateLShr(Ops[0], ShiftAmt, "vaddhn"); in EmitCommonNeonBuiltinExpr()
3055 Ops[0] = Builder.CreateLShr(Ops[0], Ops[1]); in EmitCommonNeonBuiltinExpr()
3092 Ops[0] = Builder.CreateLShr(Ops[0], ShiftAmt, "vsubhn"); in EmitCommonNeonBuiltinExpr()
3467 Value *Arg1b = Builder.CreateLShr(Arg1, C1); in EmitARMBuiltinExpr()
4657 return Builder.CreateLShr(Ops[0], ConstantInt::get(Int64Ty, ShiftAmt), in EmitAArch64BuiltinExpr()
4675 Ops[1] = Builder.CreateLShr(Ops[1], ConstantInt::get(Int64Ty, ShiftAmt), in EmitAArch64BuiltinExpr()
DCGExprScalar.cpp2745 Builder.CreateLShr(Ops.LHS, in EmitShl()
2755 BitsShiftedOff = Builder.CreateLShr(BitsShiftedOff, One); in EmitShl()
2793 return Builder.CreateLShr(Ops.LHS, RHS, "shr"); in EmitShr()

12