Searched refs:UserC (Results 1 – 3 of 3) 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()
178 Constant *UserC = cast<Constant>(U); in resolveConstantForwardRefs() local179 for (User::op_iterator I = UserC->op_begin(), E = UserC->op_end(); I != E; in resolveConstantForwardRefs()202 if (ConstantArray *UserCA = dyn_cast<ConstantArray>(UserC)) { in resolveConstantForwardRefs()204 } else if (ConstantStruct *UserCS = dyn_cast<ConstantStruct>(UserC)) { in resolveConstantForwardRefs()206 } else if (isa<ConstantVector>(UserC)) { in resolveConstantForwardRefs()209 assert(isa<ConstantExpr>(UserC) && "Must be a ConstantExpr."); in resolveConstantForwardRefs()210 NewC = cast<ConstantExpr>(UserC)->getWithOperands(NewOps); in resolveConstantForwardRefs()213 UserC->replaceAllUsesWith(NewC); in resolveConstantForwardRefs()214 UserC->destroyConstant(); in resolveConstantForwardRefs()
1044 Constant *UserC = cast<Constant>(U); in resolveConstantForwardRefs() local1045 for (User::op_iterator I = UserC->op_begin(), E = UserC->op_end(); in resolveConstantForwardRefs()1069 if (ConstantArray *UserCA = dyn_cast<ConstantArray>(UserC)) { in resolveConstantForwardRefs()1071 } else if (ConstantStruct *UserCS = dyn_cast<ConstantStruct>(UserC)) { in resolveConstantForwardRefs()1073 } else if (isa<ConstantVector>(UserC)) { in resolveConstantForwardRefs()1076 assert(isa<ConstantExpr>(UserC) && "Must be a ConstantExpr."); in resolveConstantForwardRefs()1077 NewC = cast<ConstantExpr>(UserC)->getWithOperands(NewOps); in resolveConstantForwardRefs()1080 UserC->replaceAllUsesWith(NewC); in resolveConstantForwardRefs()1081 UserC->destroyConstant(); in resolveConstantForwardRefs()