Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Transforms/Utils/
DVNCoercion.cpp505 unsigned NewLoadSize = Offset + LoadSize; in getLoadValueForLoad() local
506 if (!isPowerOf2_32(NewLoadSize)) in getLoadValueForLoad()
507 NewLoadSize = NextPowerOf2(NewLoadSize); in getLoadValueForLoad()
514 Type *DestTy = IntegerType::get(LoadTy->getContext(), NewLoadSize * 8); in getLoadValueForLoad()
530 RV = Builder.CreateLShr(RV, (NewLoadSize - SrcValStoreSize) * 8); in getLoadValueForLoad()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DVNCoercion.cpp418 unsigned NewLoadSize = Offset + LoadSize; in getLoadValueForLoad() local
419 if (!isPowerOf2_32(NewLoadSize)) in getLoadValueForLoad()
420 NewLoadSize = NextPowerOf2(NewLoadSize); in getLoadValueForLoad()
427 Type *DestTy = IntegerType::get(LoadTy->getContext(), NewLoadSize * 8); in getLoadValueForLoad()
443 RV = Builder.CreateLShr(RV, (NewLoadSize - SrcValStoreSize) * 8); in getLoadValueForLoad()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp1038 unsigned NewLoadSize = Offset+LoadSize; in GetLoadValueForLoad() local
1039 if (!isPowerOf2_32(NewLoadSize)) in GetLoadValueForLoad()
1040 NewLoadSize = NextPowerOf2(NewLoadSize); in GetLoadValueForLoad()
1049 IntegerType::get(LoadTy->getContext(), NewLoadSize*8); in GetLoadValueForLoad()
1065 RV = Builder.CreateLShr(RV, (NewLoadSize - SrcValStoreSize) * 8); in GetLoadValueForLoad()