Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/lib/CodeGen/
DCodeGenPrepare.cpp6595 APInt DemandBits(BitWidth, 0); in optimizeLoadExt() local
6618 DemandBits |= AndBits; in optimizeLoadExt()
6632 DemandBits.setLowBits(BitWidth - ShiftAmt); in optimizeLoadExt()
6639 DemandBits.setLowBits(TruncBitWidth); in optimizeLoadExt()
6648 uint32_t ActiveBits = DemandBits.getActiveBits(); in optimizeLoadExt()
6660 if (ActiveBits <= 1 || !DemandBits.isMask(ActiveBits) || in optimizeLoadExt()
6661 WidestAndBits != DemandBits) in optimizeLoadExt()
6675 Builder.CreateAnd(Load, ConstantInt::get(Ctx, DemandBits))); in optimizeLoadExt()
6689 if (cast<ConstantInt>(And->getOperand(1))->getValue() == DemandBits) { in optimizeLoadExt()