Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DLangStandards.def229 // HLSL
231 HLSL, "High Level Shader Language",
232 LineComment | HLSL | CPlusPlus | CPlusPlus11)
235 HLSL, "High Level Shader Language 2015",
236 LineComment | HLSL | CPlusPlus | CPlusPlus11)
239 HLSL, "High Level Shader Language 2016",
240 LineComment | HLSL | CPlusPlus | CPlusPlus11)
243 HLSL, "High Level Shader Language 2017",
244 LineComment | HLSL | CPlusPlus | CPlusPlus11)
247 HLSL, "High Level Shader Language 2018",
[all …]
H A DHLSLIntangibleTypes.def1 //===-- HLSLIntangibleTypes.def - HLSL standard intangible types ----*- C++ -*-===//
9 // This file defines HLSL standard intangible types. These are implementation-
H A DLangStandard.h43 HLSL, enumerator
66 HLSL = (1 << 17) enumerator
H A DAttr.td398 // HLSL Annotation spellings
442 def HLSL : LangOpt<"HLSL">;
779 /// An attribute class for HLSL Annotations.
4525 /// The HLSL loop attributes
4533 let LangOpts = [HLSL];
4543 let LangOpts = [HLSL];
4856 /// HLSL Root Signature Attribute
4864 let LangOpts = [HLSL];
4872 let LangOpts = [HLSL];
4879 let LangOpts = [HLSL];
[all …]
H A DAttributeCommonInfo.h75 enum class Scope { NONE, CLANG, GNU, MSVC, OMP, HLSL, VK, GSL, RISCV }; enumerator
H A DLangOptions.def245 LANGOPT(HLSL, 1, 0, NotCompatible, "HLSL")
246 ENUM_LANGOPT(HLSLVersion, HLSLLangStd, 16, HLSL_Unset, NotCompatible, "HLSL Version")
248 "Strict availability diagnostic mode for HLSL built-in functions.")
H A DDiagnosticDriverKinds.td797 "HLSL code generation is unsupported for target '%0'">;
799 …t|shader stage}0 is required as %select{OS|environment}1 in target '%2' for HLSL code generation">;
801 …"'%0' option requires target HLSL Version >= 2018%select{| and shader model >= 6.2}1, but HLSL Ver…
803 …"%select{shader model|Vulkan environment|shader stage}0 '%1' in target '%2' is invalid for HLSL co…
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DLangOptions.cpp132 Opts.HLSL = Lang == Language::HLSL; in setLangDefaults()
133 if (Opts.HLSL && Opts.IncludeDefaultHeader) in setLangDefaults()
212 Opts.Half = Opts.OpenCL || Opts.HLSL; in setLangDefaults()
214 Opts.PreserveVec3Type = Opts.HLSL; in setLangDefaults()
H A DLangStandards.cpp42 case Language::HLSL: in languageToString()
115 case Language::HLSL: in getDefaultLanguageStandard()
H A DAttributes.cpp230 .Case("hlsl", AttributeCommonInfo::Scope::HLSL) in getScopeFromNormalizedScopeName()
H A DBuiltins.cpp160 if (!LangOpts.HLSL && (BuiltinInfo.Langs & HLSL_LANG)) in builtinIsSupported()
/freebsd/lib/clang/headers/
H A DMakefile254 INCSGROUPS+= HLSL
256 HLSL+= hlsl/hlsl_alias_intrinsics.h
257 HLSL+= hlsl/hlsl_basic_types.h
258 HLSL+= hlsl/hlsl_compat_overloads.h
259 HLSL+= hlsl/hlsl_detail.h
260 HLSL+= hlsl/hlsl_intrinsic_helpers.h
261 HLSL+= hlsl/hlsl_intrinsics.h
262 HLSL+= hlsl/hlsl_spirv.h
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseHLSL.cpp75 Decl *D = Actions.HLSL().ActOnStartBuffer(getCurScope(), IsCBuffer, BufferLoc, in ParseHLSLBuffer()
92 Actions.HLSL().ActOnFinishBuffer(D, DeclEnd); in ParseHLSLBuffer()
100 Actions.HLSL().ActOnFinishBuffer(D, DeclEnd); in ParseHLSLBuffer()
H A DParseDeclCXX.cpp2291 if (getLangOpts().HLSL) in ParseBaseSpecifier()
2310 if (getLangOpts().HLSL && IsVirtual) in ParseBaseSpecifier()
2575 if (getLangOpts().HLSL) in ParseCXXMemberDeclaratorBeforeInitializer()
3481 if (getLangOpts().HLSL) in ParseCXXClassMemberDeclarationWithPragmas()
3747 if (TagType == DeclSpec::TST_class && !getLangOpts().HLSL) in ParseCXXMemberSpecification()
4517 if (getLangOpts().MicrosoftExt || getLangOpts().HLSL) { in ParseCXX11AttributeArgs()
4946 Actions.HLSL().ActOnStartRootSignatureDecl(Signature->getString()); in ParseHLSLRootSignatureAttributeArgs()
4960 Actions.HLSL().ActOnFinishRootSignatureDecl(RootSignatureLoc, DeclIdent, in ParseHLSLRootSignatureAttributeArgs()
5013 if (getLangOpts().HLSL || AttrKind != ParsedAttr::UnknownAttribute) { in ParseMicrosoftAttributes()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp38 IdentifierInfo &HLSL = AST.Idents.get("hlsl", tok::TokenKind::identifier); in InitializeSema() local
39 LookupResult Result(S, &HLSL, SourceLocation(), Sema::LookupNamespaceName); in InitializeSema()
45 SourceLocation(), &HLSL, PrevDecl, /*Nested=*/false); in InitializeSema()
H A DSemaModule.cpp872 if (!getLangOpts().HLSL) { in ActOnStartExportDecl()
910 if (!getLangOpts().HLSL && !DeferredExportedNamespaces.insert(ND).second) in ActOnStartExportDecl()
925 if (!getLangOpts().HLSL) in ActOnStartExportDecl()
946 if (S.getLangOpts().HLSL) { in checkExportedDecl()
H A DSemaAvailability.cpp190 if (S.getLangOpts().HLSL) { in ShouldDiagnoseAvailabilityInContext()
492 if (S.getLangOpts().HLSL) in DoEmitAvailabilityWarning()
931 if (SemaRef.getLangOpts().HLSL) in DiagnoseDeclAvailability()
H A DSemaDeclAttr.cpp2156 if (S.getLangOpts().HLSL && AL.getNumArgs()) { in handleConstructorAttr()
2496 if (S.getLangOpts().HLSL && IsStrict) in handleAvailabilityAttr()
2507 if (S.getLangOpts().HLSL) { in handleAvailabilityAttr()
3833 if (S.getLangOpts().HLSL) { in handleInitPriorityAttr()
5996 bool IsHLSL = S.Context.getLangOpts().HLSL; in handleBuiltinAliasAttr()
7640 S.HLSL().handleRootSignatureAttr(D, AL); in ProcessDeclAttribute()
7643 S.HLSL().handleNumThreadsAttr(D, AL); in ProcessDeclAttribute()
7646 S.HLSL().handleWaveSizeAttr(D, AL); in ProcessDeclAttribute()
7649 S.HLSL().handleSV_PositionAttr(D, AL); in ProcessDeclAttribute()
7652 S.HLSL().handleVkExtBuiltinInputAttr(D, AL); in ProcessDeclAttribute()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendOptions.cpp36 .Case("hlsl", Language::HLSL) in getInputKindForExtension()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitNonSemanticDI.cpp73 HLSL = 5, enumerator
241 SpirvSourceLanguage = SourceLanguage::HLSL; in emitGlobalDI()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewLanguages.def36 CV_LANGUAGE(HLSL, 0x10)
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DPrettyPrinter.h82 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).
370 // Aggregate by Value cast (HLSL only).
373 // Splat cast for Aggregates (HLSL only).
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DSPIR.cpp90 if (Opts.HLSL) in getTargetDefines()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprClassification.cpp228 return Lang.HLSL ? Cl::CL_LValue : Cl::CL_PRValue; in ClassifyInternal()
708 !(Ctx.getLangOpts().HLSL && CT->isConstantArrayType())) in IsModifiable()

1234