Home
last modified time | relevance | path

Searched refs:HLSL (Results 1 – 25 of 72) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DLangStandards.def230 // HLSL
232 HLSL, "High Level Shader Language",
233 LineComment | HLSL | CPlusPlus )
236 HLSL, "High Level Shader Language 2015",
237 LineComment | HLSL | CPlusPlus )
240 HLSL, "High Level Shader Language 2016",
241 LineComment | HLSL | CPlusPlus )
244 HLSL, "High Level Shader Language 2017",
245 LineComment | HLSL | CPlusPlus )
248 HLSL, "High Level Shader Language 2018",
[all …]
H A DLangStandard.h44 HLSL, enumerator
67 HLSL = (1 << 17) enumerator
H A DLangOptions.def282 LANGOPT(HLSL, 1, 0, "HLSL")
283 ENUM_LANGOPT(HLSLVersion, HLSLLangStd, 16, HLSL_Unset, "HLSL Version")
285 "Strict availability diagnostic mode for HLSL built-in functions.")
H A DDiagnosticDriverKinds.td766 "HLSL code generation is unsupported for target '%0'">;
768 …t|shader stage}0 is required as %select{OS|environment}1 in target '%2' for HLSL code generation">;
770 …"'%0' option requires target HLSL Version >= 2018%select{| and shader model >= 6.2}1, but HLSL Ver…
772 …"%select{shader model|Vulkan environment|shader stage}0 '%1' in target '%2' is invalid for HLSL co…
H A DAttr.td377 // HLSL Annotation spellings
421 def HLSL : LangOpt<"HLSL">;
735 /// An attribute class for HLSL Annotations.
4184 /// The HLSL loop attributes
4192 let LangOpts = [HLSL];
4508 let LangOpts = [HLSL];
4515 let LangOpts = [HLSL];
4522 let LangOpts = [HLSL];
4529 let LangOpts = [HLSL];
4542 let LangOpts = [HLSL];
[all …]
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DLangOptions.cpp130 Opts.HLSL = Lang == Language::HLSL; in setLangDefaults()
131 if (Opts.HLSL && Opts.IncludeDefaultHeader) in setLangDefaults()
210 Opts.Half = Opts.OpenCL || Opts.HLSL; in setLangDefaults()
H A DLangStandards.cpp44 case Language::HLSL: in languageToString()
118 case Language::HLSL: in getDefaultLanguageStandard()
H A DIdentifierTable.cpp203 return LangOpts.HLSL ? KS_Enabled : KS_Unknown; in getKeywordStatusHelper()
H A DTargetInfo.cpp411 if (Opts.HLSL) { in adjust()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseHLSL.cpp75 Decl *D = Actions.HLSL().ActOnStartBuffer(getCurScope(), IsCBuffer, BufferLoc, in ParseHLSLBuffer()
91 Actions.HLSL().ActOnFinishBuffer(D, DeclEnd); in ParseHLSLBuffer()
99 Actions.HLSL().ActOnFinishBuffer(D, DeclEnd); in ParseHLSLBuffer()
H A DParseDeclCXX.cpp2442 if (getLangOpts().HLSL) in ParseBaseSpecifier()
2692 if (getLangOpts().HLSL) in ParseCXXMemberDeclaratorBeforeInitializer()
3579 if (getLangOpts().HLSL) in ParseCXXClassMemberDeclarationWithPragmas()
3825 if (TagType == DeclSpec::TST_class && !getLangOpts().HLSL) in ParseCXXMemberSpecification()
4688 if (getLangOpts().MicrosoftExt || getLangOpts().HLSL) { in ParseCXX11AttributeArgs()
5140 if (getLangOpts().HLSL || AttrKind != ParsedAttr::UnknownAttribute) { in ParseMicrosoftAttributes()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendOptions.cpp36 .Case("hlsl", Language::HLSL) in getInputKindForExtension()
H A DCompilerInvocation.cpp635 if (Args.hasArg(OPT_hlsl_entrypoint) && !LangOpts.HLSL) in FixupInvocation()
2831 case Language::HLSL: in GenerateFrontendArgs()
3043 .Case("hlsl", Language::HLSL) in ParseFrontendArgs()
3496 case Language::HLSL: in IsInputCompatibleWithStandard()
3497 return S.getLanguage() == Language::HLSL; in IsInputCompatibleWithStandard()
3532 case Language::HLSL: in GetInputKindName()
3653 Opts.HLSL)) in GenerateLangArgs()
4054 Opts.SYCLIsDevice || Opts.HLSL; in ParseLangArgs()
4401 if (Opts.HLSL) { in ParseLangArgs()
4555 if (LangOpts.HLSL && I == "hlsl.h") in GeneratePreprocessorArgs()
/freebsd/lib/clang/headers/
H A DMakefile219 INCSGROUPS+= HLSL
221 HLSL+= hlsl/hlsl_basic_types.h
222 HLSL+= hlsl/hlsl_intrinsics.h
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DPrettyPrinter.h80 UseEnumerators(true), UseHLSLTypes(LO.HLSL) {} in PrintingPolicy()
H A DOperationKinds.def364 // Truncate a vector type by dropping elements from the end (HLSL only).
367 // Non-decaying array RValue cast (HLSL only).
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp397 IdentifierInfo &HLSL = AST.Idents.get("hlsl", tok::TokenKind::identifier); in InitializeSema() local
398 LookupResult Result(S, &HLSL, SourceLocation(), Sema::LookupNamespaceName); in InitializeSema()
404 SourceLocation(), &HLSL, PrevDecl, /*Nested=*/false); in InitializeSema()
H A DSemaModule.cpp858 if (!getLangOpts().HLSL) { in ActOnStartExportDecl()
896 if (!getLangOpts().HLSL && !DeferredExportedNamespaces.insert(ND).second) in ActOnStartExportDecl()
911 if (!getLangOpts().HLSL) in ActOnStartExportDecl()
932 if (S.getLangOpts().HLSL) { in checkExportedDecl()
H A DSemaAvailability.cpp177 if (S.getLangOpts().HLSL) { in ShouldDiagnoseAvailabilityInContext()
473 if (S.getLangOpts().HLSL) in DoEmitAvailabilityWarning()
891 if (SemaRef.getLangOpts().HLSL) in DiagnoseDeclAvailability()
H A DSemaExprMember.cpp1735 if (S.getLangOpts().HLSL && BaseType->isScalarType()) { in LookupMemberExpr()
1770 if (getLangOpts().HLSL && IsArrow) in ActOnMemberAccessExpr()
1931 /*IsArrow=*/!getLangOpts().HLSL, SS, TemplateKWLoc, in BuildImplicitMemberExpr()
H A DSemaDeclAttr.cpp1987 if (S.getLangOpts().HLSL && AL.getNumArgs()) { in handleConstructorAttr()
2296 if (S.getLangOpts().HLSL && IsStrict) in handleAvailabilityAttr()
2307 if (S.getLangOpts().HLSL) { in handleAvailabilityAttr()
3410 if (S.getLangOpts().HLSL) { in handleInitPriorityAttr()
5278 bool IsHLSL = S.Context.getLangOpts().HLSL; in handleBuiltinAliasAttr()
6870 S.HLSL().handleNumThreadsAttr(D, AL); in ProcessDeclAttribute()
6876 S.HLSL().handleSV_DispatchThreadIDAttr(D, AL); in ProcessDeclAttribute()
6879 S.HLSL().handlePackOffsetAttr(D, AL); in ProcessDeclAttribute()
6882 S.HLSL().handleShaderAttr(D, AL); in ProcessDeclAttribute()
6885 S.HLSL().handleResourceBindingAttr(D, AL); in ProcessDeclAttribute()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicsSPIRV.td57 // The following intrinsic(s) are mirrored from IntrinsicsDirectX.td for HLSL support.
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h163 HLSL = 0x10, enumerator
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DTypes.def59 TYPE("hlsl", HLSL, PP_CXX, "hlsl", phases::Preprocess, phase…
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBExtras.cpp232 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, HLSL, OS) in operator <<()

123