LLVM 23.0.0git
llvm::LoopStructure Struct Reference

#include "llvm/Transforms/Utils/LoopConstrainer.h"

Public Member Functions

 LoopStructure ()=default
template<typename M>
LoopStructure map (M Map) const

Static Public Member Functions

static std::optional< LoopStructureparseLoopStructure (ScalarEvolution &, Loop &, bool, const char *&)

Public Attributes

const charTag = ""
BasicBlockHeader = nullptr
BasicBlockLatch = nullptr
CondBrInstLatchBr = nullptr
BasicBlockLatchExit = nullptr
unsigned LatchBrExitIdx = std::numeric_limits<unsigned>::max()
ValueIndVarBase = nullptr
ValueIndVarStart = nullptr
ValueIndVarStep = nullptr
ValueLoopExitAt = nullptr
bool IndVarIncreasing = false
bool IsSignedPredicate = true
IntegerTypeExitCountTy = nullptr

Detailed Description

Definition at line 34 of file LoopConstrainer.h.

Constructor & Destructor Documentation

◆ LoopStructure()

llvm::LoopStructure::LoopStructure ( )
default

Referenced by map(), and parseLoopStructure().

Member Function Documentation

◆ map()

template<typename M>
LoopStructure llvm::LoopStructure::map ( M Map) const
inline

◆ parseLoopStructure()

std::optional< LoopStructure > LoopStructure::parseLoopStructure ( ScalarEvolution & SE,
Loop & L,
bool AllowUnsignedLatchCond,
const char *& FailureReason )
static

Member Data Documentation

◆ ExitCountTy

IntegerType* llvm::LoopStructure::ExitCountTy = nullptr

Definition at line 61 of file LoopConstrainer.h.

Referenced by calculateSubRanges(), and map().

◆ Header

BasicBlock* llvm::LoopStructure::Header = nullptr

Definition at line 37 of file LoopConstrainer.h.

Referenced by map(), parseLoopStructure(), and llvm::LoopConstrainer::run().

◆ IndVarBase

Value* llvm::LoopStructure::IndVarBase = nullptr

Definition at line 55 of file LoopConstrainer.h.

Referenced by map(), and parseLoopStructure().

◆ IndVarIncreasing

bool llvm::LoopStructure::IndVarIncreasing = false

Definition at line 59 of file LoopConstrainer.h.

Referenced by calculateSubRanges(), and map().

◆ IndVarStart

Value* llvm::LoopStructure::IndVarStart = nullptr

Definition at line 56 of file LoopConstrainer.h.

Referenced by calculateSubRanges(), map(), and parseLoopStructure().

◆ IndVarStep

Value* llvm::LoopStructure::IndVarStep = nullptr

Definition at line 57 of file LoopConstrainer.h.

Referenced by map().

◆ IsSignedPredicate

bool llvm::LoopStructure::IsSignedPredicate = true

Definition at line 60 of file LoopConstrainer.h.

Referenced by calculateSubRanges(), map(), and parseLoopStructure().

◆ Latch

BasicBlock* llvm::LoopStructure::Latch = nullptr

Definition at line 38 of file LoopConstrainer.h.

Referenced by map(), and parseLoopStructure().

◆ LatchBr

CondBrInst* llvm::LoopStructure::LatchBr = nullptr

Definition at line 42 of file LoopConstrainer.h.

Referenced by map(), and parseLoopStructure().

◆ LatchBrExitIdx

unsigned llvm::LoopStructure::LatchBrExitIdx = std::numeric_limits<unsigned>::max()

Definition at line 44 of file LoopConstrainer.h.

Referenced by map(), and parseLoopStructure().

◆ LatchExit

BasicBlock* llvm::LoopStructure::LatchExit = nullptr

Definition at line 43 of file LoopConstrainer.h.

Referenced by map(), and parseLoopStructure().

◆ LoopExitAt

Value* llvm::LoopStructure::LoopExitAt = nullptr

Definition at line 58 of file LoopConstrainer.h.

Referenced by calculateSubRanges(), and map().

◆ Tag

const char* llvm::LoopStructure::Tag = ""

Definition at line 35 of file LoopConstrainer.h.

Referenced by map().


The documentation for this struct was generated from the following files: