Lines Matching refs:EltVal
2384 Value *EltVal = SrcVal; in RewriteStoreUserOfWholeAlloca() local
2386 Value *ShiftVal = ConstantInt::get(EltVal->getType(), Shift); in RewriteStoreUserOfWholeAlloca()
2387 EltVal = Builder.CreateLShr(EltVal, ShiftVal, "sroa.store.elt"); in RewriteStoreUserOfWholeAlloca()
2397 EltVal = Builder.CreateTrunc(EltVal, in RewriteStoreUserOfWholeAlloca()
2400 if (EltVal->getType() == FieldTy) { in RewriteStoreUserOfWholeAlloca()
2404 EltVal = Builder.CreateBitCast(EltVal, FieldTy); in RewriteStoreUserOfWholeAlloca()
2408 PointerType::getUnqual(EltVal->getType())); in RewriteStoreUserOfWholeAlloca()
2410 new StoreInst(EltVal, DestField, SI); in RewriteStoreUserOfWholeAlloca()
2430 Value *EltVal = SrcVal; in RewriteStoreUserOfWholeAlloca() local
2432 Value *ShiftVal = ConstantInt::get(EltVal->getType(), Shift); in RewriteStoreUserOfWholeAlloca()
2433 EltVal = Builder.CreateLShr(EltVal, ShiftVal, "sroa.store.elt"); in RewriteStoreUserOfWholeAlloca()
2438 EltVal = Builder.CreateTrunc(EltVal, in RewriteStoreUserOfWholeAlloca()
2442 if (EltVal->getType() == ArrayEltTy) { in RewriteStoreUserOfWholeAlloca()
2447 EltVal = Builder.CreateBitCast(EltVal, ArrayEltTy); in RewriteStoreUserOfWholeAlloca()
2451 PointerType::getUnqual(EltVal->getType())); in RewriteStoreUserOfWholeAlloca()
2453 new StoreInst(EltVal, DestField, SI); in RewriteStoreUserOfWholeAlloca()