Searched refs:SplitBefore (Results 1 – 8 of 8) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCReduceCRLogicals.cpp | 113 MachineInstr *SplitBefore; member 122 if (!OrigBranch || !SplitBefore || !SplitCond) in allInstrsInSameMBB() 125 if (SplitBefore->getParent() != MBB || SplitCond->getParent() != MBB) in allInstrsInSameMBB() 179 MachineBasicBlock::iterator InsertPoint = BSI.SplitBefore; in splitMBB() 195 BuildMI(*ThisMBB, ThisMBB->end(), BSI.SplitBefore->getDebugLoc(), in splitMBB() 199 BuildMI(*ThisMBB, ThisMBB->end(), BSI.SplitBefore->getDebugLoc(), in splitMBB() 617 MachineInstr *SplitBefore = &*Def2It; in splitBlockOnBinaryCROp() local 620 SplitBefore = &*Def1It; in splitBlockOnBinaryCROp() 628 LLVM_DEBUG(dbgs() << "Before instruction:\n"; SplitBefore->dump()); in splitBlockOnBinaryCROp() 638 MachineBasicBlock *MBB = SplitBefore->getParent(); in splitBlockOnBinaryCROp() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 685 llvm::SplitBlockAndInsertIfThen(Value *Cond, Instruction *SplitBefore, in SplitBlockAndInsertIfThen() argument 688 BasicBlock *Head = SplitBefore->getParent(); in SplitBlockAndInsertIfThen() 689 BasicBlock *Tail = Head->splitBasicBlock(SplitBefore->getIterator()); in SplitBlockAndInsertIfThen() 698 CheckTerm->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThen() 727 void llvm::SplitBlockAndInsertIfThenElse(Value *Cond, Instruction *SplitBefore, in SplitBlockAndInsertIfThenElse() argument 731 BasicBlock *Head = SplitBefore->getParent(); in SplitBlockAndInsertIfThenElse() 732 BasicBlock *Tail = Head->splitBasicBlock(SplitBefore->getIterator()); in SplitBlockAndInsertIfThenElse() 738 (*ThenTerm)->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThenElse() 740 (*ElseTerm)->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThenElse()
|
/external/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 616 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/ |
D | RegAllocGreedy.cpp | 1382 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/ |
D | BasicBlockUtils.h | 250 TerminatorInst *SplitBlockAndInsertIfThen(Value *Cond, Instruction *SplitBefore, 270 void SplitBlockAndInsertIfThenElse(Value *Cond, Instruction *SplitBefore,
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
D | BasicBlockUtils.h | 254 TerminatorInst *SplitBlockAndInsertIfThen(Value *Cond, Instruction *SplitBefore, 274 void SplitBlockAndInsertIfThenElse(Value *Cond, Instruction *SplitBefore,
|
/external/llvm/lib/CodeGen/ |
D | RegAllocGreedy.cpp | 1824 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | RegAllocGreedy.cpp | 2289 unsigned SplitBefore = 0, SplitAfter = 1; in tryLocalSplit() local 2297 const bool LiveBefore = SplitBefore != 0 || BI.LiveIn; in tryLocalSplit() 2300 LLVM_DEBUG(dbgs() << printReg(PhysReg, TRI) << ' ' << Uses[SplitBefore] in tryLocalSplit() 2312 unsigned NewGaps = LiveBefore + SplitAfter - SplitBefore + LiveAfter; in tryLocalSplit() 2325 Uses[SplitBefore].distance(Uses[SplitAfter]) + in tryLocalSplit() 2337 BestBefore = SplitBefore; in tryLocalSplit() 2345 if (++SplitBefore < SplitAfter) { in tryLocalSplit() 2348 if (GapWeight[SplitBefore - 1] >= MaxGap) { in tryLocalSplit() 2349 MaxGap = GapWeight[SplitBefore]; in tryLocalSplit() 2350 for (unsigned i = SplitBefore + 1; i != SplitAfter; ++i) in tryLocalSplit()
|