Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MCA/
H A DInstrBuilder.h45 DenseMap<unsigned short, std::unique_ptr<const InstrDesc>> Descriptors;
46 DenseMap<const MCInst *, std::unique_ptr<const InstrDesc>> VariantDescriptors;
51 Expected<const InstrDesc &> createInstrDescImpl(const MCInst &MCI);
52 Expected<const InstrDesc &> getOrCreateInstrDesc(const MCInst &MCI);
57 void populateWrites(InstrDesc &ID, const MCInst &MCI, unsigned SchedClassID);
58 void populateReads(InstrDesc &ID, const MCInst &MCI, unsigned SchedClassID);
59 Error verifyInstrDesc(const InstrDesc &ID, const MCInst &MCI) const;
H A DInstruction.h447 struct InstrDesc { struct
489 InstrDesc() = default; argument
490 InstrDesc(const InstrDesc &Other) = delete;
491 InstrDesc &operator=(const InstrDesc &Other) = delete; argument
499 const InstrDesc &Desc;
521 InstructionBase(const InstrDesc &D, const unsigned Opcode) in InstructionBase()
528 const InstrDesc &getDesc() const { return Desc; } in getDesc()
616 Instruction(const InstrDesc &D, const unsigned Opcode) in Instruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MCA/
H A DInstrBuilder.cpp38 static void initializeUsedResources(InstrDesc &ID, in initializeUsedResources()
247 static void computeMaxLatency(InstrDesc &ID, const MCInstrDesc &MCDesc, in computeMaxLatency()
291 void InstrBuilder::populateWrites(InstrDesc &ID, const MCInst &MCI, in populateWrites()
460 void InstrBuilder::populateReads(InstrDesc &ID, const MCInst &MCI, in populateReads()
521 Error InstrBuilder::verifyInstrDesc(const InstrDesc &ID, in verifyInstrDesc()
538 Expected<const InstrDesc &>
577 std::unique_ptr<InstrDesc> ID = std::make_unique<InstrDesc>(); in createInstrDescImpl()
630 Expected<const InstrDesc &>
643 Expected<const InstrDesc &> DescOrErr = getOrCreateInstrDesc(MCI); in createInstruction()
646 const InstrDesc &D = *DescOrErr; in createInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MCA/HardwareUnits/
H A DLSUnit.cpp70 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in dispatch()
196 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in isAvailable()
214 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in onInstructionRetired()
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()
307 const InstrDesc &Desc, in issueInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MCA/Stages/
H A DDispatchStage.cpp81 const InstrDesc &Desc = IS.getDesc(); in dispatch()
162 const InstrDesc &Desc = Inst.getDesc(); in isAvailable()
H A DInstructionTables.cpp23 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in execute()
H A DInOrderIssueStage.cpp64 const InstrDesc &Desc = Inst.getDesc(); in isAvailable()
203 const InstrDesc &Desc = IS.getDesc(); in tryIssue()
H A DExecuteStage.cpp168 const InstrDesc &Desc = Inst.getDesc(); in verifyInstructionEliminated()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MCA/HardwareUnits/
H A DResourceManager.h426 uint64_t checkAvailability(const InstrDesc &Desc) const;
432 const InstrDesc &Desc,
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DSummaryView.cpp54 const InstrDesc &Desc = Inst.getDesc(); in onEvent()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp4795 const MCInstrDesc &InstrDesc = get(Opc); in legalizeOperandsVOP2() local
4808 isLiteralConstantLike(Src0, InstrDesc.OpInfo[Src0Idx]))) in legalizeOperandsVOP2()
4841 if (isLegalRegOperand(MRI, InstrDesc.OpInfo[Src1Idx], Src1)) in legalizeOperandsVOP2()
4872 !isLegalRegOperand(MRI, InstrDesc.OpInfo[Src1Idx], Src0)) { in legalizeOperandsVOP2()