Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DLangStandards.def221 // HLSL
223 HLSL, "High Level Shader Language",
224 LineComment | HLSL | CPlusPlus )
227 HLSL, "High Level Shader Language 2015",
228 LineComment | HLSL | CPlusPlus )
231 HLSL, "High Level Shader Language 2016",
232 LineComment | HLSL | CPlusPlus )
235 HLSL, "High Level Shader Language 2017",
236 LineComment | HLSL | CPlusPlus )
240 LineComment | HLSL | CPlusPlus )
[all …]
H A DLangStandard.h43 HLSL, enumerator
65 HLSL = (1 << 16) enumerator
H A DLangOptions.def268 LANGOPT(HLSL, 1, 0, "HLSL")
269 ENUM_LANGOPT(HLSLVersion, HLSLLangStd, 16, HLSL_Unset, "HLSL Version")
H A DAttr.td367 // HLSL Semantic spellings
411 def HLSL : LangOpt<"HLSL">;
681 /// An attribute class for HLSL Annotations.
980 .Case("shadermodel", "HLSL ShaderModel")
4294 let LangOpts = [HLSL];
4301 let LangOpts = [HLSL];
4308 let LangOpts = [HLSL];
4316 let LangOpts = [HLSL];
4323 let LangOpts = [HLSL];
4339 let LangOpts = [HLSL];
H A DDiagnosticDriverKinds.td745 "HLSL code generation is unsupported for target '%0'">;
747 …t|shader stage}0 is required as %select{OS|environment}1 in target '%2' for HLSL code generation">;
750 …"%select{shader model|Vulkan environment|shader stage}0 '%1' in target '%2' is invalid for HLSL co…
H A DDiagnosticParseKinds.td1723 // HLSL Parser Diagnostics
1726 "expected HLSL Semantic identifier">;
1729 def err_unknown_hlsl_semantic : Error<"unknown HLSL semantic %0">;
1732 "access specifiers are a clang HLSL extension">,
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DLangOptions.cpp128 Opts.HLSL = Lang == Language::HLSL; in setLangDefaults()
129 if (Opts.HLSL && Opts.IncludeDefaultHeader) in setLangDefaults()
208 Opts.Half = Opts.OpenCL || Opts.HLSL; in setLangDefaults()
H A DLangStandards.cpp42 case Language::HLSL: in languageToString()
105 case Language::HLSL: in getDefaultLanguageStandard()
H A DIdentifierTable.cpp203 return LangOpts.HLSL ? KS_Enabled : KS_Unknown; in getKeywordStatusHelper()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendOptions.cpp36 .Case("hlsl", Language::HLSL) in getInputKindForExtension()
H A DCompilerInvocation.cpp611 if (Args.hasArg(OPT_hlsl_entrypoint) && !LangOpts.HLSL) in FixupInvocation()
2752 case Language::HLSL: in GenerateFrontendArgs()
2935 .Case("hlsl", Language::HLSL) in ParseFrontendArgs()
3329 case Language::HLSL: in IsInputCompatibleWithStandard()
3330 return S.getLanguage() == Language::HLSL; in IsInputCompatibleWithStandard()
3363 case Language::HLSL: in GetInputKindName()
4223 if (Opts.HLSL) { in ParseLangArgs()
4356 if (LangOpts.HLSL && I == "hlsl.h") in GeneratePreprocessorArgs()
H A DFrontendAction.cpp1046 if (CI.getLangOpts().HLSL && CI.hasASTContext()) { in BeginSourceFile()
H A DFrontendActions.cpp1063 case Language::HLSL: in ExecuteAction()
/freebsd/lib/clang/headers/
H A DMakefile218 INCSGROUPS+= HLSL
220 HLSL+= hlsl/hlsl_basic_types.h
221 HLSL+= hlsl/hlsl_intrinsics.h
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp387 IdentifierInfo &HLSL = AST.Idents.get("hlsl", tok::TokenKind::identifier); in InitializeSema() local
388 LookupResult Result(S, &HLSL, SourceLocation(), Sema::LookupNamespaceName); in InitializeSema()
394 SourceLocation(), &HLSL, PrevDecl, /*Nested=*/false); in InitializeSema()
H A DIdentifierResolver.cpp108 if (LangOpt.HLSL && isa<HLSLBufferDecl>(D)) in isDeclInScope()
H A DSemaExprMember.cpp1722 if (S.getLangOpts().HLSL && BaseType->isScalarType()) { in LookupMemberExpr()
1773 if (getLangOpts().HLSL && IsArrow) in ActOnMemberAccessExpr()
1945 /*IsArrow=*/!getLangOpts().HLSL, SS, TemplateKWLoc, in BuildImplicitMemberExpr()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h161 HLSL = 0x10, enumerator
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBExtras.cpp231 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Lang, HLSL, OS) in operator <<()
/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/clang/include/clang/Parse/
H A DParser.h2953 assert(getLangOpts().HLSL && "MaybeParseHLSLSemantics is for HLSL only");
2963 assert(getLangOpts().HLSL && "MaybeParseHLSLSemantics is for HLSL only");
2964 if (getLangOpts().HLSL && Tok.is(tok::colon))
2973 if ((getLangOpts().MicrosoftExt || getLangOpts().HLSL) && in MaybeParseMicrosoftAttributes()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprClassification.cpp209 return Lang.HLSL ? Cl::CL_LValue : Cl::CL_PRValue; in ClassifyInternal()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DEnumTables.cpp106 CV_ENUM_ENT(SourceLanguage, HLSL), CV_ENUM_ENT(SourceLanguage, D),
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp2278 if (getLangOpts().HLSL) in ParseBaseSpecifier()
3399 if (getLangOpts().HLSL) in ParseCXXClassMemberDeclarationWithPragmas()
3644 if (TagType == DeclSpec::TST_class && !getLangOpts().HLSL) in ParseCXXMemberSpecification()
4429 if (getLangOpts().MicrosoftExt || getLangOpts().HLSL) { in ParseCXX11AttributeArgs()
4869 if (getLangOpts().HLSL || AttrKind != ParsedAttr::UnknownAttribute) { in ParseMicrosoftAttributes()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/Serialization/
H A DSymbolGraphSerializer.cpp205 case Language::HLSL: in getLanguageName()

123