Searched refs:FMulOrDiv (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.2-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp351 /// The input \p FMulOrDiv is a FMul/FDiv with one and only one operand
352 /// being a constant (i.e. isFMulOrFDivWithConstant(FMulOrDiv) == true).
353 /// This function is to simplify "FMulOrDiv * C" and returns the
357 Value *InstCombiner::foldFMulConst(Instruction *FMulOrDiv, ConstantFP *C, argument
359 assert(isFMulOrFDivWithConstant(FMulOrDiv) && "V is invalid");
361 Value *Opnd0 = FMulOrDiv->getOperand(0);
362 Value *Opnd1 = FMulOrDiv->getOperand(1);
370 if (FMulOrDiv->getOpcode() == Instruction::FMul) {
377 if (FMulOrDiv->hasOneUse()) {
H A DInstCombine.h119 Value *foldFMulConst(Instruction *FMulOrDiv, ConstantFP *C,

Completed in 98 milliseconds