Searched refs:BaseAlign (Results 1 – 3 of 3) sorted by relevance
76 unsigned BaseAlign = 0; in isSafeToLoadUnconditionally() local80 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()
439 unsigned BaseAlign = 0; in visitMemoryReference() local445 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()
971 CharUnits BaseAlign = (Packed) ? CharUnits::One() : UnpackedBaseAlign; in EnsureVTablePointerAlignment() local975 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() local1187 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 …]