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

/freebsd-11.0-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp480 /// The input \p FMulOrDiv is a FMul/FDiv with one and only one operand
481 /// being a constant (i.e. isFMulOrFDivWithConstant(FMulOrDiv) == true).
482 /// This function is to simplify "FMulOrDiv * C" and returns the
486 Value *InstCombiner::foldFMulConst(Instruction *FMulOrDiv, Constant *C, argument
488 assert(isFMulOrFDivWithConstant(FMulOrDiv) && "V is invalid");
490 Value *Opnd0 = FMulOrDiv->getOperand(0);
491 Value *Opnd1 = FMulOrDiv->getOperand(1);
499 if (FMulOrDiv->getOpcode() == Instruction::FMul) {
506 if (FMulOrDiv->hasOneUse()) {
H A DInstCombineInternal.h232 Value *foldFMulConst(Instruction *FMulOrDiv, Constant *C,

Completed in 78 milliseconds