Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp904 Type *AllocaType = Old->getType(); in ConvertScalar_InsertValue() local
907 if (VectorType *VTy = dyn_cast<VectorType>(AllocaType)) { in ConvertScalar_InsertValue()
914 return Builder.CreateBitCast(SV, AllocaType); in ConvertScalar_InsertValue()
964 unsigned DestWidth = DL.getTypeSizeInBits(AllocaType); in ConvertScalar_InsertValue()
966 unsigned DestStoreWidth = DL.getTypeStoreSizeInBits(AllocaType); in ConvertScalar_InsertValue()
973 if (SV->getType() != AllocaType) { in ConvertScalar_InsertValue()
975 AllocaType->getPrimitiveSizeInBits()) in ConvertScalar_InsertValue()
976 SV = Builder.CreateZExt(SV, AllocaType); in ConvertScalar_InsertValue()
980 SV = Builder.CreateTrunc(SV, AllocaType); in ConvertScalar_InsertValue()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp750 Type *AllocaType = AI->getAllocatedType(); in InlineFunction() local
751 uint64_t AllocaTypeSize = IFI.DL->getTypeAllocSize(AllocaType); in InlineFunction()