Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:alignment

71   // FIXME: Should we prefer the preferred type alignment here?
80 // FIXME: Should we prefer the preferred type alignment here?
158 CharUnits Alignment = getContext().getTypeAlignInChars(E->getType());
159 EmitAggExpr(E, AggValueSlot::forAddr(Location, Alignment, Quals,
414 // storage of suitable size and alignment to contain an object of the
445 return SanOpts->Null | SanOpts->Alignment | SanOpts->ObjectSize |
451 QualType Ty, CharUnits Alignment) {
499 if (SanOpts->Alignment) {
500 AlignVal = Alignment.getQuantity();
1063 unsigned Alignment, QualType Ty,
1109 CharUnits::fromQuantity(Alignment),
1117 if (Alignment)
1118 Load->setAlignment(Alignment);
1182 bool Volatile, unsigned Alignment,
1224 CharUnits::fromQuantity(Alignment),
1231 if (Alignment)
1232 Store->setAlignment(Alignment);
1757 CharUnits Alignment = CGF.getContext().getDeclAlign(VD);
1761 LI->setAlignment(Alignment.getQuantity());
1765 LV = CGF.MakeAddrLValue(V, T, Alignment);
1786 CharUnits Alignment = CGF.getContext().getDeclAlign(FD);
1787 return CGF.MakeAddrLValue(V, E->getType(), Alignment);
1805 CharUnits Alignment) {
1819 return LValue::MakeGlobalReg(M->getOperand(0), VD->getType(), Alignment);
1824 CharUnits Alignment = getContext().getDeclAlign(ND);
1831 return EmitGlobalNamedRegister(VD, CGM, Alignment);
1843 return MakeAddrLValue(Val, T, Alignment);
1857 return MakeAddrLValue(Aliasee, T, Alignment);
1883 T, Alignment);
1894 LI->setAlignment(Alignment.getQuantity());
1898 LV = MakeAddrLValue(V, T, Alignment);
2374 // Propagate the alignment from the array itself to the result.
2395 // Limit the alignment to that of the result type.
2544 CharUnits alignment = getContext().getDeclAlign(field);
2546 // FIXME: It should be impossible to have an LValue without alignment for a
2549 alignment = std::min(alignment, base.getAlignment());
2570 load->setAlignment(alignment.getQuantity());
2588 alignment = CharUnits();
2590 alignment = getContext().getTypeAlignInChars(type);
2606 LValue LV = MakeAddrLValue(addr, type, alignment);
2653 CharUnits Alignment = getContext().getDeclAlign(Field);
2655 // FIXME: It should be impossible to have an LValue without alignment for a
2658 Alignment = std::min(Alignment, Base.getAlignment());
2660 return MakeAddrLValue(V, FieldType, Alignment);