Lines Matching defs:retTy
493 NVPTXTargetLowering::getPrototype(Type *retTy, const ArgListTy &Args,
506 if (retTy->getTypeID() == Type::VoidTyID) {
510 if (retTy->isFloatingPointTy() || retTy->isIntegerTy()) {
512 if (const IntegerType *ITy = dyn_cast<IntegerType>(retTy)) {
517 assert(retTy->isFloatingPointTy() &&
519 size = retTy->getPrimitiveSizeInBits();
523 } else if (isa<PointerType>(retTy)) {
526 if((retTy->getTypeID() == Type::StructTyID) ||
527 isa<VectorType>(retTy)) {
531 << getDataLayout()->getTypeAllocSize(retTy) << "]";
662 Type *retTy = CLI.RetTy;
969 ComputeValueVTs(*this, retTy, resvtparts);
974 unsigned resultsz = TD->getTypeAllocSizeInBits(retTy);
975 if (retTy->isSingleValueType()) {
987 retAlignment = getArgumentAlignment(Callee, CS, retTy, 0);
1008 std::string Proto = getPrototype(retTy, Args, Outs, retAlignment, CS);
1067 if (retTy && retTy->isVectorTy()) {
1068 EVT ObjectVT = getValueType(retTy);
1196 ComputePTXValueVTs(*this, retTy, VTs, &Offsets, 0);
1198 unsigned RetAlign = getArgumentAlignment(Callee, CS, retTy, 0);
1208 if (retTy->isIntegerTy() &&
1209 retTy) < 32) {
1941 Type *RetTy = F->getReturnType();
1949 if (VectorType *VTy = dyn_cast<VectorType>(RetTy)) {
1956 EVT EltVT = getValueType(RetTy).getVectorElementType();
2065 ComputePTXValueVTs(*this, RetTy, ValVTs, &Offsets, 0);
2081 if (RetTy->isIntegerTy() &&
2082 TD->getTypeAllocSizeInBits(RetTy) < 32) {