Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DAPSInt.cpp34 unsigned ActiveBits = Tmp.getActiveBits(); in APSInt() local
35 if (ActiveBits > 0 && ActiveBits < NumBits) in APSInt()
36 Tmp = Tmp.trunc(ActiveBits); in APSInt()
/external/llvm/lib/Support/
DAPSInt.cpp34 unsigned ActiveBits = Tmp.getActiveBits(); in APSInt() local
35 if (ActiveBits > 0 && ActiveBits < NumBits) in APSInt()
36 Tmp = Tmp.trunc(ActiveBits); in APSInt()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4485 uint32_t ActiveBits = DemandBits.getActiveBits(); in optimizeLoadExt() local
4497 if (ActiveBits <= 1 || !APIntOps::isMask(ActiveBits, DemandBits) || in optimizeLoadExt()
4502 Type *TruncTy = Type::getIntNTy(Ctx, ActiveBits); in optimizeLoadExt()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp5465 uint32_t ActiveBits = DemandBits.getActiveBits(); in optimizeLoadExt() local
5477 if (ActiveBits <= 1 || !DemandBits.isMask(ActiveBits) || in optimizeLoadExt()
5482 Type *TruncTy = Type::getIntNTy(Ctx, ActiveBits); in optimizeLoadExt()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp2428 uint32_t ActiveBits = N1C->getAPIntValue().getActiveBits(); in visitAND() local
2429 if (ActiveBits > 0 && APIntOps::isMask(ActiveBits, N1C->getAPIntValue())){ in visitAND()
2430 EVT ExtVT = EVT::getIntegerVT(*DAG.getContext(), ActiveBits); in visitAND()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp4044 unsigned ActiveBits = AndC->getAPIntValue().countTrailingOnes(); in isAndLoadExtLoad() local
4046 ExtVT = EVT::getIntegerVT(*DAG.getContext(), ActiveBits); in isAndLoadExtLoad()
4197 unsigned ActiveBits = Mask->getAPIntValue().countTrailingOnes(); in SearchForAndLoads() local
4198 EVT ExtVT = EVT::getIntegerVT(*DAG.getContext(), ActiveBits); in SearchForAndLoads()
9079 unsigned ActiveBits = AndC->getAPIntValue().countTrailingOnes(); in ReduceLoadWidth() local
9081 ExtVT = EVT::getIntegerVT(*DAG.getContext(), ActiveBits); in ReduceLoadWidth()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3011 uint32_t ActiveBits = AndC->getAPIntValue().getActiveBits(); in isAndLoadExtLoad() local
3013 if (ActiveBits == 0 || !APIntOps::isMask(ActiveBits, AndC->getAPIntValue())) in isAndLoadExtLoad()
3016 ExtVT = EVT::getIntegerVT(*DAG.getContext(), ActiveBits); in isAndLoadExtLoad()