Searched refs:CreateShl (Results 1 - 25 of 34) sorted by relevance

12

/external/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp176 Value *Tmp1 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8),
184 Value *Tmp4 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24),
186 Value *Tmp3 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8),
204 Value *Tmp8 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 56),
206 Value *Tmp7 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 40),
208 Value *Tmp6 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24),
210 Value *Tmp5 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8),
/external/llvm/unittests/IR/
H A DPatternMatch.cpp245 IRB.CreateShl(L, R, "", /* NUW */ false, /* NSW */ true)));
265 IRB.CreateShl(L, R, "", /* NUW */ true, /* NSW */ false)));
278 EXPECT_FALSE(m_NSWShl(m_Value(), m_Value()).match(IRB.CreateShl(L, R)));
280 IRB.CreateShl(L, R, "", /* NUW */ true, /* NSW */ false)));
292 EXPECT_FALSE(m_NUWShl(m_Value(), m_Value()).match(IRB.CreateShl(L, R)));
294 IRB.CreateShl(L, R, "", /* NUW */ false, /* NSW */ true)));
H A DIRBuilderTest.cpp258 Builder.CreateShl(V, V, "", /* NUW */ false, /* NSW */ true))
268 Builder.CreateShl(V, V, "", /* NUW */ true, /* NSW */ false))
280 Builder.CreateShl(C, C, "", /* NUW */ false, /* NSW */ true))
290 Builder.CreateShl(C, C, "", /* NUW */ true, /* NSW */ false))
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp194 V = IC.Builder->CreateShl(C, NumBits);
430 Builder->CreateShl(Op0BO->getOperand(0), Op1, Op0BO->getName());
450 Builder->CreateShl(Op0BO->getOperand(0), Op1,
466 Builder->CreateShl(Op0BO->getOperand(1), Op1, Op0BO->getName());
485 Builder->CreateShl(Op0BO->getOperand(1), Op1, Op0BO->getName());
670 Value *Shift = Builder->CreateShl(X, ShiftDiffCst);
732 return BinaryOperator::CreateShl(ConstantExpr::getShl(C1, C2), A);
H A DInstCombineMulDivRem.cpp43 return IC.Builder->CreateShl(One, A);
228 BinaryOperator *Shl = BinaryOperator::CreateShl(NewOp, NewCst);
354 BO = BinaryOperator::CreateShl(Op1, Y);
357 BO = BinaryOperator::CreateShl(Op0, Y);
H A DInstCombineAddSub.cpp1103 Value *NewShl = Builder->CreateShl(XorLHS, ShAmt, "sext");
1136 BinaryOperator::CreateShl(LHS, ConstantInt::get(I.getType(), 1));
1646 return BinaryOperator::CreateShl(XNeg, Y);
H A DInstCombineCasts.cpp1035 In = Builder->CreateShl(In,
1165 return BinaryOperator::CreateAShr(Builder->CreateShl(Res, ShAmt, "sext"),
1178 Value *Res = Builder->CreateShl(TI->getOperand(0), ShAmt, "sext");
1208 A = Builder->CreateShl(A, ShAmtV, CI.getName());
H A DInstCombineSelect.cpp332 V = Builder->CreateShl(V, C2Log - C1Log);
809 V = Builder->CreateShl(V, ValZeros - AndZeros);
H A DInstCombineSimplifyDemanded.cpp762 NewVal = BinaryOperator::CreateShl(II->getArgOperand(0),
850 New = BinaryOperator::CreateShl(VarX, Amt);
H A DInstCombineCalls.cpp302 return Builder.CreateShl(Vec, ShiftVec);
/external/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp274 Value *Q = Builder.CreateShl(Dividend, Tmp2);
310 Value *Tmp5 = Builder.CreateShl(R_1, One);
313 Value *Tmp8 = Builder.CreateShl(Q_2, One);
333 Value *Tmp13 = Builder.CreateShl(Q_3, One);
/external/llvm/include/llvm/IR/
H A DNoFolder.h118 Instruction *CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false, function in class:llvm::NoFolder
120 BinaryOperator *BO = BinaryOperator::CreateShl(LHS, RHS);
H A DConstantFolder.h75 Constant *CreateShl(Constant *LHS, Constant *RHS, function in class:llvm::ConstantFolder
H A DIRBuilder.h882 Value *CreateShl(Value *LHS, Value *RHS, const Twine &Name = "", function in class:llvm::IRBuilder
886 return Insert(Folder.CreateShl(LC, RC, HasNUW, HasNSW), Name);
890 Value *CreateShl(Value *LHS, const APInt &RHS, const Twine &Name = "", function in class:llvm::IRBuilder
892 return CreateShl(LHS, ConstantInt::get(LHS->getType(), RHS), Name,
895 Value *CreateShl(Value *LHS, uint64_t RHS, const Twine &Name = "", function in class:llvm::IRBuilder
897 return CreateShl(LHS, ConstantInt::get(LHS->getType(), RHS), Name,
/external/llvm/lib/Target/Hexagon/
H A DHexagonGenExtract.cpp205 NewIn = IRB.CreateShl(NewIn, SL, CSL->getName());
/external/llvm/include/llvm/Analysis/
H A DTargetFolder.h89 Constant *CreateShl(Constant *LHS, Constant *RHS, function in class:llvm::TargetFolder
/external/llvm/lib/Transforms/IPO/
H A DLowerBitSets.cpp339 Value *BitMask = B.CreateShl(ConstantInt::get(BitsType, 1), BitIndex);
497 Value *OffsetSHL = B.CreateShl(
/external/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp802 Idx = Builder.CreateShl(
863 Idx = Builder.CreateShl(
H A DStraightLineStrengthReduce.cpp595 return Builder.CreateShl(ExtendedStride, Exponent);
601 return Builder.CreateNeg(Builder.CreateShl(ExtendedStride, Exponent));
H A DScalarReplAggregates.cpp863 FromVal = Builder.CreateShl(FromVal,
1009 SV = Builder.CreateShl(SV, ConstantInt::get(SV->getType(), ShAmt));
2535 SrcField = BinaryOperator::CreateShl(SrcField, ShiftVal, "", LI);
H A DGVN.cpp1253 Value *ShVal = Builder.CreateShl(Val, NumBytesSet*8);
1260 Value *ShVal = Builder.CreateShl(Val, 1*8);
H A DSROA.cpp2068 V = IRB.CreateShl(V, ShAmt, Name + ".shift");
2419 V = IRB.CreateShl(V, TITy->getBitWidth() - AITy->getBitWidth(),
/external/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp655 return IRB.CreateOr(Origin, IRB.CreateShl(Origin, kOriginSize * 8));
1707 Value *SaOtherBits = IRB.CreateLShr(IRB.CreateShl(Sa, 1), 1);
1724 Value *SaOtherBits = IRB.CreateLShr(IRB.CreateShl(Sa, 1), 1);
/external/clang/lib/CodeGen/
H A DCGExpr.cpp1474 Val = Builder.CreateShl(Val, HighBits, "bf.shl");
1686 SrcVal = Builder.CreateShl(SrcVal, Info.Offset, "bf.shl");
1713 ResultVal = Builder.CreateShl(ResultVal, HighBits, "bf.result.shl");
H A DCGBuiltin.cpp3213 return Builder.CreateShl(Builder.CreateBitCast(Ops[0],Ty), Ops[1],
3223 return Builder.CreateShl(Ops[0], Ops[1], "vshll_n");
3634 Val = Builder.CreateShl(Val0, ShiftCst, "shl", true /* nuw */);
4405 Val = Builder.CreateShl(Val0, ShiftCst, "shl", true /* nuw */);
4953 return Builder.CreateShl(

Completed in 1058 milliseconds

12