Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DLoads.cpp76 unsigned BaseAlign = 0; in isSafeToLoadUnconditionally() local
80 BaseAlign = AI->getAlignment(); in isSafeToLoadUnconditionally()
87 BaseAlign = GV->getAlignment(); in isSafeToLoadUnconditionally()
99 if (BaseAlign == 0) in isSafeToLoadUnconditionally()
100 BaseAlign = DL.getPrefTypeAlignment(BaseType); in isSafeToLoadUnconditionally()
102 if (Align <= BaseAlign) { in isSafeToLoadUnconditionally()
DLint.cpp439 unsigned BaseAlign = 0; in visitMemoryReference() local
445 BaseAlign = AI->getAlignment(); in visitMemoryReference()
446 if (BaseAlign == 0 && ATy->isSized()) in visitMemoryReference()
447 BaseAlign = DL.getABITypeAlignment(ATy); in visitMemoryReference()
455 BaseAlign = GV->getAlignment(); in visitMemoryReference()
456 if (BaseAlign == 0 && GTy->isSized()) in visitMemoryReference()
457 BaseAlign = DL.getABITypeAlignment(GTy); in visitMemoryReference()
472 Assert(!BaseAlign || Align <= MinAlign(BaseAlign, Offset), in visitMemoryReference()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp971 CharUnits BaseAlign = (Packed) ? CharUnits::One() : UnpackedBaseAlign; in EnsureVTablePointerAlignment() local
975 BaseAlign = std::min(BaseAlign, MaxFieldAlignment); in EnsureVTablePointerAlignment()
980 setSize(getSize().RoundUpToAlignment(BaseAlign)); in EnsureVTablePointerAlignment()
984 UpdateAlignment(BaseAlign, UnpackedBaseAlign); in EnsureVTablePointerAlignment()
1180 CharUnits BaseAlign = (Packed) ? CharUnits::One() : UnpackedBaseAlign; in LayoutBase() local
1187 UpdateAlignment(BaseAlign, UnpackedBaseAlign); in LayoutBase()
1194 BaseAlign = std::min(BaseAlign, MaxFieldAlignment); in LayoutBase()
1200 Offset = getDataSize().RoundUpToAlignment(BaseAlign); in LayoutBase()
1204 Offset += BaseAlign; in LayoutBase()
1210 if (InferAlignment && Offset < getDataSize().RoundUpToAlignment(BaseAlign)){ in LayoutBase()
[all …]