Lines Matching refs:Triple

52 static StringRef getShortShaderStage(Triple::EnvironmentType Env) {  in getShortShaderStage()
54 case Triple::Pixel: in getShortShaderStage()
56 case Triple::Vertex: in getShortShaderStage()
58 case Triple::Geometry: in getShortShaderStage()
60 case Triple::Hull: in getShortShaderStage()
62 case Triple::Domain: in getShortShaderStage()
64 case Triple::Compute: in getShortShaderStage()
66 case Triple::Library: in getShortShaderStage()
68 case Triple::Mesh: in getShortShaderStage()
70 case Triple::Amplification: in getShortShaderStage()
81 Triple TT(M.getTargetTriple()); in createShaderModelMD()
94 Triple TT(Triple::normalize(M.getTargetTriple())); in createDXILVersionMD()
105 static uint32_t getShaderStage(Triple::EnvironmentType Env) { in getShaderStage()
106 return (uint32_t)Env - (uint32_t)llvm::Triple::Pixel; in getShaderStage()
112 Triple::EnvironmentType ShaderKind;
119 EntryProps(Function &F, Triple::EnvironmentType ModuleShaderKind) in EntryProps()
122 if (ShaderKind == Triple::EnvironmentType::Library) { in EntryProps()
125 Triple T("", "", "", EntryProfile); 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()
295 Triple T = Triple(M.getTargetTriple()); in createEntryMD()
297 case Triple::EnvironmentType::Library: { in createEntryMD()
308 case Triple::EnvironmentType::Compute: in createEntryMD()
309 case Triple::EnvironmentType::Amplification: in createEntryMD()
310 case Triple::EnvironmentType::Mesh: in createEntryMD()
311 case Triple::EnvironmentType::Vertex: in createEntryMD()
312 case Triple::EnvironmentType::Hull: in createEntryMD()
313 case Triple::EnvironmentType::Domain: in createEntryMD()
314 case Triple::EnvironmentType::Geometry: in createEntryMD()
315 case Triple::EnvironmentType::Pixel: { in createEntryMD()