Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DScalarReplAggregates.cpp796 Type *AllocaType = Old->getType(); in ConvertScalar_InsertValue() local
799 if (VectorType *VTy = dyn_cast<VectorType>(AllocaType)) { in ConvertScalar_InsertValue()
806 return Builder.CreateBitCast(SV, AllocaType); in ConvertScalar_InsertValue()
839 unsigned DestWidth = TD.getTypeSizeInBits(AllocaType); in ConvertScalar_InsertValue()
841 unsigned DestStoreWidth = TD.getTypeStoreSizeInBits(AllocaType); in ConvertScalar_InsertValue()
848 if (SV->getType() != AllocaType) { in ConvertScalar_InsertValue()
850 AllocaType->getPrimitiveSizeInBits()) in ConvertScalar_InsertValue()
851 SV = Builder.CreateZExt(SV, AllocaType); in ConvertScalar_InsertValue()
855 SV = Builder.CreateTrunc(SV, AllocaType); in ConvertScalar_InsertValue()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1715 Type *AllocaType = AI->getAllocatedType(); in InlineFunction() local
1716 uint64_t AllocaTypeSize = DL.getTypeAllocSize(AllocaType); in InlineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1928 Type *AllocaType = AI->getAllocatedType(); in InlineFunction() local
1929 uint64_t AllocaTypeSize = DL.getTypeAllocSize(AllocaType); in InlineFunction()