Searched refs:RetTy (Results 76 - 100 of 108) sorted by relevance

12345

/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp184 LandingPadInst::LandingPadInst(Type *RetTy, unsigned NumReservedValues, argument
186 : Instruction(RetTy, Instruction::LandingPad, nullptr, 0, InsertBefore) {
190 LandingPadInst::LandingPadInst(Type *RetTy, unsigned NumReservedValues, argument
192 : Instruction(RetTy, Instruction::LandingPad, nullptr, 0, InsertAtEnd) {
209 LandingPadInst *LandingPadInst::Create(Type *RetTy, unsigned NumReservedClauses, argument
212 return new LandingPadInst(RetTy, NumReservedClauses, NameStr, InsertBefore);
215 LandingPadInst *LandingPadInst::Create(Type *RetTy, unsigned NumReservedClauses, argument
218 return new LandingPadInst(RetTy, NumReservedClauses, NameStr, InsertAtEnd);
H A DAsmWriter.cpp3981 Type *RetTy = FTy->getReturnType(); local
3995 TypePrinter.print(FTy->isVarArg() ? FTy : RetTy, Out);
4020 Type *RetTy = FTy->getReturnType(); local
4040 TypePrinter.print(FTy->isVarArg() ? FTy : RetTy, Out);
4063 Type *RetTy = FTy->getReturnType(); local
4080 TypePrinter.print(FTy->isVarArg() ? FTy : RetTy, Out);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp2162 Type *RetTy = Op.getValueType().getTypeForEVT(*DAG.getContext()); local
2163 Type *RetTyABI = RetTy;
2167 if (RetTy->isFP128Ty()) {
2173 Entry.Ty = PointerType::getUnqual(RetTy);
2192 if (RetTyABI == RetTy)
2195 assert (RetTy->isFP128Ty() && "Unexpected return type!");
2230 Type *RetTy = Type::getInt32Ty(*DAG.getContext()); local
2238 .setCallee(CallingConv::C, RetTy, Callee, std::move(Args));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.cpp926 Type *RetTy = Type::getVoidTy(*DAG.getContext()); local
939 .setCallee(CallingConv::PreserveAll, RetTy, Callee, std::move(Args))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp892 void Interpreter::popStackAndReturnValueToCaller(Type *RetTy,
898 if (RetTy && !RetTy->isVoidTy()) { // Nonvoid return type?
920 Type *RetTy = Type::getVoidTy(I.getContext());
925 RetTy = I.getReturnValue()->getType();
929 popStackAndReturnValueToCaller(RetTy, Result);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp2054 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext());
2068 (RetTy == F.getReturnType() || F.getReturnType()->isVoidTy());
2076 .setLibCallee(TLI.getLibcallCallingConv(LC), RetTy, Callee,
2208 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext());
2225 Entry.Ty = RetTy->getPointerTo();
2237 .setLibCallee(TLI.getLibcallCallingConv(LC), RetTy, Callee,
2303 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext());
2310 Entry.Ty = RetTy;
2318 Entry.Ty = RetTy->getPointerTo();
2326 Entry.Ty = RetTy
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp3223 if (CLI.RetTy->isVoidTy())
3225 else if (!isTypeLegal(CLI.RetTy, RetVT))
3400 Type *RetTy = local
3402 if (!isTypeLegal(RetTy, RetVT))
3665 Type *RetTy = II->getCalledFunction()->getReturnType(); local
3668 if (!isTypeLegal(RetTy, VT))
3692 Type *RetTy = Ty->getTypeAtIndex(0U); local
3695 if (!isTypeLegal(RetTy, VT))
5096 Type *RetTy = RetPairTy->getTypeAtIndex(0U); local
5101 if (!isTypeLegal(RetTy, V
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGException.cpp1898 /// RetTy func(void *EHPtrs, void *ParentFP);
1938 QualType RetTy = IsFilter ? getContext().LongTy : getContext().VoidTy; local
1941 CGM.getTypes().arrangeBuiltinFunctionDeclaration(RetTy, Args);
1949 StartFunction(GlobalDecl(), RetTy, Fn, FnInfo, Args, local
H A DCGObjCGNU.cpp74 void init(CodeGenModule *Mod, const char *name, llvm::Type *RetTy, argument
81 FTy = llvm::FunctionType::get(RetTy, ArgTys, false);
84 FTy = llvm::FunctionType::get(RetTy, None, false);
2757 llvm::Type *RetTy = v.getElementType(); local
2758 Address NullVal = CGF.CreateTempAlloca(RetTy, v.getAlignment(), "null");
2759 CGF.InitTempAlloca(NullVal, llvm::Constant::getNullValue(RetTy));
H A DCGDebugInfo.cpp1045 llvm::DICompositeType *RetTy = DBuilder.createReplaceableCompositeType( local
1050 DBuilder.replaceArrays(RetTy, llvm::DINodeArray(),
1054 std::make_tuple(static_cast<llvm::Metadata *>(RetTy)));
1055 return RetTy;
2970 llvm::DIType *RetTy = DBuilder.createReplaceableCompositeType( local
2976 std::make_tuple(static_cast<llvm::Metadata *>(RetTy)));
2977 return RetTy;
H A DCGBuiltin.cpp4456 llvm::Type *RetTy = VoidTy;
4458 RetTy = ConvertType(BuiltinRetType);
4460 if (RetTy != V->getType()) {
4462 if (auto *PtrTy = dyn_cast<llvm::PointerType>(RetTy)) {
4469 assert(V->getType()->canLosslesslyBitCastTo(RetTy) &&
4471 V = Builder.CreateBitCast(V, RetTy);
8006 auto RetTy = llvm::VectorType::get(VTy->getElementType(),
8015 Function *F = CGM.getIntrinsic(IntID, {RetTy, Predicate->getType()});
14507 auto RetTy = ConvertType(BIRetType);
14508 return Builder.CreateBitCast(ShuffleCall, RetTy);
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp728 Type *RetTy = F.getReturnType(); local
731 computeLegalValueVTs(F, TM, RetTy, CallerRetTys);
732 computeLegalValueVTs(F, TM, CLI.RetTy, CalleeRetTys);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h528 unsigned getCallInstrCost(Function *F, Type *RetTy, ArrayRef<Type *> Tys, argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp2565 Type *RetTy = ICA.getReturnType(); local
2566 Type *OpTy = RetTy;
2611 OpTy = RetTy->getContainedType(0);
2617 OpTy = RetTy->getContainedType(0);
2774 Type *RetTy = ICA.getReturnType(); local
2795 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, RetTy);
H A DX86ISelLowering.h1450 Type *RetTy,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRISelLowering.cpp382 Type *RetTy = (Type *)StructType::get(Ty, Ty); local
388 .setLibCallee(getLibcallCallingConv(LC), RetTy, Callee, std::move(Args)) local
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributor.cpp1504 Type *RetTy = OldFnTy->getReturnType();
1508 FunctionType::get(RetTy, NewArgumentTypes, OldFnTy->isVarArg());
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h2789 explicit LandingPadInst(Type *RetTy, unsigned NumReservedValues,
2791 explicit LandingPadInst(Type *RetTy, unsigned NumReservedValues,
2811 static LandingPadInst *Create(Type *RetTy, unsigned NumReservedClauses,
2814 static LandingPadInst *Create(Type *RetTy, unsigned NumReservedClauses,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp714 Type *RetTy = II.getType(); local
716 assert(RetTy->getStructElementType(0)->isIntegerTy(8) &&
717 RetTy->getStructElementType(1) == OpTy && OpTy == Op2->getType() &&
728 Value *Res = UndefValue::get(RetTy);
H A DInstructionCombining.cpp1102 Type *RetTy = CI->getType(); local
1106 InV = ConstantExpr::getCast(CI->getOpcode(), InC, RetTy);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp15045 QualType RetTy = Fn->getReturnType(); local
15055 if (RetTy != Context.DependentTy) {
15056 CurBlock->ReturnType = RetTy;
15141 QualType RetTy = Context.VoidTy; local
15143 RetTy = BSI->ReturnType;
15159 BlockTy = Context.getFunctionType(RetTy, None, EPI);
15163 } else if (FTy->getReturnType() == RetTy &&
15173 BlockTy = Context.getFunctionType(RetTy, FPT->getParamTypes(), EPI);
15180 BlockTy = Context.getFunctionType(RetTy, None, EPI);
15199 if (getLangOpts().CPlusPlus && RetTy
[all...]
H A DSemaDeclAttr.cpp6612 QualType RetTy = getFunctionOrMethodResultType(D); local
6613 if (!RetTy->isVoidType()) {
6740 QualType RetTy = FD->getReturnType(); local
6741 if (!RetTy->isPointerType() && !RetTy->isReferenceType()) {
6743 << AL.getRange() << RetTy;
H A DSemaType.cpp3034 static void diagnoseRedundantReturnTypeQualifiers(Sema &S, QualType RetTy, argument
3041 RetTy.getLocalCVRQualifiers(),
3076 unsigned AtomicQual = RetTy->isAtomicType() ? DeclSpec::TQ_atomic : 0;
3078 RetTy.getCVRQualifiers() | AtomicQual,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp9190 Type *RetTy = StructType::get(ArgTy, ArgTy); local
9198 const uint64_t ByteSize = DL.getTypeAllocSize(RetTy);
9199 const Align StackAlign = DL.getPrefTypeAlign(RetTy);
9205 Entry.Ty = RetTy->getPointerTo();
9210 RetTy = Type::getVoidTy(*DAG.getContext());
9229 .setCallee(CC, RetTy, Callee, std::move(Args))
14724 auto IsVADDV = [&](MVT RetTy, unsigned ExtendCode, ArrayRef<MVT> ExtTypes) {
14725 if (ResVT != RetTy || N0->getOpcode() != ExtendCode)
14732 auto IsVMLAV = [&](MVT RetTy, unsigned ExtendCode, ArrayRef<MVT> ExtTypes,
14734 if (ResVT != RetTy || N
17691 Type *RetTy = StructType::get(Ty, Ty); local
17698 .setCallee(getLibcallCallingConv(LC), RetTy, Callee, std::move(Args)) local
17723 Type *RetTy = StructType::get(*DAG.getContext(), ret); local
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp3007 QualType RetTy = removePtrSizeAddrSpace(Proto->getReturnType()); local
3011 return getFunctionType(RetTy, Args, Proto->getExtProtoInfo());
3015 QualType RetTy = removePtrSizeAddrSpace(Proto->getReturnType()); local
3016 return getFunctionNoProtoType(RetTy, Proto->getExtInfo());

Completed in 679 milliseconds

12345