Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCReduceCRLogicals.cpp109 MachineInstr *SplitBefore; member
118 if (!OrigBranch || !SplitBefore || !SplitCond) in allInstrsInSameMBB()
121 if (SplitBefore->getParent() != MBB || SplitCond->getParent() != MBB) in allInstrsInSameMBB()
199 MachineBasicBlock::iterator InsertPoint = BSI.SplitBefore; in splitMBB()
220 BuildMI(*ThisMBB, ThisMBB->end(), BSI.SplitBefore->getDebugLoc(), in splitMBB()
224 BuildMI(*ThisMBB, ThisMBB->end(), BSI.SplitBefore->getDebugLoc(), in splitMBB()
643 MachineInstr *SplitBefore = &*Def2It; in splitBlockOnBinaryCROp() local
646 SplitBefore = &*Def1It; in splitBlockOnBinaryCROp()
654 LLVM_DEBUG(dbgs() << "Before instruction:\n"; SplitBefore->dump()); in splitBlockOnBinaryCROp()
664 MachineBasicBlock *MBB = SplitBefore->getParent(); in splitBlockOnBinaryCROp()
[all …]
/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-10.0/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp926 Instruction *SplitBefore, in SplitBlockAndInsertIfThen() argument
931 BasicBlock *Head = SplitBefore->getParent(); in SplitBlockAndInsertIfThen()
932 BasicBlock *Tail = Head->splitBasicBlock(SplitBefore->getIterator()); in SplitBlockAndInsertIfThen()
943 CheckTerm->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThen()
977 void llvm::SplitBlockAndInsertIfThenElse(Value *Cond, Instruction *SplitBefore, in SplitBlockAndInsertIfThenElse() argument
981 BasicBlock *Head = SplitBefore->getParent(); in SplitBlockAndInsertIfThenElse()
982 BasicBlock *Tail = Head->splitBasicBlock(SplitBefore->getIterator()); in SplitBlockAndInsertIfThenElse()
988 (*ThenTerm)->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThenElse()
990 (*ElseTerm)->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThenElse()
/external/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h250 TerminatorInst *SplitBlockAndInsertIfThen(Value *Cond, Instruction *SplitBefore,
270 void SplitBlockAndInsertIfThenElse(Value *Cond, Instruction *SplitBefore,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h305 Instruction *SplitBlockAndInsertIfThen(Value *Cond, Instruction *SplitBefore,
326 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()
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerUtil.h77 inline std::pair<std::string, std::string> SplitBefore(std::string X, in SplitBefore() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegAllocGreedy.cpp2333 unsigned SplitBefore = 0, SplitAfter = 1; in tryLocalSplit() local
2341 const bool LiveBefore = SplitBefore != 0 || BI.LiveIn; in tryLocalSplit()
2344 LLVM_DEBUG(dbgs() << printReg(PhysReg, TRI) << ' ' << Uses[SplitBefore] in tryLocalSplit()
2356 unsigned NewGaps = LiveBefore + SplitAfter - SplitBefore + LiveAfter; in tryLocalSplit()
2369 Uses[SplitBefore].distance(Uses[SplitAfter]) + in tryLocalSplit()
2381 BestBefore = SplitBefore; in tryLocalSplit()
2389 if (++SplitBefore < SplitAfter) { in tryLocalSplit()
2392 if (GapWeight[SplitBefore - 1] >= MaxGap) { in tryLocalSplit()
2393 MaxGap = GapWeight[SplitBefore]; in tryLocalSplit()
2394 for (unsigned i = SplitBefore + 1; i != SplitAfter; ++i) in tryLocalSplit()