Home | History | Annotate | Download | only in IPO

Lines Matching refs:NewTy

2417           Type *NewTy = cast<PointerType>(Ptr->getType())->getElementType();
2420 // from NewTy to Val's type must be legal. If it's not, we can try
2421 // introspecting NewTy to find a legal conversion.
2422 while (!Val->getType()->canLosslesslyBitCastTo(NewTy)) {
2423 // If NewTy is a struct, we can convert the pointer to the struct
2426 if (StructType *STy = dyn_cast<StructType>(NewTy)) {
2427 NewTy
2429 IntegerType *IdxTy = IntegerType::get(NewTy->getContext(), 32);
2437 // If we can't improve the situation by introspecting NewTy,
2446 Val = ConstantExpr::getBitCast(Val, NewTy);