Home
last modified time | relevance | path

Searched refs:PrefAlign (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/IR/
DDataLayout.cpp107 retval.PrefAlign = pref_align; in get()
116 && PrefAlign == rhs.PrefAlign in operator ==()
134 retval.PrefAlign = pref_align; in get()
143 && PrefAlign == rhs.PrefAlign in operator ==()
273 unsigned PrefAlign = ABIAlign; in parseSpecifier() local
276 PrefAlign = inBytes(getInt(Tok)); in parseSpecifier()
279 setAlignment(AlignType, ABIAlign, PrefAlign, Size); in parseSpecifier()
329 Alignments[i].PrefAlign = pref_align; in setAlignment()
348 val->second.PrefAlign = pref_align; in setPointerAlignment()
364 return ABIInfo ? Alignments[i].ABIAlign : Alignments[i].PrefAlign; in getAlignmentInfo()
[all …]
/external/llvm/lib/Transforms/Utils/
DLocal.cpp888 unsigned PrefAlign, const DataLayout *TD) { in enforceKnownAlignment() argument
894 if (TD && TD->exceedsNaturalStackAlignment(PrefAlign)) in enforceKnownAlignment()
897 if (AI->getAlignment() >= PrefAlign) in enforceKnownAlignment()
899 AI->setAlignment(PrefAlign); in enforceKnownAlignment()
900 return PrefAlign; in enforceKnownAlignment()
912 if (GV->getAlignment() >= PrefAlign) in enforceKnownAlignment()
919 GV->setAlignment(PrefAlign); in enforceKnownAlignment()
930 unsigned llvm::getOrEnforceKnownAlignment(Value *V, unsigned PrefAlign, in getOrEnforceKnownAlignment() argument
949 if (PrefAlign > Align) in getOrEnforceKnownAlignment()
950 Align = enforceKnownAlignment(V, Align, PrefAlign, DL); in getOrEnforceKnownAlignment()
/external/llvm/include/llvm/IR/
DDataLayout.h63 unsigned PrefAlign : 16; ///< Pref. alignment for this type/bitw member
80 unsigned PrefAlign; ///< Pref. alignment for this type/bitw member
256 return val->second.PrefAlign;
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h173 unsigned getOrEnforceKnownAlignment(Value *V, unsigned PrefAlign,