Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DPredicateInfo.h129 class PredicateWithEdge : public PredicateBase {
133 PredicateWithEdge() = delete;
139 PredicateWithEdge(PredicateType PType, Value *Op, BasicBlock *From, in PredicateWithEdge() function
145 class PredicateBranch : public PredicateWithEdge {
151 : PredicateWithEdge(PT_Branch, Op, BranchBB, SplitBB, Condition), in PredicateBranch()
159 class PredicateSwitch : public PredicateWithEdge {
166 : PredicateWithEdge(PT_Switch, Op, SwitchBB, TargetBB, in PredicateSwitch()
/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DPredicateInfo.cpp49 assert(isa<PredicateWithEdge>(PB) && in getBranchBlock()
52 return cast<PredicateWithEdge>(PB)->From; in getBranchBlock()
58 assert(isa<PredicateWithEdge>(PB) && in getBranchTerminator()
60 return cast<PredicateWithEdge>(PB)->From->getTerminator(); in getBranchTerminator()
66 assert(isa<PredicateWithEdge>(PB) && in getBlockEdge()
68 const auto *PEdge = cast<PredicateWithEdge>(PB); in getBlockEdge()
559 if (isa<PredicateWithEdge>(ValInfo)) { in materializeStack()
636 } else if (isa<PredicateWithEdge>(PossibleCopy)) { in renameUses()