Home
last modified time | relevance | path

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

/frameworks/rs/rsov/compiler/
DRSSPIRVWriter.cpp48 void addPassesForRS2SPIRV(llvm::legacy::PassManager &PassMgr) { in addPassesForRS2SPIRV() argument
49 PassMgr.add(createGlobalMergePass()); in addPassesForRS2SPIRV()
51 PassMgr.add(createInlinePreparationPass()); in addPassesForRS2SPIRV()
52 PassMgr.add(createAlwaysInlinerPass()); in addPassesForRS2SPIRV()
53 PassMgr.add(createRemoveNonkernelsPass()); in addPassesForRS2SPIRV()
55 PassMgr.add(createGlobalDCEPass()); in addPassesForRS2SPIRV()
57 PassMgr.add(createStripDeadDebugInfoPass()); in addPassesForRS2SPIRV()
59 PassMgr.add(createStripDeadPrototypesPass()); in addPassesForRS2SPIRV()
61 PassMgr.add(createGlobalAllocPass()); in addPassesForRS2SPIRV()
63 PassMgr.add(createDeadStoreEliminationPass()); in addPassesForRS2SPIRV()
[all …]
Drs2spirv.cpp66 llvm::legacy::PassManager PassMgr; in WriteBitcode() local
67 PassMgr.add(rs2spirv::createGlobalMergePass(true)); in WriteBitcode()
68 PassMgr.run(*M); in WriteBitcode()