Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Alignment

918   unsigned alignment = D->getMaxAlignment() / Context.getCharWidth();
919 if (alignment)
920 F->setAlignment(alignment);
922 // Some C++ ABIs require 2-byte alignment for member functions, in order to
925 // member function, set its alignment accordingly.
1474 CharUnits Alignment = CharUnits::fromQuantity(PointerAlignInBytes);
1478 return ConstantAddress(GV, Alignment);
1488 return ConstantAddress(GV, Alignment);
1495 CharUnits Alignment = getContext().getDeclAlign(VD);
1503 return ConstantAddress(Ptr, Alignment);
1520 return ConstantAddress(Aliasee, Alignment);
2625 // Declarations with a required alignment do not have common linkage in MSVC
3178 // Don't enforce the target's minimum global alignment, since the only use
3204 CharUnits Alignment = getPointerAlign();
3211 GV->setAlignment(Alignment.getQuantity());
3225 return ConstantAddress(GV, Alignment);
3316 // Don't enforce the target's minimum global alignment, since the only use
3328 CharUnits Alignment = getPointerAlign();
3333 GV->setAlignment(Alignment.getQuantity());
3343 return ConstantAddress(GV, Alignment);
3422 CharUnits Alignment) {
3433 GV->setAlignment(Alignment.getQuantity());
3448 CharUnits Alignment = getContext().getAlignOfGlobalVarInChars(S->getType());
3455 if (Alignment.getQuantity() > GV->getAlignment())
3456 GV->setAlignment(Alignment.getQuantity());
3457 return ConstantAddress(GV, Alignment);
3481 auto GV = GenerateStringLiteral(C, LT, *this, GlobalVariableName, Alignment);
3487 return ConstantAddress(GV, Alignment);
3506 CharUnits Alignment =
3517 if (Alignment.getQuantity() > GV->getAlignment())
3518 GV->setAlignment(Alignment.getQuantity());
3519 return ConstantAddress(GV, Alignment);
3528 GlobalName, Alignment);
3531 return ConstantAddress(GV, Alignment);