Lines Matching refs:Shift
2378 uint64_t Shift = Layout->getElementOffsetInBits(i); in RewriteStoreUserOfWholeAlloca() local
2381 Shift = AllocaSizeBits - Shift - DL.getTypeAllocSizeInBits(FieldTy); in RewriteStoreUserOfWholeAlloca()
2384 if (Shift) { in RewriteStoreUserOfWholeAlloca()
2385 Value *ShiftVal = ConstantInt::get(EltVal->getType(), Shift); in RewriteStoreUserOfWholeAlloca()
2418 uint64_t Shift; in RewriteStoreUserOfWholeAlloca() local
2421 Shift = AllocaSizeBits-ElementOffset; in RewriteStoreUserOfWholeAlloca()
2423 Shift = 0; in RewriteStoreUserOfWholeAlloca()
2430 if (Shift) { in RewriteStoreUserOfWholeAlloca()
2431 Value *ShiftVal = ConstantInt::get(EltVal->getType(), Shift); in RewriteStoreUserOfWholeAlloca()
2455 Shift -= ElementOffset; in RewriteStoreUserOfWholeAlloca()
2457 Shift += ElementOffset; in RewriteStoreUserOfWholeAlloca()
2523 uint64_t Shift; in RewriteLoadUserOfWholeAlloca() local
2525 Shift = Layout->getElementOffsetInBits(i); in RewriteLoadUserOfWholeAlloca()
2527 Shift = i*ArrayEltBitOffset; in RewriteLoadUserOfWholeAlloca()
2530 Shift = AllocaSizeBits-Shift-FieldIntTy->getBitWidth(); in RewriteLoadUserOfWholeAlloca()
2532 if (Shift) { in RewriteLoadUserOfWholeAlloca()
2533 Value *ShiftVal = ConstantInt::get(SrcField->getType(), Shift); in RewriteLoadUserOfWholeAlloca()