Searched refs:AllocaTy (Results 1 – 2 of 2) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUPromoteAlloca.cpp | 368 SequentialType *AllocaTy = dyn_cast<SequentialType>(AT); in tryPromoteAllocaToVector() local 376 if (!AllocaTy || in tryPromoteAllocaToVector() 377 AllocaTy->getNumElements() > 16 || in tryPromoteAllocaToVector() 378 AllocaTy->getNumElements() < 2 || in tryPromoteAllocaToVector() 379 !VectorType::isValidElementType(AllocaTy->getElementType())) { in tryPromoteAllocaToVector() 415 VectorType *VectorTy = dyn_cast<VectorType>(AllocaTy); in tryPromoteAllocaToVector() 417 VectorTy = arrayTypeToVecType(cast<ArrayType>(AllocaTy)); in tryPromoteAllocaToVector() 419 LLVM_DEBUG(dbgs() << " Converting alloca to vector " << *AllocaTy << " -> " in tryPromoteAllocaToVector() 728 Type *AllocaTy = I.getAllocatedType(); in handleAlloca() local 775 uint32_t AllocSize = WorkGroupSize * DL.getTypeAllocSize(AllocaTy); in handleAlloca()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 2000 Type *AllocaTy, in isIntegerWideningViableForSlice() argument 2003 uint64_t Size = DL.getTypeStoreSize(AllocaTy); in isIntegerWideningViableForSlice() 2034 !canConvertValue(DL, AllocaTy, LI->getType())) { in isIntegerWideningViableForSlice() 2059 !canConvertValue(DL, ValueTy, AllocaTy)) { in isIntegerWideningViableForSlice() 2085 static bool isIntegerWideningViable(Partition &P, Type *AllocaTy, in isIntegerWideningViable() argument 2087 uint64_t SizeInBits = DL.getTypeSizeInBits(AllocaTy); in isIntegerWideningViable() 2093 if (SizeInBits != DL.getTypeStoreSizeInBits(AllocaTy)) in isIntegerWideningViable() 2099 Type *IntTy = Type::getIntNTy(AllocaTy->getContext(), SizeInBits); in isIntegerWideningViable() 2100 if (!canConvertValue(DL, AllocaTy, IntTy) || in isIntegerWideningViable() 2101 !canConvertValue(DL, IntTy, AllocaTy)) in isIntegerWideningViable() [all …]
|