Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp616 llvm::SplitBlockAndInsertIfThen(Value *Cond, Instruction *SplitBefore, in SplitBlockAndInsertIfThen() argument
619 BasicBlock *Head = SplitBefore->getParent(); in SplitBlockAndInsertIfThen()
620 BasicBlock *Tail = Head->splitBasicBlock(SplitBefore->getIterator()); in SplitBlockAndInsertIfThen()
629 CheckTerm->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThen()
657 void llvm::SplitBlockAndInsertIfThenElse(Value *Cond, Instruction *SplitBefore, in SplitBlockAndInsertIfThenElse() argument
661 BasicBlock *Head = SplitBefore->getParent(); in SplitBlockAndInsertIfThenElse()
662 BasicBlock *Tail = Head->splitBasicBlock(SplitBefore->getIterator()); in SplitBlockAndInsertIfThenElse()
668 (*ThenTerm)->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThenElse()
670 (*ElseTerm)->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThenElse()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DRegAllocGreedy.cpp1382 unsigned SplitBefore = 0, SplitAfter = 1; in tryLocalSplit() local
1390 const bool LiveBefore = SplitBefore != 0 || BI.LiveIn; in tryLocalSplit()
1394 << Uses[SplitBefore] << '-' << Uses[SplitAfter] in tryLocalSplit()
1406 unsigned NewGaps = LiveBefore + SplitAfter - SplitBefore + LiveAfter; in tryLocalSplit()
1418 Uses[SplitBefore].distance(Uses[SplitAfter]) + in tryLocalSplit()
1429 BestBefore = SplitBefore; in tryLocalSplit()
1437 if (++SplitBefore < SplitAfter) { in tryLocalSplit()
1440 if (GapWeight[SplitBefore - 1] >= MaxGap) { in tryLocalSplit()
1441 MaxGap = GapWeight[SplitBefore]; in tryLocalSplit()
1442 for (unsigned i = SplitBefore + 1; i != SplitAfter; ++i) in tryLocalSplit()
/external/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h250 TerminatorInst *SplitBlockAndInsertIfThen(Value *Cond, Instruction *SplitBefore,
270 void SplitBlockAndInsertIfThenElse(Value *Cond, Instruction *SplitBefore,
/external/llvm/lib/CodeGen/
DRegAllocGreedy.cpp1824 unsigned SplitBefore = 0, SplitAfter = 1; in tryLocalSplit() local
1832 const bool LiveBefore = SplitBefore != 0 || BI.LiveIn; in tryLocalSplit()
1836 << Uses[SplitBefore] << '-' << Uses[SplitAfter] in tryLocalSplit()
1848 unsigned NewGaps = LiveBefore + SplitAfter - SplitBefore + LiveAfter; in tryLocalSplit()
1861 Uses[SplitBefore].distance(Uses[SplitAfter]) + in tryLocalSplit()
1873 BestBefore = SplitBefore; in tryLocalSplit()
1881 if (++SplitBefore < SplitAfter) { in tryLocalSplit()
1884 if (GapWeight[SplitBefore - 1] >= MaxGap) { in tryLocalSplit()
1885 MaxGap = GapWeight[SplitBefore]; in tryLocalSplit()
1886 for (unsigned i = SplitBefore + 1; i != SplitAfter; ++i) in tryLocalSplit()