Lines Matching refs:markConstant

106   /// markConstant - Return true if this is a change in status.
107 bool markConstant(Constant *V) {
231 IV.markConstant(GV->getInitializer());
302 // markConstant - Make a value be marked as "constant". If the value
306 void markConstant(LatticeVal &IV, Value *V, Constant *C) {
307 if (!IV.markConstant(C)) return;
308 DEBUG(dbgs() << "markConstant: " << *C << ": " << *V << '\n');
315 void markConstant(Value *V, Constant *C) {
317 markConstant(ValueState[V], V, C);
353 markConstant(IV, V, MergeWithV.getConstant());
380 LV.markConstant(C); // Constants are constant
411 LV.markConstant(Elt); // Constants are constant.
703 markConstant(&PN, OperandVal); // Acquire operand value
750 markConstant(&I, ConstantExpr::getCast(I.getOpcode(),
834 return markConstant(&I, FVal.getConstant());
852 return markConstant(IV, &I,
876 markConstant(IV, &I, Constant::getNullValue(I.getType()));
878 markConstant(IV, &I, Constant::getAllOnesValue(PT));
880 markConstant(IV, &I,
888 return markConstant(IV, &I, NonOverdefVal->getConstant());
892 return markConstant(IV, &I, NonOverdefVal->getConstant());
910 return markConstant(IV, &I, ConstantExpr::getCompare(I.getPredicate(),
932 markConstant(&I, ConstantExpr::getExtractElement(ValState.getConstant(),
950 markConstant(&I, ConstantExpr::getInsertElement(ValState.getConstant(),
955 markConstant(&I,ConstantExpr::getInsertElement(UndefValue::get(I.getType()),
984 markConstant(&I, ConstantExpr::getShuffleVector(V1, V2, Mask));
1012 markConstant(&I, ConstantExpr::getGetElementPtr(Ptr, Indices));
1054 return markConstant(IV, &I, Constant::getNullValue(I.getType()));
1071 return markConstant(IV, &I, C);
1111 return markConstant(I, C);