Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A 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()
644 MachineInstr *SplitBefore = &*Def2It; in splitBlockOnBinaryCROp() local
647 SplitBefore = &*Def1It; in splitBlockOnBinaryCROp()
655 LLVM_DEBUG(dbgs() << "Before instruction:\n"; SplitBefore->dump()); in splitBlockOnBinaryCROp()
665 MachineBasicBlock *MBB = SplitBefore->getParent(); in splitBlockOnBinaryCROp()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DBasicBlockUtils.h396 /// SplitBefore stays in the old basic block, and the rest of the instructions
401 /// SplitBefore
407 /// SplitBefore
416 Instruction *SplitBlockAndInsertIfThen(Value *Cond, BasicBlock::iterator SplitBefore,
423 inline Instruction *SplitBlockAndInsertIfThen(Value *Cond, Instruction *SplitBefore,
429 return SplitBlockAndInsertIfThen(Cond, SplitBefore->getIterator(),
436 Instruction *SplitBlockAndInsertIfElse(Value *Cond, BasicBlock::iterator SplitBefore,
443 inline Instruction *SplitBlockAndInsertIfElse(Value *Cond, Instruction *SplitBefore,
449 return SplitBlockAndInsertIfElse(Cond, SplitBefore->getIterator(),
458 /// SplitBefore
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp1609 BasicBlock::iterator SplitBefore, in SplitBlockAndInsertIfThen() argument
1615 Cond, SplitBefore, &ThenBlock, /* ElseBlock */ nullptr, in SplitBlockAndInsertIfThen()
1622 BasicBlock::iterator SplitBefore, in SplitBlockAndInsertIfElse() argument
1628 Cond, SplitBefore, /* ThenBlock */ nullptr, &ElseBlock, in SplitBlockAndInsertIfElse()
1634 void llvm::SplitBlockAndInsertIfThenElse(Value *Cond, BasicBlock::iterator SplitBefore, in SplitBlockAndInsertIfThenElse() argument
1642 Cond, SplitBefore, &ThenBlock, &ElseBlock, /* UnreachableThen */ false, in SplitBlockAndInsertIfThenElse()
1650 Value *Cond, BasicBlock::iterator SplitBefore, BasicBlock **ThenBlock, in SplitBlockAndInsertIfThenElse() argument
1660 BasicBlock *Head = SplitBefore->getParent(); in SplitBlockAndInsertIfThenElse()
1667 BasicBlock *Tail = Head->splitBasicBlock(SplitBefore); in SplitBlockAndInsertIfThenElse()
1690 BB->getTerminator()->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThenElse()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegAllocGreedy.cpp1672 unsigned SplitBefore = 0, SplitAfter = 1; in tryLocalSplit() local
1680 const bool LiveBefore = SplitBefore != 0 || BI.LiveIn; in tryLocalSplit()
1683 LLVM_DEBUG(dbgs() << printReg(PhysReg, TRI) << ' ' << Uses[SplitBefore] in tryLocalSplit()
1695 unsigned NewGaps = LiveBefore + SplitAfter - SplitBefore + LiveAfter; in tryLocalSplit()
1708 Uses[SplitBefore].distance(Uses[SplitAfter]) + in tryLocalSplit()
1720 BestBefore = SplitBefore; in tryLocalSplit()
1728 if (++SplitBefore < SplitAfter) { in tryLocalSplit()
1731 if (GapWeight[SplitBefore - 1] >= MaxGap) { in tryLocalSplit()
1732 MaxGap = GapWeight[SplitBefore]; in tryLocalSplit()
1733 for (unsigned I = SplitBefore + 1; I != SplitAfter; ++I) in tryLocalSplit()
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtil.h79 inline std::pair<std::string, std::string> SplitBefore(std::string X, in SplitBefore()
77 inline std::pair<std::string, std::string> SplitBefore(std::string X, SplitBefore() function
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp5095 Instruction *SplitBefore; in createIfVersion() local
5097 SplitBefore = dyn_cast<Instruction>(IfCond); in createIfVersion()
5099 SplitBefore = CanonicalLoop->getPreheader()->getTerminator(); in createIfVersion()
5117 BasicBlock *Head = SplitBefore->getParent(); in createIfVersion()