Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DAPSInt.cpp33 unsigned ActiveBits = Tmp.getActiveBits(); in APSInt() local
34 if (ActiveBits > 0 && ActiveBits < NumBits) in APSInt()
35 Tmp = Tmp.trunc(ActiveBits); in APSInt()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4401 uint32_t ActiveBits = DemandBits.getActiveBits(); in optimizeLoadExt() local
4413 if (ActiveBits <= 1 || !APIntOps::isMask(ActiveBits, DemandBits) || in optimizeLoadExt()
4418 Type *TruncTy = Type::getIntNTy(Ctx, ActiveBits); in optimizeLoadExt()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp2974 uint32_t ActiveBits = AndC->getAPIntValue().getActiveBits(); in isAndLoadExtLoad() local
2976 if (ActiveBits == 0 || !APIntOps::isMask(ActiveBits, AndC->getAPIntValue())) in isAndLoadExtLoad()
2979 ExtVT = EVT::getIntegerVT(*DAG.getContext(), ActiveBits); in isAndLoadExtLoad()