Home | History | Annotate | Download | only in IPO

Lines Matching refs:NewTy

571     Type *NewTy = NewGlobals[Val]->getValueType();
581 ConstantExpr::getGetElementPtr(NewTy, cast<Constant>(NewPtr), Idxs);
589 NewTy, NewPtr, Idxs, GEPI->getName() + "." + Twine(Val), GEPI);
2460 Type *NewTy = cast<PointerType>(Ptr->getType())->getElementType();
2463 // from NewTy to Val's type must be legal. If it's not, we can try
2464 // introspecting NewTy to find a legal conversion.
2465 while (!Val->getType()->canLosslesslyBitCastTo(NewTy)) {
2466 NewTy is a struct, we can convert the pointer to the struct
2469 if (StructType *STy = dyn_cast<StructType>(NewTy)) {
2470 NewTy = STy->getTypeAtIndex(0U);
2472 IntegerType *IdxTy = IntegerType::get(NewTy->getContext(), 32);
2480 // If we can't improve the situation by introspecting NewTy,
2491 Val = ConstantExpr::getBitCast(Val, NewTy);