Home | History | Annotate | Download | only in Scalar

Lines Matching defs:Shift

735   // full alloca type, we need to do a shift to get the right bits.
794 // Convert the stored type to the actual type, shift it left to insert
862 // full alloca type, we need to do a shift to get the right bits.
2210 // Get the number of bits to shift SrcVal to get the value.
2212 uint64_t Shift = Layout->getElementOffsetInBits(i);
2215 Shift = AllocaSizeBits-Shift-TD->getTypeAllocSizeInBits(FieldTy);
2218 if (Shift) {
2219 Value *ShiftVal = ConstantInt::get(EltVal->getType(), Shift);
2252 uint64_t Shift;
2255 Shift = AllocaSizeBits-ElementOffset;
2257 Shift = 0;
2264 if (Shift) {
2265 Value *ShiftVal = ConstantInt::get(EltVal->getType(), Shift);
2289 Shift -= ElementOffset;
2291 Shift += ElementOffset;
2345 // integer type, bitcast to an integer so we can shift it.
2350 // we can shift and insert it.
2354 // Determine the number of bits to shift SrcField.
2355 uint64_t Shift;
2357 Shift = Layout->getElementOffsetInBits(i);
2359 Shift = i*ArrayEltBitOffset;
2362 Shift = AllocaSizeBits-Shift-FieldIntTy->getBitWidth();
2364 if (Shift) {
2365 Value *ShiftVal = ConstantInt::get(SrcField->getType(), Shift);