Home | History | Annotate | Download | only in SPIRV

Lines Matching refs:SPIR

1 //===- LLVMSPIRVInternal.h -  SPIR-V internal header file --------*- C++ -*-===//
36 /// This file declares classes and functions shared by SPIR-V reader/writer.
62 /// The LLVM/SPIR-V translator version used to fill the lower 16 bits of the
63 /// generator's magic number in the generated SPIR-V module.
64 /// This number should be bumped up whenever the generated SPIR-V changes.
68 // Workaround for SPIR 2 producer bug about kernel function calling convention.
171 #define SPIR_TARGETTRIPLE32 "spir-unknown-unknown"
364 const static char SPIRVer[] = "opencl.spir.version";
391 SPIR::TypePrimitiveEnum Enum;
395 Enum(SPIR::PRIMITIVE_NONE), Attr(0)
419 SPIR::TypePrimitiveEnum Enum) {
437 bool isArgEnum(int Ndx, SPIR::TypePrimitiveEnum *Enum = nullptr) {
481 std::map<int, SPIR::TypePrimitiveEnum> EnumArgs; // enum arguments
531 /// Add decorations to a SPIR-V entry.
580 /// \param Postfix contains postfixes extracted from the SPIR-V image
595 /// Get a canonical function name for a SPIR-V op code.
600 /// Get a canonical function name for a SPIR-V extended instruction
604 /// Get SPIR-V op code given the canonical function name.
614 /// Get SPIR-V builtin variable enum given the canonical builtin name
659 /// Mutate call instruction to call SPIR-V builtin function.
665 /// Mutate call instruction to call SPIR-V builtin function.
689 /// Add a call instruction for SPIR-V builtin function.
771 /// Get SPIR-V language by SPIR-V metadata spirv.Source
813 /// Get SPIR-V type name as spirv.BaseTyName.Postfixes.
821 /// Get SPIR-V type by changing the type name from spirv.OldName.Postfixes
827 /// Get the postfixes of SPIR-V image type name as in spirv.Image.postfixes.
833 /// Get the sampled type name used in postfix of image type in SPIR-V
838 /// Translates OpenCL image type names to SPIR-V.
842 /// Get LLVM type for sampled type of SPIR-V image type by postfix.
847 /// Map OpenCL opaque type name to SPIR-V type name.