Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVGatherScatterLowering.cpp179 Start = Builder.CreateMul(Start, Splat); in matchStridedStart()
180 Stride = Builder.CreateMul(Stride, Splat); in matchStridedStart()
314 Start = Builder.CreateMul(Start, SplatOp, "start"); in matchStridedRecurrence()
315 Step = Builder.CreateMul(Step, SplatOp, "step"); in matchStridedRecurrence()
316 Stride = Builder.CreateMul(Stride, SplatOp, "stride"); in matchStridedRecurrence()
440 Stride = Builder.CreateMul(Stride, ConstantInt::get(IntPtrTy, TypeScale)); in determineBaseAndStride()
480 Stride = Builder.CreateMul(Stride, ConstantInt::get(IntPtrTy, TypeScale)); in determineBaseAndStride()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DMatrixBuilder.h150 B.CreateAdd(B.CreateMul(ColumnIdx, ConstantInt::get( in CreateMatrixInsert()
211 return B.CreateMul(LHS, RHS); in CreateScalarMultiply()
252 return B.CreateAdd(B.CreateMul(ColumnIdx, NumRowsV), RowIdx);
H A DFixedPointBuilder.h288 Value *CreateMul(Value *LHS, const FixedPointSemantics &LHSSema, in CreateMul() function
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LowerAMXIntrinsics.cpp186 B.CreateAdd(B.CreateMul(CurrentRowZExt, Stride), CurrentColZExt); in createTileLoadStoreLoops()
188 Value *Idx = B.CreateAdd(B.CreateMul(CurrentRow, B.getInt16(16)), CurrentCol); in createTileLoadStoreLoops()
343 B.CreateAdd(B.CreateMul(CurrentRow, B.getInt16(16)), CurrentCol); in createTileDPLoops()
356 B.CreateAdd(B.CreateMul(CurrentRow, B.getInt16(16)), CurrentInner); in createTileDPLoops()
358 B.CreateAdd(B.CreateMul(CurrentInner, B.getInt16(16)), CurrentCol); in createTileDPLoops()
405 Value *SubVecR = B.CreateAddReduce(B.CreateMul(SEXTSubVecA, SEXTSubVecB)); in createTileDPLoops()
H A DX86PartialReduction.cpp199 Value *NewMul = Builder.CreateMul(Mul->getOperand(0), Mul->getOperand(1)); in tryMAddReplacement()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprComplex.cpp914 Value *ResRl = Builder.CreateMul(Op.LHS.first, Op.RHS.first, "mul.rl"); in EmitBinMul()
915 Value *ResRr = Builder.CreateMul(Op.LHS.second, Op.RHS.second, "mul.rr"); in EmitBinMul()
918 Value *ResIl = Builder.CreateMul(Op.LHS.second, Op.RHS.first, "mul.il"); in EmitBinMul()
919 Value *ResIr = Builder.CreateMul(Op.LHS.first, Op.RHS.second, "mul.ir"); in EmitBinMul()
1091 llvm::Value *Tmp1 = Builder.CreateMul(LHSr, RHSr); // a*c in EmitBinDiv()
1092 llvm::Value *Tmp2 = Builder.CreateMul(LHSi, RHSi); // b*d in EmitBinDiv()
1095 llvm::Value *Tmp4 = Builder.CreateMul(RHSr, RHSr); // c*c in EmitBinDiv()
1096 llvm::Value *Tmp5 = Builder.CreateMul(RHSi, RHSi); // d*d in EmitBinDiv()
1099 llvm::Value *Tmp7 = Builder.CreateMul(LHSi, RHSr); // b*c in EmitBinDiv()
1100 llvm::Value *Tmp8 = Builder.CreateMul(LHSr, RHSi); // a*d in EmitBinDiv()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLocal.cpp74 Op = Builder->CreateMul(Op, Scale, GEP->getName() + ".idx", NUW, NSW); in emitGEPOffset()
H A DMemoryBuiltins.cpp1154 Size = Builder.CreateMul(Size, ArraySize); in visitAllocaInst()
1176 Value *Size = Builder.CreateMul(FirstArg, SecondArg); in visitCallBase()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp238 BinaryOperator *BO = BinaryOperator::CreateMul(NewOp, Shl); in visitMul()
271 I, Builder.CreateMul(NegOp0, ConstantExpr::getNeg(Op1C), "", in visitMul()
311 Value *NewC = Builder.CreateMul(C1, MulC); in visitMul()
315 Value *NewMul = Builder.CreateMul(X, MulC); in visitMul()
330 return BinaryOperator::CreateMul(X, X); in visitMul()
349 return BinaryOperator::CreateMul(X, ConstantExpr::getNeg(Op1C)); in visitMul()
353 auto *NewMul = BinaryOperator::CreateMul(X, Y); in visitMul()
363 return BinaryOperator::CreateNeg(Builder.CreateMul(X, Y)); in visitMul()
369 return BinaryOperator::CreateMul(NegOp0, X); in visitMul()
2075 : BinaryOperator::CreateMul(X, RemSimplification); in simplifyIRemMulShl()
H A DInstCombineNegator.cpp402 return Builder.CreateMul( in visitImpl()
475 return Builder.CreateMul(NegatedOp, OtherOp, I->getName() + ".neg", in visitImpl()
H A DInstCombineAddSub.cpp1056 return BinaryOperator::CreateMul(AB, AB); in foldSquareSumInt()
1197 Value *MulXC2 = Builder.CreateMul(X, ConstantInt::get(X->getType(), C2)); in SimplifyAddWithRemainder()
1201 Builder.CreateMul(Div, ConstantInt::get(X->getType(), NewC)), MulXC2); in SimplifyAddWithRemainder()
1481 return BinaryOperator::CreateMul(X, Y); in foldBoxMultiply()
1682 Value *NewMul = Builder.CreateMul(A, NewMulC); in visitAdd()
2647 Value *Mul = Builder.CreateMul(Add, Sub, "", PropagateNUW, PropagateNSW); in visitSub()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp261 static BinaryOperator *CreateMul(Value *S1, Value *S2, const Twine &Name, in CreateMul() function
265 return BinaryOperator::CreateMul(S1, S2, Name, InsertBefore); in CreateMul()
297 CreateMul(Neg->getOperand(OpNo), NegOne, "", Neg->getIterator(), Neg); in LowerNegateToMultiply()
1037 BinaryOperator *Mul = BinaryOperator::CreateMul(Shl->getOperand(0), MulCst, in ConvertShiftToMul()
1520 Instruction *Mul = CreateMul(TheOp, C, "factor", I->getIterator(), I); in OptimizeAdd()
1695 Instruction *V2 = CreateMul(V, MaxOccVal, "reass.mul", I->getIterator(), I); in OptimizeAdd()
1788 LHS = Builder.CreateMul(LHS, Ops.pop_back_val()); in buildMultiplyTree()
H A DNaryReassociate.cpp456 RHS = Builder.CreateMul( in tryReassociateGEPAtIndex()
517 NewI = BinaryOperator::CreateMul(LHS, RHS, "", I->getIterator()); in tryReassociatedBinaryOp()
H A DLowerMatrixIntrinsics.cpp184 Value *VecStart = Builder.CreateMul(VecIdx, Stride, "vec.start"); in computeVectorAddr()
838 : LocalBuilder.CreateMul(T0, T1, "mmul"); in sinkTranspose()
1153 Builder.CreateMul(J, Builder.getInt64(MatrixShape.getStride())), I); in loadMatrix()
1193 Builder.CreateMul(J, Builder.getInt64(MatrixShape.getStride())), I); in storeMatrix()
1287 return UseFPOp ? Builder.CreateFMul(A, B) : Builder.CreateMul(A, B); in createMulAdd()
1303 Value *Mul = Builder.CreateMul(A, B); in createMulAdd()
1495 IsIntVec ? Builder.CreateMul(LHS, RHS) : Builder.CreateFMul(LHS, RHS); in lowerDotProduct()
2124 return Builder.CreateMul(LHS, RHS); in VisitBinaryOperator()
H A DDivRemPairs.cpp334 Instruction *Mul = BinaryOperator::CreateMul(DivInst, Y); in optimizeDivRem()
H A DSeparateConstOffsetFromGEP.cpp895 Builder.CreateMul(Idx, ConstantInt::get(PtrIndexTy, ElementSize)); in lowerToSingleIndexGEPs()
954 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize)); in lowerToArithmetics()
H A DStraightLineStrengthReduce.cpp608 return Builder.CreateMul(ExtendedStride, Delta); in emitBump()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandLargeFpConvert.cpp202 Value *Mul = Builder.CreateMul(Shr14, Sign); in expandFPToI()
211 Value *Mul16 = Builder.CreateMul(Shl, Sign); in expandFPToI()
H A DExpandVectorPredication.cpp443 Reduction = Builder.CreateMul(Reduction, Start); in expandPredicationInReduction()
673 MaxEVL = Builder.CreateMul(VScale, FactorConst, "scalable_size", in discardEVLParameter()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp1480 Value *Tmp0 = Builder.CreateMul(TCntY, TCntZ, "", true, true); in tryPromoteAllocaToLDS()
1481 Tmp0 = Builder.CreateMul(Tmp0, TIdX); in tryPromoteAllocaToLDS()
1482 Value *Tmp1 = Builder.CreateMul(TIdY, TCntZ, "", true, true); in tryPromoteAllocaToLDS()
H A DAMDGPUCodeGenPrepare.cpp1179 Value *MUL64 = Builder.CreateMul(LHS_EXT64, RHS_EXT64); in getMul64()
1304 Value *Rem = Builder.CreateMul(Div, Den); in expandDivRem24Impl()
1466 Value *NegYZ = Builder.CreateMul(NegY, Z); in expandDivRem32()
1471 Value *R = Builder.CreateSub(X, Builder.CreateMul(Q, Y)); in expandDivRem32()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILIntrinsicExpansion.cpp90 Value *Result = Builder.CreateMul(Elt0, Elt1); in expandIntegerDot()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DSystemZ.cpp349 CGF.Builder.CreateMul(RegCount, PaddedSizeV, "scaled_reg_count"); in EmitVAArg()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp1179 Value *Add = Builder.CreateAdd(Builder.CreateMul(X, XScale), in CheckAndCreateOffsetAdd()
1180 Builder.CreateMul(Y, YScale)); in CheckAndCreateOffsetAdd()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp85 Value *Product = Builder.CreateMul(Divisor, Quotient); in generatedUnsignedRemainderCode()

123