Home | History | Annotate | Download | only in Scalar

Lines Matching defs:getConstant

93   Constant *getConstant() const {
110 assert(getConstant() == V && "Marking constant with different value");
122 if (V == getConstant()) return false;
136 return dyn_cast<ConstantInt>(getConstant());
354 markConstant(IV, V, MergeWithV.getConstant());
355 else if (IV.getConstant() != MergeWithV.getConstant())
685 OperandVal = IV.getConstant();
695 if (IV.getConstant() != OperandVal)
753 OpSt.getConstant(), I.getType()));
835 TVal.getConstant() == FVal.getConstant())
836 return markConstant(&I, FVal.getConstant());
855 ConstantExpr::get(I.getOpcode(), V1State.getConstant(),
856 V2State.getConstant()));
889 if (NonOverdefVal->getConstant()->isNullValue())
890 return markConstant(IV, &I, NonOverdefVal->getConstant());
894 return markConstant(IV, &I, NonOverdefVal->getConstant());
913 V1State.getConstant(),
914 V2State.getConstant()));
934 markConstant(&I, ConstantExpr::getExtractElement(ValState.getConstant(),
935 IdxState.getConstant()));
952 markConstant(&I, ConstantExpr::getInsertElement(ValState.getConstant(),
953 EltState.getConstant(),
954 IdxState.getConstant()));
958 EltState.getConstant(),
959 IdxState.getConstant()));
981 V1State.getConstant() : UndefValue::get(I.getType());
983 V2State.getConstant() : UndefValue::get(I.getType());
985 MaskState.getConstant() : UndefValue::get(I.getOperand(2)->getType());
1009 Operands.push_back(State.getConstant());
1052 Constant *Ptr = PtrVal.getConstant();
1107 Operands.push_back(State.getConstant());
1408 markForcedConstant(I, Op1LV.getConstant());
1610 ? IV.getConstant() : UndefValue::get(Inst->getType());
1773 IV.getConstant() : UndefValue::get(AI->getType());
1818 ? IV.getConstant() : UndefValue::get(Inst->getType());