Searched refs:SplitBefore (Results 1 – 3 of 3) sorted by relevance
699 Instruction *SplitBefore, in SplitBlockAndInsertIfThen() argument703 BasicBlock *Head = SplitBefore->getParent(); in SplitBlockAndInsertIfThen()704 BasicBlock *Tail = Head->splitBasicBlock(SplitBefore); in SplitBlockAndInsertIfThen()713 CheckTerm->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThen()716 HeadNewTerm->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThen()750 void llvm::SplitBlockAndInsertIfThenElse(Value *Cond, Instruction *SplitBefore, in SplitBlockAndInsertIfThenElse() argument754 BasicBlock *Head = SplitBefore->getParent(); in SplitBlockAndInsertIfThenElse()755 BasicBlock *Tail = Head->splitBasicBlock(SplitBefore); in SplitBlockAndInsertIfThenElse()761 (*ThenTerm)->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThenElse()763 (*ElseTerm)->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThenElse()[all …]
279 TerminatorInst *SplitBlockAndInsertIfThen(Value *Cond, Instruction *SplitBefore,298 void SplitBlockAndInsertIfThenElse(Value *Cond, Instruction *SplitBefore,
1783 unsigned SplitBefore = 0, SplitAfter = 1; in tryLocalSplit() local1791 const bool LiveBefore = SplitBefore != 0 || BI.LiveIn; in tryLocalSplit()1795 << Uses[SplitBefore] << '-' << Uses[SplitAfter] in tryLocalSplit()1807 unsigned NewGaps = LiveBefore + SplitAfter - SplitBefore + LiveAfter; in tryLocalSplit()1820 Uses[SplitBefore].distance(Uses[SplitAfter]) + in tryLocalSplit()1832 BestBefore = SplitBefore; in tryLocalSplit()1840 if (++SplitBefore < SplitAfter) { in tryLocalSplit()1843 if (GapWeight[SplitBefore - 1] >= MaxGap) { in tryLocalSplit()1844 MaxGap = GapWeight[SplitBefore]; in tryLocalSplit()1845 for (unsigned i = SplitBefore + 1; i != SplitAfter; ++i) in tryLocalSplit()