|
| | CacheAnalysis (const ValueMap< const CallInst *, SmallPtrSet< const CallInst *, 1 > > &allocationsWithGuaranteedFree, const ValueMap< Value *, GradientUtils::Rematerializer > &rematerializableAllocations, TypeResults &TR, AAResults &AA, Function *oldFunc, ScalarEvolution &SE, LoopInfo &OrigLI, DominatorTree &OrigDT, TargetLibraryInfo &TLI, const SmallPtrSetImpl< BasicBlock * > &unnecessaryBlocks, bool subsequent_calls_may_write, const std::vector< bool > &overwritten_args, DerivativeMode mode, bool omp) |
| |
| bool | is_value_mustcache_from_origin (Value *obj) |
| |
| bool | is_load_uncacheable (Instruction &li) |
| |
| std::map< Instruction *, bool > | compute_uncacheable_load_map () |
| |
| std::pair< bool, std::vector< bool > > | compute_overwritten_args_for_one_callsite (CallInst *callsite_op) |
| |
| std::map< CallInst *, std::pair< bool, const std::vector< bool > > > | compute_overwritten_args_for_callsites () |
| |
Definition at line 128 of file EnzymeLogic.cpp.
◆ CacheAnalysis()
| CacheAnalysis::CacheAnalysis |
( |
const ValueMap< const CallInst *, SmallPtrSet< const CallInst *, 1 > > & | allocationsWithGuaranteedFree, |
|
|
const ValueMap< Value *, GradientUtils::Rematerializer > & | rematerializableAllocations, |
|
|
TypeResults & | TR, |
|
|
AAResults & | AA, |
|
|
Function * | oldFunc, |
|
|
ScalarEvolution & | SE, |
|
|
LoopInfo & | OrigLI, |
|
|
DominatorTree & | OrigDT, |
|
|
TargetLibraryInfo & | TLI, |
|
|
const SmallPtrSetImpl< BasicBlock * > & | unnecessaryBlocks, |
|
|
bool | subsequent_calls_may_write, |
|
|
const std::vector< bool > & | overwritten_args, |
|
|
DerivativeMode | mode, |
|
|
bool | omp ) |
|
inline |
◆ compute_overwritten_args_for_callsites()
| std::map< CallInst *, std::pair< bool, const std::vector< bool > > > CacheAnalysis::compute_overwritten_args_for_callsites |
( |
| ) |
|
|
inline |
◆ compute_overwritten_args_for_one_callsite()
| std::pair< bool, std::vector< bool > > CacheAnalysis::compute_overwritten_args_for_one_callsite |
( |
CallInst * | callsite_op | ) |
|
|
inline |
◆ compute_uncacheable_load_map()
| std::map< Instruction *, bool > CacheAnalysis::compute_uncacheable_load_map |
( |
| ) |
|
|
inline |
◆ is_load_uncacheable()
| bool CacheAnalysis::is_load_uncacheable |
( |
Instruction & | li | ) |
|
|
inline |
◆ is_value_mustcache_from_origin()
| bool CacheAnalysis::is_value_mustcache_from_origin |
( |
Value * | obj | ) |
|
|
inline |
◆ AA
| AAResults& CacheAnalysis::AA |
◆ allocationsWithGuaranteedFree
| const ValueMap<const CallInst *, SmallPtrSet<const CallInst *, 1> >& CacheAnalysis::allocationsWithGuaranteedFree |
◆ mode
◆ oldFunc
| Function* CacheAnalysis::oldFunc |
◆ omp
◆ OrigDT
| DominatorTree& CacheAnalysis::OrigDT |
◆ OrigLI
| LoopInfo& CacheAnalysis::OrigLI |
◆ overwritten_args
| const std::vector<bool>& CacheAnalysis::overwritten_args |
◆ rematerializableAllocations
◆ SE
| ScalarEvolution& CacheAnalysis::SE |
◆ seen
| std::map<Value *, bool> CacheAnalysis::seen |
◆ subsequent_calls_may_write
| const bool CacheAnalysis::subsequent_calls_may_write |
◆ TLI
| TargetLibraryInfo& CacheAnalysis::TLI |
◆ TR
◆ unnecessaryBlocks
| const SmallPtrSetImpl<BasicBlock *>& CacheAnalysis::unnecessaryBlocks |
The documentation for this struct was generated from the following file: