|
LLVM 24.0.0git
|
Records a mapping from an opaque lowering context to its LibcallLoweringInfo. More...
#include "llvm/Analysis/LibcallLoweringInfo.h"
Public Member Functions | |
| ModuleLibcallLoweringInfo ()=default | |
| ModuleLibcallLoweringInfo (RTLIB::RuntimeLibcallsInfo &RTLCI) | |
| void | init (const RTLIB::RuntimeLibcallsInfo *RT) |
| void | clear () |
| operator bool () const | |
| LLVM_ABI bool | invalidate (Module &, const PreservedAnalyses &, ModuleAnalysisManager::Invalidator &) |
| template<typename KeyT> | |
| const LibcallLoweringInfo & | getLibcallLowering (const KeyT *Key, LibcallLoweringInfo::ApplyContextRulesFn ApplyContextRules={}) const |
Return the LibcallLoweringInfo for the context identified by Key, creating it (via ApplyContextRules) on first request. | |
Records a mapping from an opaque lowering context to its LibcallLoweringInfo.
The context is identified by an opaque key (which should be TargetSubtargetInfo*)
Definition at line 98 of file LibcallLoweringInfo.h.
|
default |
|
inline |
Definition at line 106 of file LibcallLoweringInfo.h.
|
inline |
Definition at line 111 of file LibcallLoweringInfo.h.
|
inline |
Return the LibcallLoweringInfo for the context identified by Key, creating it (via ApplyContextRules) on first request.
Key should be TargetSubtargetInfo*.
Definition at line 125 of file LibcallLoweringInfo.h.
References llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key.
Referenced by llvm::getLibcallLowering(), and llvm::LibcallLoweringInfoWrapper::getLibcallLowering().
|
inline |
Definition at line 109 of file LibcallLoweringInfo.h.
Referenced by llvm::LibcallLoweringInfoWrapper::getResult(), and llvm::LibcallLoweringModuleAnalysis::run().
| bool ModuleLibcallLoweringInfo::invalidate | ( | Module & | , |
| const PreservedAnalyses & | PA, | ||
| ModuleAnalysisManager::Invalidator & | ) |
Definition at line 36 of file LibcallLoweringInfo.cpp.
References llvm::PreservedAnalyses::getChecker().
|
inline |
Definition at line 116 of file LibcallLoweringInfo.h.