Home
last modified time | relevance | path

Searched refs:BaseAlign (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Analysis/
DLoads.cpp94 unsigned BaseAlign = 0; in isSafeToLoadUnconditionally() local
98 BaseAlign = AI->getAlignment(); in isSafeToLoadUnconditionally()
104 BaseAlign = GV->getAlignment(); in isSafeToLoadUnconditionally()
109 if (TD && BaseAlign == 0) in isSafeToLoadUnconditionally()
110 BaseAlign = TD->getPrefTypeAlignment(BaseType); in isSafeToLoadUnconditionally()
112 if (Align <= BaseAlign) { in isSafeToLoadUnconditionally()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp829 CharUnits BaseAlign = (Packed) ? CharUnits::One() : UnpackedBaseAlign; in DeterminePrimaryBase() local
833 BaseAlign = std::min(BaseAlign, MaxFieldAlignment); in DeterminePrimaryBase()
838 UpdateAlignment(BaseAlign, UnpackedBaseAlign); in DeterminePrimaryBase()
1123 CharUnits BaseAlign = (Packed) ? CharUnits::One() : UnpackedBaseAlign; in LayoutBase() local
1127 BaseAlign = std::min(BaseAlign, MaxFieldAlignment); in LayoutBase()
1132 CharUnits Offset = getDataSize().RoundUpToAlignment(BaseAlign); in LayoutBase()
1136 Offset += BaseAlign; in LayoutBase()
1147 UpdateAlignment(BaseAlign, UnpackedBaseAlign); in LayoutBase()