Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DPredicateInfo.h130 class PredicateWithEdge : public PredicateBase {
134 PredicateWithEdge() = delete;
140 PredicateWithEdge(PredicateType PType, Value *Op, BasicBlock *From, in PredicateWithEdge() function
146 class PredicateBranch : public PredicateWithEdge {
152 : PredicateWithEdge(PT_Branch, Op, BranchBB, SplitBB, Condition), in PredicateBranch()
160 class PredicateSwitch : public PredicateWithEdge {
167 : PredicateWithEdge(PT_Switch, Op, SwitchBB, TargetBB, in PredicateSwitch()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DPredicateInfo.cpp56 assert(isa<PredicateWithEdge>(PB) && in getBranchBlock()
59 return cast<PredicateWithEdge>(PB)->From; in getBranchBlock()
65 assert(isa<PredicateWithEdge>(PB) && in getBranchTerminator()
67 return cast<PredicateWithEdge>(PB)->From->getTerminator(); in getBranchTerminator()
73 assert(isa<PredicateWithEdge>(PB) && in getBlockEdge()
75 const auto *PEdge = cast<PredicateWithEdge>(PB); in getBlockEdge()
568 if (isa<PredicateWithEdge>(ValInfo)) { in materializeStack()
645 } else if (isa<PredicateWithEdge>(PossibleCopy)) { in renameUses()