Searched refs:SplitBefore (Results 1 – 3 of 3) sorted by relevance
707 Instruction *SplitBefore, in SplitBlockAndInsertIfThen() argument711 BasicBlock *Head = SplitBefore->getParent(); in SplitBlockAndInsertIfThen()712 BasicBlock *Tail = Head->splitBasicBlock(SplitBefore->getIterator()); in SplitBlockAndInsertIfThen()721 CheckTerm->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThen()757 void llvm::SplitBlockAndInsertIfThenElse(Value *Cond, Instruction *SplitBefore, in SplitBlockAndInsertIfThenElse() argument761 BasicBlock *Head = SplitBefore->getParent(); in SplitBlockAndInsertIfThenElse()762 BasicBlock *Tail = Head->splitBasicBlock(SplitBefore->getIterator()); in SplitBlockAndInsertIfThenElse()768 (*ThenTerm)->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThenElse()770 (*ElseTerm)->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThenElse()
263 TerminatorInst *SplitBlockAndInsertIfThen(Value *Cond, Instruction *SplitBefore,282 void SplitBlockAndInsertIfThenElse(Value *Cond, Instruction *SplitBefore,
1814 unsigned SplitBefore = 0, SplitAfter = 1; in tryLocalSplit() local1822 const bool LiveBefore = SplitBefore != 0 || BI.LiveIn; in tryLocalSplit()1826 << Uses[SplitBefore] << '-' << Uses[SplitAfter] in tryLocalSplit()1838 unsigned NewGaps = LiveBefore + SplitAfter - SplitBefore + LiveAfter; in tryLocalSplit()1851 Uses[SplitBefore].distance(Uses[SplitAfter]) + in tryLocalSplit()1863 BestBefore = SplitBefore; in tryLocalSplit()1871 if (++SplitBefore < SplitAfter) { in tryLocalSplit()1874 if (GapWeight[SplitBefore - 1] >= MaxGap) { in tryLocalSplit()1875 MaxGap = GapWeight[SplitBefore]; in tryLocalSplit()1876 for (unsigned i = SplitBefore + 1; i != SplitAfter; ++i) in tryLocalSplit()