Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Alignment

873   unsigned alignment = D->getMaxAlignment() / Context.getCharWidth();
874 if (alignment)
875 F->setAlignment(alignment);
877 // Some C++ ABIs require 2-byte alignment for member functions, in order to
880 // member function, set its alignment accordingly.
1415 CharUnits Alignment = CharUnits::fromQuantity(4);
1419 return ConstantAddress(GV, Alignment);
1429 return ConstantAddress(GV, Alignment);
1436 CharUnits Alignment = getContext().getDeclAlign(VD);
1444 return ConstantAddress(Ptr, Alignment);
1461 return ConstantAddress(Aliasee, Alignment);
2454 // Declarations with a required alignment do not have common linakge in MSVC
2914 // Don't enforce the target's minimum global alignment, since the only use
2941 CharUnits Alignment = getPointerAlign();
2949 GV->setAlignment(Alignment.getQuantity());
2952 return ConstantAddress(GV, Alignment);
3043 // Don't enforce the target's minimum global alignment, since the only use
3055 CharUnits Alignment = getPointerAlign();
3060 GV->setAlignment(Alignment.getQuantity());
3070 return ConstantAddress(GV, Alignment);
3149 CharUnits Alignment) {
3160 GV->setAlignment(Alignment.getQuantity());
3175 CharUnits Alignment = getContext().getAlignOfGlobalVarInChars(S->getType());
3182 if (Alignment.getQuantity() > GV->getAlignment())
3183 GV->setAlignment(Alignment.getQuantity());
3184 return ConstantAddress(GV, Alignment);
3208 auto GV = GenerateStringLiteral(C, LT, *this, GlobalVariableName, Alignment);
3214 return ConstantAddress(GV, Alignment);
3233 CharUnits Alignment =
3244 if (Alignment.getQuantity() > GV->getAlignment())
3245 GV->setAlignment(Alignment.getQuantity());
3246 return ConstantAddress(GV, Alignment);
3255 GlobalName, Alignment);
3258 return ConstantAddress(GV, Alignment);