Searched refs:UserC (Results 1 – 1 of 1) sorted by relevance
181 Constant *UserC = cast<Constant>(U); in resolveConstantForwardRefs() local182 for (User::op_iterator I = UserC->op_begin(), E = UserC->op_end(); I != E; in resolveConstantForwardRefs()205 if (ConstantArray *UserCA = dyn_cast<ConstantArray>(UserC)) { in resolveConstantForwardRefs()207 } else if (ConstantStruct *UserCS = dyn_cast<ConstantStruct>(UserC)) { in resolveConstantForwardRefs()209 } else if (isa<ConstantVector>(UserC)) { in resolveConstantForwardRefs()212 assert(isa<ConstantExpr>(UserC) && "Must be a ConstantExpr."); in resolveConstantForwardRefs()213 NewC = cast<ConstantExpr>(UserC)->getWithOperands(NewOps); in resolveConstantForwardRefs()216 UserC->replaceAllUsesWith(NewC); in resolveConstantForwardRefs()217 UserC->destroyConstant(); in resolveConstantForwardRefs()