Lines Matching full:spir
1 //===- SPIRVWriter.cpp - Converts LLVM to SPIR-V ----------------*- C++ -*-===//
3 // The LLVM/SPIR-V Translator
36 /// This file implements conversion of LLVM intermediate language to SPIR-V
102 cl::desc("LLVM/SPIR-V translation enable mem2reg"));
140 // ToDo: SPIR-V rev.31 cannot add debug info for instructions without ids.
176 assert(BM && "SPIR-V module not initialized");
209 // Translate LLVM module to SPIR-V module.
384 /// Decode SPIR-V type name in the format spirv.{TypeName}._{Postfixes}
470 // Workaround for non-conformant SPIR binary
476 "OpenCL type names should be translated to SPIR-V type names");
479 // type names until they are all mapped or FE generates SPIR-V type
593 "Invalid SPIR-V opaque type name");
877 // they can be represented in SPIR-V as uninitialized variables with
1251 SPIRVCKRT(Arch == Triple::spir || Arch == Triple::spir64,
1255 if (Arch == Triple::spir)
1387 // SPIR-V logical layout requires all function declarations go before
1693 INITIALIZE_PASS_BEGIN(LLVMToSPIRV, "llvmtospv", "Translate LLVM to SPIR-V",
1696 INITIALIZE_PASS_END(LLVMToSPIRV, "llvmtospv", "Translate LLVM to SPIR-V",