Home
last modified time | relevance | path

Searched refs:InstrDesc (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/
H A DInstrBuilder.h73 std::unique_ptr<const InstrDesc>>
78 DenseMap<std::pair<hash_code, unsigned>, std::unique_ptr<const InstrDesc>>
85 using InstRecycleCallback = std::function<Instruction *(const InstrDesc &)>;
89 Expected<const InstrDesc &>
91 Expected<const InstrDesc &>
98 void populateWrites(InstrDesc &ID, const MCInst &MCI, unsigned SchedClassID);
99 void populateReads(InstrDesc &ID, const MCInst &MCI, unsigned SchedClassID);
100 Error verifyInstrDesc(const InstrDesc &ID, const MCInst &MCI) const;
H A DInstruction.h448 struct InstrDesc { struct
488 InstrDesc() = default; argument
489 InstrDesc(const InstrDesc &Other) = delete;
490 InstrDesc &operator=(const InstrDesc &Other) = delete; argument
498 const InstrDesc &Desc;
532 InstructionBase(const InstrDesc &D, const unsigned Opcode) in InstructionBase()
540 const InstrDesc &getDesc() const { return Desc; } in getDesc()
648 Instruction(const InstrDesc &D, const unsigned Opcode) in Instruction()
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/HardwareUnits/
H A DResourceManager.h430 LLVM_ABI uint64_t checkAvailability(const InstrDesc &Desc) const;
437 void issueInstruction(const InstrDesc &Desc, in issueInstruction()
452 fastIssueInstruction(const InstrDesc &Desc,
461 issueInstructionImpl(const InstrDesc &Desc,
/freebsd/contrib/llvm-project/llvm/lib/MCA/
H A DInstrBuilder.cpp43 static void initializeUsedResources(InstrDesc &ID, in initializeUsedResources()
223 static void computeMaxLatency(InstrDesc &ID, const MCSchedClassDesc &SCDesc, in computeMaxLatency()
268 void InstrBuilder::populateWrites(InstrDesc &ID, const MCInst &MCI, in populateWrites()
443 void InstrBuilder::populateReads(InstrDesc &ID, const MCInst &MCI, in populateReads()
526 Error InstrBuilder::verifyInstrDesc(const InstrDesc &ID, in verifyInstrDesc()
559 Expected<const InstrDesc &>
598 std::unique_ptr<InstrDesc> ID = std::make_unique<InstrDesc>(); in createInstrDescImpl()
648 Expected<const InstrDesc &>
679 Expected<const InstrDesc &> DescOrErr = getOrCreateInstrDesc(MCI, IVec); in createInstruction()
682 const InstrDesc &D = *DescOrErr; in createInstruction()
/freebsd/contrib/llvm-project/llvm/lib/MCA/Stages/
H A DInstructionTables.cpp23 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in execute()
H A DInOrderIssueStage.cpp215 const InstrDesc &Desc = IS.getDesc(); in tryIssue()
/freebsd/contrib/llvm-project/llvm/lib/MCA/HardwareUnits/
H A DResourceManager.cpp282 uint64_t ResourceManager::checkAvailability(const InstrDesc &Desc) const { in checkAvailability()
347 const InstrDesc &Desc, SmallVectorImpl<ResourceWithCycles> &Pipes) { in issueInstructionImpl()
429 const InstrDesc &Desc, SmallVectorImpl<ResourceWithCycles> &Pipes) { in fastIssueInstruction()
H A DScheduler.cpp74 const InstrDesc &D = IS->getDesc(); in issueInstructionImpl()
292 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in mustIssueImmediately()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DSummaryView.cpp54 const InstrDesc &Desc = Inst.getDesc(); in onEvent()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Disassembler/LLVMC/
H A DDisassemblerLLVMC.cpp1434 const auto &InstrDesc = m_instr_info_up->get(mc_inst.getOpcode()); in IsAuthenticated() local
1440 if (InstrDesc.isTrap() && mc_inst.getNumOperands() == 1) { in IsAuthenticated()
1446 return InstrDesc.isAuthenticated() || IsBrkC47x; in IsAuthenticated()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp6149 const MCInstrDesc &InstrDesc = get(Opc); in legalizeOperandsVOP2() local
6201 if (isLegalRegOperand(MRI, InstrDesc.operands()[Src1Idx], Src1)) in legalizeOperandsVOP2()
6232 !isLegalRegOperand(MRI, InstrDesc.operands()[Src1Idx], Src0)) { in legalizeOperandsVOP2()