Lines Matching refs:UndefValue
180 auto *AggrUndef = dyn_cast<UndefValue>(Op); in preprocessUndefs()
418 if (isa<UndefValue>(Op)) in visitInsertValueInst()
419 Args.push_back(UndefValue::get(IRB->getInt32Ty())); in visitInsertValueInst()
511 if (GV.hasInitializer() && !isa<UndefValue>(GV.getInitializer())) { in processGlobalValue()
519 if ((!GV.hasInitializer() || isa<UndefValue>(GV.getInitializer())) && in processGlobalValue()
533 EltTyConst = UndefValue::get(AI->getAllocatedType()); in insertAssignPtrTypeIntrs()
536 EltTyConst = UndefValue::get(GEP->getResultElementType()); in insertAssignPtrTypeIntrs()
559 Constant *Const = UndefValue::get(TypeToAssign); in insertAssignTypeIntrs()
563 if (isa<ConstantPointerNull>(Op) || isa<UndefValue>(Op) || in insertAssignTypeIntrs()
567 if (isa<UndefValue>(Op) && Op->getType()->isAggregateType()) in insertAssignTypeIntrs()
569 UndefValue::get(IRB->getInt32Ty()), {}); in insertAssignTypeIntrs()