Home
last modified time | relevance | path

Searched refs:CreateMul (Results 1 – 25 of 28) sorted by relevance

12

/external/mesa3d/src/pixelflinger2/
Dllvm_texture.cpp157 Value * index = builder.CreateMul(y0, width); in linearSample()
163 index = builder.CreateMul(y0, width); in linearSample()
169 index = builder.CreateMul(y1, width); in linearSample()
175 index = builder.CreateMul(y1, width); in linearSample()
183 Value * h0 = builder.CreateMul(builder.CreateSub(s1, s0), xLerpVec); in linearSample()
188 Value * h1 = builder.CreateMul(builder.CreateSub(s2, s3), xLerpVec); in linearSample()
192 Value * sample = builder.CreateMul(builder.CreateSub(h1, h0), in linearSample()
244 tc = builder.CreateMul(tc, dim); in texcoordWrap()
309 Value * index = builder.CreateMul(y, textureWidth); in tex2D()
504 Value * indexOffset = builder.CreateMul(builder.CreateMul(textureHeight, textureWidth), face); in texCube()
[all …]
Dllvm_scanline.cpp374 src = builder.CreateMul(src, sf); in GenerateFSBlend()
375 dst = builder.CreateMul(dst, df); in GenerateFSBlend()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp191 return BinaryOperator::CreateMul(RHS, AddOne(C2)); in visitAdd()
196 return BinaryOperator::CreateMul(X, ConstantExpr::getAdd(C1, C2)); in visitAdd()
201 return BinaryOperator::CreateMul(LHS, AddOne(C2)); in visitAdd()
237 return BinaryOperator::CreateMul(W, NewAdd); in visitAdd()
598 return BinaryOperator::CreateMul(Op0, CP1); in visitSub()
605 return BinaryOperator::CreateMul(Op0, C); in visitSub()
613 return BinaryOperator::CreateAdd(Op0, Builder->CreateMul(A, B)); in visitSub()
619 Value *NewMul = Builder->CreateMul(A, ConstantExpr::getNeg(CI)); in visitSub()
627 return BinaryOperator::CreateMul(Op1, SubOne(C1)); in visitSub()
631 return BinaryOperator::CreateMul(X, ConstantExpr::getSub(C1, C2)); in visitSub()
DInstCombineMulDivRem.cpp118 return BinaryOperator::CreateMul(SI->getOperand(0), in visitMul()
134 Value *Add = Builder->CreateMul(X, CI); in visitMul()
135 return BinaryOperator::CreateAdd(Add, Builder->CreateMul(C1, CI)); in visitMul()
156 BinaryOperator::CreateMul(Sub, in visitMul()
177 return BinaryOperator::CreateMul(Op0v, Op1v); in visitMul()
DInstCombineShifts.cpp348 return BinaryOperator::CreateMul(BO->getOperand(0), in FoldShiftByConstant()
DInstructionCombining.cpp1034 NewIdx = Builder->CreateMul(NewIdx, C, "idxscale"); in visitGetElementPtrInst()
1429 return BinaryOperator::CreateMul(LHS, RHS); in visitExtractValueInst()
DInstCombineCasts.cpp126 Amt = AllocaBuilder.CreateMul(Amt, NumElements); in PromoteCastOfAllocation()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp524 Value *ResRl = Builder.CreateMul(Op.LHS.first, Op.RHS.first, "mul.rl"); in EmitBinMul()
525 Value *ResRr = Builder.CreateMul(Op.LHS.second, Op.RHS.second,"mul.rr"); in EmitBinMul()
528 Value *ResIl = Builder.CreateMul(Op.LHS.second, Op.RHS.first, "mul.il"); in EmitBinMul()
529 Value *ResIr = Builder.CreateMul(Op.LHS.first, Op.RHS.second, "mul.ir"); in EmitBinMul()
559 llvm::Value *Tmp1 = Builder.CreateMul(LHSr, RHSr); // a*c in EmitBinDiv()
560 llvm::Value *Tmp2 = Builder.CreateMul(LHSi, RHSi); // b*d in EmitBinDiv()
563 llvm::Value *Tmp4 = Builder.CreateMul(RHSr, RHSr); // c*c in EmitBinDiv()
564 llvm::Value *Tmp5 = Builder.CreateMul(RHSi, RHSi); // d*d in EmitBinDiv()
567 llvm::Value *Tmp7 = Builder.CreateMul(LHSi, RHSr); // b*c in EmitBinDiv()
568 llvm::Value *Tmp8 = Builder.CreateMul(LHSr, RHSi); // a*d in EmitBinDiv()
DCGExprScalar.cpp398 return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul"); in EmitMul()
410 return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul"); in EmitMul()
1512 Offset = Builder.CreateMul(Idx, ElemSize); in VisitOffsetOfExpr()
1943 index = CGF.Builder.CreateMul(index, objectSize); in emitPointerArithmetic()
1961 index = CGF.Builder.CreateMul(index, numElements, "vla.index"); in emitPointerArithmetic()
DCGExprCXX.cpp761 numElements = CGF.Builder.CreateMul(numElements, asmV); in EmitCXXNewAllocSize()
1487 Size = CGF.Builder.CreateMul(Size, NumElements); in Emit()
DCGExpr.cpp2013 Idx = Builder.CreateMul(Idx, numElements); in EmitArraySubscriptExpr()
2025 Idx = Builder.CreateMul(Idx, InterfaceSize); in EmitArraySubscriptExpr()
3101 Val1Scalar = Builder.CreateMul(Val1Scalar, CGM.getSize(PointeeIncAmt)); in EmitAtomicExpr()
/external/llvm/include/llvm/Support/
DNoFolder.h72 Instruction *CreateMul(Constant *LHS, Constant *RHS,
74 BinaryOperator *BO = BinaryOperator::CreateMul(LHS, RHS);
DConstantFolder.h48 Constant *CreateMul(Constant *LHS, Constant *RHS,
DTargetFolder.h64 Constant *CreateMul(Constant *LHS, Constant *RHS,
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h221 Op = Builder->CreateMul(Op, ConstantInt::get(IntPtrTy, Size),
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp244 BinaryOperator::CreateMul(Neg->getOperand(1), Cst, "",Neg); in LowerNegateToMultiply()
921 BinaryOperator::CreateMul(Shl->getOperand(0), MulCst, "", Shl); in ConvertShiftToMul()
1115 Mul = BinaryOperator::CreateMul(TheOp, Mul, "factor", I); in OptimizeAdd()
1251 Instruction *V2 = BinaryOperator::CreateMul(V, MaxOccVal, "tmp", I); in OptimizeAdd()
1354 LHS = Builder.CreateMul(LHS, Ops.pop_back_val()); in buildMultiplyTree()
DCodeGenPrepare.cpp962 V = Builder.CreateMul(V, ConstantInt::get(IntPtrTy, AddrMode.Scale), in OptimizeMemoryInst()
/external/llvm/unittests/ExecutionEngine/JIT/
DJITEventListenerTestCommon.h113 Arg = Builder.CreateMul(Arg, Builder.CreateAdd(Arg, one)); in buildFunction()
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp648 Size = Builder.CreateMul(Size, ArraySize); in visitAllocaInst()
671 Value *Size = Builder.CreateMul(FirstArg, SecondArg); in visitCallSite()
DScalarEvolutionExpander.cpp1249 Result = Builder.CreateMul(Result, in expandAddRecExprLiterally()
/external/llvm/include/llvm/MC/
DMCExpr.h393 static const MCBinaryExpr *CreateMul(const MCExpr *LHS, const MCExpr *RHS, in CreateMul() function
/external/llvm/include/llvm/
DIRBuilder.h582 Value *CreateMul(Value *LHS, Value *RHS, const Twine &Name = "",
586 return Insert(Folder.CreateMul(LC, RC), Name);
591 return CreateMul(LHS, RHS, Name, false, true);
594 return CreateMul(LHS, RHS, Name, true, false);
/external/mesa3d/src/glsl/
Dir_to_llvm.cpp473 prod = bld.CreateMul(ops0, ops1, "dot.mul"); in create_dot_product()
644 return bld.CreateMul(ops[0], ops[1]); in llvm_expression()
/external/llvm/lib/VMCore/
DInstructions.cpp393 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, in createMalloc()
396 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, in createMalloc()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp196 case Instruction::Mul: return MCBinaryExpr::CreateMul(LHS, RHS, Ctx); in LowerConstant()

12