|
LLVM 24.0.0git
|
#include "llvm/Transforms/Scalar/LoopDistribute.h"#include "ScalarOptions.h"#include "llvm/ADT/DenseMap.h"#include "llvm/ADT/DepthFirstIterator.h"#include "llvm/ADT/EquivalenceClasses.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/SetVector.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/Statistic.h"#include "llvm/ADT/StringRef.h"#include "llvm/ADT/Twine.h"#include "llvm/ADT/iterator_range.h"#include "llvm/Analysis/AssumptionCache.h"#include "llvm/Analysis/GlobalsModRef.h"#include "llvm/Analysis/LoopAccessAnalysis.h"#include "llvm/Analysis/LoopAnalysisManager.h"#include "llvm/Analysis/LoopInfo.h"#include "llvm/Analysis/OptimizationRemarkEmitter.h"#include "llvm/Analysis/ScalarEvolution.h"#include "llvm/Analysis/TargetLibraryInfo.h"#include "llvm/Analysis/TargetTransformInfo.h"#include "llvm/IR/BasicBlock.h"#include "llvm/IR/Constants.h"#include "llvm/IR/DiagnosticInfo.h"#include "llvm/IR/Dominators.h"#include "llvm/IR/Function.h"#include "llvm/IR/Instruction.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/LLVMContext.h"#include "llvm/IR/Metadata.h"#include "llvm/IR/PassManager.h"#include "llvm/IR/Value.h"#include "llvm/Support/Casting.h"#include "llvm/Support/Debug.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Transforms/Utils/BasicBlockUtils.h"#include "llvm/Transforms/Utils/Cloning.h"#include "llvm/Transforms/Utils/Local.h"#include "llvm/Transforms/Utils/LoopUtils.h"#include "llvm/Transforms/Utils/LoopVersioning.h"#include "llvm/Transforms/Utils/ValueMapper.h"#include <cassert>#include <list>#include <tuple>Go to the source code of this file.
Macros | |
| #define | LDIST_NAME "loop-distribute" |
| #define | DEBUG_TYPE LDIST_NAME |
Functions | |
| STATISTIC (NumLoopsDistributed, "Number of loops distributed") | |
| static bool | runImpl (Function &F, LoopInfo *LI, DominatorTree *DT, ScalarEvolution *SE, OptimizationRemarkEmitter *ORE, LoopAccessInfoManager &LAIs) |
Variables | |
| static const char * | DistributedMetaData = "llvm.loop.isdistributed" |
| static const char *const | LLVMLoopDistributeFollowupAll |
| static const char *const | LLVMLoopDistributeFollowupCoincident |
| static const char *const | LLVMLoopDistributeFollowupSequential |
| static const char *const | LLVMLoopDistributeFollowupFallback |
| #define DEBUG_TYPE LDIST_NAME |
Definition at line 72 of file LoopDistribute.cpp.
| #define LDIST_NAME "loop-distribute" |
Definition at line 71 of file LoopDistribute.cpp.
|
static |
Definition at line 946 of file LoopDistribute.cpp.
References Changed, llvm::dbgs(), llvm::depth_first(), DistributedMetaData, F, llvm::getOptionalBoolLoopAttribute(), LLVM_DEBUG, and llvm::SmallVectorTemplateBase< T, bool >::push_back().
Definition at line 86 of file LoopDistribute.cpp.
Referenced by runImpl().
Metadata attribute names
Definition at line 76 of file LoopDistribute.cpp.
Definition at line 78 of file LoopDistribute.cpp.
Definition at line 82 of file LoopDistribute.cpp.
Definition at line 80 of file LoopDistribute.cpp.