/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | SimpleLoopUnswitch.cpp | 549 auto *ParentBB = BI.getParent(); in unswitchTrivialBranch() local 550 if (!areLoopExitPHIsLoopInvariant(L, *ParentBB, *LoopExitBB)) { in unswitchTrivialBranch() 631 BI.clone()->insertInto(ParentBB, ParentBB->end()); in unswitchTrivialBranch() 635 Instruction *NewBI = BranchInst::Create(ContinueBB, ParentBB); in unswitchTrivialBranch() 670 Instruction *Term = ParentBB->getTerminator(); in unswitchTrivialBranch() 673 Instruction *NewBI = BranchInst::Create(ContinueBB, ParentBB); in unswitchTrivialBranch() 676 MSSAU->removeEdge(ParentBB, LoopExitBB); in unswitchTrivialBranch() 678 DT.deleteEdge(ParentBB, LoopExitBB); in unswitchTrivialBranch() 686 rewritePHINodesForUnswitchedExitBlock(*UnswitchedBB, *ParentBB, *OldPH); in unswitchTrivialBranch() 689 *ParentBB, *OldPH, FullUnswitch); in unswitchTrivialBranch() [all …]
|
H A D | DivRemPairs.cpp | 247 auto IsSafeToHoist = [](Instruction *DivOrRem, BasicBlock *ParentBB) { in optimizeDivRem() argument 248 for (auto I = ParentBB->begin(), E = DivOrRem->getIterator(); I != E; in optimizeDivRem()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | CFG.cpp | 49 const BasicBlock *ParentBB = Top.first; in FindFunctionBackedges() local 53 while (I != succ_end(ParentBB)) { in FindFunctionBackedges() 61 Result.push_back(std::make_pair(ParentBB, BB)); in FindFunctionBackedges()
|
H A D | LazyValueInfo.cpp | 2022 auto *ParentBB = I->getParent(); in emitInstructionAnnot() local 2039 printResult(ParentBB); in emitInstructionAnnot() 2042 for (const auto *BBSucc : successors(ParentBB)) in emitInstructionAnnot() 2043 if (DT.dominates(ParentBB, BBSucc)) in emitInstructionAnnot() 2049 if (!isa<PHINode>(UseI) || DT.dominates(ParentBB, UseI->getParent())) in emitInstructionAnnot()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | OpenMPOpt.cpp | 1102 BasicBlock *ParentBB = SeqStartI->getParent(); in mergeParallelRegions() local 1104 SplitBlock(ParentBB, SeqEndI->getNextNode(), DT, LI); in mergeParallelRegions() 1108 SplitBlock(ParentBB, SeqStartI, DT, LI, nullptr, "seq.par.merged"); in mergeParallelRegions() 1110 assert(ParentBB->getUniqueSuccessor() == SeqStartBB && in mergeParallelRegions() 1112 const DebugLoc DL = ParentBB->getTerminator()->getDebugLoc(); in mergeParallelRegions() 1113 ParentBB->getTerminator()->eraseFromParent(); in mergeParallelRegions() 1166 InsertPointTy(ParentBB, ParentBB->end()), DL); in mergeParallelRegions() 3951 BasicBlock *ParentBB = RegionStartI->getParent(); in insertInstructionGuardsHelper() local 3952 Function *Fn = ParentBB->getParent(); in insertInstructionGuardsHelper() 3977 BasicBlock *RegionEndBB = SplitBlock(ParentBB, RegionEndI->getNextNode(), in insertInstructionGuardsHelper() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Instruction.cpp | 115 BasicBlock::iterator Instruction::insertInto(BasicBlock *ParentBB, in insertInto() argument 118 assert((It == ParentBB->end() || It->getParent() == ParentBB) && in insertInto() 120 insertBefore(*ParentBB, It); in insertInto()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVEmitIntrinsics.cpp | 944 BasicBlock *ParentBB = I.getParent(); in visitSwitchInst() local 945 IRBuilder<> B(ParentBB); in visitSwitchInst() 967 B.SetInsertPoint(ParentBB); in visitSwitchInst() 969 Constant::getNullValue(PointerType::getUnqual(ParentBB->getContext())), in visitSwitchInst()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Instruction.h | 218 InstListType::iterator insertInto(BasicBlock *ParentBB,
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | IRTranslator.h | 686 MachineBasicBlock *ParentBB);
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.h | 524 MachineBasicBlock *ParentBB);
|
H A D | SelectionDAGBuilder.cpp | 3079 MachineBasicBlock *ParentBB) { in visitSPDescriptorParent() argument 3086 MachineFrameInfo &MFI = ParentBB->getParent()->getFrameInfo(); in visitSPDescriptorParent() 3092 const Module &M = *ParentBB->getParent()->getFunction().getParent(); in visitSPDescriptorParent()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | IRTranslator.cpp | 3682 MachineBasicBlock *ParentBB) { in emitSPDescriptorParent() argument 3683 CurBuilder->setInsertPt(*ParentBB, ParentBB->end()); in emitSPDescriptorParent() 3689 MachineFrameInfo &MFI = ParentBB->getParent()->getFrameInfo(); in emitSPDescriptorParent() 3694 const Module &M = *ParentBB->getParent()->getFunction().getParent(); in emitSPDescriptorParent()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | Local.cpp | 237 BasicBlock *ParentBB = SI->getParent(); in ConstantFoldTerminator() local 238 DefaultDest->removePredecessor(ParentBB); in ConstantFoldTerminator()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 18118 BasicBlock *ParentBB, LoopInfo *LI) { in getReductionInstr() argument 18130 if (P->getIncomingBlock(0) == ParentBB) { in getReductionInstr() 18132 } else if (P->getIncomingBlock(1) == ParentBB) { in getReductionInstr() 18140 Loop *BBL = LI->getLoopFor(ParentBB); in getReductionInstr()
|