| /llvm-project-15.0.7/llvm/include/llvm/MCA/ |
| H A D | InstrBuilder.h | 67 DenseMap<unsigned short, std::unique_ptr<const InstrDesc>> Descriptors; 68 DenseMap<const MCInst *, std::unique_ptr<const InstrDesc>> VariantDescriptors; 74 llvm::function_ref<Instruction *(const InstrDesc &)>; 77 Expected<const InstrDesc &> createInstrDescImpl(const MCInst &MCI); 78 Expected<const InstrDesc &> getOrCreateInstrDesc(const MCInst &MCI); 83 void populateWrites(InstrDesc &ID, const MCInst &MCI, unsigned SchedClassID); 84 void populateReads(InstrDesc &ID, const MCInst &MCI, unsigned SchedClassID); 85 Error verifyInstrDesc(const InstrDesc &ID, const MCInst &MCI) const;
|
| H A D | Instruction.h | 447 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()
|
| /llvm-project-15.0.7/llvm/tools/llvm-cfi-verify/lib/ |
| H A D | FileAnalysis.cpp | 170 const auto &InstrDesc = MII->get(InstrMeta.Instruction.getOpcode()); in isCFITrap() local 171 return InstrDesc.isTrap() || willTrapOnCFIViolation(InstrMeta); in isCFITrap() 175 const auto &InstrDesc = MII->get(InstrMeta.Instruction.getOpcode()); in willTrapOnCFIViolation() local 176 if (!InstrDesc.isCall()) in willTrapOnCFIViolation() 194 return InstrDesc.isConditionalBranch(); in canFallThrough() 210 if (InstrDesc.isConditionalBranch()) in getDefiniteNextInstruction() 344 if (InstrDesc.hasDefOfPhysReg(NodeInstr.Instruction, RegNum, in indirectCFOperandClobber() 346 if (!canLoad || !InstrDesc.mayLoad()) in indirectCFOperandClobber() 351 for (unsigned i = InstrDesc.getNumDefs(), in indirectCFOperandClobber() 503 const auto &InstrDesc = MII->get(Instruction.getOpcode()); in parseSectionContents() local [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-exegesis/ |
| H A D | llvm-exegesis.cpp | 260 const MCInstrDesc &InstrDesc = Instr.Description; in generateSnippets() local 262 if (InstrDesc.isPseudo() || InstrDesc.usesCustomInsertionHook()) in generateSnippets() 265 if (InstrDesc.isBranch() || InstrDesc.isIndirectBranch()) in generateSnippets() 267 if (InstrDesc.isCall() || InstrDesc.isReturn()) in generateSnippets()
|
| /llvm-project-15.0.7/llvm/lib/MCA/ |
| H A D | InstrBuilder.cpp | 41 static void initializeUsedResources(InstrDesc &ID, in initializeUsedResources() 250 static void computeMaxLatency(InstrDesc &ID, const MCInstrDesc &MCDesc, in computeMaxLatency() 294 void InstrBuilder::populateWrites(InstrDesc &ID, const MCInst &MCI, in populateWrites() 463 void InstrBuilder::populateReads(InstrDesc &ID, const MCInst &MCI, in populateReads() 524 Error InstrBuilder::verifyInstrDesc(const InstrDesc &ID, in verifyInstrDesc() 541 Expected<const InstrDesc &> 581 std::unique_ptr<InstrDesc> ID = std::make_unique<InstrDesc>(); in createInstrDescImpl() 627 Expected<const InstrDesc &> 642 Expected<const InstrDesc &> DescOrErr = getOrCreateInstrDesc(MCI); in createInstruction() 645 const InstrDesc &D = *DescOrErr; in createInstruction()
|
| /llvm-project-15.0.7/llvm/unittests/tools/llvm-mca/X86/ |
| H A D | TestIncrementalMCA.cpp | 85 std::unordered_map<const mca::InstrDesc *, SmallPtrSet<mca::Instruction *, 2>> in TEST_F() 87 auto GetRecycledInst = [&](const mca::InstrDesc &Desc) -> mca::Instruction * { in TEST_F() 100 const mca::InstrDesc &D = I->getDesc(); in TEST_F()
|
| /llvm-project-15.0.7/llvm/include/llvm/MCA/HardwareUnits/ |
| H A D | ResourceManager.h | 426 uint64_t checkAvailability(const InstrDesc &Desc) const; 432 const InstrDesc &Desc,
|
| /llvm-project-15.0.7/llvm/lib/MCA/Stages/ |
| H A D | InstructionTables.cpp | 23 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in execute()
|
| H A D | InOrderIssueStage.cpp | 215 const InstrDesc &Desc = IS.getDesc(); in tryIssue()
|
| /llvm-project-15.0.7/llvm/lib/MCA/HardwareUnits/ |
| H A D | Scheduler.cpp | 74 const InstrDesc &D = IS->getDesc(); in issueInstructionImpl() 291 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in mustIssueImmediately()
|
| H A D | ResourceManager.cpp | 282 uint64_t ResourceManager::checkAvailability(const InstrDesc &Desc) const { in checkAvailability() 307 const InstrDesc &Desc, in issueInstruction()
|
| /llvm-project-15.0.7/llvm/tools/llvm-mca/Views/ |
| H A D | SummaryView.cpp | 54 const InstrDesc &Desc = Inst.getDesc(); in onEvent()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Disassembler/LLVMC/ |
| H A D | DisassemblerLLVMC.cpp | 1386 auto InstrDesc = m_instr_info_up->get(mc_inst.getOpcode()); in IsAuthenticated() local 1392 if (InstrDesc.isTrap() && mc_inst.getNumOperands() == 1) { in IsAuthenticated() 1398 return InstrDesc.isAuthenticated() || IsBrkC47x; in IsAuthenticated()
|
| /llvm-project-15.0.7/bolt/include/bolt/Core/ |
| H A D | MCPlusBuilder.h | 641 const MCInstrDesc &InstrDesc = MIA.Info->get(CurInst->getOpcode()); in match() local 642 if (InstrDesc.hasDefOfPhysReg(*CurInst, Reg, MRI)) { in match()
|
| /llvm-project-15.0.7/bolt/lib/Target/X86/ |
| H A D | X86MCPlusBuilder.cpp | 2065 const MCInstrDesc &InstrDesc = Info->get(Instr.getOpcode()); in analyzePICJumpTable() local 2066 if (!InstrDesc.hasDefOfPhysReg(Instr, R1, *RegInfo) && in analyzePICJumpTable() 2067 !InstrDesc.hasDefOfPhysReg(Instr, R2, *RegInfo)) { in analyzePICJumpTable() 2104 if (!InstrDesc.hasDefOfPhysReg(Instr, R1, *RegInfo)) in analyzePICJumpTable()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | SIInstrInfo.cpp | 5073 const MCInstrDesc &InstrDesc = get(Opc); in legalizeOperandsVOP2() local 5086 isLiteralConstantLike(Src0, InstrDesc.OpInfo[Src0Idx]))) in legalizeOperandsVOP2() 5119 if (isLegalRegOperand(MRI, InstrDesc.OpInfo[Src1Idx], Src1)) in legalizeOperandsVOP2() 5150 !isLegalRegOperand(MRI, InstrDesc.OpInfo[Src1Idx], Src0)) { in legalizeOperandsVOP2()
|