Lines Matching refs:ConstantExpr
69 ConstantExpr *CE = cast<ConstantExpr>(C); in isSimpleEnoughValueToCommitHelper()
126 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(C)) { in isSimpleEnoughPointerToCommit()
178 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(P)) in ComputeLoadResult()
206 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(Ptr)) { in EvaluateBlock()
227 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(Ptr)) { in EvaluateBlock()
251 Ptr = ConstantExpr::getGetElementPtr(nullptr, Ptr, IdxList); in EvaluateBlock()
252 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(Ptr)) in EvaluateBlock()
266 Val = ConstantExpr::getBitCast(Val, NewTy); in EvaluateBlock()
274 InstResult = ConstantExpr::get(BO->getOpcode(), in EvaluateBlock()
280 InstResult = ConstantExpr::getCompare(CI->getPredicate(), in EvaluateBlock()
286 InstResult = ConstantExpr::getCast(CI->getOpcode(), in EvaluateBlock()
292 InstResult = ConstantExpr::getSelect(getVal(SI->getOperand(0)), in EvaluateBlock()
298 InstResult = ConstantExpr::getExtractValue( in EvaluateBlock()
303 InstResult = ConstantExpr::getInsertValue( in EvaluateBlock()
315 ConstantExpr::getGetElementPtr(GEP->getSourceElementType(), P, GEPOps, in EvaluateBlock()
327 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(Ptr)) { in EvaluateBlock()
515 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(InstResult)) in EvaluateBlock()