| /llvm-project-15.0.7/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARCContract.cpp | 626 BasicBlock *InsertBB = IncomingBB; in run() local 627 while (isa<CatchSwitchInst>(InsertBB->getFirstNonPHI())) { in run() 628 InsertBB = DT->getNode(InsertBB)->getIDom()->getBlock(); in run() 631 assert(DT->dominates(Inst, &InsertBB->back()) && in run() 634 new BitCastInst(Replacement, UseTy, "", &InsertBB->back()); in run()
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | IslExprBuilder.cpp | 610 auto InsertBB = Builder.GetInsertBlock(); in createOpBooleanConditional() local 612 auto NextBB = SplitBlock(InsertBB, &*InsertPoint, &DT, &LI); in createOpBooleanConditional() 614 LI.changeLoopFor(CondBB, LI.getLoopFor(InsertBB)); in createOpBooleanConditional() 615 DT.addNewBlock(CondBB, InsertBB); in createOpBooleanConditional() 617 InsertBB->getTerminator()->eraseFromParent(); in createOpBooleanConditional() 618 Builder.SetInsertPoint(InsertBB); in createOpBooleanConditional() 624 Builder.SetInsertPoint(InsertBB->getTerminator()); in createOpBooleanConditional()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | DIBuilder.cpp | 1012 BasicBlock *InsertBB, Instruction *InsertBefore) { in initIRBuilder() argument 1015 else if (InsertBB) in initIRBuilder() 1016 Builder.SetInsertPoint(InsertBB); in initIRBuilder() 1035 return insertDbgIntrinsic(ValueFn, Val, VarInfo, Expr, DL, InsertBB, in insertDbgValueIntrinsic() 1044 return insertDbgIntrinsic(AddrFn, Val, VarInfo, Expr, DL, InsertBB, in insertDbgAddrIntrinsic() 1050 BasicBlock *InsertBB, in insertDeclare() argument 1067 initIRBuilder(B, DL, InsertBB, InsertBefore); in insertDeclare() 1075 BasicBlock *InsertBB, in insertDbgIntrinsic() argument 1093 initIRBuilder(B, DL, InsertBB, InsertBefore); in insertDbgIntrinsic() 1098 BasicBlock *InsertBB, in insertLabel() argument [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | ScheduleDAGSDNodes.cpp | 1011 MachineBasicBlock *InsertBB = Emitter.getBlock(); in EmitSchedule() local 1012 MachineBasicBlock::iterator Pos = InsertBB->getFirstTerminator(); in EmitSchedule() 1013 InsertBB->insert(Pos, DbgMIs.begin(), DbgMIs.end()); in EmitSchedule() 1053 MachineBasicBlock *InsertBB = Emitter.getBlock(); in EmitSchedule() local 1054 auto FirstTerm = InsertBB->getFirstTerminator(); in EmitSchedule() 1055 if (FirstTerm != InsertBB->end()) { in EmitSchedule() 1059 make_range(std::next(FirstTerm), InsertBB->end()))) { in EmitSchedule() 1073 return InsertBB; in EmitSchedule()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | DIBuilder.h | 84 BasicBlock *InsertBB, Instruction *InsertBefore); 88 BasicBlock *InsertBB, Instruction *InsertBefore); 94 BasicBlock *InsertBB, 101 BasicBlock *InsertBB, Instruction *InsertBefore); 107 BasicBlock *InsertBB, Instruction *InsertBefore);
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | GVNSink.cpp | 817 BasicBlock *InsertBB = BBEnd; in sinkBB() local 821 InsertBB = SplitBlockPredecessors(BBEnd, C.Blocks, ".gvnsink.split"); in sinkBB() 822 if (!InsertBB) { in sinkBB() 830 sinkLastInstruction(C.Blocks, InsertBB); in sinkBB()
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | BinaryFunction.cpp | 1928 BinaryBasicBlock *InsertBB = nullptr; in buildCFG() local 1939 addCFIPseudo(InsertBB, InsertBB->end(), FI->second); in buildCFG() 1969 PrevBB = InsertBB ? InsertBB : PrevBB; in buildCFG() 1972 InsertBB->setDerivedAlignment(); in buildCFG() 1993 if (!InsertBB) { in buildCFG() 2005 InsertBB = PrevBB; in buildCFG() 2014 InsertBB->setDerivedAlignment(); in buildCFG() 2020 addCFIPlaceholders(Offset, InsertBB); in buildCFG() 2040 addCFIPlaceholders(CFIOffset, InsertBB); in buildCFG() 2043 PrevBB = InsertBB; in buildCFG() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyIndVar.cpp | 1143 BasicBlock *InsertBB = PHI->getIncomingBlock(i); in getInsertPointForUses() local 1145 if (!DT->isReachableFromEntry(InsertBB)) in getInsertPointForUses() 1149 InsertPt = InsertBB->getTerminator(); in getInsertPointForUses() 1152 InsertBB = DT->findNearestCommonDominator(InsertPt->getParent(), InsertBB); in getInsertPointForUses() 1153 InsertPt = InsertBB->getTerminator(); in getInsertPointForUses()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineFunction.cpp | 1166 MachineBasicBlock &InsertBB = *CurInst->getParent(); in salvageCopySSAImpl() local 1178 auto Builder = BuildMI(InsertBB, InsertBB.getFirstNonPHI(), DebugLoc(), in salvageCopySSAImpl()
|
| H A D | ModuloSchedule.cpp | 1511 auto *InsertBB = &PreheaderBB->getParent()->front(); in undef() local 1512 BuildMI(*InsertBB, InsertBB->getFirstTerminator(), DebugLoc(), in undef()
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 962 [this](unsigned ValID, BasicBlock *InsertBB) { in BitcodeReader() argument 963 return materializeValue(ValID, InsertBB); in BitcodeReader() 1553 if (!InsertBB) in materializeValue() 1562 BC->getType(), "constexpr", InsertBB); in materializeValue() 1565 "constexpr", InsertBB); in materializeValue() 1568 Ops[1], "constexpr", InsertBB); in materializeValue() 1588 InsertBB); in materializeValue() 1597 "constexpr", InsertBB); in materializeValue() 1602 "constexpr", InsertBB); in materializeValue() 1614 InsertBB); in materializeValue() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 898 BasicBlock *InsertBB = Builder.GetInsertBlock(); in createParallel() local 899 Function *OuterFn = InsertBB->getParent(); in createParallel() 929 auto *UI = new UnreachableInst(Builder.getContext(), InsertBB); in createParallel() 1170 Builder.SetInsertPoint(InsertBB, in createParallel() 1171 InsertBB->getTerminator()->getIterator()); in createParallel() 3404 auto InsertBB = merged ? ExitPredBB : ExitBB; in EmitOMPInlinedRegion() local 3407 Builder.SetInsertPoint(InsertBB); in EmitOMPInlinedRegion()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombinePHI.cpp | 286 auto *InsertBB = &IncomingBB->getParent()->getEntryBlock(); in foldIntegerTypedPHI() local 287 InsertNewInstBefore(CI, *InsertBB->getFirstInsertionPt()); in foldIntegerTypedPHI()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.cpp | 458 MachineBasicBlock *InsertBB = UseMI.getParent(); in InsertInsnsWithoutSideEffectsBeforeUse() local 463 InsertBB = PredBB->getMBB(); in InsertInsnsWithoutSideEffectsBeforeUse() 468 if (InsertBB == DefMI.getParent()) { in InsertInsnsWithoutSideEffectsBeforeUse() 470 Inserter(InsertBB, std::next(InsertPt), UseMO); in InsertInsnsWithoutSideEffectsBeforeUse() 475 Inserter(InsertBB, InsertBB->getFirstNonPHI(), UseMO); in InsertInsnsWithoutSideEffectsBeforeUse()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 7578 auto &&CheckPredecessor = [](BasicBlock *InstBB, BasicBlock *InsertBB) { in gather() argument 7580 while (InsertBB && InsertBB != InstBB && Visited.insert(InsertBB).second) in gather() 7581 InsertBB = InsertBB->getSinglePredecessor(); in gather() 7582 return InsertBB && InsertBB == InstBB; in gather()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | SIInstrInfo.cpp | 5788 MachineBasicBlock *InsertBB = MI.getOperand(I + 1).getMBB(); in legalizeOperands() local 5789 MachineBasicBlock::iterator Insert = InsertBB->getFirstTerminator(); in legalizeOperands() 5793 legalizeGenericOperand(*InsertBB, Insert, RC, Op, MRI, MI.getDebugLoc()); in legalizeOperands()
|