Searched refs:Instructions (Results 1 - 25 of 38) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/llvm/lib/MCA/Stages/
H A DEntryStage.cpp38 Instructions.emplace_back(std::move(Inst));
61 auto Range = make_range(&Instructions[NumRetired], Instructions.end());
66 NumRetired = std::distance(Instructions.begin(), It);
68 if ((NumRetired * 2) >= Instructions.size()) {
69 Instructions.erase(Instructions.begin(), It);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugFrame.h54 iterator begin() { return Instructions.begin(); }
55 const_iterator begin() const { return Instructions.begin(); }
56 iterator end() { return Instructions.end(); }
57 const_iterator end() const { return Instructions.end(); }
59 unsigned size() const { return (unsigned)Instructions.size(); }
60 bool empty() const { return Instructions.empty(); }
78 std::vector<Instruction> Instructions; member in class:llvm::dwarf::CFIProgram
85 Instructions.push_back(Instruction(Opcode));
90 Instructions.push_back(Instruction(Opcode));
91 Instructions
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenTarget.h52 std::unique_ptr<CodeGenInstruction>> Instructions; member in class:llvm::CodeGenTarget
142 if (Instructions.empty()) ReadInstructions();
143 return Instructions;
148 if (Instructions.empty()) ReadInstructions();
149 auto I = Instructions.find(InstRec);
150 assert(I != Instructions.end() && "Not an instruction");
H A DAsmWriterEmitter.cpp61 std::vector<AsmWriterInst> Instructions; member in class:__anon4893::AsmWriterEmitter
171 for (size_t i = 0, e = Instructions.size(); i != e; ++i) {
172 const AsmWriterInst &Inst = Instructions[i];
207 const AsmWriterInst &FirstInst = Instructions[Idxs.front()];
217 const AsmWriterInst &OtherInst = Instructions[Idx];
293 /// clearing the Instructions vector.
318 for (AsmWriterInst &AWI : Instructions) {
331 for (AsmWriterInst &AWI : Instructions) {
385 OpcodeInfo[Instructions[Idx].CGIIndex] |=
388 AsmWriterInst &Inst = Instructions[Id
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DSummaryView.cpp66 unsigned Instructions = Source.size(); local
67 unsigned Iterations = (LastInstructionIdx / Instructions) + 1;
68 unsigned TotalInstructions = Instructions * Iterations;
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-mca/
H A DCodeRegion.h55 // Instructions that form this region.
56 llvm::SmallVector<llvm::MCInst, 8> Instructions; member in class:llvm::mca::CodeRegion
69 Instructions.emplace_back(Instruction);
76 bool empty() const { return Instructions.empty(); }
79 llvm::ArrayRef<llvm::MCInst> getInstructions() const { return Instructions; }
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MCA/Stages/
H A DEntryStage.h28 SmallVector<std::unique_ptr<Instruction>, 16> Instructions; member in class:llvm::mca::final
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DStackLifetime.cpp19 #include "llvm/IR/Instructions.h"
56 auto It = std::upper_bound(Instructions.begin() + ItBB->getSecond().first + 1,
57 Instructions.begin() + ItBB->getSecond().second, I,
62 unsigned InstNum = It - Instructions.begin();
112 LLVM_DEBUG(dbgs() << "Instructions:\n");
114 LLVM_DEBUG(dbgs() << " " << Instructions.size() << ": BB " << BB->getName()
116 auto BBStart = Instructions.size();
117 Instructions.push_back(nullptr);
124 BlockInstRange[BB] = std::make_pair(BBStart, Instructions.size());
129 LLVM_DEBUG(dbgs() << " " << Instructions
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86WinCOFFTargetStreamer.cpp63 SmallVector<FPOInstruction, 5> Instructions; member in struct:__anon4409::FPOData
187 if (!CurFPOData->Instructions.empty()) {
189 CurFPOData->Instructions.clear();
210 CurFPOData->Instructions.push_back(Inst);
221 CurFPOData->Instructions.push_back(Inst);
232 CurFPOData->Instructions.push_back(Inst);
239 if (!llvm::any_of(CurFPOData->Instructions, [](const FPOInstruction &Inst) {
250 CurFPOData->Instructions.push_back(Inst);
414 for (const FPOInstruction &Inst : FPO->Instructions) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCStreamer.cpp126 (MAB ? MAB->generateCompactUnwindEncoding(FI.Instructions) : 0);
468 CurFrame->Instructions.push_back(Instruction);
479 CurFrame->Instructions.push_back(Instruction);
489 CurFrame->Instructions.push_back(Instruction);
499 CurFrame->Instructions.push_back(Instruction);
510 CurFrame->Instructions.push_back(Instruction);
520 CurFrame->Instructions.push_back(Instruction);
546 CurFrame->Instructions.push_back(Instruction);
556 CurFrame->Instructions.push_back(Instruction);
566 CurFrame->Instructions
[all...]
H A DMCWin64EH.cpp183 uint8_t numCodes = CountOfUnwindCodes(info->Instructions);
188 WinEH::Instruction &frameInst = info->Instructions[info->LastFrameInst];
195 uint8_t numInst = info->Instructions.size();
197 WinEH::Instruction inst = info->Instructions.back();
198 info->Instructions.pop_back();
543 uint32_t PrologCodeBytes = ARM64CountOfUnwindCodes(info->Instructions);
617 uint8_t numInst = info->Instructions.size();
619 WinEH::Instruction inst = info->Instructions.back();
620 info->Instructions.pop_back();
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DStackLifetime.h96 /// Interesting instructions. Instructions of the same block are adjustent
98 SmallVector<const IntrinsicInst *, 64> Instructions; member in class:llvm::StackLifetime
101 /// Instructions inside each BB have monotonic and consecutive ids.
144 return make_filter_range(Instructions, NotNull);
161 return LiveRange(Instructions.size(), true);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCWinEH.h46 std::vector<Instruction> Instructions; member in struct:llvm::WinEH::FrameInfo
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopRerollPass.cpp38 #include "llvm/IR/Instructions.h"
201 SimpleLoopReduction(Instruction *P, Loop *L) : Instructions(1, P) {
212 return Instructions.front();
217 return Instructions.back();
222 return Instructions[i+1];
230 return Instructions.size()-1;
238 return std::next(Instructions.begin());
243 return std::next(Instructions.begin());
246 iterator end() { return Instructions.end(); }
247 const_iterator end() const { return Instructions
251 SmallInstructionVector Instructions; member in struct:__anon4661::LoopReroll::SimpleLoopReduction
[all...]
H A DLoopDistribute.cpp53 #include "llvm/IR/Instructions.h"
254 /// Instructions from OrigLoop selected for this partition.
514 auto Instructions = local
520 for (Instruction *Inst : Instructions) {
635 const SmallVectorImpl<Instruction *> &Instructions,
637 Accesses.append(Instructions.begin(), Instructions.end());
648 LLVM_DEBUG(Dep.print(dbgs(), 2, Instructions));
634 MemoryInstructionDependences( const SmallVectorImpl<Instruction *> &Instructions, const SmallVectorImpl<Dependence> &Dependences) argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsInstructionSelector.cpp755 SmallVector<struct Instr, 2> Instructions; local
765 Instructions.emplace_back(Mips::XOR, Temp, LHS, RHS);
766 Instructions.emplace_back(Mips::SLTiu, ICMPReg, Temp, 1);
769 Instructions.emplace_back(Mips::XOR, Temp, LHS, RHS);
770 Instructions.emplace_back(Mips::SLTu, ICMPReg, Mips::ZERO, Temp);
773 Instructions.emplace_back(Mips::SLTu, ICMPReg, RHS, LHS);
776 Instructions.emplace_back(Mips::SLTu, Temp, LHS, RHS);
777 Instructions.emplace_back(Mips::XORi, ICMPReg, Temp, 1);
780 Instructions.emplace_back(Mips::SLTu, ICMPReg, LHS, RHS);
783 Instructions
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRCanonicalizerPass.cpp154 std::vector<MachineInstr *> Instructions; local
156 Instructions.push_back(&MI);
164 for (auto *II : Instructions) {
180 for (auto *II : Instructions) {
287 dbgs() << "Rescheduling Multi-Use Instructions Lexographically.";);
295 dbgs() << "Rescheduling Idempotent Instructions Lexographically.";);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64WinCOFFStreamer.cpp76 CurFrame->Instructions.push_back(Inst);
164 auto it = CurFrame->Instructions.begin();
165 CurFrame->Instructions.insert(it, Inst);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIWholeQuadMode.cpp157 DenseMap<const MachineInstr *, InstrInfo> Instructions; member in class:__anon3995::SIWholeQuadMode
238 auto III = Instructions.find(&MI);
239 if (III == Instructions.end())
251 InstrInfo &II = Instructions[&MI];
329 InstrInfo &III = Instructions[&MI];
430 InstrInfo II = Instructions[&MI]; // take a copy to prevent dangling references
437 Instructions[&MI].Needs = StateWQM;
454 InstrInfo &PrevII = Instructions[PrevMI];
481 InstrInfo &LastII = Instructions[LastMI];
714 auto III = Instructions
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineBasicBlock.h110 using Instructions = ilist<MachineInstr, ilist_sentinel_tracking<true>>;
112 Instructions Insts;
220 using instr_iterator = Instructions::iterator;
221 using const_instr_iterator = Instructions::const_iterator;
222 using reverse_instr_iterator = Instructions::reverse_iterator;
223 using const_reverse_instr_iterator = Instructions::const_reverse_iterator;
276 static Instructions MachineBasicBlock::*getSublistAccess(MachineInstr *) {
/freebsd-13-stable/contrib/llvm-project/llvm/tools/bugpoint/
H A DCrashDebugger.cpp24 #include "llvm/IR/Instructions.h"
776 SmallPtrSet<Instruction *, 32> Instructions; local
779 Instructions.insert(cast<Instruction>(VMap[Insts[i]]));
782 outs() << "Checking for crash with only " << Instructions.size();
783 if (Instructions.size() == 1)
792 if (!Instructions.count(Inst) && !Inst->isTerminator() &&
813 for (Instruction *Inst : Instructions)
852 SmallPtrSet<Instruction *, 32> Instructions; local
854 Instructions.insert(cast<Instruction>(VMap[I]));
857 << Instructions
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/
H A DSLPVectorizer.h135 bool vectorizeSimpleInstructions(SmallVectorImpl<Instruction *> &Instructions,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugFrame.cpp138 Instructions.back().Expression =
154 Instructions.back().Expression =
283 for (const auto &Instr : Instructions) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp108 SmallVectorImpl<MCInst> &Instructions);
509 SmallVectorImpl<MCInst> &Instructions) {
551 Instructions.push_back(TmpInst);
577 Instructions.push_back(TmpInst);
588 SmallVector<MCInst, 8> Instructions; local
596 Instructions.push_back(Inst);
599 if (expandSET(Inst, IDLoc, Instructions))
604 for (const MCInst &I : Instructions) {
508 expandSET(MCInst &Inst, SMLoc IDLoc, SmallVectorImpl<MCInst> &Instructions) argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/Disassembler/
H A DHexagonDisassembler.cpp473 auto Instructions = HexagonMCInstrInfo::bundleInstructions(**CurrentBundle); local
474 auto i = Instructions.end() - 1;
475 for (auto n = Instructions.begin() - 1;; --i, ++Offset) {

Completed in 308 milliseconds

12