Home | History | Annotate | Download | only in Scalar

Lines Matching refs:isConstant

89   bool isConstant() const {
95 assert(isConstant() && "Cannot get the constant of a non-constant!");
136 if (isConstant())
654 // 3. If V <- x (op) y && isConstant(x) && isConstant(y) V = Constant
760 else if (OpSt.isConstant()) // Propagate constant value
843 if (TVal.isConstant() && FVal.isConstant() &&
862 if (V1State.isConstant() && V2State.isConstant())
920 if (V1State.isConstant() && V2State.isConstant())
942 else if(ValState.isConstant() && IdxState.isConstant())
959 else if(ValState.isConstant() && EltState.isConstant() &&
960 IdxState.isConstant())
964 else if (ValState.isUndefined() && EltState.isConstant() &&
965 IdxState.isConstant())
989 Constant *V1 = V1State.isConstant() ?
991 Constant *V2 = V2State.isConstant() ?
993 Constant *Mask = MaskState.isConstant() ?
1017 assert(State.isConstant() && "Unknown state!");
1059 if (!PtrVal.isConstant() || I.isVolatile())
1116 assert(State.isConstant() && "Unknown state!");
1408 if (!Op1LV.isConstant()) // Pick the constant one if there is any.
1420 if (Op1LV.isConstant())
1622 Constant *Const = IV.isConstant()
1750 if (!G.isConstant() && G.hasLocalLinkage() && !AddressIsTaken(&G))
1786 Constant *CST = IV.isConstant() ?
1829 Constant *Const = IV.isConstant()