LLVM  11.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::PredicateInfoClasses::ValueDFS_Compare Struct Reference
Collaboration diagram for llvm::PredicateInfoClasses::ValueDFS_Compare:
Collaboration graph

Public Member Functions

 ValueDFS_Compare (DominatorTree &DT, OrderedInstructions &OI)
bool operator() (const ValueDFS &A, const ValueDFS &B) const
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


Detailed Description

Definition at line 128 of file PredicateInfo.cpp.

Constructor & Destructor Documentation

◆ ValueDFS_Compare()

llvm::PredicateInfoClasses::ValueDFS_Compare::ValueDFS_Compare ( DominatorTree DT,
OrderedInstructions OI 

Definition at line 131 of file PredicateInfo.cpp.

Member Function Documentation

◆ comparePHIRelated()

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

◆ getBlockEdge()

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

◆ getDefOrUser()

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

Definition at line 227 of file PredicateInfo.cpp.

References llvm::tgtok::Def.

◆ getMiddleDef()

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

◆ localComesBefore()

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

◆ operator()()

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

Member Data Documentation

◆ DT

DominatorTree& llvm::PredicateInfoClasses::ValueDFS_Compare::DT

Definition at line 129 of file PredicateInfo.cpp.

◆ OI

OrderedInstructions& llvm::PredicateInfoClasses::ValueDFS_Compare::OI

Definition at line 130 of file PredicateInfo.cpp.

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