|
LLVM 24.0.0git
|
Pass to update the linkage of functions to make sure only shader entry points and exported functions are visible from the module (have program linkage). More...
#include "Target/DirectX/DirectX.h"
Public Member Functions | |
| PreservedAnalyses | run (Module &M, ModuleAnalysisManager &) |
| Public Member Functions inherited from llvm::RequiredPassInfoMixin< DXILFinalizeLinkagePass > | |
| bool | shouldSkipOptimizationForOptBisect (IRUnitRef IR) |
| Public Member Functions inherited from llvm::detail::PassInfoMixin< DXILFinalizeLinkagePass > | |
| void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
| Static Public Member Functions inherited from llvm::RequiredPassInfoMixin< DXILFinalizeLinkagePass > | |
| static bool | isRequired () |
| Static Public Member Functions inherited from llvm::detail::InfoMixin< DXILFinalizeLinkagePass > | |
| static StringRef | name () |
| Gets the name of the pass we are mixed into. | |
Pass to update the linkage of functions to make sure only shader entry points and exported functions are visible from the module (have program linkage).
All other functions will be updated to have internal linkage.
| PreservedAnalyses DXILFinalizeLinkagePass::run | ( | Module & | M, |
| ModuleAnalysisManager & | AM ) |
Definition at line 60 of file DXILFinalizeLinkage.cpp.
References llvm::PreservedAnalyses::all(), finalizeLinkage(), and llvm::PreservedAnalyses::none().