| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVScheduleV.td | 283 // 6. Configuration-Setting Instructions 289 // 7.4. Vector Unit-Stride Instructions 295 // 7.5. Vector Strided Instructions 304 // 7.6. Vector Indexed Instructions 323 // 7.8. Vector Segment Instructions 337 // 7.9. Vector Whole Register Instructions 347 // 11. Vector Integer Arithmetic Instructions 349 // 11.5. Vector Bitwise Logical Instructions 359 // 11.4. Vector Integer Arithmetic with Carry or Borrow Instructions 363 // 11.6. Vector Single-Width Bit Shift Instructions [all …]
|
| H A D | RISCVFeatures.td | 77 "'Zicbom' (Cache-Block Management Instructions)">; 80 "'Zicbom' (Cache-Block Management Instructions)">; 84 "'Zicbop' (Cache-Block Prefetch Instructions)">; 87 "'Zicbop' (Cache-Block Prefetch Instructions)">; 91 "'Zicboz' (Cache-Block Zero Instructions)">, 95 "'Zicboz' (Cache-Block Zero Instructions)">; 208 "'A' (Atomic Instructions)">, 212 "'A' (Atomic Instructions)">; 235 "'A' (Atomic Instructions) or " 247 "'Zacas' (Atomic Compare-And-Swap Instructions)">, [all …]
|
| H A D | RISCVInstrInfoV.td | 101 // `forceMasked` Forced to be masked (e.g. Add-with-Carry Instructions). 1023 // Instructions 1046 // Vector Unit-Stride Instructions 1053 // Vector Strided Instructions 1103 // Refer to 11.2 Widening Vector Arithmetic Instructions 1143 // Vector Integer Add-with-Carry / Subtract-with-Borrow Instructions 1155 // Vector Bitwise Logical Instructions 1165 // Vector Single-Width Bit Shift Instructions 1170 // Vector Narrowing Integer Right Shift Instructions 1171 // Refer to 11.3. Narrowing Vector Arithmetic Instructions [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/MCA/Stages/ |
| H A D | EntryStage.cpp | 42 Instructions.emplace_back(std::move(Inst)); in getNextInstruction() 70 auto Range = drop_begin(Instructions, NumRetired); 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()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFDebugFrame.h | 434 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 …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | StackLifetime.cpp | 52 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 …]
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-mca/ |
| H A D | CodeRegion.h | 83 llvm::SmallVector<llvm::MCInst, 16> Instructions; variable 98 Instructions.emplace_back(Instruction); in addInstruction() 106 return Instructions; in dropInstructions() 107 llvm::erase_if(Instructions, [&Insts](const llvm::MCInst &Inst) { in dropInstructions() 110 return Instructions; in dropInstructions() 117 bool empty() const { return Instructions.empty(); } in empty() 120 llvm::ArrayRef<llvm::MCInst> getInstructions() const { return Instructions; } in getInstructions()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
| H A D | CSKYInstrFormats.td | 67 // 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 …]
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
| H A D | CodeGenTarget.h | 62 Instructions; variable 164 if (Instructions.empty()) in getInstructions() 166 return Instructions; in getInstructions() 171 if (Instructions.empty()) in getInstruction() 173 auto I = Instructions.find(InstRec); in getInstruction() 174 assert(I != Instructions.end() && "Not an instruction"); in getInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCWin64EH.cpp | 195 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() 658 const auto &Instrs = InstrsIter->second.Instructions; in FindMatchingEpilog() 676 static void simplifyARM64Opcodes(std::vector<WinEH::Instruction> &Instructions, in simplifyARM64Opcodes() 730 for (auto It = Instructions.rbegin(); It != Instructions.rend(); It++) 733 for (WinEH::Instruction &Inst : Instructions) in getARM64OffsetInProlog() 668 simplifyARM64Opcodes(std::vector<WinEH::Instruction> & Instructions,bool Reverse) simplifyARM64Opcodes() argument [all...] |
| H A D | MCStreamer.cpp | 493 CurFrame->Instructions.push_back(Instruction); in emitCFIDefCfa() 504 CurFrame->Instructions.push_back(Instruction); in emitCFIDefCfaOffset() 514 CurFrame->Instructions.push_back(Instruction); in emitCFIAdjustCfaOffset() 524 CurFrame->Instructions.push_back(Instruction); in emitCFIDefCfaRegister() 536 CurFrame->Instructions.push_back(Instruction); in emitCFILLVMDefAspaceCfa() 547 CurFrame->Instructions.push_back(Instruction); in emitCFIOffset() 557 CurFrame->Instructions.push_back(Instruction); in emitCFIRelOffset() 584 CurFrame->Instructions.push_back(Instruction); in emitCFIRememberState() 595 CurFrame->Instructions.push_back(Instruction); in emitCFIRestoreState() 605 CurFrame->Instructions.push_back(Instruction); in emitCFISameValue() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCWinEH.h | 58 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()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInsertSingleUseVDST.cpp | 138 SmallVector<SingleUseInstruction> Instructions; in insertSingleUseInstructions() local 142 if (Instructions.empty() || in insertSingleUseInstructions() 143 !Instructions.back().tryAddProducer(Position, MI)) { in insertSingleUseInstructions() 145 Instructions.push_back(SingleUseInstruction(Position, MI)); in insertSingleUseInstructions() 149 for (auto &Instruction : Instructions) in insertSingleUseInstructions()
|
| H A D | SIOptimizeVGPRLiveRange.cpp | 118 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() 555 SmallVectorImpl<MachineInstr *> &Instructions) const { in optimizeWaterfallLiveRange() 587 for (auto *MI : reverse(Instructions)) { in optimizeWaterfallLiveRange() 689 SmallVector<MachineInstr *, 16> Instructions; in runOnMachineFunction() local 693 Blocks, Instructions); in runOnMachineFunction() 697 optimizeWaterfallLiveRange(Reg, LoopHeader, Blocks, Instructions); in runOnMachineFunction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86WinCOFFTargetStreamer.cpp | 64 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()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InstrUtils.td | 739 // Instructions introduced in AVX (no SSE equivalent forms) 753 // Instructions introduced in AVX2 (no SSE equivalent forms) 768 // Instructions introduced in AVX-512 (no SSE equivalent forms) 975 // BinOpRR - Instructions that read "reg, reg". 979 // BinOpRR_F - Instructions that read "reg, reg" and write EFLAGS only. 989 // BinOpRR_R - Instructions that read "reg, reg" and write "reg". 998 // BinOpRR_RF - Instructions that read "reg, reg", and write "reg", EFLAGS. 1009 // BinOpRRF_RF - Instructions that read "reg, reg", write "reg" and read/write 1024 // BinOpRM - Instructions that read "reg, [mem]". 1031 // BinOpRM_F - Instructions that read "reg, [mem]" and write EFLAGS only. [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMWinCOFFStreamer.cpp | 118 CurFrame->EpilogMap[CurrentEpilog].Instructions.push_back(Inst); in emitARMWinUnwindCode() 120 CurFrame->Instructions.push_back(Inst); in emitARMWinUnwindCode() 216 auto it = CurFrame->Instructions.begin(); in emitARMWinCFIPrologEnd() 217 CurFrame->Instructions.insert(it, Inst); in emitARMWinCFIPrologEnd() 245 CurFrame->EpilogMap[CurrentEpilog].Instructions; in emitARMWinCFIEpilogEnd() 261 CurFrame->EpilogMap[CurrentEpilog].Instructions.push_back(Inst); in emitARMWinCFIEpilogEnd()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsInstructionSelector.cpp | 750 SmallVector<struct Instr, 2> Instructions; in select() local 760 Instructions.emplace_back(Mips::XOR, Temp, LHS, RHS); in select() 761 Instructions.emplace_back(Mips::SLTiu, ICMPReg, Temp, 1); in select() 764 Instructions.emplace_back(Mips::XOR, Temp, LHS, RHS); in select() 765 Instructions.emplace_back(Mips::SLTu, ICMPReg, Mips::ZERO, Temp); in select() 768 Instructions.emplace_back(Mips::SLTu, ICMPReg, RHS, LHS); in select() 771 Instructions.emplace_back(Mips::SLTu, Temp, LHS, RHS); in select() 772 Instructions.emplace_back(Mips::XORi, ICMPReg, Temp, 1); in select() 775 Instructions.emplace_back(Mips::SLTu, ICMPReg, LHS, RHS); in select() 778 Instructions.emplace_back(Mips::SLTu, Temp, RHS, LHS); in select() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | riscv_vector.td | 608 // 6. Configuration-Setting Instructions 688 // 7.4. Vector Unit-Stride Instructions 709 // 7.5. Vector Strided Instructions 728 // 7.6. Vector Indexed Instructions 1177 // 7.8 Vector Load/Store Segment Instructions 1196 // 11. Vector Integer Arithmetic Instructions 1243 // 11.4. Vector Integer Add-with-Carry / Subtract-with-Borrow Instructions 1255 // 11.5. Vector Bitwise Logical Instructions 1263 // 11.6. Vector Single-Width Shift Instructions 1269 // 11.7. Vector Narrowing Integer Right Shift Instructions [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | RandomIRBuilder.cpp | 149 SmallVector<Instruction *, 16> Instructions; in findOrCreateSource() local 151 Instructions.push_back(&I); in findOrCreateSource() 154 makeSampler(Rand, make_filter_range(Instructions, MatchesPred)); in findOrCreateSource() 298 [this, V](ArrayRef<Instruction *> Instructions) -> Instruction * { in connectToSink() argument 300 for (auto &I : Instructions) { in connectToSink() 337 std::vector<Instruction *> Instructions; in connectToSink() local 339 Instructions.push_back(&I); in connectToSink() 340 Sink = findSinkAndConnect(Instructions); in connectToSink()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | AsmWriterEmitter.cpp | 61 std::vector<AsmWriterInst> Instructions; member in __anon992240d30111::AsmWriterEmitter 177 for (size_t i = 0, e = Instructions.size(); i != e; ++i) { in FindUniqueOperandCommands() 178 const AsmWriterInst &Inst = Instructions[i]; in FindUniqueOperandCommands() 214 const AsmWriterInst &FirstInst = Instructions[Idxs.front()]; in FindUniqueOperandCommands() 223 const AsmWriterInst &OtherInst = Instructions[Idx]; in FindUniqueOperandCommands() 349 for (AsmWriterInst &AWI : Instructions) { in EmitGetMnemonic() 361 for (AsmWriterInst &AWI : Instructions) { in EmitGetMnemonic() 414 OpcodeInfo[Instructions[Idx].CGIIndex] |= in EmitGetMnemonic() 417 AsmWriterInst &Inst = Instructions[Idx]; in EmitGetMnemonic() 558 llvm::erase_if(Instructions, in EmitPrintInstruction() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZInstrSystem.td | 17 // Program-Status Word Instructions. 61 // Control Register Instructions. 97 // Prefix-Register Instructions. 109 // Breaking-Event-Address-Register Instructions. 123 // Storage-Key and Real Memory Instructions. 165 // Dynamic-Address-Translation Instructions. 224 // Memory-move Instructions. 252 // Address-Space Instructions. 294 // Linkage-Stack Instructions. 316 // Time-Related Instructions. [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64WinCOFFStreamer.cpp | 77 CurFrame->EpilogMap[CurrentEpilog].Instructions.push_back(Inst); in emitARM64WinUnwindCode() 79 CurFrame->Instructions.push_back(Inst); in emitARM64WinUnwindCode() 181 auto it = CurFrame->Instructions.begin(); in emitARM64WinCFIPrologEnd() 182 CurFrame->Instructions.insert(it, Inst); in emitARM64WinCFIPrologEnd() 204 CurFrame->EpilogMap[CurrentEpilog].Instructions.push_back(Inst); in emitARM64WinCFIEpilogEnd()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/ |
| H A D | SummaryView.cpp | 87 DV.Instructions = Source.size(); in collectData() 88 DV.Iterations = (LastInstructionIdx / DV.Instructions) + 1; in collectData() 89 DV.TotalInstructions = DV.Instructions * DV.Iterations; in collectData()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | StackLifetime.h | 96 /// Interesting instructions. Instructions of the same block are adjustent 98 SmallVector<const IntrinsicInst *, 64> Instructions; variable 101 /// Instructions inside each BB have monotonic and consecutive ids. 146 return make_filter_range(Instructions, NotNull); in getMarkers() 163 return LiveRange(Instructions.size(), true); in getFullLiveRange()
|