Lines Matching defs:NeedAlign
1955 HexagonTargetLowering::validateConstPtrAlignment(SDValue Ptr, Align NeedAlign,
1962 Addr != 0 ? Align(1ull << llvm::countr_zero(Addr)) : NeedAlign;
1963 if (HaveAlign >= NeedAlign)
1984 << ", but the memory access requires " << NeedAlign.value();
3153 Align NeedAlign = Subtarget.getTypeAlignment(StoreTy);
3154 if (ClaimAlign < NeedAlign)
3164 unsigned NeedAlign = Subtarget.getTypeAlignment(LoadTy).value();
3166 if (HaveAlign >= NeedAlign)
3186 if (!DoDefault && (2 * HaveAlign) == NeedAlign) {
3198 // The code below generates two loads, both aligned as NeedAlign, and
3199 // with the distance of NeedAlign between them. For that to cover the
3201 // the loads should be equal to NeedAlign. This is true for all loadable
3203 assert(LoadTy.getSizeInBits() == 8*NeedAlign);
3205 unsigned LoadLen = NeedAlign;
3220 DAG.getConstant(NeedAlign, dl, MVT::i32))