/external/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 178 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()
|
D | CodeGenPrepare.cpp | 937 BinaryOperator::CreateLShr(ShiftI->getOperand(0), CI, "", InsertPt); in SinkShiftAndTruncate() 1032 BinaryOperator::CreateLShr(ShiftI->getOperand(0), CI, "", InsertPt); in OptimizeExtractBits()
|
/external/llvm/include/llvm/IR/ |
D | NoFolder.h | 125 Instruction *CreateLShr(Constant *LHS, Constant *RHS, 128 return BinaryOperator::CreateLShr(LHS, RHS);
|
D | IRBuilder.h | 832 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()
|
D | ConstantFolder.h | 79 Constant *CreateLShr(Constant *LHS, Constant *RHS,
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 705 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()
|
D | InstCombineShifts.cpp | 196 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()
|
D | InstCombineCasts.cpp | 488 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()
|
D | InstCombineSelect.cpp | 427 V = Builder->CreateLShr(V, C1Log - C2Log); in foldSelectICmpAndOr() 895 V = Builder->CreateLShr(V, AndZeros - ValZeros); in foldSelectICmpAnd()
|
D | InstCombineMulDivRem.cpp | 953 BinaryOperator *LShr = BinaryOperator::CreateLShr( in foldUDivPow2Cst() 983 BinaryOperator *LShr = BinaryOperator::CreateLShr(Op0, N); in foldUDivShl()
|
D | InstCombinePHI.cpp | 750 Res = Builder->CreateLShr(Res, ConstantInt::get(InVal->getType(), in SliceUpIllegalIntegerPHI()
|
D | InstCombineCalls.cpp | 401 Value *V = Builder->CreateLShr(X, CV); in visitCallInst() 749 return BinaryOperator::CreateLShr(Vec, in visitCallInst()
|
D | InstCombineAddSub.cpp | 1587 return BinaryOperator::CreateLShr(X, CI); in visitSub()
|
D | InstCombineAndOrXor.cpp | 286 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/ |
D | IntegerDivision.cpp | 283 Value *Tmp3 = Builder.CreateLShr(Dividend, SR_1); in generateUnsignedDivisionCode() 311 Value *Tmp6 = Builder.CreateLShr(Q_2, MSB); in generateUnsignedDivisionCode()
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 93 Constant *CreateLShr(Constant *LHS, Constant *RHS, bool isExact = false)const{
|
/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 859 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()
|
D | GVN.cpp | 922 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/ |
D | LowerBitSets.cpp | 457 B.CreateLShr(PtrOffset, ConstantInt::get(IntPtrTy, BSI.AlignLog2)); in lowerBitSetCall()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 1646 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()
|
D | AddressSanitizer.cpp | 615 : IRB.CreateLShr(Val, Shift); in shiftAllocaMagic() 779 Shadow = IRB.CreateLShr(Shadow, Mapping.Scale); in memToShadow()
|
D | DataFlowSanitizer.cpp | 1102 Value *ShrShadow = IRB.CreateLShr(WideShadow, 64 - DFS.ShadowWidth); in loadShadow()
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 475 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()
|
D | CGBuiltin.cpp | 1962 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()
|
D | CGExprScalar.cpp | 2745 Builder.CreateLShr(Ops.LHS, in EmitShl() 2755 BitsShiftedOff = Builder.CreateLShr(BitsShiftedOff, One); in EmitShl() 2793 return Builder.CreateLShr(Ops.LHS, RHS, "shr"); in EmitShr()
|