Home
last modified time | relevance | path

Searched refs:UserC (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DValueList.cpp181 Constant *UserC = cast<Constant>(U); in resolveConstantForwardRefs() local
182 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()