Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp6451 unsigned NewBW = NextPowerOf2(MSB - ShAmt); in ReduceLoadOpStoreWidth() local
6452 EVT NewVT = EVT::getIntegerVT(*DAG.getContext(), NewBW); in ReduceLoadOpStoreWidth()
6453 while (NewBW < BitWidth && in ReduceLoadOpStoreWidth()
6456 NewBW = NextPowerOf2(NewBW); in ReduceLoadOpStoreWidth()
6457 NewVT = EVT::getIntegerVT(*DAG.getContext(), NewBW); in ReduceLoadOpStoreWidth()
6459 if (NewBW >= BitWidth) in ReduceLoadOpStoreWidth()
6464 if (ShAmt % NewBW) in ReduceLoadOpStoreWidth()
6465 ShAmt = (((ShAmt + NewBW - 1) / NewBW) * NewBW) - NewBW; in ReduceLoadOpStoreWidth()
6466 APInt Mask = APInt::getBitsSet(BitWidth, ShAmt, ShAmt + NewBW); in ReduceLoadOpStoreWidth()
6468 APInt NewImm = (Imm & Mask).lshr(ShAmt).trunc(NewBW); in ReduceLoadOpStoreWidth()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp10914 unsigned NewBW = NextPowerOf2(MSB - ShAmt); in ReduceLoadOpStoreWidth() local
10915 EVT NewVT = EVT::getIntegerVT(*DAG.getContext(), NewBW); in ReduceLoadOpStoreWidth()
10918 while (NewBW < BitWidth && in ReduceLoadOpStoreWidth()
10919 (NewVT.getStoreSizeInBits() != NewBW || in ReduceLoadOpStoreWidth()
10922 NewBW = NextPowerOf2(NewBW); in ReduceLoadOpStoreWidth()
10923 NewVT = EVT::getIntegerVT(*DAG.getContext(), NewBW); in ReduceLoadOpStoreWidth()
10925 if (NewBW >= BitWidth) in ReduceLoadOpStoreWidth()
10930 if (ShAmt % NewBW) in ReduceLoadOpStoreWidth()
10931 ShAmt = (((ShAmt + NewBW - 1) / NewBW) * NewBW) - NewBW; in ReduceLoadOpStoreWidth()
10933 std::min(BitWidth, ShAmt + NewBW)); in ReduceLoadOpStoreWidth()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp13451 unsigned NewBW = NextPowerOf2(MSB - ShAmt); in ReduceLoadOpStoreWidth() local
13452 EVT NewVT = EVT::getIntegerVT(*DAG.getContext(), NewBW); in ReduceLoadOpStoreWidth()
13455 while (NewBW < BitWidth && in ReduceLoadOpStoreWidth()
13456 (NewVT.getStoreSizeInBits() != NewBW || in ReduceLoadOpStoreWidth()
13459 NewBW = NextPowerOf2(NewBW); in ReduceLoadOpStoreWidth()
13460 NewVT = EVT::getIntegerVT(*DAG.getContext(), NewBW); in ReduceLoadOpStoreWidth()
13462 if (NewBW >= BitWidth) in ReduceLoadOpStoreWidth()
13467 if (ShAmt % NewBW) in ReduceLoadOpStoreWidth()
13468 ShAmt = (((ShAmt + NewBW - 1) / NewBW) * NewBW) - NewBW; in ReduceLoadOpStoreWidth()
13470 std::min(BitWidth, ShAmt + NewBW)); in ReduceLoadOpStoreWidth()
[all …]