Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp776 Type *NRetTy = nullptr; in removeDeadStuffFromFunction() local
803 NRetTy = RetTy; in removeDeadStuffFromFunction()
823 NRetTy = StructType::get(STy->getContext(), RetTypes, STy->isPacked()); in removeDeadStuffFromFunction()
826 NRetTy = ArrayType::get(RetTypes[0], RetTypes.size()); in removeDeadStuffFromFunction()
831 NRetTy = RetTypes.front(); in removeDeadStuffFromFunction()
834 NRetTy = Type::getVoidTy(F->getContext()); in removeDeadStuffFromFunction()
837 assert(NRetTy && "No new return type found?"); in removeDeadStuffFromFunction()
846 if (NRetTy->isVoidTy()) in removeDeadStuffFromFunction()
847 RAttrs.remove(AttributeFuncs::typeIncompatible(NRetTy)); in removeDeadStuffFromFunction()
849 assert(!RAttrs.overlaps(AttributeFuncs::typeIncompatible(NRetTy)) && in removeDeadStuffFromFunction()
[all …]