| /freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | HLSL.cpp | 43 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 D | Linux.cpp | 44 llvm::Triple::EnvironmentType TargetEnvironment = in getMultiarchTriple()
|
| H A D | Darwin.cpp | 1730 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 D | DXILMetadata.cpp | 52 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 D | DXContainer.h | 41 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 D | DXContainerYAML.cpp | 154 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 D | DXContainerEmitter.cpp | 243 PSV.finalize(static_cast<Triple::EnvironmentType>( in writeParts()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaHLSL.h | 42 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 D | Triple.h | 244 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 D | LoongArchBaseInfo.cpp | 57 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 D | SemaHLSL.cpp | 149 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 D | SemaAvailability.cpp | 39 llvm::Triple::EnvironmentType ET = in hasMatchingEnvironmentOrNone() 181 llvm::Triple::EnvironmentType::Library)) in ShouldDiagnoseAvailabilityInContext()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | DarwinSDKInfo.h | 38 llvm::Triple::EnvironmentType FromEnv, in OSEnvPair() 40 llvm::Triple::EnvironmentType ToEnv) in OSEnvPair()
|
| H A D | HLSLRuntime.h | 24 getStageFromEnvironment(const llvm::Triple::EnvironmentType &E) { in getStageFromEnvironment()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/X86/ |
| H A D | ABISysV_x86_64.cpp | 75 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 D | DXContainerPSVInfo.h | 80 void finalize(Triple::EnvironmentType Stage);
|
| /freebsd/contrib/llvm-project/llvm/lib/TargetParser/ |
| H A D | Triple.cpp | 310 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 D | DXContainerPSVInfo.cpp | 150 void PSVRuntimeInfo::finalize(Triple::EnvironmentType Stage) { in finalize()
|
| /freebsd/contrib/llvm-project/lldb/source/Utility/ |
| H A D | ArchSpec.cpp | 941 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 D | CGHLSLRuntime.cpp | 453 if (T.getEnvironment() != Triple::EnvironmentType::Library) { in generateGlobalCtorDtorCalls()
|
| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | DXContainer.cpp | 232 Triple::EnvironmentType ShaderStage = dxbc::getShaderStage(ShaderKind); in parse()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/minidump/ |
| H A D | MinidumpParser.cpp | 196 triple.setEnvironment(llvm::Triple::EnvironmentType::Android); in GetArchitecture()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Driver/ |
| H A D | ToolChain.h | 211 void setTripleEnvironment(llvm::Triple::EnvironmentType Env);
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Minidump/ |
| H A D | MinidumpFileBuilder.cpp | 174 llvm::Triple::EnvironmentType::Android) in AddSystemInfo()
|
| /freebsd/contrib/llvm-project/clang/lib/Driver/ |
| H A D | ToolChain.cpp | 133 void ToolChain::setTripleEnvironment(llvm::Triple::EnvironmentType Env) { in setTripleEnvironment()
|