Searched refs:LHSC (Results 1 – 5 of 5) sorted by relevance
1782 ConstantInt *LHSC = dyn_cast<ConstantInt>(LHSI->getOperand(0)); in visitICmpInstWithInstAndIntCst() local1783 if (!LHSC) break; in visitICmpInstWithInstAndIntCst()1784 const APInt &LHSV = LHSC->getValue(); in visitICmpInstWithInstAndIntCst()1793 LHSC); in visitICmpInstWithInstAndIntCst()1801 Builder->CreateOr(LHSI->getOperand(1), RHSV), LHSC); in visitICmpInstWithInstAndIntCst()1808 ConstantInt *LHSC = dyn_cast<ConstantInt>(LHSI->getOperand(1)); in visitICmpInstWithInstAndIntCst() local1809 if (!LHSC) break; in visitICmpInstWithInstAndIntCst()1810 const APInt &LHSV = LHSC->getValue(); in visitICmpInstWithInstAndIntCst()1840 ConstantExpr::getNeg(LHSC)); in visitICmpInstWithInstAndIntCst()1849 ConstantExpr::getNeg(LHSC)); in visitICmpInstWithInstAndIntCst()[all …]
1132 if (ConstantFP *LHSC = dyn_cast<ConstantFP>(LHS->getOperand(1))) in FoldAndOfFCmps() local1136 if (LHSC->getValueAPF().isNaN() || RHSC->getValueAPF().isNaN()) in FoldAndOfFCmps()2117 if (ConstantFP *LHSC = dyn_cast<ConstantFP>(LHS->getOperand(1))) in FoldOrOfFCmps() local2121 if (LHSC->getValueAPF().isNaN() || RHSC->getValueAPF().isNaN()) in FoldOrOfFCmps()
2007 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(Ops[0])) { in getAddExpr() local2012 Ops[0] = getConstant(LHSC->getAPInt() + RHSC->getAPInt()); in getAddExpr()2015 LHSC = cast<SCEVConstant>(Ops[0]); in getAddExpr()2019 if (LHSC->getValue()->isZero()) { in getAddExpr()2416 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(Ops[0])) { in getMulExpr() local2425 return getAddExpr(getMulExpr(LHSC, Add->getOperand(0)), in getMulExpr()2426 getMulExpr(LHSC, Add->getOperand(1))); in getMulExpr()2432 ConstantInt::get(getContext(), LHSC->getAPInt() * RHSC->getAPInt()); in getMulExpr()2436 LHSC = cast<SCEVConstant>(Ops[0]); in getMulExpr()2732 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(LHS)) { in getUDivExpr() local[all …]
4786 const Type *LHSC = getCanonicalType(LHS).getTypePtr(); in getIntegerTypeOrder() local4790 if (const EnumType *ET = dyn_cast<EnumType>(LHSC)) in getIntegerTypeOrder()4791 LHSC = getIntegerTypeForEnum(ET); in getIntegerTypeOrder()4795 if (LHSC == RHSC) return 0; in getIntegerTypeOrder()4797 bool LHSUnsigned = LHSC->isUnsignedIntegerType(); in getIntegerTypeOrder()4800 unsigned LHSRank = getIntegerRank(LHSC); in getIntegerTypeOrder()
4154 if (ConstantFPSDNode *LHSC = dyn_cast<ConstantFPSDNode>(LHS)) { in expandPow() local4156 IsExp10 = LHSC->isExactlyValue(Ten); in expandPow()