Searched refs:MulC (Results 1 - 4 of 4) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp3076 if (Constant *MulC = dyn_cast<Constant>(Mul0)) {
3078 MulC->getType()->getPrimitiveSizeInBits())
3079 Op1C = ConstantExpr::getZExt(Op1C, MulC->getType());
3081 MulC->getType()->getPrimitiveSizeInBits())
3082 MulC = ConstantExpr::getZExt(MulC, Op1C->getType());
3085 Multiple = ConstantExpr::getMul(MulC, Op1C);
3100 if (Constant *MulC = dyn_cast<Constant>(Mul1)) {
3102 MulC->getType()->getPrimitiveSizeInBits())
3103 Op0C = ConstantExpr::getZExt(Op0C, MulC
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1966 const APInt *MulC; local
1967 if (!match(Mul->getOperand(1), m_APInt(MulC)))
1974 if (MulC->isNegative())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp3621 APInt MulC = ConstValue1.abs(); local
3622 if ((MulC - 1).isPowerOf2())
3624 else if ((MulC + 1).isPowerOf2())
3629 MathOp == ISD::ADD ? (MulC - 1).logBase2() : (MulC + 1).logBase2();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp5165 APInt MulC;
5166 if (!ISD::isConstantSplatVector(C.getNode(), MulC))
5186 return (MulC + 1).isPowerOf2() || (MulC - 1).isPowerOf2() ||
5187 (1 - MulC).isPowerOf2() || (-(MulC + 1)).isPowerOf2();
[all...]

Completed in 305 milliseconds