Home
last modified time | relevance | path

Searched refs:CreateShl (Results 1 – 23 of 23) sorted by relevance

/external/mesa3d/src/pixelflinger2/
Dllvm_texture.cpp51 b = builder.CreateShl(b, builder.getInt32(3)); in pointSample()
55 g = builder.CreateShl(g, builder.getInt32(5)); in pointSample()
60 r = builder.CreateShl(r, builder.getInt32(8)); in pointSample()
73 texel = builder.CreateShl(texel, builder.getInt32(24)); in pointSample()
81 texel = builder.CreateOr(texel, builder.CreateShl(texel, 8)); in pointSample()
82 texel = builder.CreateOr(texel, builder.CreateShl(texel, 8)); in pointSample()
93 texel = builder.CreateOr(texel, builder.CreateShl(texel, 8)); in pointSample()
94 texel = builder.CreateOr(texel, builder.CreateShl(texel, 8)); in pointSample()
95 texel = builder.CreateOr(texel, builder.CreateShl(alpha, 16)); in pointSample()
Dllvm_scanline.cpp212 src = builder.CreateShl(src, constIntVec(builder, 0, 8, 16, 24)); in IntVectorToScreenColor()
225 comps[1] = builder.CreateShl(comps[1], 3); in IntVectorToScreenColor()
226 comps[0] = builder.CreateShl(comps[0], 8); in IntVectorToScreenColor()
251 dst = builder.CreateShl(dst, constIntVec(builder, 0, 0, 3, 0)); in ScreenColorToIntVector()
/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp176 Value *Tmp1 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP()
184 Value *Tmp4 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24), in LowerBSWAP()
186 Value *Tmp3 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP()
204 Value *Tmp8 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 56), in LowerBSWAP()
206 Value *Tmp7 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 40), in LowerBSWAP()
208 Value *Tmp6 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24), in LowerBSWAP()
210 Value *Tmp5 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp187 V = IC.Builder->CreateShl(C, NumBits); in GetShiftedValue()
410 Builder->CreateShl(Op0BO->getOperand(0), Op1, Op0BO->getName()); in FoldShiftByConstant()
427 Builder->CreateShl(Op0BO->getOperand(0), Op1, in FoldShiftByConstant()
443 Builder->CreateShl(Op0BO->getOperand(1), Op1, Op0BO->getName()); in FoldShiftByConstant()
460 Builder->CreateShl(Op0BO->getOperand(1), Op1, Op0BO->getName()); in FoldShiftByConstant()
570 Value *Shift = Builder->CreateShl(X, ConstantInt::get(Ty, ShiftDiff)); in FoldShiftByConstant()
607 Value *Shift = Builder->CreateShl(X, ConstantInt::get(Ty, ShiftDiff)); in FoldShiftByConstant()
653 return BinaryOperator::CreateShl(ConstantExpr::getShl(C1, C2), A); in visitShl()
DInstCombineMulDivRem.cpp42 return IC.Builder->CreateShl(PowerOf2, A); in simplifyValueKnownNonZero()
124 BinaryOperator *Shl = BinaryOperator::CreateShl(Op0, NewCst); in visitMul()
227 return BinaryOperator::CreateShl(Op1, Y); in visitMul()
229 return BinaryOperator::CreateShl(Op0, Y); in visitMul()
DInstCombineAddSub.cpp136 Value *NewShl = Builder->CreateShl(XorLHS, ShAmt, "sext"); in visitAdd()
152 BinaryOperator::CreateShl(LHS, ConstantInt::get(I.getType(), 1)); in visitAdd()
629 return BinaryOperator::CreateShl(XNeg, Y); in visitSub()
DInstCombineCasts.cpp952 In = Builder->CreateShl(In, in transformSExtICmp()
1090 return BinaryOperator::CreateAShr(Builder->CreateShl(Res, ShAmt, "sext"), in visitSExt()
1103 Value *Res = Builder->CreateShl(TI->getOperand(0), ShAmt, "sext"); in visitSExt()
1133 A = Builder->CreateShl(A, ShAmtV, CI.getName()); in visitSExt()
DInstCombineSelect.cpp620 V = Builder->CreateShl(V, ValZeros - AndZeros); in foldSelectICmpAnd()
DInstCombineSimplifyDemanded.cpp774 NewVal = BinaryOperator::CreateShl(II->getArgOperand(0), in SimplifyDemandedUseBits()
DInstCombineCompares.cpp1188 NS = Builder->CreateShl(AndCST, Shift->getOperand(1), "tmp"); in visitICmpInstWithInstAndIntCst()
/external/llvm/include/llvm/Support/
DNoFolder.h118 Instruction *CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false,
120 BinaryOperator *BO = BinaryOperator::CreateShl(LHS, RHS);
DIRBuilder.h609 Value *CreateShl(Value *LHS, Value *RHS, const Twine &Name = "",
613 return Insert(Folder.CreateShl(LC, RC, HasNUW, HasNSW), Name);
617 Value *CreateShl(Value *LHS, const APInt &RHS, const Twine &Name = "",
619 return CreateShl(LHS, ConstantInt::get(LHS->getType(), RHS), Name,
622 Value *CreateShl(Value *LHS, uint64_t RHS, const Twine &Name = "",
624 return CreateShl(LHS, ConstantInt::get(LHS->getType(), RHS), Name,
DConstantFolder.h75 Constant *CreateShl(Constant *LHS, Constant *RHS,
DTargetFolder.h89 Constant *CreateShl(Constant *LHS, Constant *RHS,
/external/llvm/include/llvm/MC/
DMCExpr.h378 static const MCBinaryExpr *CreateShl(const MCExpr *LHS, const MCExpr *RHS, in CreateShl() function
/external/clang/lib/CodeGen/
DCGExpr.cpp886 Val = Builder.CreateShl(Val, AI.TargetBitOffset); in EmitLoadOfBitfieldLValue()
897 Res = Builder.CreateAShr(Builder.CreateShl(Res, ExtraBits), in EmitLoadOfBitfieldLValue()
1056 ReloadVal = Builder.CreateAShr(Builder.CreateShl(ReloadVal, ExtraBits), in EmitStoreThroughBitfieldLValue()
1107 Val = Builder.CreateShl(Val, AI.FieldBitStart); in EmitStoreThroughBitfieldLValue()
DCGBuiltin.cpp1217 Val = Builder.CreateShl(Val0, ShiftCst, "shl", true /* nuw */); in EmitARMBuiltinExpr()
1751 return Builder.CreateShl(Builder.CreateBitCast(Ops[0],Ty), Ops[1], "vshl_n"); in EmitARMBuiltinExpr()
DCGExprScalar.cpp2040 return Builder.CreateShl(Ops.LHS, RHS, "shl"); in EmitShl()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp887 FromVal = Builder.CreateShl(FromVal, in ConvertScalar_ExtractValue()
1048 SV = Builder.CreateShl(SV, ConstantInt::get(SV->getType(), in ConvertScalar_InsertValue()
2447 SrcField = BinaryOperator::CreateShl(SrcField, ShiftVal, "", LI); in RewriteLoadUserOfWholeAlloca()
DGVN.cpp1059 Value *ShVal = Builder.CreateShl(Val, NumBytesSet*8); in GetMemInstValueForLoad()
1066 Value *ShVal = Builder.CreateShl(Val, 1*8); in GetMemInstValueForLoad()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1506 case Instruction::Shl: return MCBinaryExpr::CreateShl(LHS, RHS, Ctx); in LowerConstant()
/external/llvm/lib/VMCore/
DCore.cpp1801 return wrap(unwrap(B)->CreateShl(unwrap(LHS), unwrap(RHS), Name)); in LLVMBuildShl()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli1770 See the method [llvm::LLVMBuilder::CreateShl]. *)