Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4345 APInt DemandBits(BitWidth, 0); in optimizeLoadExt() local
4369 DemandBits |= AndBits; in optimizeLoadExt()
4384 DemandBits |= ShlDemandBits; in optimizeLoadExt()
4392 DemandBits |= TruncBits; in optimizeLoadExt()
4401 uint32_t ActiveBits = DemandBits.getActiveBits(); in optimizeLoadExt()
4413 if (ActiveBits <= 1 || !APIntOps::isMask(ActiveBits, DemandBits) || in optimizeLoadExt()
4414 WidestAndBits != DemandBits) in optimizeLoadExt()
4428 Builder.CreateAnd(Load, ConstantInt::get(Ctx, DemandBits))); in optimizeLoadExt()
4439 if (cast<ConstantInt>(And->getOperand(1))->getValue() == DemandBits) { in optimizeLoadExt()