Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp627 BasicBlock *InsertBB = IncomingBB; in run() local
628 while (isa<CatchSwitchInst>(InsertBB->getFirstNonPHI())) { in run()
629 InsertBB = DT->getNode(InsertBB)->getIDom()->getBlock(); in run()
632 assert(DT->dominates(Inst, &InsertBB->back()) && in run()
635 new BitCastInst(Replacement, UseTy, "", &InsertBB->back()); in run()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGSDNodes.cpp1019 MachineBasicBlock *InsertBB = Emitter.getBlock(); in EmitSchedule() local
1020 MachineBasicBlock::iterator Pos = InsertBB->getFirstTerminator(); in EmitSchedule()
1021 InsertBB->insert(Pos, DbgMIs.begin(), DbgMIs.end()); in EmitSchedule()
1061 MachineBasicBlock *InsertBB = Emitter.getBlock(); in EmitSchedule() local
1062 auto FirstTerm = InsertBB->getFirstTerminator(); in EmitSchedule()
1063 if (FirstTerm != InsertBB->end()) { in EmitSchedule()
1067 make_range(std::next(FirstTerm), InsertBB->end()))) { in EmitSchedule()
1081 return InsertBB; in EmitSchedule()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp1009 BasicBlock *InsertBB, Instruction *InsertBefore) { in initIRBuilder() argument
1012 else if (InsertBB) in initIRBuilder()
1013 Builder.SetInsertPoint(InsertBB); in initIRBuilder()
1028 const DILocation *DL, BasicBlock *InsertBB, Instruction *InsertBefore) { in insertDbgValueIntrinsic() argument
1031 return insertDbgIntrinsic(ValueFn, Val, VarInfo, Expr, DL, InsertBB, in insertDbgValueIntrinsic()
1037 BasicBlock *InsertBB, in insertDeclare() argument
1054 initIRBuilder(B, DL, InsertBB, InsertBefore); in insertDeclare()
1062 BasicBlock *InsertBB, in insertDbgIntrinsic() argument
1080 initIRBuilder(B, DL, InsertBB, InsertBefore); in insertDbgIntrinsic()
1085 BasicBlock *InsertBB, in insertLabel() argument
[all …]
H A DInstruction.cpp293 BasicBlock *InsertBB; in getInsertionPointAfterDef() local
296 InsertBB = PN->getParent(); in getInsertionPointAfterDef()
297 InsertPt = InsertBB->getFirstInsertionPt(); in getInsertionPointAfterDef()
299 InsertBB = II->getNormalDest(); in getInsertionPointAfterDef()
300 InsertPt = InsertBB->getFirstInsertionPt(); in getInsertionPointAfterDef()
307 InsertBB = getParent(); in getInsertionPointAfterDef()
317 if (InsertPt == InsertBB->end()) in getInsertionPointAfterDef()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h95 BasicBlock *InsertBB, Instruction *InsertBefore);
99 BasicBlock *InsertBB, Instruction *InsertBefore);
105 BasicBlock *InsertBB,
112 BasicBlock *InsertBB, Instruction *InsertBefore);
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationPlanner.h70 VPBuilder(VPBasicBlock *InsertBB) { setInsertPoint(InsertBB); } in VPBuilder() argument
H A DSLPVectorizer.cpp9991 auto &&CheckPredecessor = [](BasicBlock *InstBB, BasicBlock *InsertBB) { in gather() argument
9993 while (InsertBB && InsertBB != InstBB && Visited.insert(InsertBB).second) in gather()
9994 InsertBB = InsertBB->getSinglePredecessor(); in gather()
9995 return InsertBB && InsertBB == InstBB; in gather()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp1163 BasicBlock *InsertBB = PHI->getIncomingBlock(i); in getInsertPointForUses() local
1165 if (!DT->isReachableFromEntry(InsertBB)) in getInsertPointForUses()
1169 InsertPt = InsertBB->getTerminator(); in getInsertPointForUses()
1172 InsertBB = DT->findNearestCommonDominator(InsertPt->getParent(), InsertBB); in getInsertPointForUses()
1173 InsertPt = InsertBB->getTerminator(); in getInsertPointForUses()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunction.cpp1130 MachineBasicBlock &InsertBB = *CurInst->getParent(); in salvageCopySSAImpl() local
1142 auto Builder = BuildMI(InsertBB, InsertBB.getFirstNonPHI(), DebugLoc(), in salvageCopySSAImpl()
H A DModuloSchedule.cpp1527 auto *InsertBB = &PreheaderBB->getParent()->front(); in undef() local
1528 BuildMI(*InsertBB, InsertBB->getFirstTerminator(), DebugLoc(), in undef()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp971 [this](unsigned ValID, BasicBlock *InsertBB) { in BitcodeReader() argument
972 return materializeValue(ValID, InsertBB); in BitcodeReader()
1599 if (!InsertBB) in materializeValue()
1608 BC->getType(), "constexpr", InsertBB); in materializeValue()
1611 "constexpr", InsertBB); in materializeValue()
1614 Ops[1], "constexpr", InsertBB); in materializeValue()
1632 InsertBB); in materializeValue()
1650 "constexpr", InsertBB); in materializeValue()
1655 InsertBB); in materializeValue()
1667 InsertBB); in materializeValue()
[all …]
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp1327 BasicBlock *InsertBB = Builder.GetInsertBlock(); in createParallel() local
1328 Function *OuterFn = InsertBB->getParent(); in createParallel()
1366 auto *UI = new UnreachableInst(Builder.getContext(), InsertBB); in createParallel()
1529 Builder.SetInsertPoint(InsertBB, in createParallel()
1530 InsertBB->getTerminator()->getIterator()); in createParallel()
4187 auto InsertBB = merged ? ExitPredBB : ExitBB; in EmitOMPInlinedRegion() local
4190 Builder.SetInsertPoint(InsertBB); in EmitOMPInlinedRegion()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp500 MachineBasicBlock *InsertBB = UseMI.getParent(); in InsertInsnsWithoutSideEffectsBeforeUse() local
505 InsertBB = PredBB->getMBB(); in InsertInsnsWithoutSideEffectsBeforeUse()
510 if (InsertBB == DefMI.getParent()) { in InsertInsnsWithoutSideEffectsBeforeUse()
512 Inserter(InsertBB, std::next(InsertPt), UseMO); in InsertInsnsWithoutSideEffectsBeforeUse()
517 Inserter(InsertBB, InsertBB->getFirstNonPHI(), UseMO); in InsertInsnsWithoutSideEffectsBeforeUse()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp6509 MachineBasicBlock *InsertBB = MI.getOperand(I + 1).getMBB(); in legalizeOperands() local
6510 MachineBasicBlock::iterator Insert = InsertBB->getFirstTerminator(); in legalizeOperands()
6514 legalizeGenericOperand(*InsertBB, Insert, RC, Op, MRI, MI.getDebugLoc()); in legalizeOperands()