Lines Matching defs:getConstant

92   Constant *getConstant() const {
109 assert(getConstant() == V && "Marking constant with different value");
121 if (V == getConstant()) return false;
135 return dyn_cast<ConstantInt>(getConstant());
360 markConstant(IV, V, MergeWithV.getConstant());
361 else if (IV.getConstant() != MergeWithV.getConstant())
690 OperandVal = IV.getConstant();
700 if (IV.getConstant() != OperandVal)
761 OpSt.getConstant(), I.getType()));
843 TVal.getConstant() == FVal.getConstant())
844 return markConstant(&I, FVal.getConstant());
863 ConstantExpr::get(I.getOpcode(), V1State.getConstant(),
864 V2State.getConstant()));
897 if (NonOverdefVal->getConstant()->isNullValue())
898 return markConstant(IV, &I, NonOverdefVal->getConstant());
902 return markConstant(IV, &I, NonOverdefVal->getConstant());
921 V1State.getConstant(),
922 V2State.getConstant()));
942 markConstant(&I, ConstantExpr::getExtractElement(ValState.getConstant(),
943 IdxState.getConstant()));
960 markConstant(&I, ConstantExpr::getInsertElement(ValState.getConstant(),
961 EltState.getConstant(),
962 IdxState.getConstant()));
966 EltState.getConstant(),
967 IdxState.getConstant()));
989 V1State.getConstant() : UndefValue::get(I.getType());
991 V2State.getConstant() : UndefValue::get(I.getType());
993 MaskState.getConstant() : UndefValue::get(I.getOperand(2)->getType());
1017 Operands.push_back(State.getConstant());
1060 Constant *Ptr = PtrVal.getConstant();
1115 Operands.push_back(State.getConstant());
1418 markForcedConstant(I, Op1LV.getConstant());
1616 ? IV.getConstant() : UndefValue::get(Inst->getType());
1779 IV.getConstant() : UndefValue::get(AI->getType());
1824 ? IV.getConstant() : UndefValue::get(Inst->getType());