Home
last modified time | relevance | path

Searched refs:PassMgr (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/tools/llvm-prof/
Dllvm-prof.cpp287 PassManager PassMgr; in main() local
288 PassMgr.add(createProfileLoaderPass(ProfileDataFile)); in main()
289 PassMgr.add(new ProfileInfoPrinterPass(PIL)); in main()
290 PassMgr.run(*M); in main()
/external/spirv-llvm/lib/SPIRV/
DSPIRVWriter.cpp1704 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()
[all …]
DSPIRVReader.cpp2736 legacy::PassManager PassMgr; in ReadSPIRV() local
2737 PassMgr.add(createSPIRVToOCL20()); in ReadSPIRV()
2738 PassMgr.add(createOCL20To12()); in ReadSPIRV()
2739 PassMgr.run(*M); in ReadSPIRV()