Home
last modified time | relevance | path

Searched refs:PredicateWithEdge (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DPredicateInfo.h128 class PredicateWithEdge : public PredicateBase {
132 PredicateWithEdge() = delete;
138 PredicateWithEdge(PredicateType PType, Value *Op, BasicBlock *From, in PredicateWithEdge() function
144 class PredicateBranch : public PredicateWithEdge {
150 : PredicateWithEdge(PT_Branch, Op, BranchBB, SplitBB, Condition), in PredicateBranch()
158 class PredicateSwitch : public PredicateWithEdge {
165 : PredicateWithEdge(PT_Switch, Op, SwitchBB, TargetBB, in PredicateSwitch()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DPredicateInfo.cpp48 assert(isa<PredicateWithEdge>(PB) && in getBranchBlock()
51 return cast<PredicateWithEdge>(PB)->From; in getBranchBlock()
57 assert(isa<PredicateWithEdge>(PB) && in getBranchTerminator()
59 return cast<PredicateWithEdge>(PB)->From->getTerminator(); in getBranchTerminator()
65 assert(isa<PredicateWithEdge>(PB) && in getBlockEdge()
67 const auto *PEdge = cast<PredicateWithEdge>(PB); in getBlockEdge()
533 if (isa<PredicateWithEdge>(ValInfo)) { in materializeStack()
600 } else if (isa<PredicateWithEdge>(PossibleCopy)) { in renameUses()