Lines Matching full:spir
1 //===- OCL20ToSPIRV.cpp - Transform OCL20 to SPIR-V builtins -----*- C++ -*-===//
114 /// Transform OCL builtin function to SPIR-V builtin function.
117 /// Transform OCL work item builtin functions to SPIR-V builtin variables.
141 /// However in SPIR-V it is a value. The transformation adds a load
157 /// Transform legacy OCL 1.x atomic builtins to SPIR-V builtins for extensions
164 /// Transform OCL 2.0 C++11 atomic builtins to SPIR-V builtins.
169 /// Transform OCL builtin function to SPIR-V builtin function.
199 /// Transform OCL pipe builtin function to SPIR-V pipe builtin function.
234 /// Transform vector load/store functions to SPIR-V extended builtin
241 /// Transforms get_mem_fence built-in to SPIR-V function and aligns result values with SPIR 1.2.
244 /// SPIR 1.2 defines them as 0x1, 0x2 and 0x3, so this function adjusts
245 /// GenericPtrMemSemantics results to SPIR 1.2 values.
252 /// translated to the SPIR-V instructions where all arguments must have the
524 // SPIR-V ndrange structure requires 3 members in the following order:
559 // Translate ndrange_ND into differently named SPIR-V decorated functions because
591 "In SPIR-V 1.0 arguments of OpAtomicCompareExchange must be "
800 // Order of args in SPIR-V:
1061 // SPIR-V intruction always returns 4-element vector
1459 INITIALIZE_PASS_BEGIN(OCL20ToSPIRV, "cl20tospv", "Transform OCL 2.0 to SPIR-V",
1462 INITIALIZE_PASS_END(OCL20ToSPIRV, "cl20tospv", "Transform OCL 2.0 to SPIR-V",