Home
last modified time | relevance | path

Searched refs:DXIL (Results 1 – 22 of 22) sorted by relevance

/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Ddxcontainer2yaml.cpp42 Optional<DXContainer::DXILData> DXIL = Container.getDXIL(); in dumpDXContainer() local
43 assert(DXIL && "Since we are iterating and found a DXIL part, " in dumpDXContainer()
48 DXIL->first.MajorVersion, DXIL->first.MinorVersion, in dumpDXContainer()
49 DXIL->first.ShaderKind, DXIL->first.Size, in dumpDXContainer()
50 DXIL->first.Bitcode.MajorVersion, in dumpDXContainer()
51 DXIL->first.Bitcode.MinorVersion, DXIL->first.Bitcode.Offset, in dumpDXContainer()
52 DXIL->first.Bitcode.Size, in dumpDXContainer()
54 DXIL->second, DXIL->second + DXIL->first.Bitcode.Size)}}); in dumpDXContainer()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/
H A DDXILStubs.td1 // DXIL doesn't actually use registers, but this gets the boilerplate code
3 let Namespace = "DXIL" in {
4 def DXIL : Register<"DXIL">;
5 def DXILClass : RegisterClass<"DXIL", [i32], 32, (add DXIL)>;
9 let Namespace = "DXIL";
10 let DecoderNamespace = "DXIL";
H A DDXIL.td1 //- DXIL.td - Describe DXIL operation -------------------------*- tablegen -*-//
10 /// This is a target description file for DXIL operation.
35 // The parameter description for a DXIL instruction
51 // A representation for a DXIL instruction
55 string dxil_op = ""; // name of DXIL operation
56 int dxil_opid = 0; // ID of DXIL operation
96 dxil_param<1, "i32", "opcode", "DXIL opcode">,
106 dxil_param<1, "i32", "opcode", "DXIL opcode">,
116 dxil_param<1, "i32", "opcode", "DXIL opcode">,
124 dxil_param<1, "i32", "opcode", "DXIL opcode">,
[all …]
H A DDXILOpBuilder.h27 namespace DXIL {
32 CallInst *createDXILOpCall(DXIL::OpCode OpCode, Type *OverloadTy,
34 Type *getOverloadTy(DXIL::OpCode OpCode, FunctionType *FT,
36 static const char *getOpCodeName(DXIL::OpCode DXILOp);
H A DDXILOpBuilder.cpp20 using namespace llvm::DXIL;
128 DXIL::OpCode OpCode;
131 DXIL::OpCodeClass OpCodeClass;
237 static FunctionCallee getOrCreateDXILOpFunction(DXIL::OpCode DXILOp, in getOrCreateDXILOpFunction()
258 namespace DXIL { namespace
260 CallInst *DXILOpBuilder::createDXILOpCall(DXIL::OpCode OpCode, Type *OverloadTy, in createDXILOpCall()
269 Type *DXILOpBuilder::getOverloadTy(DXIL::OpCode OpCode, FunctionType *FT, in getOverloadTy()
320 const char *DXILOpBuilder::getOpCodeName(DXIL::OpCode DXILOp) { in getOpCodeName()
H A DDXILOpLowering.cpp30 using namespace llvm::DXIL;
32 static void lowerIntrinsic(DXIL::OpCode DXILOp, Function &F, Module &M) { in lowerIntrinsic()
H A DDXILConstants.h16 namespace DXIL {
H A DCMakeLists.txt9 set(LLVM_TARGET_DEFINITIONS DXIL.td)
/llvm-project-15.0.7/llvm/test/tools/obj2yaml/DXContainer/
H A DDXILPart.yaml30 - Name: DXIL
40 DXIL: [ 0x42, 0x43, 0xC0, 0xDE, ]
46 #CHECK: - Name: DXIL
56 #CHECK-NEXT: DXIL: [ 0x42, 0x43, 0xC0, 0xDE
/llvm-project-15.0.7/llvm/test/CodeGen/DirectX/
H A Dembed-dxil.ll11 …x.dxil = private constant [[BC_TYPE:\[[0-9]+ x i8\]]] c"BC\C0\DE{{[^"]+}}", section "DXIL", align 4
30 ; In verifying the DXIL part, this test captures the size of the part, and
33 ; DXC: - Name: DXIL
43 ; DXC-NEXT: DXIL: [ 0x42, 0x43, 0xC0, 0xDE,
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DDXContainerEmitter.cpp143 Header.Bitcode.Size = P.Program->DXIL ? P.Program->DXIL->size() : 0; in writeParts()
155 if (P.Program->DXIL) { in writeParts()
160 OS.write(reinterpret_cast<char *>(P.Program->DXIL->data()), in writeParts()
161 P.Program->DXIL->size()); in writeParts()
H A DDXContainerYAML.cpp43 IO.mapOptional("DXIL", Program.DXIL); in mapping()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DDXContainer.h37 Optional<DXILData> DXIL; variable
118 Optional<DXILData> getDXIL() const { return DXIL; } in getDXIL()
/llvm-project-15.0.7/llvm/lib/Object/
H A DDXContainer.cpp57 if (DXIL) in parseDXILHeader()
64 DXIL.emplace(std::make_pair(Header, Current)); in parseDXILHeader()
/llvm-project-15.0.7/clang/cmake/caches/
H A DHLSL.cmake5 # Include the DirectX target for DXIL code generation, eventually we'll include
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DDXILOperationCommon.h23 namespace DXIL {
/llvm-project-15.0.7/llvm/docs/
H A DDirectXUsage.rst37 …termediate Language. <https://github.com/microsoft/DirectXShaderCompiler/blob/main/docs/DXIL.rst>`_
75 both ``DXBC`` and ``DXIL`` outputs, and the ultimate goal is to support both as
/llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/
H A DDXContainerYAML.h53 Optional<std::vector<llvm::yaml::Hex8>> DXIL; member
/llvm-project-15.0.7/llvm/tools/dxil-dis/
H A DCMakeLists.txt1 option(LLVM_INCLUDE_DXIL_TESTS "Include DXIL tests" Off)
/llvm-project-15.0.7/clang/docs/
H A DHLSLSupport.rst103 that will map directly to targets other than DXIL. While IR itself is generally
161 in other cases we can clean it up in the DXIL target.
215 can be supported by the DXIL and SPIR-V code generation targets could be treated
216 as a clang HLSL extension. Features that cannot be lowered to DXIL or SPIR-V,
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DDXILEmitter.cpp24 using namespace llvm::DXIL;
/llvm-project-15.0.7/clang/include/clang/Driver/
H A DOptions.td6894 "Default: DXIL.dll version or current internal version">,