reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Analysis/Utils/Local.h
   85       Op = Builder->CreateMul(Op, ConstantInt::get(IntPtrTy, Size),
include/llvm/IR/IRBuilder.h
 1177     return CreateMul(LHS, RHS, Name, false, true);
 1181     return CreateMul(LHS, RHS, Name, true, false);
lib/Analysis/MemoryBuiltins.cpp
  925   Size = Builder.CreateMul(Size, ArraySize);
  947   Value *Size = Builder.CreateMul(FirstArg, SecondArg);
lib/Analysis/ScalarEvolutionExpander.cpp
 1460     Result = Builder.CreateMul(Result,
lib/CodeGen/CodeGenPrepare.cpp
 4874           V = Builder.CreateMul(V, ConstantInt::get(IntPtrTy, AddrMode.Scale),
 4970         V = Builder.CreateMul(V, ConstantInt::get(IntPtrTy, AddrMode.Scale),
lib/CodeGen/SafeStack.cpp
  653     Value *Size = IRB.CreateMul(ArraySize, ConstantInt::get(IntPtrTy, TySize));
lib/IR/AutoUpgrade.cpp
 1300   Value *Res = Builder.CreateMul(LHS, RHS);
 2726       Rep = Builder.CreateMul(CI->getArgOperand(0), CI->getArgOperand(1));
lib/IR/Core.cpp
 3301   return wrap(unwrap(B)->CreateMul(unwrap(LHS), unwrap(RHS), Name));
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
  526       NewV = B.CreateMul(V, Ctpop);
  546       NewV = B.CreateMul(V, B.CreateAnd(Ctpop, 1));
  625         LaneOffset = B.CreateMul(V, Mbcnt);
  636         LaneOffset = B.CreateMul(V, B.CreateAnd(Mbcnt, 1));
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  622   Value *MUL64 = Builder.CreateMul(LHS_EXT64, RHS_EXT64);
  723     Value *Rem = Builder.CreateMul(Div, Den);
  830   Value *Num_S_Remainder = Builder.CreateMul(Quotient, Den);
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  813   Value *Tmp0 = Builder.CreateMul(TCntY, TCntZ, "", true, true);
  814   Tmp0 = Builder.CreateMul(Tmp0, TIdX);
  815   Value *Tmp1 = Builder.CreateMul(TIdY, TCntZ, "", true, true);
lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1929       return BinaryOperator::CreateAdd(Op0, Builder.CreateMul(A, B));
 1935       Value *NewMul = Builder.CreateMul(A, ConstantExpr::getNeg(C));
lib/Transforms/InstCombine/InstCombineCasts.cpp
  133     Amt = AllocaBuilder.CreateMul(Amt, NumElements);
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  269       Value *Mul = Builder.CreateMul(C1, Op1);
  273         return BinaryOperator::CreateAdd(Builder.CreateMul(X, Op1), Mul);
  296     return BinaryOperator::CreateNeg(Builder.CreateMul(X, Y));
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 3277       IRB.CreateMul(IRB.CreateIntCast(AI->getArraySize(), IntptrTy, false),
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
 1075       IRB.CreateMul(
 1494   Value *LenShadow = IRB.CreateMul(
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 2166               IRB.CreateMul(getShadow(OtherArg), ShadowMul, "msprop_mul_cst"));
 3489       Len = IRB.CreateMul(Len, I.getArraySize());
lib/Transforms/Scalar/NaryReassociate.cpp
  426     RHS = Builder.CreateMul(
lib/Transforms/Scalar/Reassociate.cpp
 1731       LHS = Builder.CreateMul(LHS, Ops.pop_back_val());
lib/Transforms/Scalar/SROA.cpp
 2738     V = IRB.CreateMul(
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  850           Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize));
  911           Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize));
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
  618   return Builder.CreateMul(ExtendedStride, Delta);
lib/Transforms/Utils/IntegerDivision.cpp
   89   Value *Product   = Builder.CreateMul(Divisor, Quotient);
lib/Transforms/Utils/SimplifyCFG.cpp
 5101       Result = Builder.CreateMul(Result, LinearMultiplier, "switch.idx.mult");
 5116     ShiftAmt = Builder.CreateMul(
lib/Transforms/Vectorize/LoopVectorize.cpp
 1916     Step = Builder.CreateMul(Cv, Step);
 2830     return B.CreateMul(X, Y);
 6577   return Builder.CreateAdd(Val, Builder.CreateMul(C, Step), "induction");
tools/clang/lib/CodeGen/CGAtomic.cpp
  836       Val1Scalar = Builder.CreateMul(Val1Scalar, CGM.getSize(PointeeIncAmt));
tools/clang/lib/CodeGen/CGBuiltin.cpp
 9952   return CGF.Builder.CreateMul(LHS, RHS);
12176     return Builder.CreateMul(LHS, RHS, "", !isSigned, isSigned);
tools/clang/lib/CodeGen/CGExpr.cpp
  626   llvm::Value *A0 = Builder.CreateMul(Builder.CreateXor(Low, High), KMul);
  628   llvm::Value *B0 = Builder.CreateMul(Builder.CreateXor(High, A1), KMul);
  630   return Builder.CreateMul(B1, KMul);
  717       Size = Builder.CreateMul(Size, ArraySize);
 3524       Idx = Builder.CreateMul(Idx, numElements);
 3544     llvm::Value *ScaledIdx = Builder.CreateMul(Idx, InterfaceSizeVal);
 3759       Idx = Builder.CreateMul(Idx, NumElements);
tools/clang/lib/CodeGen/CGExprCXX.cpp
  890           numElements = CGF.Builder.CreateMul(numElements, asmV);
 1788       Size = Builder.CreateMul(Size, NumElements);
tools/clang/lib/CodeGen/CGExprComplex.cpp
  765     Value *ResRl = Builder.CreateMul(Op.LHS.first, Op.RHS.first, "mul.rl");
  766     Value *ResRr = Builder.CreateMul(Op.LHS.second, Op.RHS.second, "mul.rr");
  769     Value *ResIl = Builder.CreateMul(Op.LHS.second, Op.RHS.first, "mul.il");
  770     Value *ResIr = Builder.CreateMul(Op.LHS.first, Op.RHS.second, "mul.ir");
  842     llvm::Value *Tmp1 = Builder.CreateMul(LHSr, RHSr); // a*c
  843     llvm::Value *Tmp2 = Builder.CreateMul(LHSi, RHSi); // b*d
  846     llvm::Value *Tmp4 = Builder.CreateMul(RHSr, RHSr); // c*c
  847     llvm::Value *Tmp5 = Builder.CreateMul(RHSi, RHSi); // d*d
  850     llvm::Value *Tmp7 = Builder.CreateMul(LHSi, RHSr); // b*c
  851     llvm::Value *Tmp8 = Builder.CreateMul(LHSr, RHSi); // a*d
tools/clang/lib/CodeGen/CGExprScalar.cpp
  716         return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul");
  737     return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul");
 2668       Offset = Builder.CreateMul(Idx, ElemSize);
 3228     index = CGF.Builder.CreateMul(index, objectSize);
 3246       index = CGF.Builder.CreateMul(index, numElements, "vla.index");
tools/clang/lib/CodeGen/TargetInfo.cpp
 4267       Builder.CreateMul(NumRegs, Builder.getInt8(RegSize.getQuantity()));
 6773     CGF.Builder.CreateMul(RegCount, PaddedSizeV, "scaled_reg_count");
unittests/IR/BasicBlockTest.cpp
  116   Instruction *MulInst = cast<Instruction>(Builder1.CreateMul(AddInst, V));
unittests/IR/PatternMatch.cpp
  832   EXPECT_FALSE(m_NSWMul(m_Value(), m_Value()).match(IRB.CreateMul(L, R)));
  846   EXPECT_FALSE(m_NUWMul(m_Value(), m_Value()).match(IRB.CreateMul(L, R)));
unittests/Transforms/Utils/CloningTest.cpp
  225   Instruction *MulInst = cast<Instruction>(Builder2.CreateMul(AddInst, V));
  274   Instruction *MulInst = cast<Instruction>(Builder2.CreateMul(AddInst, V));
  327   Instruction *MulInst = cast<Instruction>(Builder2.CreateMul(AddInst, V));