Lines Matching refs:PassMgr
1704 addPassesForSPIRV(legacy::PassManager &PassMgr) { in addPassesForSPIRV() argument
1706 PassMgr.add(createPromoteMemoryToRegisterPass()); in addPassesForSPIRV()
1707 PassMgr.add(createTransOCLMD()); in addPassesForSPIRV()
1708 PassMgr.add(createOCL21ToSPIRV()); in addPassesForSPIRV()
1709 PassMgr.add(createSPIRVLowerOCLBlocks()); in addPassesForSPIRV()
1710 PassMgr.add(createOCLTypeToSPIRV()); in addPassesForSPIRV()
1711 PassMgr.add(createOCL20ToSPIRV()); in addPassesForSPIRV()
1712 PassMgr.add(createSPIRVRegularizeLLVM()); in addPassesForSPIRV()
1713 PassMgr.add(createSPIRVLowerConstExpr()); in addPassesForSPIRV()
1714 PassMgr.add(createSPIRVLowerBool()); in addPassesForSPIRV()
1720 legacy::PassManager PassMgr; in WriteSPIRV() local
1721 addPassesForSPIRV(PassMgr); in WriteSPIRV()
1722 PassMgr.add(createLLVMToSPIRV(BM.get())); in WriteSPIRV()
1723 PassMgr.run(*M); in WriteSPIRV()
1734 legacy::PassManager PassMgr; in RegularizeLLVMForSPIRV() local
1735 addPassesForSPIRV(PassMgr); in RegularizeLLVMForSPIRV()
1736 PassMgr.run(*M); in RegularizeLLVMForSPIRV()