Lines Matching refs:getKnownConstant
369 static Constant *getKnownConstant(Value *Val, ConstantPreference Preference) { in getKnownConstant() function
406 if (Constant *KC = getKnownConstant(V, Preference)) { in ComputeValueKnownInPredecessors()
436 if (Constant *KC = getKnownConstant(PredCst, Preference)) in ComputeValueKnownInPredecessors()
447 if (Constant *KC = getKnownConstant(InVal, Preference)) { in ComputeValueKnownInPredecessors()
453 if (Constant *KC = getKnownConstant(CI, Preference)) in ComputeValueKnownInPredecessors()
539 if (Constant *KC = getKnownConstant(Folded, WantInteger)) in ComputeValueKnownInPredecessors()
574 if (Constant *KC = getKnownConstant(Res, WantInteger)) in ComputeValueKnownInPredecessors()
616 if (Constant *KC = getKnownConstant(Folded, WantInteger)) in ComputeValueKnownInPredecessors()
628 Constant *TrueVal = getKnownConstant(SI->getTrueValue(), Preference); in ComputeValueKnownInPredecessors()
629 Constant *FalseVal = getKnownConstant(SI->getFalseValue(), Preference); in ComputeValueKnownInPredecessors()
661 if (Constant *KC = getKnownConstant(CI, Preference)) { in ComputeValueKnownInPredecessors()
789 if (getKnownConstant(Condition, Preference)) { in ProcessBlock()