Home
last modified time | relevance | path

Searched refs:OverloadTy (Results 1 – 22 of 22) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp177 static StructType *getResRetType(Type *OverloadTy, LLVMContext &Ctx) { in getResRetType() argument
178 OverloadKind Kind = getOverloadKind(OverloadTy); in getResRetType()
180 Type *FieldTypes[5] = {OverloadTy, OverloadTy, OverloadTy, OverloadTy, in getResRetType()
190 static Type *getTypeFromParameterKind(ParameterKind Kind, Type *OverloadTy) { in getTypeFromParameterKind() argument
191 auto &Ctx = OverloadTy->getContext(); in getTypeFromParameterKind()
212 return OverloadTy; in getTypeFromParameterKind()
214 return getResRetType(OverloadTy, Ctx); in getTypeFromParameterKind()
232 Type *ReturnTy, Type *OverloadTy) { in getDXILOpFunctionType() argument
241 ArgTys.emplace_back(Type::getInt32Ty(OverloadTy->getContext())); in getDXILOpFunctionType()
246 ArgTys.emplace_back(getTypeFromParameterKind(Kind, OverloadTy)); in getDXILOpFunctionType()
[all …]
H A DDXILOpLowering.cpp78 Type *OverloadTy = DXILB.getOverloadTy(DXILOp, F.getFunctionType()); in lowerIntrinsic() local
95 DXILB.createDXILOpCall(DXILOp, F.getReturnType(), OverloadTy, Args); in lowerIntrinsic()
H A DDXILOpBuilder.h38 Type *OverloadTy, SmallVector<Value *> Args);
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIntrinsicInst.cpp664 Type *OverloadTy = Params[0]->getType(); in getDeclarationForParams() local
666 OverloadTy = in getDeclarationForParams()
669 VPFunc = Intrinsic::getDeclaration(M, VPID, OverloadTy); in getDeclarationForParams()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp1208 if (SrcExpr.get()->getType() == Self.Context.OverloadTy) { in CheckReinterpretCast()
1280 if (SrcExpr.get()->getType() == Self.Context.OverloadTy) { in CheckStaticCast()
1777 if (SrcExpr.get()->getType() == Self.Context.OverloadTy) { in TryStaticMemberPointerUpcast()
2266 if (SrcType == Self.Context.OverloadTy) { in TryReinterpretCast()
2846 if (SrcExpr.get()->getType() == Self.Context.OverloadTy) { in CheckCXXCStyleCast()
2956 if (SrcExpr.get()->getType() == Self.Context.OverloadTy) { in CheckCStyleCast()
H A DSemaOverload.cpp2101 if (FromType == S.Context.OverloadTy) { in IsStandardConversion()
2154 S.Context.getCanonicalType(FromType) != S.Context.OverloadTy) { in IsStandardConversion()
5045 if (S.Context.getCanonicalType(T2) == S.Context.OverloadTy) { in TryReferenceInit()
5535 if (S.Context.getCanonicalType(T2) == S.Context.OverloadTy) { in TryListConversion()
11079 assert(OverloadedExpr->getType() == Context.OverloadTy); in NoteAllOverloadCandidates()
11157 if (FromTy == S.Context.OverloadTy) { in DiagnoseBadConversion()
13155 assert(AddressOfExpr->getType() == Context.OverloadTy); in ResolveAddressOfOverloadedFunction()
13278 assert(E->getType() == Context.OverloadTy && "SrcExpr must be an overload"); in resolveAndFixAddressOfSingleOverloadCandidate()
13380 assert(SrcExpr.get()->getType() == Context.OverloadTy); in ResolveAndFixSingleFunctionTemplateSpecialization()
15218 MemExprE->getType() == Context.OverloadTy); in BuildCallToMemberFunction()
H A DSemaInit.cpp4528 S.Context.OverloadTy) { in ResolveOverloadedFunctionForReferenceBinding()
5210 if (S.Context.getCanonicalType(T2) == S.Context.OverloadTy) in TryReferenceInitializationCore()
5386 else if (S.Context.getCanonicalType(T2) == S.Context.OverloadTy) in TryReferenceInitializationCore()
6693 Initializer->getType() == Context.OverloadTy && in InitializeFrom()
8589 if (OnlyArg->getType() == S.Context.OverloadTy) { in Diagnose()
H A DSemaExpr.cpp659 if (T == Context.OverloadTy || T->isRecordType() || in DefaultLvalueConversion()
6204 QualType OverloadTy = Context.getFunctionType(FT->getReturnType(), in rewriteBuiltinFunctionDecl() local
6209 FDecl->getIdentifier(), OverloadTy, in rewriteBuiltinFunctionDecl()
6214 FT = cast<FunctionProtoType>(OverloadTy); in rewriteBuiltinFunctionDecl()
6477 if (Fn->getType() == Context.OverloadTy) { in BuildCallExpr()
9615 } else if (RHS.get()->getType() == Context.OverloadTy) { in CheckSingleAssignmentConstraints()
13999 return Context.OverloadTy; in CheckAddressOfOperand()
14162 return Context.OverloadTy; in CheckAddressOfOperand()
16865 if (SecondType == Context.OverloadTy) in DiagnoseAssignmentResult()
H A DSemaTemplate.cpp4445 if (ULE->getType() == Context.OverloadTy && R.isSingleResult() && in BuildTemplateIdExpr()
5899 } else if (Context.hasSameUnqualifiedType(Arg, Context.OverloadTy)) { in CheckTemplateArgument()
6981 if (Arg->getType() == Context.OverloadTy) { in CheckTemplateArgument()
7035 if (Arg->getType() == Context.OverloadTy) { in CheckTemplateArgument()
H A DSema.cpp2478 if (E.getType() == Context.OverloadTy) { in tryExprAsCall()
H A DSemaTemplateDeduction.cpp1662 assert(A->getCanonicalTypeInternal() != S.Context.OverloadTy && in DeduceTemplateArgumentsByTypeMatch()
4166 if (ArgType == S.Context.OverloadTy) { in AdjustFunctionParmAndArgTypesForDeduction()
H A DSemaLookup.cpp3241 if (Arg->getType() != Context.OverloadTy) { in FindAssociatedClassesAndNamespaces()
H A DSemaStmt.cpp3677 if (RetExpr->getType() == Context.OverloadTy) { in DeduceFunctionTypeFromReturnExpr()
H A DSemaDeclAttr.cpp3259 if (ULE->getType() == S.Context.OverloadTy) in handleCleanupAttr()
H A DSemaExprCXX.cpp4350 if (Context.hasSameType(FromType, Context.OverloadTy)) { in PerformImplicitConversion()
H A DSemaType.cpp1839 assert(Context.getCanonicalType(T) != Context.OverloadTy && in BuildReferenceType()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DBuiltinTypes.def279 PLACEHOLDER_TYPE(Overload, OverloadTy)
H A DASTContext.h1146 CanQualType DependentTy, OverloadTy, BoundMemberTy, UnresolvedTemplateTy, variable
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprClassification.cpp45 if (TR->isFunctionType() || TR == Ctx.OverloadTy) in ClassifyImpl()
H A DExprCXX.cpp476 : Expr(SC, Context.OverloadTy, VK_LValue, OK_Ordinary), NameInfo(NameInfo), in OverloadExpr()
H A DASTContext.cpp1332 InitBuiltinType(OverloadTy, BuiltinType::Overload); in InitBuiltinTypes()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp7331 T = Context.OverloadTy; in GetType()