LLVM 20.0.0git
Macros | Functions
Delinearization.cpp File Reference
#include "llvm/Analysis/Delinearization.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/ScalarEvolution.h"
#include "llvm/Analysis/ScalarEvolutionDivision.h"
#include "llvm/Analysis/ScalarEvolutionExpressions.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/PassManager.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"

Go to the source code of this file.

Macros

#define DL_NAME   "delinearize"
 
#define DEBUG_TYPE   DL_NAME
 

Functions

static bool containsUndefs (const SCEV *S)
 
static bool findArrayDimensionsRec (ScalarEvolution &SE, SmallVectorImpl< const SCEV * > &Terms, SmallVectorImpl< const SCEV * > &Sizes)
 
static bool containsParameters (SmallVectorImpl< const SCEV * > &Terms)
 
static int numberOfTerms (const SCEV *S)
 
static const SCEVremoveConstantFactors (ScalarEvolution &SE, const SCEV *T)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   DL_NAME

Definition at line 33 of file Delinearization.cpp.

◆ DL_NAME

#define DL_NAME   "delinearize"

Definition at line 32 of file Delinearization.cpp.

Function Documentation

◆ containsParameters()

static bool containsParameters ( SmallVectorImpl< const SCEV * > &  Terms)
inlinestatic

Definition at line 242 of file Delinearization.cpp.

References llvm::SCEVExprContains().

Referenced by llvm::findArrayDimensions().

◆ containsUndefs()

static bool containsUndefs ( const SCEV S)
inlinestatic

Definition at line 36 of file Delinearization.cpp.

References llvm::SCEVExprContains().

◆ findArrayDimensionsRec()

static bool findArrayDimensionsRec ( ScalarEvolution SE,
SmallVectorImpl< const SCEV * > &  Terms,
SmallVectorImpl< const SCEV * > &  Sizes 
)
static

◆ numberOfTerms()

static int numberOfTerms ( const SCEV S)
inlinestatic

Definition at line 251 of file Delinearization.cpp.

Referenced by llvm::findArrayDimensions().

◆ removeConstantFactors()

static const SCEV * removeConstantFactors ( ScalarEvolution SE,
const SCEV T 
)
static