Home
last modified time | relevance | path

Searched refs:EnvironmentType (Results 1 – 25 of 28) 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 …]
H A DLinux.cpp44 llvm::Triple::EnvironmentType TargetEnvironment = in getMultiarchTriple()
H A DDarwin.cpp1730 void setEnvironment(llvm::Triple::EnvironmentType EnvType, in setEnvironment()
1782 llvm::Triple::EnvironmentType Environment, Arg *A, in createFromMTargetOS()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILMetadata.cpp52 static StringRef getShortShaderStage(Triple::EnvironmentType Env) { in getShortShaderStage()
105 static uint32_t getShaderStage(Triple::EnvironmentType Env) { in getShaderStage()
112 Triple::EnvironmentType ShaderKind;
119 EntryProps(Function &F, Triple::EnvironmentType ModuleShaderKind) in EntryProps()
122 if (ShaderKind == Triple::EnvironmentType::Library) { in EntryProps()
129 if (ShaderKind == Triple::EnvironmentType::Compute) { in EntryProps()
157 if (IsLib && ShaderKind != Triple::EnvironmentType::Library) in emitDXILEntryProps()
160 if (ShaderKind == Triple::EnvironmentType::Compute) in emitDXILEntryProps()
230 EntryMD(Function &F, Triple::EnvironmentType ModuleShaderKind) in EntryMD()
297 case Triple::EnvironmentType::Library: { in createEntryMD()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DDXContainer.h41 inline Triple::EnvironmentType getShaderStage(uint32_t Kind) { in getShaderStage()
44 return static_cast<Triple::EnvironmentType>(Triple::Pixel + Kind); in getShaderStage()
247 void swapBytes(Triple::EnvironmentType Stage) { in swapBytes()
249 case Triple::EnvironmentType::Pixel: in swapBytes()
252 case Triple::EnvironmentType::Vertex: in swapBytes()
255 case Triple::EnvironmentType::Geometry: in swapBytes()
258 case Triple::EnvironmentType::Hull: in swapBytes()
261 case Triple::EnvironmentType::Domain: in swapBytes()
264 case Triple::EnvironmentType::Mesh: in swapBytes()
267 case Triple::EnvironmentType::Amplification: in swapBytes()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDXContainerYAML.cpp154 Triple::EnvironmentType Stage = dxbc::getShaderStage(PSV.Info.ShaderStage); in mapping()
159 if (Stage == Triple::EnvironmentType::Hull) in mapping()
166 if (Stage == Triple::EnvironmentType::Hull) in mapping()
169 if (Stage == Triple::EnvironmentType::Domain) in mapping()
279 Triple::EnvironmentType Stage = dxbc::getShaderStage(Info.ShaderStage); in mapInfoForVersion()
282 case Triple::EnvironmentType::Pixel: in mapInfoForVersion()
286 case Triple::EnvironmentType::Vertex: in mapInfoForVersion()
289 case Triple::EnvironmentType::Geometry: in mapInfoForVersion()
295 case Triple::EnvironmentType::Hull: in mapInfoForVersion()
304 case Triple::EnvironmentType::Domain: in mapInfoForVersion()
[all …]
H A DDXContainerEmitter.cpp243 PSV.finalize(static_cast<Triple::EnvironmentType>( in writeParts()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaHLSL.h42 llvm::Triple::EnvironmentType ShaderType);
51 const Attr *A, llvm::Triple::EnvironmentType Stage,
52 std::initializer_list<llvm::Triple::EnvironmentType> AllowedStages);
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/
H A DTriple.h244 enum EnvironmentType { enum
332 EnvironmentType Environment{};
396 EnvironmentType getEnvironment() const { return Environment; } in getEnvironment()
611 EnvironmentType Env = getEnvironment(); in isGNUEnvironment()
819 EnvironmentType Env = getEnvironment(); in isShaderStageEnvironment()
1047 EnvironmentType Env = getEnvironment(); in isX32()
1058 EnvironmentType Env = getEnvironment(); in isTime64ABI()
1065 EnvironmentType Env = getEnvironment(); in isHardFloatABI()
1112 void setEnvironment(EnvironmentType Kind);
1213 static StringRef getEnvironmentTypeName(EnvironmentType Kind);
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/
H A DLoongArchBaseInfo.cpp57 case llvm::Triple::EnvironmentType::GNUSF: in getTripleABI()
60 case llvm::Triple::EnvironmentType::GNUF32: in getTripleABI()
64 case llvm::Triple::EnvironmentType::GNUF64: in getTripleABI()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaHLSL.cpp149 llvm::Triple::EnvironmentType ShaderType) { in mergeShaderAttr()
187 llvm::Triple::EnvironmentType Env = TargetInfo.getTriple().getEnvironment(); in ActOnTopLevelFunction()
217 llvm::Triple::EnvironmentType ST = ShaderAttr->getType(); in CheckEntryPoint()
272 llvm::Triple::EnvironmentType ST = ShaderAttr->getType(); in CheckSemanticAnnotation()
287 const Attr *A, llvm::Triple::EnvironmentType Stage, in DiagnoseAttrStageMismatch()
288 std::initializer_list<llvm::Triple::EnvironmentType> AllowedStages) { in DiagnoseAttrStageMismatch()
291 [](llvm::Triple::EnvironmentType ST) { in DiagnoseAttrStageMismatch()
426 llvm::Triple::EnvironmentType ShaderType; in handleShaderAttr()
589 llvm::Triple::EnvironmentType CurrentShaderEnvironment;
598 void SetShaderStageContext(llvm::Triple::EnvironmentType ShaderType) { in SetShaderStageContext()
[all …]
H A DSemaAvailability.cpp39 llvm::Triple::EnvironmentType ET = in hasMatchingEnvironmentOrNone()
181 llvm::Triple::EnvironmentType::Library)) in ShouldDiagnoseAvailabilityInContext()
/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/lldb/source/Plugins/ABI/X86/
H A DABISysV_x86_64.cpp75 const llvm::Triple::EnvironmentType os_env = in CreateInstance()
83 case llvm::Triple::EnvironmentType::MacABI: in CreateInstance()
84 case llvm::Triple::EnvironmentType::Simulator: in CreateInstance()
85 case llvm::Triple::EnvironmentType::UnknownEnvironment: in CreateInstance()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DDXContainerPSVInfo.h80 void finalize(Triple::EnvironmentType Stage);
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DTriple.cpp310 StringRef Triple::getEnvironmentTypeName(EnvironmentType Kind) { in getEnvironmentTypeName()
693 static Triple::EnvironmentType parseEnvironment(StringRef EnvironmentName) { in parseEnvironment()
694 return StringSwitch<Triple::EnvironmentType>(EnvironmentName) in parseEnvironment()
1003 StringSwitch<Triple::EnvironmentType>(Components[0]) in Triple()
1123 EnvironmentType Environment = UnknownEnvironment; in normalize()
1547 void Triple::setEnvironment(EnvironmentType Kind) { in setEnvironment()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DDXContainerPSVInfo.cpp150 void PSVRuntimeInfo::finalize(Triple::EnvironmentType Stage) { in finalize()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DArchSpec.cpp941 static bool IsCompatibleEnvironment(llvm::Triple::EnvironmentType lhs, in IsCompatibleEnvironment()
942 llvm::Triple::EnvironmentType rhs) { in IsCompatibleEnvironment()
1005 const llvm::Triple::EnvironmentType lhs_triple_env = in IsMatch()
1007 const llvm::Triple::EnvironmentType rhs_triple_env = in IsMatch()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGHLSLRuntime.cpp453 if (T.getEnvironment() != Triple::EnvironmentType::Library) { in generateGlobalCtorDtorCalls()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DDXContainer.cpp232 Triple::EnvironmentType ShaderStage = dxbc::getShaderStage(ShaderKind); in parse()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
H A DMinidumpParser.cpp196 triple.setEnvironment(llvm::Triple::EnvironmentType::Android); in GetArchitecture()
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DToolChain.h211 void setTripleEnvironment(llvm::Triple::EnvironmentType Env);
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Minidump/
H A DMinidumpFileBuilder.cpp174 llvm::Triple::EnvironmentType::Android) in AddSystemInfo()
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DToolChain.cpp133 void ToolChain::setTripleEnvironment(llvm::Triple::EnvironmentType Env) { in setTripleEnvironment()

12