Lines Matching refs:isConstant
87 bool isConstant() const {
93 assert(isConstant() && "Cannot get the constant of a non-constant!");
134 if (isConstant())
650 // 3. If V <- x (op) y && isConstant(x) && isConstant(y) V = Constant
759 else if (OpSt.isConstant()) // Propagate constant value
842 if (TVal.isConstant() && FVal.isConstant() &&
861 if (V1State.isConstant() && V2State.isConstant())
919 if (V1State.isConstant() && V2State.isConstant())
941 else if(ValState.isConstant() && IdxState.isConstant())
958 else if(ValState.isConstant() && EltState.isConstant() &&
959 IdxState.isConstant())
963 else if (ValState.isUndefined() && EltState.isConstant() &&
964 IdxState.isConstant())
988 Constant *V1 = V1State.isConstant() ?
990 Constant *V2 = V2State.isConstant() ?
992 Constant *Mask = MaskState.isConstant() ?
1016 assert(State.isConstant() && "Unknown state!");
1057 if (!PtrVal.isConstant() || I.isVolatile())
1114 assert(State.isConstant() && "Unknown state!");
1405 if (!Op1LV.isConstant()) // Pick the constant one if there is any.
1417 if (Op1LV.isConstant())
1615 Constant *Const = IV.isConstant()
1745 if (!G->isConstant() && G->hasLocalLinkage() && !AddressIsTaken(G))
1778 Constant *CST = IV.isConstant() ?
1823 Constant *Const = IV.isConstant()