Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/include/llvm/MCA/
H A DInstrBuilder.h71 std::unique_ptr<const InstrDesc>>
76 std::unique_ptr<const InstrDesc>>
83 llvm::function_ref<Instruction *(const InstrDesc &)>;
86 Expected<const InstrDesc &>
89 Expected<const InstrDesc &>
96 void populateWrites(InstrDesc &ID, const MCInst &MCI, unsigned SchedClassID);
97 void populateReads(InstrDesc &ID, const MCInst &MCI, unsigned SchedClassID);
98 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()
/openbsd-src/gnu/llvm/llvm/tools/llvm-cfi-verify/lib/
H A DFileAnalysis.cpp174 const auto &InstrDesc = MII->get(InstrMeta.Instruction.getOpcode()); in isCFITrap() local
175 return InstrDesc.isTrap() || willTrapOnCFIViolation(InstrMeta); in isCFITrap()
179 const auto &InstrDesc = MII->get(InstrMeta.Instruction.getOpcode()); in willTrapOnCFIViolation() local
180 if (!InstrDesc.isCall()) in willTrapOnCFIViolation()
196 const auto &InstrDesc = MII->get(InstrMeta.Instruction.getOpcode()); in canFallThrough() local
197 if (InstrDesc.mayAffectControlFlow(InstrMeta.Instruction, *RegisterInfo)) in canFallThrough()
198 return InstrDesc.isConditionalBranch(); in canFallThrough()
211 const auto &InstrDesc = MII->get(InstrMeta.Instruction.getOpcode()); in getDefiniteNextInstruction() local
213 if (InstrDesc.mayAffectControlFlow(InstrMeta.Instruction, *RegisterInfo)) { in getDefiniteNextInstruction()
214 if (InstrDesc.isConditionalBranch()) in getDefiniteNextInstruction()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/MCA/
H A DInstrBuilder.cpp42 static void initializeUsedResources(InstrDesc &ID, in initializeUsedResources()
221 static void computeMaxLatency(InstrDesc &ID, const MCInstrDesc &MCDesc, in computeMaxLatency()
265 void InstrBuilder::populateWrites(InstrDesc &ID, const MCInst &MCI, in populateWrites()
434 void InstrBuilder::populateReads(InstrDesc &ID, const MCInst &MCI, in populateReads()
495 Error InstrBuilder::verifyInstrDesc(const InstrDesc &ID, in verifyInstrDesc()
512 Expected<const InstrDesc &>
554 std::unique_ptr<InstrDesc> ID = std::make_unique<InstrDesc>(); in createInstrDescImpl()
602 Expected<const InstrDesc &>
626 Expected<const InstrDesc &> DescOrErr = getOrCreateInstrDesc(MCI, IVec); in createInstruction()
629 const InstrDesc &D = *DescOrErr; in createInstruction()
/openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/
H A Dllvm-exegesis.cpp318 const MCInstrDesc &InstrDesc = Instr.Description; in generateSnippets() local
320 if (InstrDesc.isPseudo() || InstrDesc.usesCustomInsertionHook()) in generateSnippets()
323 if (InstrDesc.isBranch() || InstrDesc.isIndirectBranch()) in generateSnippets()
325 if (InstrDesc.isCall() || InstrDesc.isReturn()) in generateSnippets()
/openbsd-src/gnu/llvm/llvm/include/llvm/MCA/HardwareUnits/
H A DResourceManager.h426 uint64_t checkAvailability(const InstrDesc &Desc) const;
432 const InstrDesc &Desc,
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/tools/llvm-mca/Views/
H A DSummaryView.cpp54 const InstrDesc &Desc = Inst.getDesc(); in onEvent()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Disassembler/LLVMC/
H A DDisassemblerLLVMC.cpp1387 const auto &InstrDesc = m_instr_info_up->get(mc_inst.getOpcode()); in IsAuthenticated() local
1393 if (InstrDesc.isTrap() && mc_inst.getNumOperands() == 1) { in IsAuthenticated()
1399 return InstrDesc.isAuthenticated() || IsBrkC47x; in IsAuthenticated()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp5191 const MCInstrDesc &InstrDesc = get(Opc); in legalizeOperandsVOP2() local
5236 if (isLegalRegOperand(MRI, InstrDesc.operands()[Src1Idx], Src1)) in legalizeOperandsVOP2()
5267 !isLegalRegOperand(MRI, InstrDesc.operands()[Src1Idx], Src0)) { in legalizeOperandsVOP2()