Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/MCA/
H A DInstrBuilder.h46 DenseMap<unsigned short, std::unique_ptr<const InstrDesc>> Descriptors;
47 DenseMap<const MCInst *, std::unique_ptr<const InstrDesc>> VariantDescriptors;
52 Expected<const InstrDesc &> createInstrDescImpl(const MCInst &MCI);
53 Expected<const InstrDesc &> getOrCreateInstrDesc(const MCInst &MCI);
58 void populateWrites(InstrDesc &ID, const MCInst &MCI, unsigned SchedClassID);
59 void populateReads(InstrDesc &ID, const MCInst &MCI, unsigned SchedClassID);
60 Error verifyInstrDesc(const InstrDesc &ID, const MCInst &MCI) const;
H A DInstruction.h322 struct InstrDesc { struct
350 InstrDesc() = default; argument
351 InstrDesc(const InstrDesc &Other) = delete;
352 InstrDesc &operator=(const InstrDesc &Other) = delete; argument
360 const InstrDesc &Desc;
376 InstructionBase(const InstrDesc &D) : Desc(D), IsOptimizableMove(false) {} in InstructionBase()
382 const InstrDesc &getDesc() const { return Desc; } in getDesc()
428 Instruction(const InstrDesc &D) in Instruction()
/freebsd-12.1/contrib/llvm/lib/MCA/HardwareUnits/
H A DScheduler.cpp42 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in isAvailable()
70 const InstrDesc &D = IS->getDesc(); in issueInstructionImpl()
142 const InstrDesc &D = IR.getInstruction()->getDesc(); in select()
202 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in mustIssueImmediately()
212 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in dispatch()
241 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in isReady()
H A DLSUnit.cpp70 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in dispatch()
89 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in isAvailable()
98 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in isReady()
156 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in onInstructionExecuted()
H A DResourceManager.cpp263 bool ResourceManager::canBeIssued(const InstrDesc &Desc) const { in canBeIssued()
273 const InstrDesc &Desc, in issueInstruction()
/freebsd-12.1/contrib/llvm/lib/MCA/
H A DInstrBuilder.cpp39 static void initializeUsedResources(InstrDesc &ID, in initializeUsedResources()
190 static void computeMaxLatency(InstrDesc &ID, const MCInstrDesc &MCDesc, in computeMaxLatency()
234 void InstrBuilder::populateWrites(InstrDesc &ID, const MCInst &MCI, in populateWrites()
404 void InstrBuilder::populateReads(InstrDesc &ID, const MCInst &MCI, in populateReads()
471 Error InstrBuilder::verifyInstrDesc(const InstrDesc &ID, in verifyInstrDesc()
496 Expected<const InstrDesc &>
534 std::unique_ptr<InstrDesc> ID = llvm::make_unique<InstrDesc>(); in createInstrDescImpl()
586 Expected<const InstrDesc &>
599 Expected<const InstrDesc &> DescOrErr = getOrCreateInstrDesc(MCI); in createInstruction()
602 const InstrDesc &D = *DescOrErr; in createInstruction()
/freebsd-12.1/contrib/llvm/include/llvm/MCA/HardwareUnits/
H A DResourceManager.h392 bool canBeIssued(const InstrDesc &Desc) const;
395 const InstrDesc &Desc,
/freebsd-12.1/contrib/llvm/lib/MCA/Stages/
H A DDispatchStage.cpp90 const InstrDesc &Desc = IS.getDesc(); in dispatch()
167 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in isAvailable()
H A DExecuteStage.cpp118 const InstrDesc &Desc = Inst.getDesc(); in verifyInstructionEliminated()
207 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in notifyReservedOrReleasedBuffers()
H A DInstructionTables.cpp24 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in execute()
/freebsd-12.1/contrib/llvm/tools/llvm-mca/Views/
H A DSummaryView.cpp50 const InstrDesc &Desc = Inst.getDesc(); in onEvent()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp3464 const MCInstrDesc &InstrDesc = get(Opc); in legalizeOperandsVOP2() local
3509 if (isLegalRegOperand(MRI, InstrDesc.OpInfo[Src1Idx], Src1)) in legalizeOperandsVOP2()
3543 !isLegalRegOperand(MRI, InstrDesc.OpInfo[Src1Idx], Src0)) { in legalizeOperandsVOP2()