Lines Matching defs:RetTy
345 NVPTXTargetLowering::getPrototype(Type *retTy, const ArgListTy &Args,
358 if (retTy->getTypeID() == Type::VoidTyID) {
362 if (retTy->isPrimitiveType() || retTy->isIntegerTy()) {
364 if (const IntegerType *ITy = dyn_cast<IntegerType>(retTy)) {
369 assert(retTy->isFloatingPointTy() &&
371 size = retTy->getPrimitiveSizeInBits();
375 } else if (isa<PointerType>(retTy)) {
378 if ((retTy->getTypeID() == Type::StructTyID) || isa<VectorType>(retTy)) {
380 ComputeValueVTs(*this, retTy, vtparts);
503 Type *retTy = CLI.RetTy;
826 ComputeValueVTs(*this, retTy, resvtparts);
831 unsigned resultsz = TD->getTypeAllocSizeInBits(retTy);
832 if (retTy->isPrimitiveType() || retTy->isIntegerTy() ||
833 retTy->isPointerTy()) {
845 retAlignment = getArgumentAlignment(Callee, CS, retTy, 0);
867 getPrototype(retTy, Args, Outs, retAlignment, CS);
929 if (retTy && retTy->isVectorTy()) {
930 EVT ObjectVT = getValueType(retTy);
1056 ComputePTXValueVTs(*this, retTy, VTs);
1066 if (retTy->isIntegerTy() &&
1067 TD->getTypeAllocSizeInBits(retTy) < 32) {
1677 Type *RetTy = F->getReturnType();
1685 if (VectorType *VTy = dyn_cast<VectorType>(RetTy)) {
1692 EVT EltVT = getValueType(RetTy).getVectorElementType();
1802 ComputePTXValueVTs(*this, RetTy, ValVTs);
1819 if (RetTy->isIntegerTy() &&
1820 TD->getTypeAllocSizeInBits(RetTy) < 32) {