Home | History | Annotate | Download | only in NVPTX

Lines Matching full:retty

877 NVPTXTargetLowering::getPrototype(Type *retTy, const ArgListTy &Args,
890 if (retTy->getTypeID() == Type::VoidTyID) {
894 if (retTy->isFloatingPointTy() || retTy->isIntegerTy()) {
896 if (const IntegerType *ITy = dyn_cast<IntegerType>(retTy)) {
901 assert(retTy->isFloatingPointTy() &&
903 size = retTy->getPrimitiveSizeInBits();
907 } else if (isa<PointerType>(retTy)) {
909 } else if ((retTy->getTypeID() == Type::StructTyID) ||
910 isa<VectorType>(retTy)) {
914 << getDataLayout()->getTypeAllocSize(retTy) << "]";
1044 Type *retTy = CLI.RetTy;
1351 ComputeValueVTs(*this, retTy, resvtparts);
1356 unsigned resultsz = TD->getTypeAllocSizeInBits(retTy);
1361 if (retTy->isFloatingPointTy() || retTy->isIntegerTy() ||
1362 retTy->isPointerTy()) {
1374 retAlignment = getArgumentAlignment(Callee, CS, retTy, 0);
1395 std::string Proto = getPrototype(retTy, Args, Outs, retAlignment, CS);
1454 if (retTy && retTy->isVectorTy()) {
1455 EVT ObjectVT = getValueType(retTy);
1574 ComputePTXValueVTs(*this, retTy, VTs, &Offsets, 0);
1576 unsigned RetAlign = getArgumentAlignment(Callee, CS, retTy, 0);
1586 if (retTy->isIntegerTy() &&
1587 TD->getTypeAllocSizeInBits(retTy) < 32) {
2340 Type *RetTy = F->getReturnType();
2348 if (VectorType *VTy = dyn_cast<VectorType>(RetTy)) {
2355 EVT EltVT = getValueType(RetTy).getVectorElementType();
2464 ComputePTXValueVTs(*this, RetTy, ValVTs, &Offsets, 0);
2480 if (RetTy->isIntegerTy() &&
2481 TD->getTypeAllocSizeInBits(RetTy) < 32) {