Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
189 static Type *getTypeFromParameterKind(ParameterKind Kind, Type *OverloadTy) { in getTypeFromParameterKind() argument
190 auto &Ctx = OverloadTy->getContext(); in getTypeFromParameterKind()
211 return OverloadTy; in getTypeFromParameterKind()
213 return getResRetType(OverloadTy, Ctx); in getTypeFromParameterKind()
224 Type *OverloadTy) { in getDXILOpFunctionType() argument
231 ArgTys.emplace_back(getTypeFromParameterKind(Kind, OverloadTy)); in getDXILOpFunctionType()
238 Type *OverloadTy, Module &M) { in getOrCreateDXILOpFunction() argument
[all …]
H A DDXILOpLowering.cpp36 Type *OverloadTy = in lowerIntrinsic() local
47 CallInst *DXILCI = DXILB.createDXILOpCall(DXILOp, OverloadTy, CI->args()); in lowerIntrinsic()
H A DDXILOpBuilder.h32 CallInst *createDXILOpCall(dxil::OpCode OpCode, Type *OverloadTy,
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DIntrinsicInst.cpp589 Type *OverloadTy = Params[0]->getType(); in getDeclarationForParams() local
591 OverloadTy = in getDeclarationForParams()
594 VPFunc = Intrinsic::getDeclaration(M, VPID, OverloadTy); in getDeclarationForParams()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaCast.cpp1168 if (SrcExpr.get()->getType() == Self.Context.OverloadTy) { in CheckReinterpretCast()
1240 if (SrcExpr.get()->getType() == Self.Context.OverloadTy) { in CheckStaticCast()
1738 if (SrcExpr.get()->getType() == Self.Context.OverloadTy) { in TryStaticMemberPointerUpcast()
2226 if (SrcType == Self.Context.OverloadTy) { in TryReinterpretCast()
2790 if (SrcExpr.get()->getType() == Self.Context.OverloadTy) { in CheckCXXCStyleCast()
2900 if (SrcExpr.get()->getType() == Self.Context.OverloadTy) { in CheckCStyleCast()
H A DSemaOverload.cpp1822 if (FromType == S.Context.OverloadTy) { in IsStandardConversion()
1875 S.Context.getCanonicalType(FromType) != S.Context.OverloadTy) { in IsStandardConversion()
4849 if (S.Context.getCanonicalType(T2) == S.Context.OverloadTy) { in TryReferenceInit()
5326 if (S.Context.getCanonicalType(T2) == S.Context.OverloadTy) { in TryListConversion()
10645 assert(OverloadedExpr->getType() == Context.OverloadTy); in NoteAllOverloadCandidates()
10713 if (FromTy == S.Context.OverloadTy) { in DiagnoseBadConversion()
12604 assert(AddressOfExpr->getType() == Context.OverloadTy); in ResolveAddressOfOverloadedFunction()
12728 assert(E->getType() == Context.OverloadTy && "SrcExpr must be an overload"); in resolveAndFixAddressOfSingleOverloadCandidate()
12847 assert(SrcExpr.get()->getType() == Context.OverloadTy); in ResolveAndFixSingleFunctionTemplateSpecialization()
14571 MemExprE->getType() == Context.OverloadTy); in BuildCallToMemberFunction()
H A DSemaExpr.cpp653 (E->getType() == Context.OverloadTy || in DefaultLvalueConversion()
6682 QualType OverloadTy = Context.getFunctionType(FT->getReturnType(), in rewriteBuiltinFunctionDecl() local
6687 FDecl->getIdentifier(), OverloadTy, in rewriteBuiltinFunctionDecl()
6692 FT = cast<FunctionProtoType>(OverloadTy); in rewriteBuiltinFunctionDecl()
6951 if (Fn->getType() == Context.OverloadTy) { in BuildCallExpr()
10231 } else if (RHS.get()->getType() == Context.OverloadTy) { in CheckSingleAssignmentConstraints()
14548 return Context.OverloadTy; in CheckAddressOfOperand()
14695 return Context.OverloadTy; in CheckAddressOfOperand()
17403 if (SecondType == Context.OverloadTy) in DiagnoseAssignmentResult()
H A DSemaInit.cpp4283 S.Context.OverloadTy) { in ResolveOverloadedFunctionForReferenceBinding()
4933 if (S.Context.getCanonicalType(T2) == S.Context.OverloadTy) in TryReferenceInitializationCore()
5109 else if (S.Context.getCanonicalType(T2) == S.Context.OverloadTy) in TryReferenceInitializationCore()
6404 } else if (Initializer->getType() == Context.OverloadTy && in InitializeFrom()
H A DSema.cpp2435 if (E.getType() == Context.OverloadTy) { in tryExprAsCall()
H A DSemaTemplateDeduction.cpp1502 assert(A->getCanonicalTypeInternal() != S.Context.OverloadTy && in DeduceTemplateArgumentsByTypeMatch()
3853 if (ArgType == S.Context.OverloadTy) { in AdjustFunctionParmAndArgTypesForDeduction()
H A DSemaTemplate.cpp6446 } else if (Context.hasSameUnqualifiedType(Arg, Context.OverloadTy)) { in CheckTemplateArgument()
7558 if (Arg->getType() == Context.OverloadTy) { in CheckTemplateArgument()
7609 if (Arg->getType() == Context.OverloadTy) { in CheckTemplateArgument()
H A DSemaLookup.cpp3264 if (Arg->getType() != Context.OverloadTy) { in FindAssociatedClassesAndNamespaces()
H A DSemaExprCXX.cpp4303 if (Context.hasSameType(FromType, Context.OverloadTy)) { in PerformImplicitConversion()
H A DSemaType.cpp2220 assert(Context.getCanonicalType(T) != Context.OverloadTy && in BuildReferenceType()
H A DSemaDeclAttr.cpp3707 if (ULE->getType() == S.Context.OverloadTy) in handleCleanupAttr()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DBuiltinTypes.def279 PLACEHOLDER_TYPE(Overload, OverloadTy)
H A DASTContext.h1105 CanQualType DependentTy, OverloadTy, BoundMemberTy, UnknownAnyTy; variable
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExprClassification.cpp45 if (TR->isFunctionType() || TR == Ctx.OverloadTy) in ClassifyImpl()
H A DExprCXX.cpp423 : Expr(SC, Context.OverloadTy, VK_LValue, OK_Ordinary), NameInfo(NameInfo), in OverloadExpr()
H A DASTContext.cpp1368 InitBuiltinType(OverloadTy, BuiltinType::Overload); in InitBuiltinTypes()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReader.cpp7082 T = Context.OverloadTy; in GetType()