Lines Matching refs:Alignment
75 /// default alignment of the corresponding LLVM type, which is *not*
76 /// guaranteed to be related in any way to the expected alignment of
99 // FIXME: Should we prefer the preferred type alignment here?
333 CharUnits alignment = CGF.getContext().getTypeAlignInChars(Ty);
334 GV->setAlignment(alignment.getQuantity());
336 return Address(GV, alignment);
495 // storage of suitable size and alignment to contain an object of the
527 SanOpts.has(SanitizerKind::Alignment) |
534 CharUnits Alignment, bool SkipNullCheck) {
587 if (SanOpts.has(SanitizerKind::Alignment)) {
588 AlignVal = Alignment.getQuantity();
599 Checks.push_back(std::make_pair(Aligned, SanitizerKind::Alignment));
819 /// derive a more accurate bound on the alignment of the pointer.
845 // opaque, honor the alignment of the casted-to type.
898 // Otherwise, use the alignment of the type.
2001 CharUnits Alignment = CGF.getContext().getDeclAlign(VD);
2002 Address Addr(V, Alignment);
2033 CharUnits Alignment = CGF.getContext().getDeclAlign(FD);
2034 return CGF.MakeAddrLValue(V, E->getType(), Alignment, AlignmentSource::Decl);
2065 CharUnits Alignment = CGM.getContext().getDeclAlign(VD);
2069 return LValue::MakeGlobalReg(Address(Ptr, Alignment), VD->getType());
2096 // Should we be using the alignment of the constant pointer we emitted?
2097 CharUnits Alignment = getNaturalTypeAlignment(E->getType(), nullptr,
2100 return MakeAddrLValue(Address(Val, Alignment), T, AlignmentSource::Decl);
2827 // Otherwise, use the worst-case alignment for any element.
2859 // We can use that to compute the best alignment of the element.
2974 // Propagate the alignment from the array itself to the result.
2981 // The base must be a pointer; emit it with an estimate of its alignment.
3170 // Propagate the alignment from the array itself to the result.
3295 // Adjust the alignment down to the given offset.
3373 CharUnits alignment =
3375 addr = Address(load, alignment);