Searched refs:PassMgr (Results 1 – 3 of 3) sorted by relevance
287 PassManager PassMgr; in main() local288 PassMgr.add(createProfileLoaderPass(ProfileDataFile)); in main()289 PassMgr.add(new ProfileInfoPrinterPass(PIL)); in main()290 PassMgr.run(*M); in main()
1704 addPassesForSPIRV(legacy::PassManager &PassMgr) { in addPassesForSPIRV() argument1706 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()[all …]
2736 legacy::PassManager PassMgr; in ReadSPIRV() local2737 PassMgr.add(createSPIRVToOCL20()); in ReadSPIRV()2738 PassMgr.add(createOCL20To12()); in ReadSPIRV()2739 PassMgr.run(*M); in ReadSPIRV()