LLVM  8.0.1
Macros | Functions | Variables
LoopUtils.cpp File Reference
#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"
Include dependency graph for LoopUtils.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "loop-utils"
 

Functions

static Optional< boolgetOptionalBoolLoopAttribute (const Loop *TheLoop, StringRef Name)
 
static bool getBooleanLoopAttribute (const Loop *TheLoop, StringRef Name)
 
static ValueaddFastMathFlag (Value *V)
 Adds a 'fast' flag to floating point operations. More...
 

Variables

static const charLLVMLoopDisableNonforced = "llvm.loop.disable_nonforced"
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "loop-utils"

Definition at line 45 of file LoopUtils.cpp.

Function Documentation

◆ addFastMathFlag()

static Value* addFastMathFlag ( Value V)
static

Adds a 'fast' flag to floating point operations.

Definition at line 672 of file LoopUtils.cpp.

References llvm::FastMathFlags::setFast().

Referenced by llvm::getShuffleReduction().

◆ getBooleanLoopAttribute()

static bool getBooleanLoopAttribute ( const Loop TheLoop,
StringRef  Name 
)
static

◆ getOptionalBoolLoopAttribute()

static Optional<bool> getOptionalBoolLoopAttribute ( const Loop TheLoop,
StringRef  Name 
)
static

Variable Documentation

◆ LLVMLoopDisableNonforced

const char* LLVMLoopDisableNonforced = "llvm.loop.disable_nonforced"
static

Definition at line 47 of file LoopUtils.cpp.