Lines Matching full:dxil
9 /// \file This file contains class to help build DXIL op functions.
20 using namespace llvm::dxil;
148 dxil::OpCode OpCode;
151 dxil::OpCodeClass OpCodeClass;
317 "Shader Kind Not Found - Invalid DXIL Environment Specified");
321 getArgTypesFromOpParamTypes(ArrayRef<dxil::OpParamType> Types,
325 for (dxil::OpParamType Ty : Types)
330 /// Construct DXIL function type. This is the type of a function with
334 static FunctionType *getDXILOpFunctionType(dxil::OpCode OpCode,
351 /// DXIL version not greater than DXILVer.
352 /// PropList is expected to be sorted in ascending order of DXIL version.
370 constexpr static uint64_t computeSwitchEnum(dxil::OpCode OpCode,
377 // Retreive all the set attributes for a DXIL OpCode given the targeted
379 static dxil::Attributes getDXILAttributes(dxil::OpCode OpCode,
387 dxil::Attributes Attributes;
397 auto Other = dxil::Attributes{__VA_ARGS__}; \
407 // Retreive the set of DXIL Attributes given the version and map them to an
409 static void setDXILAttributes(CallInst *CI, dxil::OpCode OpCode,
411 dxil::Attributes Attributes = getDXILAttributes(OpCode, DXILVersion);
424 namespace dxil {
443 static Error makeOpError(dxil::OpCode OpCode, Twine Msg) {
449 Expected<CallInst *> DXILOpBuilder::tryCreateOp(dxil::OpCode OpCode,
474 return makeOpError(OpCode, Twine("No valid overloads for DXIL version ") +
492 return makeOpError(OpCode, Twine("No valid stage for DXIL version ") +
504 // Verify the target shader stage is valid for the DXIL operation
526 CallInst *DXILOpBuilder::createOp(dxil::OpCode OpCode, ArrayRef<Value *> Args,
547 uint32_t SpaceID, dxil::ResourceClass RC) {
565 const char *DXILOpBuilder::getOpCodeName(dxil::OpCode DXILOp) {
568 } // namespace dxil