Home
last modified time | relevance | path

Searched refs:Instructions (Results 1 – 25 of 397) sorted by relevance

12345678910>>...16

/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVScheduleV.td111 // 6. Configuration-Setting Instructions
117 // 7.4. Vector Unit-Stride Instructions
123 // 7.5. Vector Strided Instructions
132 // 7.6. Vector Indexed Instructions
151 // 7.8. Vector Segment Instructions
165 // 7.9. Vector Whole Register Instructions
175 // 11. Vector Integer Arithmetic Instructions
177 // 11.5. Vector Bitwise Logical Instructions
187 // 11.4. Vector Integer Arithmetic with Carry or Borrow Instructions
191 // 11.6. Vector Single-Width Bit Shift Instructions
[all …]
H A DRISCVFeatures.td32 "'A' (Atomic Instructions)">;
35 "'A' (Atomic Instructions)">;
136 "'C' (Compressed Instructions)">;
139 "'C' (Compressed Instructions)">;
143 "'Zba' (Address Generation Instructions)">;
146 "'Zba' (Address Generation Instructions)">;
165 "'Zbs' (Single-Bit Instructions)">;
168 "'Zbs' (Single-Bit Instructions)">;
233 "'Zknh' (NIST Suite: Hash Function Instructions)">;
236 "'Zknh' (NIST Suite: Hash Function Instructions)">;
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/lib/
H A DSnippetRepetitor.cpp28 FillFunction Repeat(ArrayRef<MCInst> Instructions, unsigned MinInstructions, in Repeat() argument
30 return [Instructions, MinInstructions](FunctionFiller &Filler) { in Repeat()
32 if (!Instructions.empty()) { in Repeat()
34 Entry.addInstructions(Instructions); in Repeat()
35 for (unsigned I = Instructions.size(); I < MinInstructions; ++I) { in Repeat()
36 Entry.addInstruction(Instructions[I % Instructions.size()]); in Repeat()
57 FillFunction Repeat(ArrayRef<MCInst> Instructions, unsigned MinInstructions, in Repeat() argument
59 return [this, Instructions, MinInstructions, in Repeat()
65 for (const MCInst &Inst : Instructions) { in Repeat()
78 LoopBodySize <= Instructions.size() in Repeat()
[all …]
H A DParallelSnippetGenerator.cpp94 std::vector<InstructionTemplate> &Instructions) const { in instantiateMemoryOperands()
99 const size_t OriginalInstructionsSize = Instructions.size(); in instantiateMemoryOperands()
101 for (InstructionTemplate &IT : Instructions) { in instantiateMemoryOperands()
106 while (Instructions.size() < kMinNumDifferentAddresses) { in instantiateMemoryOperands()
107 InstructionTemplate IT = Instructions[I % OriginalInstructionsSize]; in instantiateMemoryOperands()
110 Instructions.push_back(std::move(IT)); in instantiateMemoryOperands()
150 const Operand &Op, const ArrayRef<InstructionTemplate> Instructions, in generateSingleRegisterForInstrAvoidingDefUseOverlap() argument
164 if (!Instructions.empty()) in generateSingleRegisterForInstrAvoidingDefUseOverlap()
165 return Instructions.front().getValueFor(Op); in generateSingleRegisterForInstrAvoidingDefUseOverlap()
218 const ArrayRef<InstructionTemplate> Instructions, in generateSingleSnippetForInstrAvoidingDefUseOverlap() argument
[all …]
H A DSnippetGenerator.cpp78 BC.Key.Instructions.reserve(CT.Instructions.size()); in generateConfigurations()
79 for (InstructionTemplate &IT : CT.Instructions) { in generateConfigurations()
82 BC.Key.Instructions.push_back(IT.build()); in generateConfigurations()
87 computeRegisterInitialValues(CT.Instructions); in generateConfigurations()
102 const std::vector<InstructionTemplate> &Instructions) const { in computeRegisterInitialValues()
109 for (const InstructionTemplate &IT : Instructions) { in computeRegisterInitialValues()
161 CT.Instructions.push_back(std::move(Variant)); in generateSelfAliasingCodeTemplates()
173 CT.Instructions.push_back(std::move(Variant)); in generateUnconstrainedCodeTemplates()
H A DBenchmarkRunner.cpp140 const std::vector<MCInst> &Instructions = BC.Key.Instructions; in assembleSnippet() local
146 Repetitor.Repeat(Instructions, MinInstructions, LoopBodySize), OS)) { in assembleSnippet()
166 const std::vector<MCInst> &Instructions = BC.Key.Instructions; in getRunnableConfiguration() local
174 const int MinInstructionsForSnippet = 4 * Instructions.size(); in getRunnableConfiguration()
175 const int LoopBodySizeForSnippet = 2 * Instructions.size(); in getRunnableConfiguration()
236 static_cast<double>(InstrBenchmark.Key.Instructions.size()) / in runConfiguration()
H A DAnalysis.cpp136 assert(!Point.Key.Instructions.empty()); in printInstructionRowCsv()
221 assert(!Point.Key.Instructions.empty()); in makePointsPerSchedClass()
249 const std::vector<MCInst> &Instructions, in writeParallelSnippetHtml() argument
251 if (Instructions.empty()) in writeParallelSnippetHtml()
253 writeEscaped<kEscapeHtml>(OS, InstrInfo.getName(Instructions[0].getOpcode())); in writeParallelSnippetHtml()
254 if (Instructions.size() > 1) in writeParallelSnippetHtml()
255 OS << " (x" << Instructions.size() << ")"; in writeParallelSnippetHtml()
261 const std::vector<MCInst> &Instructions, in writeLatencySnippetHtml() argument
264 for (const MCInst &Instr : Instructions) { in writeLatencySnippetHtml()
280 writeLatencySnippetHtml(OS, Point.Key.Instructions, State_.getInstrInfo()); in printPointHtml()
[all …]
H A DSerialSnippetGenerator.cpp106 CT.Instructions.push_back(std::move(Variant)); in appendCodeTemplates()
128 CT.Instructions.push_back(std::move(Variant)); in appendCodeTemplates()
149 CT.Instructions.push_back(std::move(ThisIT)); in appendCodeTemplates()
150 CT.Instructions.push_back(std::move(OtherIT)); in appendCodeTemplates()
/openbsd-src/gnu/llvm/llvm/lib/MCA/Stages/
H A DEntryStage.cpp42 Instructions.emplace_back(std::move(Inst)); in getNextInstruction()
70 auto Range = make_range(&Instructions[NumRetired], Instructions.end()); in cycleEnd()
75 NumRetired = std::distance(Instructions.begin(), It); in cycleEnd()
77 if ((NumRetired * 2) >= Instructions.size()) { in cycleEnd()
78 Instructions.erase(Instructions.begin(), It); in cycleEnd()
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugFrame.h434 iterator begin() { return Instructions.begin(); } in begin()
435 const_iterator begin() const { return Instructions.begin(); } in begin()
436 iterator end() { return Instructions.end(); } in end()
437 const_iterator end() const { return Instructions.end(); } in end()
439 unsigned size() const { return (unsigned)Instructions.size(); } in size()
440 bool empty() const { return Instructions.empty(); } in empty()
460 void addInstruction(const Instruction &I) { Instructions.push_back(I); } in addInstruction()
466 std::vector<Instruction> Instructions;
473 Instructions.push_back(Instruction(Opcode)); in addInstruction()
478 Instructions.push_back(Instruction(Opcode)); in addInstruction()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DStackLifetime.cpp52 auto It = std::upper_bound(Instructions.begin() + ItBB->getSecond().first + 1, in isAliveAfter()
53 Instructions.begin() + ItBB->getSecond().second, I, in isAliveAfter()
58 unsigned InstNum = It - Instructions.begin(); in isAliveAfter()
123 LLVM_DEBUG(dbgs() << " " << Instructions.size() << ": BB " << BB->getName() in collectMarkers()
125 auto BBStart = Instructions.size(); in collectMarkers()
126 Instructions.push_back(nullptr); in collectMarkers()
133 BlockInstRange[BB] = std::make_pair(BBStart, Instructions.size()); in collectMarkers()
138 LLVM_DEBUG(dbgs() << " " << Instructions.size() << ": " in collectMarkers()
142 BBMarkers[BB].push_back({Instructions.size(), M}); in collectMarkers()
143 Instructions.push_back(I); in collectMarkers()
[all …]
/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DCodeGenTarget.h51 std::unique_ptr<CodeGenInstruction>> Instructions; variable
146 if (Instructions.empty()) ReadInstructions(); in getInstructions()
147 return Instructions; in getInstructions()
152 if (Instructions.empty()) ReadInstructions(); in getInstruction()
153 auto I = Instructions.find(InstRec); in getInstruction()
154 assert(I != Instructions.end() && "Not an instruction"); in getInstruction()
/openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/lib/Mips/
H A DTarget.cpp95 std::vector<MCInst> Instructions; in loadImmediate() local
101 Instructions.push_back( in loadImmediate()
106 Instructions.push_back( in loadImmediate()
112 Instructions.push_back( in loadImmediate()
120 Instructions.push_back( in loadImmediate()
127 return Instructions; in loadImmediate()
/openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/
H A DCSKYInstrFormats.td67 // Instructions(7): grs, lrs32.b, lrs32.h, lrs32.w, srs32.b, srs32.h, srs32.w
78 // Instructions(1): ori32
92 // Instructions(3): movi32, movih32, (bgeni32)
108 // Instructions(1): lrw32
120 // Instructions(5): bt32, bf32, br32, jmpi32, jsri32
130 // Instructions(2): jmp32, jsr32
142 // Instructions(1): jmpix32
156 // Instructions(1): rts32
169 // Instructions(3): cmpnei32, cmphsi32, cmplti32
182 // Instructions(7): bez32, bnez32, bnezad32, bhz32, blsz32, blz32, bhsz32
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-cfi-verify/lib/
H A DFileAnalysis.cpp128 Instructions.find(InstrMeta.VMAddress); in getPrevInstructionSequential()
129 if (KV == Instructions.end() || KV == Instructions.begin()) in getPrevInstructionSequential()
141 Instructions.find(InstrMeta.VMAddress); in getNextInstructionSequential()
142 if (KV == Instructions.end() || ++KV == Instructions.end()) in getNextInstructionSequential()
160 const auto &InstrKV = Instructions.find(Address); in getInstruction()
161 if (InstrKV == Instructions.end()) in getInstruction()
168 const auto &InstrKV = Instructions.find(Address); in getInstructionOrDie()
169 assert(InstrKV != Instructions.end() && "Address doesn't exist."); in getInstructionOrDie()
247 const auto &SourceInstrKV = Instructions.find(SourceInstrAddress); in getDirectControlFlowXRefs()
248 if (SourceInstrKV == Instructions.end()) { in getDirectControlFlowXRefs()
[all …]
/openbsd-src/gnu/gcc/gcc/config/crx/
H A Dcrx.md113 ;; Addition Instructions
135 ;; Subtract Instructions
157 ;; Multiply Instructions
169 ;; Widening-multiplication Instructions
201 ;; Logical Instructions - and
213 ;; Logical Instructions - or
225 ;; Logical Instructions - xor
237 ;; Sign and Zero Extend Instructions
266 ;; Negation Instructions
277 ;; Absolute Instructions
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCWinEH.h58 std::vector<Instruction> Instructions; member
60 std::vector<Instruction> Instructions; member
90 if (!Instructions.empty()) in empty()
93 if (!E.second.Instructions.empty()) in empty()
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCWin64EH.cpp195 uint8_t numCodes = CountOfUnwindCodes(info->Instructions); in EmitUnwindInfo()
200 WinEH::Instruction &frameInst = info->Instructions[info->LastFrameInst]; in EmitUnwindInfo()
207 uint8_t numInst = info->Instructions.size(); in EmitUnwindInfo()
209 WinEH::Instruction inst = info->Instructions.back(); in EmitUnwindInfo()
210 info->Instructions.pop_back(); in EmitUnwindInfo()
650 const auto &Instrs = InstrsIter->second.Instructions; in FindMatchingEpilog()
668 static void simplifyARM64Opcodes(std::vector<WinEH::Instruction> &Instructions, in simplifyARM64Opcodes() argument
722 for (auto It = Instructions.rbegin(); It != Instructions.rend(); It++) in simplifyARM64Opcodes()
725 for (WinEH::Instruction &Inst : Instructions) in simplifyARM64Opcodes()
762 info->EpilogMap[Sym].Instructions; in checkARM64PackedEpilog()
[all …]
H A DMCStreamer.cpp129 (MAB ? MAB->generateCompactUnwindEncoding(FI.Instructions) : 0); in generateCompactUnwindEncodings()
499 CurFrame->Instructions.push_back(Instruction); in emitCFIDefCfa()
510 CurFrame->Instructions.push_back(Instruction); in emitCFIDefCfaOffset()
520 CurFrame->Instructions.push_back(Instruction); in emitCFIAdjustCfaOffset()
530 CurFrame->Instructions.push_back(Instruction); in emitCFIDefCfaRegister()
542 CurFrame->Instructions.push_back(Instruction); in emitCFILLVMDefAspaceCfa()
553 CurFrame->Instructions.push_back(Instruction); in emitCFIOffset()
563 CurFrame->Instructions.push_back(Instruction); in emitCFIRelOffset()
589 CurFrame->Instructions.push_back(Instruction); in emitCFIRememberState()
599 CurFrame->Instructions.push_back(Instruction); in emitCFIRestoreState()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/MCTargetDesc/
H A DX86WinCOFFTargetStreamer.cpp64 SmallVector<FPOInstruction, 5> Instructions; member
188 if (!CurFPOData->Instructions.empty()) { in emitFPOEndProc()
190 CurFPOData->Instructions.clear(); in emitFPOEndProc()
211 CurFPOData->Instructions.push_back(Inst); in emitFPOSetFrame()
222 CurFPOData->Instructions.push_back(Inst); in emitFPOPushReg()
233 CurFPOData->Instructions.push_back(Inst); in emitFPOStackAlloc()
240 if (llvm::none_of(CurFPOData->Instructions, [](const FPOInstruction &Inst) { in emitFPOStackAlign()
251 CurFPOData->Instructions.push_back(Inst); in emitFPOStackAlign()
415 for (const FPOInstruction &Inst : FPO->Instructions) { in emitFPOData()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMWinCOFFStreamer.cpp120 CurFrame->EpilogMap[CurrentEpilog].Instructions.push_back(Inst); in emitARMWinUnwindCode()
122 CurFrame->Instructions.push_back(Inst); in emitARMWinUnwindCode()
218 auto it = CurFrame->Instructions.begin(); in emitARMWinCFIPrologEnd()
219 CurFrame->Instructions.insert(it, Inst); in emitARMWinCFIPrologEnd()
247 CurFrame->EpilogMap[CurrentEpilog].Instructions; in emitARMWinCFIEpilogEnd()
263 CurFrame->EpilogMap[CurrentEpilog].Instructions.push_back(Inst); in emitARMWinCFIEpilogEnd()
/openbsd-src/gnu/llvm/llvm/tools/llvm-mca/
H A DCodeRegion.h82 llvm::SmallVector<llvm::MCInst, 16> Instructions; variable
95 Instructions.emplace_back(Instruction); in addInstruction()
102 bool empty() const { return Instructions.empty(); } in empty()
105 llvm::ArrayRef<llvm::MCInst> getInstructions() const { return Instructions; } in getInstructions()
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsInstructionSelector.cpp755 SmallVector<struct Instr, 2> Instructions; in select() local
765 Instructions.emplace_back(Mips::XOR, Temp, LHS, RHS); in select()
766 Instructions.emplace_back(Mips::SLTiu, ICMPReg, Temp, 1); in select()
769 Instructions.emplace_back(Mips::XOR, Temp, LHS, RHS); in select()
770 Instructions.emplace_back(Mips::SLTu, ICMPReg, Mips::ZERO, Temp); in select()
773 Instructions.emplace_back(Mips::SLTu, ICMPReg, RHS, LHS); in select()
776 Instructions.emplace_back(Mips::SLTu, Temp, LHS, RHS); in select()
777 Instructions.emplace_back(Mips::XORi, ICMPReg, Temp, 1); in select()
780 Instructions.emplace_back(Mips::SLTu, ICMPReg, LHS, RHS); in select()
783 Instructions.emplace_back(Mips::SLTu, Temp, RHS, LHS); in select()
[all …]
/openbsd-src/gnu/llvm/llvm/docs/AMDGPU/
H A DAMDGPUAsmGFX1013.rst9 Syntax of gfx1013 Instructions
20 For a description of other gfx1013 instructions, see :doc:`Syntax of GFX10 RDNA1 Instructions<AMDGP…
32 Instructions chapter
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIOptimizeVGPRLiveRange.cpp118 SmallVectorImpl<MachineInstr *> &Instructions) const;
139 SmallVectorImpl<MachineInstr *> &Instructions) const;
334 SmallVectorImpl<MachineInstr *> &Instructions) const { in collectWaterfallCandidateRegisters()
343 Instructions.push_back(&MI); in collectWaterfallCandidateRegisters()
357 for (auto *I : Instructions) { in collectWaterfallCandidateRegisters()
546 SmallVectorImpl<MachineInstr *> &Instructions) const { in optimizeWaterfallLiveRange()
578 for (auto *MI : reverse(Instructions)) { in optimizeWaterfallLiveRange()
680 SmallVector<MachineInstr *, 16> Instructions; in runOnMachineFunction() local
684 Blocks, Instructions); in runOnMachineFunction()
688 optimizeWaterfallLiveRange(Reg, LoopHeader, Blocks, Instructions); in runOnMachineFunction()

12345678910>>...16