Searched refs:RetSize (Results 1 – 5 of 5) sorted by relevance
95 bool CanReturnSmallStruct(const Function* CalleeFn, unsigned& RetSize)
579 Optional<TypeSize> RetSize = A.Alloca->getAllocationSizeInBits(DL); in addFieldForAllocas() local580 assert(RetSize && "Variable Length Arrays (VLA) are not supported.\n"); in addFieldForAllocas()581 assert(!RetSize->isScalable() && "Scalable vectors are not yet supported"); in addFieldForAllocas()582 return RetSize->getFixedSize(); in addFieldForAllocas()
103 bool CanReturnSmallStruct(const Function* CalleeFn, unsigned& RetSize)
110 bool CanReturnSmallStruct(const Function* CalleeFn, unsigned& RetSize)
9615 auto RetSize = llvm::alignTo(getContext().getTypeSize(RetTy), 32) / 32; in classifyReturnType() local9616 if (RetSize > 4) in classifyReturnType()