|
LLVM
8.0.1
|
#include "llvm/Transforms/Utils/LoopUtils.h"#include "llvm/ADT/ScopeExit.h"#include "llvm/Analysis/AliasAnalysis.h"#include "llvm/Analysis/BasicAliasAnalysis.h"#include "llvm/Analysis/GlobalsModRef.h"#include "llvm/Analysis/InstructionSimplify.h"#include "llvm/Analysis/LoopInfo.h"#include "llvm/Analysis/LoopPass.h"#include "llvm/Analysis/MustExecute.h"#include "llvm/Analysis/ScalarEvolution.h"#include "llvm/Analysis/ScalarEvolutionAliasAnalysis.h"#include "llvm/Analysis/ScalarEvolutionExpander.h"#include "llvm/Analysis/ScalarEvolutionExpressions.h"#include "llvm/Analysis/TargetTransformInfo.h"#include "llvm/Analysis/ValueTracking.h"#include "llvm/IR/DIBuilder.h"#include "llvm/IR/DomTreeUpdater.h"#include "llvm/IR/Dominators.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/IntrinsicInst.h"#include "llvm/IR/Module.h"#include "llvm/IR/PatternMatch.h"#include "llvm/IR/ValueHandle.h"#include "llvm/Pass.h"#include "llvm/Support/Debug.h"#include "llvm/Support/KnownBits.h"#include "llvm/Transforms/Utils/BasicBlockUtils.h"
Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "loop-utils" |
Functions | |
| static Optional< bool > | getOptionalBoolLoopAttribute (const Loop *TheLoop, StringRef Name) |
| static bool | getBooleanLoopAttribute (const Loop *TheLoop, StringRef Name) |
| static Value * | addFastMathFlag (Value *V) |
| Adds a 'fast' flag to floating point operations. More... | |
Variables | |
| static const char * | LLVMLoopDisableNonforced = "llvm.loop.disable_nonforced" |
| #define DEBUG_TYPE "loop-utils" |
Definition at line 45 of file LoopUtils.cpp.
Adds a 'fast' flag to floating point operations.
Definition at line 672 of file LoopUtils.cpp.
References llvm::FastMathFlags::setFast().
Referenced by llvm::getShuffleReduction().
Definition at line 228 of file LoopUtils.cpp.
References getOptionalBoolLoopAttribute(), and llvm::Optional< T >::getValueOr().
Referenced by llvm::hasDisableAllTransformsHint(), llvm::hasDistributeTransformation(), llvm::hasLICMVersioningTransformation(), llvm::hasUnrollAndJamTransformation(), llvm::hasUnrollTransformation(), and llvm::hasVectorizeTransformation().
Definition at line 210 of file LoopUtils.cpp.
References llvm::findOptionMDForLoop(), llvm::MDOperand::get(), llvm::MDNode::getNumOperands(), llvm::MDNode::getOperand(), llvm_unreachable, and llvm::None.
Referenced by getBooleanLoopAttribute(), and llvm::hasVectorizeTransformation().
Definition at line 47 of file LoopUtils.cpp.
1.8.13