Lines Matching refs:isConstant
91 bool isConstant() const { in isConstant() function in __anon8a523c670111::LatticeVal
97 assert(isConstant() && "Cannot get the constant of a non-constant!"); in getConstant()
138 if (isConstant()) in getConstantInt()
775 else if (OpSt.isConstant()) { in visitCastInst()
864 if (TVal.isConstant() && FVal.isConstant() && in visitSelectInst()
883 if (V1State.isConstant() && V2State.isConstant()) { in visitBinaryOperator()
945 if (V1State.isConstant() && V2State.isConstant()) { in visitCmpInst()
992 assert(State.isConstant() && "Unknown state!"); in visitGetElementPtrInst()
1037 if (!PtrVal.isConstant() || I.isVolatile()) in visitLoadInst()
1097 assert(State.isConstant() && "Unknown state!"); in visitCallSite()
1369 if (Op1LV.isConstant() && Op1LV.getConstant()->isZeroValue()) in ResolvedUndefsIn()
1382 if (Op1LV.isConstant()) { in ResolvedUndefsIn()
1399 if (Op1LV.isConstant()) { in ResolvedUndefsIn()
1414 if (!Op1LV.isConstant()) // Pick the constant one if there is any. in ResolvedUndefsIn()
1426 if (Op1LV.isConstant()) in ResolvedUndefsIn()
1524 ConstVals.push_back(V.isConstant() in tryToReplaceWithConstant()
1533 Const = IV.isConstant() ? IV.getConstant() : UndefValue::get(V->getType()); in tryToReplaceWithConstant()
1740 if (!G.isConstant() && G.hasLocalLinkage() && !AddressIsTaken(&G)) in runIPSCCP()