Lines Matching refs:getKnownConstant
539 static Constant *getKnownConstant(Value *Val, ConstantPreference Preference) { in getKnownConstant() function
573 if (Constant *KC = getKnownConstant(V, Preference)) { in computeValueKnownInPredecessorsImpl()
601 if (Constant *KC = getKnownConstant(PredCst, Preference)) in computeValueKnownInPredecessorsImpl()
612 if (Constant *KC = getKnownConstant(InVal, Preference)) { in computeValueKnownInPredecessorsImpl()
618 if (Constant *KC = getKnownConstant(CI, Preference)) in computeValueKnownInPredecessorsImpl()
733 if (Constant *KC = getKnownConstant(Folded, WantInteger)) in computeValueKnownInPredecessorsImpl()
784 if (Constant *KC = getKnownConstant(Res, WantInteger)) in computeValueKnownInPredecessorsImpl()
803 if (Constant *KC = getKnownConstant(Res, WantInteger)) in computeValueKnownInPredecessorsImpl()
861 if (Constant *KC = getKnownConstant(Folded, WantInteger)) in computeValueKnownInPredecessorsImpl()
872 Constant *TrueVal = getKnownConstant(SI->getTrueValue(), Preference); in computeValueKnownInPredecessorsImpl()
873 Constant *FalseVal = getKnownConstant(SI->getFalseValue(), Preference); in computeValueKnownInPredecessorsImpl()
906 if (Constant *KC = getKnownConstant(CI, Preference)) { in computeValueKnownInPredecessorsImpl()
1042 if (getKnownConstant(Condition, Preference)) { in processBlock()