Lines Matching refs:RetTy
109 Type *RetTy = FTy->getReturnType(); in fixFunctionTypeIfPtrArgs() local
111 if (!RetTy->isPointerTy()) in fixFunctionTypeIfPtrArgs()
117 const Type *RetTy = GR->getTypeForSPIRVType(SRetTy); in fixFunctionTypeIfPtrArgs() local
121 return FunctionType::get(const_cast<Type *>(RetTy), ArgTys, false); in fixFunctionTypeIfPtrArgs()
132 Type *RetTy = F.getFunctionType()->getReturnType(); in getOriginalFunctionType() local
156 RetTy = CMeta->getType(); in getOriginalFunctionType()
162 return FunctionType::get(RetTy, ArgTypes, F.isVarArg()); in getOriginalFunctionType()
388 SPIRVType *RetTy = GR->getOrCreateSPIRVType(FRetTy, MIRBuilder); in lowerFormalArguments() local
389 FTy = fixFunctionTypeIfPtrArgs(GR, F, FTy, RetTy, ArgTypeVRegs); in lowerFormalArguments()
391 FTy, RetTy, ArgTypeVRegs, MIRBuilder); in lowerFormalArguments()
397 .addUse(GR->getSPIRVTypeID(RetTy)) in lowerFormalArguments()
467 SPIRVType *SpirvRetTy = GR->getOrCreateSPIRVType(IC.RetTy, MIRBuilder); in produceIndirectPtrTypes()
477 FunctionType::get(const_cast<Type *>(IC.RetTy), IC.ArgTys, false); in produceIndirectPtrTypes()
584 IndirectCall.RetTy = OrigRetTy; in lowerCall()