Searched refs:UserC (Results 1 – 1 of 1) sorted by relevance
830 Constant *UserC = cast<Constant>(U); in ResolveConstantForwardRefs() local831 for (User::op_iterator I = UserC->op_begin(), E = UserC->op_end(); in ResolveConstantForwardRefs()855 if (ConstantArray *UserCA = dyn_cast<ConstantArray>(UserC)) { in ResolveConstantForwardRefs()857 } else if (ConstantStruct *UserCS = dyn_cast<ConstantStruct>(UserC)) { in ResolveConstantForwardRefs()859 } else if (isa<ConstantVector>(UserC)) { in ResolveConstantForwardRefs()862 assert(isa<ConstantExpr>(UserC) && "Must be a ConstantExpr."); in ResolveConstantForwardRefs()863 NewC = cast<ConstantExpr>(UserC)->getWithOperands(NewOps); in ResolveConstantForwardRefs()866 UserC->replaceAllUsesWith(NewC); in ResolveConstantForwardRefs()867 UserC->destroyConstant(); in ResolveConstantForwardRefs()