Home
last modified time | relevance | path

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

/external/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()
/external/llvm-project/llvm/lib/Bitcode/Reader/
DValueList.cpp178 Constant *UserC = cast<Constant>(U); in resolveConstantForwardRefs() local
179 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()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1044 Constant *UserC = cast<Constant>(U); in resolveConstantForwardRefs() local
1045 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()