Home
last modified time | relevance | path

Searched refs:InsertBB (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp673 BasicBlock *InsertBB = IncomingBB; in run() local
674 while (isa<CatchSwitchInst>(InsertBB->getFirstNonPHIIt())) { in run()
675 InsertBB = DT->getNode(InsertBB)->getIDom()->getBlock(); in run()
678 assert(DT->dominates(Inst, &InsertBB->back()) && in run()
681 InsertBB->back().getIterator()); in run()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGSDNodes.cpp1032 MachineBasicBlock *InsertBB = Emitter.getBlock(); in EmitSchedule() local
1033 MachineBasicBlock::iterator Pos = InsertBB->getFirstTerminator(); in EmitSchedule()
1034 InsertBB->insert(Pos, DbgMIs.begin(), DbgMIs.end()); in EmitSchedule()
1074 MachineBasicBlock *InsertBB = Emitter.getBlock(); in EmitSchedule() local
1075 auto FirstTerm = InsertBB->getFirstTerminator(); in EmitSchedule()
1076 if (FirstTerm != InsertBB->end()) { in EmitSchedule()
1080 make_range(std::next(FirstTerm), InsertBB->end()))) { in EmitSchedule()
1094 return InsertBB; in EmitSchedule()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp345 BasicBlock *InsertBB; in getInsertionPointAfterDef() local
348 InsertBB = PN->getParent(); in getInsertionPointAfterDef()
349 InsertPt = InsertBB->getFirstInsertionPt(); in getInsertionPointAfterDef()
351 InsertBB = II->getNormalDest(); in getInsertionPointAfterDef()
352 InsertPt = InsertBB->getFirstInsertionPt(); in getInsertionPointAfterDef()
359 InsertBB = getParent(); in getInsertionPointAfterDef()
369 if (InsertPt == InsertBB->end()) in getInsertionPointAfterDef()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGVNSink.cpp780 BasicBlock *InsertBB = BBEnd; in sinkBB() local
784 InsertBB = SplitBlockPredecessors(BBEnd, C.Blocks, ".gvnsink.split"); in sinkBB()
785 if (!InsertBB) { in sinkBB()
793 sinkLastInstruction(C.Blocks, InsertBB); in sinkBB()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationPlanner.h73 VPBuilder(VPBasicBlock *InsertBB) { setInsertPoint(InsertBB); } in VPBuilder() argument
H A DSLPVectorizer.cpp16244 auto &&CheckPredecessor = [](BasicBlock *InstBB, BasicBlock *InsertBB) { in gather() argument
16246 while (InsertBB && InsertBB != InstBB && Visited.insert(InsertBB).second) in gather()
16247 InsertBB = InsertBB->getSinglePredecessor(); in gather()
16248 return InsertBB && InsertBB == InstBB; in gather()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULateCodeGenPrepare.cpp247 BasicBlock *InsertBB) { in convertFromOptType() argument
253 IRBuilder<> Builder(InsertBB, InsertPt); in convertFromOptType()
H A DSIInstrInfo.cpp6938 MachineBasicBlock *InsertBB = MI.getOperand(I + 1).getMBB(); in legalizeOperands() local
6939 MachineBasicBlock::iterator Insert = InsertBB->getFirstTerminator(); in legalizeOperands()
6943 legalizeGenericOperand(*InsertBB, Insert, RC, Op, MRI, MI.getDebugLoc()); in legalizeOperands()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp1193 BasicBlock *InsertBB = PHI->getIncomingBlock(i); in getInsertPointForUses() local
1195 if (!DT->isReachableFromEntry(InsertBB)) in getInsertPointForUses()
1199 InsertPt = InsertBB->getTerminator(); in getInsertPointForUses()
1202 InsertBB = DT->findNearestCommonDominator(InsertPt->getParent(), InsertBB); in getInsertPointForUses()
1203 InsertPt = InsertBB->getTerminator(); in getInsertPointForUses()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunction.cpp1197 MachineBasicBlock &InsertBB = *CurInst->getParent(); in salvageCopySSAImpl() local
1209 auto Builder = BuildMI(InsertBB, InsertBB.getFirstNonPHI(), DebugLoc(), in salvageCopySSAImpl()
H A DModuloSchedule.cpp1553 auto *InsertBB = &PreheaderBB->getParent()->front(); in undef() local
1554 BuildMI(*InsertBB, InsertBB->getFirstTerminator(), DebugLoc(), in undef()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp726 Expected<Value *> materializeValue(unsigned ValID, BasicBlock *InsertBB);
1036 [this](unsigned ValID, BasicBlock *InsertBB) { in BitcodeReader() argument
1037 return materializeValue(ValID, InsertBB); in BitcodeReader()
1533 BasicBlock *InsertBB) { in materializeValue() argument
1721 if (!InsertBB) in materializeValue()
1730 BC->getType(), "constexpr", InsertBB); in materializeValue()
1733 "constexpr", InsertBB); in materializeValue()
1736 Ops[1], "constexpr", InsertBB); in materializeValue()
1754 InsertBB); in materializeValue()
1764 "constexpr.ins", InsertBB); in materializeValue()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp322 auto *InsertBB = &IncomingBB->getParent()->getEntryBlock(); in foldIntegerTypedPHI() local
323 InsertNewInstBefore(CI, InsertBB->getFirstInsertionPt()); in foldIntegerTypedPHI()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp722 MachineBasicBlock *InsertBB = UseMI.getParent(); in InsertInsnsWithoutSideEffectsBeforeUse() local
727 InsertBB = PredBB->getMBB(); in InsertInsnsWithoutSideEffectsBeforeUse()
732 if (InsertBB == DefMI.getParent()) { in InsertInsnsWithoutSideEffectsBeforeUse()
734 Inserter(InsertBB, std::next(InsertPt), UseMO); in InsertInsnsWithoutSideEffectsBeforeUse()
739 Inserter(InsertBB, InsertBB->getFirstNonPHI(), UseMO); in InsertInsnsWithoutSideEffectsBeforeUse()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp1502 BasicBlock *InsertBB = Builder.GetInsertBlock(); in createParallel() local
1503 Function *OuterFn = InsertBB->getParent(); in createParallel()
1542 auto *UI = new UnreachableInst(Builder.getContext(), InsertBB); in createParallel()
1694 Builder.SetInsertPoint(InsertBB, in createParallel()
1695 InsertBB->getTerminator()->getIterator()); in createParallel()
6067 auto InsertBB = merged ? ExitPredBB : ExitBB; in EmitOMPInlinedRegion() local
6070 Builder.SetInsertPoint(InsertBB); in EmitOMPInlinedRegion()