Searched refs:BaseAlign (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/Analysis/ |
D | Loads.cpp | 82 unsigned BaseAlign = 0; in isSafeToLoadUnconditionally() local 86 BaseAlign = AI->getAlignment(); in isSafeToLoadUnconditionally() 93 BaseAlign = GV->getAlignment(); in isSafeToLoadUnconditionally() 105 if (BaseAlign == 0) in isSafeToLoadUnconditionally() 106 BaseAlign = DL.getPrefTypeAlignment(BaseType); in isSafeToLoadUnconditionally() 108 if (Align <= BaseAlign) { in isSafeToLoadUnconditionally()
|
D | Lint.cpp | 425 unsigned BaseAlign = 0; in visitMemoryReference() local 431 BaseAlign = AI->getAlignment(); in visitMemoryReference() 432 if (BaseAlign == 0 && ATy->isSized()) in visitMemoryReference() 433 BaseAlign = DL->getABITypeAlignment(ATy); in visitMemoryReference() 441 BaseAlign = GV->getAlignment(); in visitMemoryReference() 442 if (BaseAlign == 0 && GTy->isSized()) in visitMemoryReference() 443 BaseAlign = DL->getABITypeAlignment(GTy); in visitMemoryReference() 458 Assert(!BaseAlign || Align <= MinAlign(BaseAlign, Offset), in visitMemoryReference()
|
D | ValueTracking.cpp | 3178 APInt BaseAlign(Offset.getBitWidth(), getAlignment(Base, DL)); in isAligned() local 3180 if (!BaseAlign) { in isAligned() 3184 BaseAlign = DL.getABITypeAlignment(Ty); in isAligned() 3190 return BaseAlign.uge(Alignment) && !(Offset & (Alignment-1)); in isAligned()
|
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 967 CharUnits BaseAlign = (Packed) ? CharUnits::One() : UnpackedBaseAlign; in EnsureVTablePointerAlignment() local 971 BaseAlign = std::min(BaseAlign, MaxFieldAlignment); in EnsureVTablePointerAlignment() 976 setSize(getSize().RoundUpToAlignment(BaseAlign)); in EnsureVTablePointerAlignment() 980 UpdateAlignment(BaseAlign, UnpackedBaseAlign); in EnsureVTablePointerAlignment() 1177 CharUnits BaseAlign = (Packed) ? CharUnits::One() : UnpackedBaseAlign; in LayoutBase() local 1184 UpdateAlignment(BaseAlign, UnpackedBaseAlign); in LayoutBase() 1191 BaseAlign = std::min(BaseAlign, MaxFieldAlignment); in LayoutBase() 1197 Offset = getDataSize().RoundUpToAlignment(BaseAlign); in LayoutBase() 1201 Offset += BaseAlign; in LayoutBase() 1207 if (InferAlignment && Offset < getDataSize().RoundUpToAlignment(BaseAlign)){ in LayoutBase() [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 1229 unsigned BaseAlign = Load->getAlignment(); in SplitVectorLoad() local 1230 unsigned HiAlign = MinAlign(BaseAlign, Size); in SplitVectorLoad() 1237 Load->isInvariant(), BaseAlign); in SplitVectorLoad() 1378 unsigned BaseAlign = Store->getAlignment(); in SplitVectorStore() local 1380 unsigned HiAlign = MinAlign(BaseAlign, Size); in SplitVectorStore() 1389 BaseAlign); in SplitVectorStore()
|