|
LLVM 22.0.0git
|
An analysis to compute the PointerTypes for pointers in a Module.
More...
Functions | |
| PointerTypeMap | run (const Module &M) |
Compute the PointerTypeMap for the module M. | |
An analysis to compute the PointerTypes for pointers in a Module.
Since this analysis is only run during codegen and the new pass manager doesn't support codegen passes, this is wrtten as a function in a namespace. It is very simple to transform it into a proper analysis pass. This code relies on typed pointers existing as LLVM types, but could be migrated to a custom Type if PointerType loses typed support.
| PointerTypeMap llvm::dxil::PointerTypeAnalysis::run | ( | const Module & | M | ) |
Compute the PointerTypeMap for the module M.
Definition at line 205 of file PointerTypeAnalysis.cpp.
References B(), classifyGlobalCtorPointerType(), F, G, and I.