Lines Matching refs:Shift
2379 uint64_t Shift = Layout->getElementOffsetInBits(i); in RewriteStoreUserOfWholeAlloca() local
2382 Shift = AllocaSizeBits - Shift - DL.getTypeAllocSizeInBits(FieldTy); in RewriteStoreUserOfWholeAlloca()
2385 if (Shift) { in RewriteStoreUserOfWholeAlloca()
2386 Value *ShiftVal = ConstantInt::get(EltVal->getType(), Shift); in RewriteStoreUserOfWholeAlloca()
2419 uint64_t Shift; in RewriteStoreUserOfWholeAlloca() local
2422 Shift = AllocaSizeBits-ElementOffset; in RewriteStoreUserOfWholeAlloca()
2424 Shift = 0; in RewriteStoreUserOfWholeAlloca()
2431 if (Shift) { in RewriteStoreUserOfWholeAlloca()
2432 Value *ShiftVal = ConstantInt::get(EltVal->getType(), Shift); in RewriteStoreUserOfWholeAlloca()
2456 Shift -= ElementOffset; in RewriteStoreUserOfWholeAlloca()
2458 Shift += ElementOffset; in RewriteStoreUserOfWholeAlloca()
2524 uint64_t Shift; in RewriteLoadUserOfWholeAlloca() local
2526 Shift = Layout->getElementOffsetInBits(i); in RewriteLoadUserOfWholeAlloca()
2528 Shift = i*ArrayEltBitOffset; in RewriteLoadUserOfWholeAlloca()
2531 Shift = AllocaSizeBits-Shift-FieldIntTy->getBitWidth(); in RewriteLoadUserOfWholeAlloca()
2533 if (Shift) { in RewriteLoadUserOfWholeAlloca()
2534 Value *ShiftVal = ConstantInt::get(SrcField->getType(), Shift); in RewriteLoadUserOfWholeAlloca()