Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp699 Instruction *SplitBefore, in SplitBlockAndInsertIfThen() argument
703 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() argument
754 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 …]
/external/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h279 TerminatorInst *SplitBlockAndInsertIfThen(Value *Cond, Instruction *SplitBefore,
298 void SplitBlockAndInsertIfThenElse(Value *Cond, Instruction *SplitBefore,
/external/llvm/lib/CodeGen/
DRegAllocGreedy.cpp1783 unsigned SplitBefore = 0, SplitAfter = 1; in tryLocalSplit() local
1791 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()