Searched refs:DomBI (Results 1 – 1 of 1) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 3490 BranchInst *DomBI = GetIfCondition(BB, IfTrue, IfFalse); in FoldTwoEntryPHINode() local 3491 if (!DomBI) in FoldTwoEntryPHINode() 3493 Value *IfCond = DomBI->getCondition(); in FoldTwoEntryPHINode() 3498 BasicBlock *DomBlock = DomBI->getParent(); in FoldTwoEntryPHINode() 3512 bool IsUnpredictable = DomBI->getMetadata(LLVMContext::MD_unpredictable); in FoldTwoEntryPHINode() 3515 if (extractBranchWeights(*DomBI, TWeight, FWeight) && in FoldTwoEntryPHINode() 3523 DomBI->getSuccessor(0) == BB ? BITrueProb : BIFalseProb; in FoldTwoEntryPHINode() 3638 hoistAllInstructionsInto(DomBlock, DomBI, IfBlock); in FoldTwoEntryPHINode() 3640 IRBuilder<NoFolder> Builder(DomBI); in FoldTwoEntryPHINode() 3651 Value *Sel = Builder.CreateSelect(IfCond, TrueVal, FalseVal, "", DomBI); in FoldTwoEntryPHINode() [all …]
|