Home
last modified time | relevance | path

Searched refs:NextI (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVPushPopOptimizer.cpp34 MachineBasicBlock::iterator &NextI, bool IsReturnZero);
59 MachineBasicBlock::iterator &NextI, in usePopRet() argument
63 DebugLoc DL = NextI->getDebugLoc(); in usePopRet()
66 BuildMI(*NextI->getParent(), NextI, DL, TII->get(Opc)) in usePopRet()
80 NextI->eraseFromParent(); in usePopRet()
141 MachineBasicBlock::iterator NextI = next_nodbg(MBBI, MBB.end()); in runOnMachineFunction() local
142 if (MBBI != MBB.end() && NextI != MBB.end() && in runOnMachineFunction()
143 NextI->getOpcode() == RISCV::PseudoRET) in runOnMachineFunction()
144 Modified |= usePopRet(MBBI, NextI, adjustRetVal(MBBI)); in runOnMachineFunction()
H A DRISCVMoveMerger.cpp87 MachineBasicBlock::iterator NextI = next_nodbg(I, E); in mergePairedInsns()
94 if (NextI == Paired) in mergePairedInsns()
95 NextI = next_nodbg(NextI, E); in mergePairedInsns()
119 return NextI; in mergePairedInsns()
89 MachineBasicBlock::iterator NextI = next_nodbg(I, E); mergePairedInsns() local
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DTracker.cpp105 if (auto *NextI = RemovedI->getNextNode()) in RemoveFromParent() local
106 NextInstrOrBB = NextI; in RemoveFromParent()
112 if (auto *NextI = NextInstrOrBB.dyn_cast<Instruction *>()) { in revert() local
113 RemovedI->insertBefore(NextI); in revert()
129 if (auto *NextI = MovedI->getNextNode()) in MoveInstr() local
130 NextInstrOrBB = NextI; in MoveInstr()
136 if (auto *NextI = NextInstrOrBB.dyn_cast<Instruction *>()) { in revert() local
137 MovedI->moveBefore(NextI); in revert()
H A DSandboxIR.cpp261 Instruction &NextI = *cast<sandboxir::Instruction>(Ctx->getValue(&*It)); in operator ++() local
262 unsigned Num = NextI.getNumOfIRInstrs(); in operator ++()
321 auto *NextI = cast_or_null<Instruction>(Ctx.getValue(NextLLVMI)); in getNextNode() local
322 if (NextI == nullptr) in getNextNode()
324 return NextI; in getNextNode()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DSymbolSize.cpp104 for (unsigned I = 0, NextI = 0, N = Addresses.size() - 1; I < N; ++I) { in computeSymbolSizes() local
110 if (NextI <= I) { in computeSymbolSizes()
111 NextI = I + 1; in computeSymbolSizes()
112 while (NextI < N && Addresses[NextI].Address == P.Address) in computeSymbolSizes()
113 ++NextI; in computeSymbolSizes()
116 uint64_t Size = Addresses[NextI].Address - P.Address; in computeSymbolSizes()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFMISimplifyPatchable.cpp202 decltype(End) NextI; in processCandidate() local
203 for (auto I = Begin; I != End; I = NextI) { in processCandidate()
204 NextI = std::next(I); in processCandidate()
229 decltype(End) NextI; in processDstReg() local
230 for (auto I = Begin; I != End; I = NextI) { in processDstReg()
231 NextI = std::next(I); in processDstReg()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp1528 PathPieces::iterator NextI = I; ++NextI; in simplifySimpleBranches() local
1529 if (NextI == E) in simplifySimpleBranches()
1535 if (NextI == E) in simplifySimpleBranches()
1538 const auto *EV = dyn_cast<PathDiagnosticEventPiece>(NextI->get()); in simplifySimpleBranches()
1543 ++NextI; in simplifySimpleBranches()
1549 PieceNextI = dyn_cast<PathDiagnosticControlFlowPiece>(NextI->get()); in simplifySimpleBranches()
1648 PathPieces::iterator NextI = I; ++NextI; in removeContextCycles() local
1649 if (NextI == E) in removeContextCycles()
1653 dyn_cast<PathDiagnosticControlFlowPiece>(NextI->get()); in removeContextCycles()
1656 if (isa<PathDiagnosticEventPiece>(NextI->get())) { in removeContextCycles()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonGenExtract.cpp234 BasicBlock::iterator I = std::prev(B->end()), NextI, Begin = B->begin(); in visitBlock() local
240 NextI = std::prev(I); in visitBlock()
248 I = NextI; in visitBlock()
H A DHexagonEarlyIfConv.cpp763 MachineBasicBlock::iterator I, NextI; in predicateBlockNB() local
765 for (I = FromB->begin(); I != End; I = NextI) { in predicateBlockNB()
767 NextI = std::next(I); in predicateBlockNB()
984 MachineBasicBlock::iterator I, NextI, NonPHI = B->getFirstNonPHI(); in eliminatePhis() local
985 for (I = B->begin(); I != NonPHI; I = NextI) { in eliminatePhis()
986 NextI = std::next(I); in eliminatePhis()
H A DHexagonExpandCondsets.cpp343 auto NextI = std::next(I); in updateKillFlags() local
344 if (NextI != E && NextI->start.isRegister()) { in updateKillFlags()
345 MachineInstr *DefI = LIS->getInstructionFromIndex(NextI->start); in updateKillFlags()
H A DHexagonBitSimplify.cpp388 decltype(End) NextI; in replaceReg() local
389 for (auto I = Begin; I != End; I = NextI) { in replaceReg()
390 NextI = std::next(I); in replaceReg()
404 decltype(End) NextI; in replaceRegWithSub() local
405 for (auto I = Begin; I != End; I = NextI) { in replaceRegWithSub()
406 NextI = std::next(I); in replaceRegWithSub()
421 decltype(End) NextI; in replaceSubWithSub() local
422 for (auto I = Begin; I != End; I = NextI) { in replaceSubWithSub()
423 NextI = std::next(I); in replaceSubWithSub()
H A DHexagonFrameLowering.cpp2040 MachineBasicBlock::iterator NextI; in expandSpillMacros() local
2041 for (auto I = B.begin(), E = B.end(); I != E; I = NextI) { in expandSpillMacros()
2043 NextI = std::next(I); in expandSpillMacros()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LoadStoreOptimizer.cpp745 MachineBasicBlock::iterator NextI = next_nodbg(I, E); in mergeNarrowZeroStores() local
750 if (NextI == MergeMI) in mergeNarrowZeroStores()
751 NextI = next_nodbg(NextI, E); in mergeNarrowZeroStores()
817 return NextI; in mergeNarrowZeroStores()
862 MachineBasicBlock::iterator NextI = next_nodbg(I, E); in mergePairedInsns() local
867 if (NextI == Paired) in mergePairedInsns()
868 NextI = next_nodbg(NextI, E); in mergePairedInsns()
1135 return NextI; in mergePairedInsns()
1141 MachineBasicBlock::iterator NextI = in promoteLoadFromStore() local
1171 return NextI; in promoteLoadFromStore()
[all …]
H A DAArch64FrameLowering.cpp4457 MachineBasicBlock::iterator NextI = ++II; in tryMergeAdjacentSTG() local
4469 NextI != E && Count < kScanLimit; ++NextI) { in tryMergeAdjacentSTG()
4470 MachineInstr &MI = *NextI; in tryMergeAdjacentSTG()
4532 return NextI; in tryMergeAdjacentSTG()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp356 auto NextI = std::next(MachineBasicBlock::const_iterator(DefI)); in isSafeToMove() local
357 for (auto E = MBB->end(); NextI != E && NextI->isDebugInstr(); ++NextI) in isSafeToMove()
359 if (NextI == Insert) in isSafeToMove()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp247 range_iterator NextI = I; in addRange() local
248 while (++NextI != Ranges.end() && End >= NextI->Start) { in addRange()
250 I->TheStores.append(NextI->TheStores.begin(), NextI->TheStores.end()); in addRange()
251 if (NextI->End > I->End) in addRange()
252 I->End = NextI->End; in addRange()
253 Ranges.erase(NextI); in addRange()
254 NextI = I; in addRange()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSparseMultiSet.h472 iterator NextI = unlink(Dense[I.Idx]); in erase() local
477 return NextI; in erase()
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-param-util.h911 constexpr size_t NextI = ThisI - (ThisI != 0); in GTEST_DISABLE_MSC_WARNINGS_POP_() local
913 ++std::get<NextI>(current_); in GTEST_DISABLE_MSC_WARNINGS_POP_()
914 AdvanceIfEnd<NextI>(); in GTEST_DISABLE_MSC_WARNINGS_POP_()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCCodeEmitter.cpp474 const MCInst &NextI = *(I+1)->getInst(); in getFixupNoBits() local
475 const MCInstrDesc &NextD = HexagonMCInstrInfo::getDesc(MCII, NextI); in getFixupNoBits()
477 HexagonMCInstrInfo::getType(MCII, NextI) == HexagonII::TypeCR) in getFixupNoBits()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRPrinter.cpp669 MachineFunction::const_iterator NextI = std::next(MBB.getIterator()); in canPredictSuccessors() local
670 if (NextI != MF.end()) { in canPredictSuccessors()
671 MachineBasicBlock *Next = const_cast<MachineBasicBlock*>(&*NextI); in canPredictSuccessors()
H A DRDFGraph.cpp1017 for (auto I = DefM.begin(), E = DefM.end(), NextI = I; I != E; I = NextI) { in releaseBlock() local
1018 NextI = std::next(I); in releaseBlock()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DGlobalISelMatchTable.cpp310 const auto &NextI = std::next(I); in emitDeclaration() local
312 if (NextI != E) { in emitDeclaration()
313 if (NextI->EmitStr == "" && in emitDeclaration()
314 NextI->Flags == MatchTableRecord::MTRF_LineBreakFollows) in emitDeclaration()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIWholeQuadMode.cpp1109 auto NextI = std::next(EndMI->getIterator()); in prepareInsertion() local
1110 if (NextI == MBB.end()) in prepareInsertion()
1112 SlotIndex Next = LIS->getInstructionIndex(*NextI); in prepareInsertion()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DVarLocBasedImpl.cpp1705 auto NextI = std::next(MI.getIterator()); in isLocationSpill() local
1707 if (MI.getParent()->end() == NextI) in isLocationSpill()
1710 for (const MachineOperand &MONext : NextI->operands()) { in isLocationSpill()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp1647 if (Instruction *NextI = NewDirtyVal.getInst()) in removeInstruction() local
1648 ReverseDepsToAdd.push_back(std::make_pair(NextI, I)); in removeInstruction()

12