Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp621 BasicBlock *InsertBB = IncomingBB; in run() local
622 while (isa<CatchSwitchInst>(InsertBB->getFirstNonPHI())) { in run()
623 InsertBB = DT->getNode(InsertBB)->getIDom()->getBlock(); in run()
626 assert(DT->dominates(Inst, &InsertBB->back()) && in run()
629 new BitCastInst(Replacement, UseTy, "", &InsertBB->back()); in run()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGSDNodes.cpp1016 MachineBasicBlock *InsertBB = Emitter.getBlock(); in EmitSchedule() local
1017 MachineBasicBlock::iterator Pos = InsertBB->getFirstTerminator(); in EmitSchedule()
1018 InsertBB->insert(Pos, DbgMIs.begin(), DbgMIs.end()); in EmitSchedule()
1058 MachineBasicBlock *InsertBB = Emitter.getBlock(); in EmitSchedule() local
1059 auto FirstTerm = InsertBB->getFirstTerminator(); in EmitSchedule()
1060 if (FirstTerm != InsertBB->end()) { in EmitSchedule()
1064 make_range(std::next(FirstTerm), InsertBB->end()))) { in EmitSchedule()
1077 return InsertBB; in EmitSchedule()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp963 BasicBlock *InsertBB, Instruction *InsertBefore) { in initIRBuilder() argument
966 else if (InsertBB) in initIRBuilder()
967 Builder.SetInsertPoint(InsertBB); in initIRBuilder()
983 BasicBlock *InsertBB, Instruction *InsertBefore) { in insertDeclare() argument
999 initIRBuilder(B, DL, InsertBB, InsertBefore); in insertDeclare()
1005 const DILocation *DL, BasicBlock *InsertBB, Instruction *InsertBefore) { in insertDbgValueIntrinsic() argument
1022 initIRBuilder(B, DL, InsertBB, InsertBefore); in insertDbgValueIntrinsic()
1028 BasicBlock *InsertBB, Instruction *InsertBefore) { in insertLabel() argument
1041 initIRBuilder(B, DL, InsertBB, InsertBefore); in insertLabel()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGVNSink.cpp815 BasicBlock *InsertBB = BBEnd; in sinkBB() local
819 InsertBB = SplitBlockPredecessors(BBEnd, C.Blocks, ".gvnsink.split"); in sinkBB()
820 if (!InsertBB) { in sinkBB()
828 sinkLastInstruction(C.Blocks, InsertBB); in sinkBB()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h83 BasicBlock *InsertBB, Instruction *InsertBefore);
87 BasicBlock *InsertBB, Instruction *InsertBefore);
93 BasicBlock *InsertBB, Instruction *InsertBefore);
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunction.cpp1134 MachineBasicBlock &InsertBB = *CurInst->getParent(); in salvageCopySSA() local
1155 assert(&*InsertBB.getParent()->begin() == &InsertBB); in salvageCopySSA()
1159 auto Builder = BuildMI(InsertBB, InsertBB.getFirstNonPHI(), DebugLoc(), in salvageCopySSA()
H A DModuloSchedule.cpp1514 auto *InsertBB = &PreheaderBB->getParent()->front(); in undef() local
1515 BuildMI(*InsertBB, InsertBB->getFirstTerminator(), DebugLoc(), in undef()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp1094 BasicBlock *InsertBB = PHI->getIncomingBlock(i); in getInsertPointForUses() local
1096 if (!DT->isReachableFromEntry(InsertBB)) in getInsertPointForUses()
1100 InsertPt = InsertBB->getTerminator(); in getInsertPointForUses()
1103 InsertBB = DT->findNearestCommonDominator(InsertPt->getParent(), InsertBB); in getInsertPointForUses()
1104 InsertPt = InsertBB->getTerminator(); in getInsertPointForUses()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp510 BasicBlock *InsertBB = Builder.GetInsertBlock(); in createParallel() local
511 Function *OuterFn = InsertBB->getParent(); in createParallel()
541 auto *UI = new UnreachableInst(Builder.getContext(), InsertBB); in createParallel()
778 Builder.SetInsertPoint(InsertBB, in createParallel()
779 InsertBB->getTerminator()->getIterator()); in createParallel()
2023 auto InsertBB = merged ? ExitPredBB : ExitBB; in EmitOMPInlinedRegion() local
2026 Builder.SetInsertPoint(InsertBB); in EmitOMPInlinedRegion()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp408 MachineBasicBlock *InsertBB = UseMI.getParent(); in InsertInsnsWithoutSideEffectsBeforeUse() local
413 InsertBB = PredBB->getMBB(); in InsertInsnsWithoutSideEffectsBeforeUse()
418 if (InsertBB == DefMI.getParent()) { in InsertInsnsWithoutSideEffectsBeforeUse()
420 Inserter(InsertBB, std::next(InsertPt), UseMO); in InsertInsnsWithoutSideEffectsBeforeUse()
425 Inserter(InsertBB, InsertBB->getFirstNonPHI(), UseMO); in InsertInsnsWithoutSideEffectsBeforeUse()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp290 auto *InsertBB = &IncomingBB->getParent()->getEntryBlock(); in foldIntegerTypedPHI() local
291 InsertNewInstBefore(CI, *InsertBB->getFirstInsertionPt()); in foldIntegerTypedPHI()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp4882 auto &&CheckPredecessor = [](BasicBlock *InstBB, BasicBlock *InsertBB) { in gather() argument
4884 while (InsertBB && InsertBB != InstBB && Visited.insert(InsertBB).second) in gather()
4885 InsertBB = InsertBB->getSinglePredecessor(); in gather()
4886 return InsertBB && InsertBB == InstBB; in gather()
H A DLoopVectorize.cpp3413 BasicBlock *InsertBB = B.GetInsertPoint()->getParent(); in emitTransformedIndex() local
3414 if (InsertBB != LoopVectorBody && in emitTransformedIndex()
3415 LI->getLoopFor(LoopVectorBody) == LI->getLoopFor(InsertBB)) in emitTransformedIndex()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp5507 MachineBasicBlock *InsertBB = MI.getOperand(I + 1).getMBB(); in legalizeOperands() local
5508 MachineBasicBlock::iterator Insert = InsertBB->getFirstTerminator(); in legalizeOperands()
5512 legalizeGenericOperand(*InsertBB, Insert, RC, Op, MRI, MI.getDebugLoc()); in legalizeOperands()