Home
last modified time | relevance | path

Searched refs:EnvironmentType (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DHLSL.cpp43 case Triple::EnvironmentType::Vertex: in isLegalShaderModel()
44 case Triple::EnvironmentType::Hull: in isLegalShaderModel()
45 case Triple::EnvironmentType::Domain: in isLegalShaderModel()
46 case Triple::EnvironmentType::Geometry: in isLegalShaderModel()
47 case Triple::EnvironmentType::Pixel: in isLegalShaderModel()
48 case Triple::EnvironmentType::Compute: { in isLegalShaderModel()
52 case Triple::EnvironmentType::Library: { in isLegalShaderModel()
60 case Triple::EnvironmentType::Amplification: in isLegalShaderModel()
61 case Triple::EnvironmentType::Mesh: { in isLegalShaderModel()
76 Triple::EnvironmentType Kind = in tryParseProfile()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILShaderFlags.cpp43 case Triple::EnvironmentType::Compute: in hasUAVsAtEveryStage()
44 case Triple::EnvironmentType::Pixel: in hasUAVsAtEveryStage()
46 case Triple::EnvironmentType::Vertex: in hasUAVsAtEveryStage()
47 case Triple::EnvironmentType::Geometry: in hasUAVsAtEveryStage()
48 case Triple::EnvironmentType::Hull: in hasUAVsAtEveryStage()
49 case Triple::EnvironmentType::Domain: in hasUAVsAtEveryStage()
51 case Triple::EnvironmentType::Library: in hasUAVsAtEveryStage()
52 case Triple::EnvironmentType::RayGeneration: in hasUAVsAtEveryStage()
53 case Triple::EnvironmentType::Intersection: in hasUAVsAtEveryStage()
54 case Triple::EnvironmentType::AnyHit: in hasUAVsAtEveryStage()
[all …]
H A DDXILTranslateMetadata.cpp110 static StringRef getShortShaderStage(Triple::EnvironmentType Env) { in getShortShaderStage()
136 static uint32_t getShaderStage(Triple::EnvironmentType Env) { in getShaderStage()
172 const Triple::EnvironmentType ShaderProfile) { in getEntryPropAsMetadata()
183 if (ShaderProfile == Triple::EnvironmentType::Library && in getEntryPropAsMetadata()
184 EP.ShaderStage != Triple::EnvironmentType::Library) in getEntryPropAsMetadata()
188 if (EP.ShaderStage == Triple::EnvironmentType::Compute) { in getEntryPropAsMetadata()
227 const Triple::EnvironmentType ShaderProfile) { in emitEntryMD()
341 if (MMDI.ShaderProfile == Triple::EnvironmentType::Library) { in translateMetadata()
360 if (MMDI.ShaderProfile != Triple::EnvironmentType::Library) { in translateMetadata()
H A DDXILOpBuilder.h77 Triple::EnvironmentType ShaderStage;
H A DDXILOpBuilder.cpp326 static ShaderKind getShaderKindEnum(Triple::EnvironmentType EnvType) { in getShaderKindEnum()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/
H A DLoongArchBaseInfo.cpp55 case llvm::Triple::EnvironmentType::UnknownEnvironment: in getTripleABI()
58 case llvm::Triple::EnvironmentType::GNUSF: in getTripleABI()
59 case llvm::Triple::EnvironmentType::MuslSF: in getTripleABI()
62 case llvm::Triple::EnvironmentType::GNUF32: in getTripleABI()
63 case llvm::Triple::EnvironmentType::MuslF32: in getTripleABI()
67 case llvm::Triple::EnvironmentType::GNUF64: in getTripleABI()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DDXContainer.h46 inline Triple::EnvironmentType getShaderStage(uint32_t Kind) { in getShaderStage()
49 return static_cast<Triple::EnvironmentType>(Triple::Pixel + Kind); in getShaderStage()
348 void swapBytes(Triple::EnvironmentType Stage) { in swapBytes()
350 case Triple::EnvironmentType::Pixel: in swapBytes()
353 case Triple::EnvironmentType::Vertex: in swapBytes()
356 case Triple::EnvironmentType::Geometry: in swapBytes()
359 case Triple::EnvironmentType::Hull: in swapBytes()
362 case Triple::EnvironmentType::Domain: in swapBytes()
365 case Triple::EnvironmentType::Mesh: in swapBytes()
368 case Triple::EnvironmentType::Amplification: in swapBytes()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDXContainerYAML.cpp338 Triple::EnvironmentType Stage = dxbc::getShaderStage(PSV.Info.ShaderStage); in mapping()
343 if (Stage == Triple::EnvironmentType::Hull) in mapping()
350 if (Stage == Triple::EnvironmentType::Hull) in mapping()
353 if (Stage == Triple::EnvironmentType::Domain) in mapping()
592 Triple::EnvironmentType Stage = dxbc::getShaderStage(Info.ShaderStage); in mapInfoForVersion()
595 case Triple::EnvironmentType::Pixel: in mapInfoForVersion()
599 case Triple::EnvironmentType::Vertex: in mapInfoForVersion()
602 case Triple::EnvironmentType::Geometry: in mapInfoForVersion()
608 case Triple::EnvironmentType::Hull: in mapInfoForVersion()
617 case Triple::EnvironmentType::Domain: in mapInfoForVersion()
[all …]
H A DDXContainerEmitter.cpp244 PSV.finalize(static_cast<Triple::EnvironmentType>( in writeParts()
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/
H A DTriple.h248 enum EnvironmentType { enum
341 EnvironmentType Environment{};
423 EnvironmentType getEnvironment() const { return Environment; } in getEnvironment()
654 EnvironmentType Env = getEnvironment(); in isGNUEnvironment()
868 EnvironmentType Env = getEnvironment(); in isShaderStageEnvironment()
1125 EnvironmentType Env = getEnvironment(); in isABIN32()
1131 EnvironmentType Env = getEnvironment(); in isX32()
1142 EnvironmentType Env = getEnvironment(); in isTime64ABI()
1149 EnvironmentType Env = getEnvironment(); in isHardFloatABI()
1197 LLVM_ABI void setEnvironment(EnvironmentType Kind);
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DDXILMetadataAnalysis.h26 Triple::EnvironmentType ShaderStage{Triple::UnknownEnvironment};
37 Triple::EnvironmentType ShaderProfile{Triple::UnknownEnvironment};
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaHLSL.h123 llvm::Triple::EnvironmentType ShaderType);
135 const Attr *A, llvm::Triple::EnvironmentType Stage,
136 std::initializer_list<llvm::Triple::EnvironmentType> AllowedStages);
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDarwinSDKInfo.h38 llvm::Triple::EnvironmentType FromEnv, in OSEnvPair()
40 llvm::Triple::EnvironmentType ToEnv) in OSEnvPair()
H A DHLSLRuntime.h24 getStageFromEnvironment(const llvm::Triple::EnvironmentType &E) { in getStageFromEnvironment()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DDXContainerPSVInfo.h80 void finalize(Triple::EnvironmentType Stage);
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/X86/
H A DABISysV_x86_64.cpp75 const llvm::Triple::EnvironmentType os_env = in CreateInstance()
84 case llvm::Triple::EnvironmentType::MacABI: in CreateInstance()
85 case llvm::Triple::EnvironmentType::Simulator: in CreateInstance()
86 case llvm::Triple::EnvironmentType::UnknownEnvironment: in CreateInstance()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaHLSL.cpp685 llvm::Triple::EnvironmentType ShaderType) { in mergeShaderAttr()
723 llvm::Triple::EnvironmentType Env = TargetInfo.getTriple().getEnvironment(); in ActOnTopLevelFunction()
753 llvm::Triple::EnvironmentType ST = ShaderAttr->getType(); in CheckEntryPoint()
829 llvm::Triple::EnvironmentType ST = ShaderAttr->getType(); in CheckSemanticAnnotation()
853 const Attr *A, llvm::Triple::EnvironmentType Stage, in DiagnoseAttrStageMismatch()
854 std::initializer_list<llvm::Triple::EnvironmentType> AllowedStages) { in DiagnoseAttrStageMismatch()
857 [](llvm::Triple::EnvironmentType ST) { in DiagnoseAttrStageMismatch()
1596 llvm::Triple::EnvironmentType ShaderType; in handleShaderAttr()
2112 llvm::Triple::EnvironmentType CurrentShaderEnvironment;
2121 void SetShaderStageContext(llvm::Triple::EnvironmentType ShaderType) { in SetShaderStageContext()
[all …]
H A DSemaAvailability.cpp41 llvm::Triple::EnvironmentType ET = in hasMatchingEnvironmentOrNone()
194 llvm::Triple::EnvironmentType::Library)) in ShouldDiagnoseAvailabilityInContext()
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DTriple.cpp330 StringRef Triple::getEnvironmentTypeName(EnvironmentType Kind) { in getEnvironmentTypeName()
723 static Triple::EnvironmentType parseEnvironment(StringRef EnvironmentName) { in parseEnvironment()
724 return StringSwitch<Triple::EnvironmentType>(EnvironmentName) in parseEnvironment()
1040 StringSwitch<Triple::EnvironmentType>(Components[0]) in Triple()
1163 EnvironmentType Environment = UnknownEnvironment; in normalize()
1622 void Triple::setEnvironment(EnvironmentType Kind) { in setEnvironment()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DDXContainerPSVInfo.cpp149 void PSVRuntimeInfo::finalize(Triple::EnvironmentType Stage) { in finalize()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DArchSpec.cpp967 static bool IsCompatibleEnvironment(llvm::Triple::EnvironmentType lhs, in IsCompatibleEnvironment()
968 llvm::Triple::EnvironmentType rhs) { in IsCompatibleEnvironment()
1031 const llvm::Triple::EnvironmentType lhs_triple_env = in IsMatch()
1033 const llvm::Triple::EnvironmentType rhs_triple_env = in IsMatch()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DDXContainer.cpp287 Triple::EnvironmentType ShaderStage = dxbc::getShaderStage(ShaderKind); in parse()
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DToolChain.h209 void setTripleEnvironment(llvm::Triple::EnvironmentType Env);
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
H A DMinidumpParser.cpp200 triple.setEnvironment(llvm::Triple::EnvironmentType::Android); in GetArchitecture()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGHLSLRuntime.cpp555 if (T.getEnvironment() != Triple::EnvironmentType::Library) { in generateGlobalCtorDtorCalls()

12