Lines Matching refs:EltVal
2359 Value *EltVal = SrcVal; in RewriteStoreUserOfWholeAlloca() local
2361 Value *ShiftVal = ConstantInt::get(EltVal->getType(), Shift); in RewriteStoreUserOfWholeAlloca()
2362 EltVal = Builder.CreateLShr(EltVal, ShiftVal, "sroa.store.elt"); in RewriteStoreUserOfWholeAlloca()
2372 EltVal = Builder.CreateTrunc(EltVal, in RewriteStoreUserOfWholeAlloca()
2375 if (EltVal->getType() == FieldTy) { in RewriteStoreUserOfWholeAlloca()
2379 EltVal = Builder.CreateBitCast(EltVal, FieldTy); in RewriteStoreUserOfWholeAlloca()
2383 PointerType::getUnqual(EltVal->getType())); in RewriteStoreUserOfWholeAlloca()
2385 new StoreInst(EltVal, DestField, SI); in RewriteStoreUserOfWholeAlloca()
2405 Value *EltVal = SrcVal; in RewriteStoreUserOfWholeAlloca() local
2407 Value *ShiftVal = ConstantInt::get(EltVal->getType(), Shift); in RewriteStoreUserOfWholeAlloca()
2408 EltVal = Builder.CreateLShr(EltVal, ShiftVal, "sroa.store.elt"); in RewriteStoreUserOfWholeAlloca()
2413 EltVal = Builder.CreateTrunc(EltVal, in RewriteStoreUserOfWholeAlloca()
2417 if (EltVal->getType() == ArrayEltTy) { in RewriteStoreUserOfWholeAlloca()
2422 EltVal = Builder.CreateBitCast(EltVal, ArrayEltTy); in RewriteStoreUserOfWholeAlloca()
2426 PointerType::getUnqual(EltVal->getType())); in RewriteStoreUserOfWholeAlloca()
2428 new StoreInst(EltVal, DestField, SI); in RewriteStoreUserOfWholeAlloca()