Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DFlattenCFG.cpp417 Instruction *CInst2 = dyn_cast<Instruction>(DomBI2->getCondition()); in MergeIfRegion() local
418 if (!CInst2) in MergeIfRegion()
421 BasicBlock *SecondEntryBlock = CInst2->getParent(); in MergeIfRegion()
486 assert(PBI->getCondition() == CInst2); in MergeIfRegion()
493 auto Cmp2 = dyn_cast<CmpInst>(CInst2); in MergeIfRegion()
497 CInst2 = cast<Instruction>(Builder.CreateNot(CInst2)); in MergeIfRegion()
500 Value *NC = Builder.CreateBinOp(CombineOp, CInst1, CInst2); in MergeIfRegion()
501 PBI->replaceUsesOfWith(CInst2, NC); in MergeIfRegion()