Lines Matching refs:getKnownConstant
612 static Constant *getKnownConstant(Value *Val, ConstantPreference Preference) { in getKnownConstant() function
644 if (Constant *KC = getKnownConstant(V, Preference)) { in computeValueKnownInPredecessorsImpl()
672 if (Constant *KC = getKnownConstant(PredCst, Preference)) in computeValueKnownInPredecessorsImpl()
683 if (Constant *KC = getKnownConstant(InVal, Preference)) { in computeValueKnownInPredecessorsImpl()
689 if (Constant *KC = getKnownConstant(CI, Preference)) in computeValueKnownInPredecessorsImpl()
802 if (Constant *KC = getKnownConstant(Folded, WantInteger)) in computeValueKnownInPredecessorsImpl()
855 if (Constant *KC = getKnownConstant(Res, WantInteger)) in computeValueKnownInPredecessorsImpl()
935 if (Constant *KC = getKnownConstant(Folded, WantInteger)) in computeValueKnownInPredecessorsImpl()
946 Constant *TrueVal = getKnownConstant(SI->getTrueValue(), Preference); in computeValueKnownInPredecessorsImpl()
947 Constant *FalseVal = getKnownConstant(SI->getFalseValue(), Preference); in computeValueKnownInPredecessorsImpl()
980 if (Constant *KC = getKnownConstant(CI, Preference)) { in computeValueKnownInPredecessorsImpl()
1115 if (getKnownConstant(Condition, Preference)) { in processBlock()