Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopRotationUtils.cpp844 BranchInst *PHBI = cast<BranchInst>(OrigPreheader->getTerminator()); in rotateLoop() local
845 assert(PHBI->isConditional() && "Should be clone of BI condbr!"); in rotateLoop()
846 const Value *Cond = PHBI->getCondition(); in rotateLoop()
849 PHBI->getSuccessor(cast<ConstantInt>(Cond)->isZero()) != NewHeader; in rotateLoop()
851 updateBranchWeights(*PHBI, *BI, HasConditionalPreHeader, BISuccsSwapped); in rotateLoop()
890 BranchInst *NewBI = BranchInst::Create(NewHeader, PHBI->getIterator()); in rotateLoop()
891 NewBI->setDebugLoc(PHBI->getDebugLoc()); in rotateLoop()
892 PHBI->eraseFromParent(); in rotateLoop()