LLVM  14.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::ValueDFS_Compare Struct Reference
Collaboration diagram for llvm::ValueDFS_Compare:
Collaboration graph
[legend]

Public Member Functions

 ValueDFS_Compare (DominatorTree &DT)
 
bool operator() (const ValueDFS &A, const ValueDFS &B) const
 
std::pair< BasicBlock *, BasicBlock * > getBlockEdge (const ValueDFS &VD) const
 
bool comparePHIRelated (const ValueDFS &A, const ValueDFS &B) const
 
ValuegetMiddleDef (const ValueDFS &VD) const
 
const InstructiongetDefOrUser (const Value *Def, const Use *U) const
 
bool localComesBefore (const ValueDFS &A, const ValueDFS &B) const
 

Public Attributes

DominatorTreeDT
 

Detailed Description

Definition at line 128 of file PredicateInfo.cpp.

Constructor & Destructor Documentation

◆ ValueDFS_Compare()

llvm::ValueDFS_Compare::ValueDFS_Compare ( DominatorTree DT)
inline

Definition at line 130 of file PredicateInfo.cpp.

Member Function Documentation

◆ comparePHIRelated()

bool llvm::ValueDFS_Compare::comparePHIRelated ( const ValueDFS A,
const ValueDFS B 
) const
inline

◆ getBlockEdge()

std::pair<BasicBlock *, BasicBlock *> llvm::ValueDFS_Compare::getBlockEdge ( const ValueDFS VD) const
inline

Definition at line 160 of file PredicateInfo.cpp.

References llvm::ValueDFS::Def, llvm::ValueDFS::PInfo, and llvm::ValueDFS::U.

◆ getDefOrUser()

const Instruction* llvm::ValueDFS_Compare::getDefOrUser ( const Value Def,
const Use U 
) const
inline

Definition at line 224 of file PredicateInfo.cpp.

References llvm::tgtok::Def.

◆ getMiddleDef()

Value* llvm::ValueDFS_Compare::getMiddleDef ( const ValueDFS VD) const
inline

◆ localComesBefore()

bool llvm::ValueDFS_Compare::localComesBefore ( const ValueDFS A,
const ValueDFS B 
) const
inline

Definition at line 232 of file PredicateInfo.cpp.

References B, and llvm::valueComesBefore().

◆ operator()()

bool llvm::ValueDFS_Compare::operator() ( const ValueDFS A,
const ValueDFS B 
) const
inline

Definition at line 132 of file PredicateInfo.cpp.

References assert(), B, llvm::LN_Last, and llvm::LN_Middle.

Member Data Documentation

◆ DT

DominatorTree& llvm::ValueDFS_Compare::DT

Definition at line 129 of file PredicateInfo.cpp.


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