Lines Matching full:kind
42 static const char *getOverloadTypeName(OverloadKind Kind) { in getOverloadTypeName() argument
43 switch (Kind) { in getOverloadTypeName()
109 static std::string getTypeName(OverloadKind Kind, Type *Ty) { in getTypeName() argument
110 if (Kind < OverloadKind::UserDefineType) { in getTypeName()
111 return getOverloadTypeName(Kind); in getTypeName()
112 } else if (Kind == OverloadKind::UserDefineType) { in getTypeName()
115 } else if (Kind == OverloadKind::ObjectType) { in getTypeName()
148 static std::string constructOverloadName(OverloadKind Kind, Type *Ty, in constructOverloadName() argument
150 if (Kind == OverloadKind::VOID) { in constructOverloadName()
154 getTypeName(Kind, Ty)) in constructOverloadName()
158 static std::string constructOverloadTypeName(OverloadKind Kind, in constructOverloadTypeName() argument
160 if (Kind == OverloadKind::VOID) in constructOverloadTypeName()
163 assert(Kind < OverloadKind::UserDefineType && "invalid overload kind"); in constructOverloadTypeName()
164 return (Twine(TypeName) + getOverloadTypeName(Kind)).str(); in constructOverloadTypeName()
178 OverloadKind Kind = getOverloadKind(OverloadTy); in getResRetType() local
179 std::string TypeName = constructOverloadTypeName(Kind, "dx.types.ResRet."); in getResRetType()
190 static Type *getTypeFromParameterKind(ParameterKind Kind, Type *OverloadTy) { in getTypeFromParameterKind() argument
192 switch (Kind) { in getTypeFromParameterKind()
220 llvm_unreachable("Invalid parameter kind"); in getTypeFromParameterKind()
245 ParameterKind Kind = ParamKinds[I]; in getDXILOpFunctionType() local
246 ArgTys.emplace_back(getTypeFromParameterKind(Kind, OverloadTy)); in getDXILOpFunctionType()
260 OverloadKind Kind = getOverloadKind(OverloadTy); in createDXILOpCall() local
261 if ((Prop->OverloadTys & (uint16_t)Kind) == 0) { in createDXILOpCall()
265 std::string DXILFnName = constructOverloadName(Kind, OverloadTy, *Prop); in createDXILOpCall()
319 auto Kind = ParamKinds[Prop->OverloadParamIndex]; in getOverloadTy() local
321 if (Kind == ParameterKind::CBufferRet || in getOverloadTy()
322 Kind == ParameterKind::ResourceRet) { in getOverloadTy()