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.h72 std::unique_ptr<const InstrDesc>>
77 DenseMap<std::pair<hash_code, unsigned>, std::unique_ptr<const InstrDesc>>
84 using InstRecycleCallback = std::function<Instruction *(const InstrDesc &)>;
88 Expected<const InstrDesc &>
90 Expected<const InstrDesc &>
97 void populateWrites(InstrDesc &ID, const MCInst &MCI, unsigned SchedClassID);
98 void populateReads(InstrDesc &ID, const MCInst &MCI, unsigned SchedClassID);
99 Error verifyInstrDesc(const InstrDesc &ID, const MCInst &MCI) const;
H A DInstruction.h447 struct InstrDesc { struct
487 InstrDesc() = default; argument
488 InstrDesc(const InstrDesc &Other) = delete;
489 InstrDesc &operator=(const InstrDesc &Other) = delete; argument
497 const InstrDesc &Desc;
531 InstructionBase(const InstrDesc &D, const unsigned Opcode) in InstructionBase()
539 const InstrDesc &getDesc() const { return Desc; } in getDesc()
647 Instruction(const InstrDesc &D, const unsigned Opcode) in Instruction()
/freebsd/contrib/llvm-project/llvm/lib/MCA/
H A DInstrBuilder.cpp43 static void initializeUsedResources(InstrDesc &ID, in initializeUsedResources()
222 static void computeMaxLatency(InstrDesc &ID, const MCInstrDesc &MCDesc, 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()
649 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/include/llvm/MCA/HardwareUnits/
H A DResourceManager.h426 uint64_t checkAvailability(const InstrDesc &Desc) const;
432 const InstrDesc &Desc,
/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 DScheduler.cpp74 const InstrDesc &D = IS->getDesc(); in issueInstructionImpl()
291 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in mustIssueImmediately()
H A DResourceManager.cpp282 uint64_t ResourceManager::checkAvailability(const InstrDesc &Desc) const { in checkAvailability()
348 const InstrDesc &Desc, in issueInstruction()
/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.cpp1428 const auto &InstrDesc = m_instr_info_up->get(mc_inst.getOpcode()); in DisassemblerLLVMC()
1434 if (InstrDesc.isTrap() && mc_inst.getNumOperands() == 1) { in DisassemblerLLVMC()
1440 return InstrDesc.isAuthenticated() || IsBrkC47x; in DisassemblerLLVMC()
1387 const auto &InstrDesc = m_instr_info_up->get(mc_inst.getOpcode()); IsAuthenticated() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp5851 const MCInstrDesc &InstrDesc = get(Opc); in legalizeOperandsVOP2() local
5903 if (isLegalRegOperand(MRI, InstrDesc.operands()[Src1Idx], Src1)) in legalizeOperandsVOP2()
5934 !isLegalRegOperand(MRI, InstrDesc.operands()[Src1Idx], Src0)) { in legalizeOperandsVOP2()