| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MCA/ |
| H A D | InstrBuilder.h | 45 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 D | Instruction.h | 348 struct InstrDesc { struct 387 InstrDesc() = default; argument 388 InstrDesc(const InstrDesc &Other) = delete; 389 InstrDesc &operator=(const InstrDesc &Other) = delete; argument 397 const InstrDesc &Desc; 413 InstructionBase(const InstrDesc &D) : Desc(D), IsOptimizableMove(false) {} in InstructionBase() 419 const InstrDesc &getDesc() const { return Desc; } in getDesc() 493 Instruction(const InstrDesc &D) in Instruction()
|
| /netbsd-src/external/apache2/llvm/dist/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() 192 const auto &InstrDesc = MII->get(InstrMeta.Instruction.getOpcode()); in canFallThrough() local 193 if (InstrDesc.mayAffectControlFlow(InstrMeta.Instruction, *RegisterInfo)) in canFallThrough() 194 return InstrDesc.isConditionalBranch(); in canFallThrough() 207 const auto &InstrDesc = MII->get(InstrMeta.Instruction.getOpcode()); in getDefiniteNextInstruction() local 209 if (InstrDesc.mayAffectControlFlow(InstrMeta.Instruction, *RegisterInfo)) { in getDefiniteNextInstruction() 210 if (InstrDesc.isConditionalBranch()) in getDefiniteNextInstruction() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/MCA/ |
| H A D | InstrBuilder.cpp | 38 static void initializeUsedResources(InstrDesc &ID, in initializeUsedResources() 206 static void computeMaxLatency(InstrDesc &ID, const MCInstrDesc &MCDesc, in computeMaxLatency() 250 void InstrBuilder::populateWrites(InstrDesc &ID, const MCInst &MCI, in populateWrites() 427 void InstrBuilder::populateReads(InstrDesc &ID, const MCInst &MCI, in populateReads() 493 Error InstrBuilder::verifyInstrDesc(const InstrDesc &ID, in verifyInstrDesc() 510 Expected<const InstrDesc &> 549 std::unique_ptr<InstrDesc> ID = std::make_unique<InstrDesc>(); in createInstrDescImpl() 602 Expected<const InstrDesc &> 615 Expected<const InstrDesc &> DescOrErr = getOrCreateInstrDesc(MCI); in createInstruction() 618 const InstrDesc &D = *DescOrErr; in createInstruction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/ |
| H A D | llvm-exegesis.cpp | 253 const MCInstrDesc &InstrDesc = Instr.Description; in generateSnippets() local 255 if (InstrDesc.isPseudo() || InstrDesc.usesCustomInsertionHook()) in generateSnippets() 258 if (InstrDesc.isBranch() || InstrDesc.isIndirectBranch()) in generateSnippets() 260 if (InstrDesc.isCall() || InstrDesc.isReturn()) in generateSnippets()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/MCA/HardwareUnits/ |
| H A D | LSUnit.cpp | 70 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 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() 298 const InstrDesc &Desc, in issueInstruction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/MCA/Stages/ |
| H A D | DispatchStage.cpp | 81 const InstrDesc &Desc = IS.getDesc(); in dispatch() 162 const InstrDesc &Desc = Inst.getDesc(); in isAvailable()
|
| H A D | InstructionTables.cpp | 23 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in execute()
|
| H A D | InOrderIssueStage.cpp | 41 const InstrDesc &Desc = Inst.getDesc(); in isAvailable() 225 const InstrDesc &Desc = IS.getDesc(); in tryIssue()
|
| H A D | ExecuteStage.cpp | 168 const InstrDesc &Desc = Inst.getDesc(); in verifyInstructionEliminated()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MCA/HardwareUnits/ |
| H A D | ResourceManager.h | 426 uint64_t checkAvailability(const InstrDesc &Desc) const; 432 const InstrDesc &Desc,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-mca/Views/ |
| H A D | SummaryView.cpp | 55 const InstrDesc &Desc = Inst.getDesc(); in onEvent()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | SIInstrInfo.cpp | 4726 const MCInstrDesc &InstrDesc = get(Opc); in legalizeOperandsVOP2() local 4739 isLiteralConstantLike(Src0, InstrDesc.OpInfo[Src0Idx]))) in legalizeOperandsVOP2() 4772 if (isLegalRegOperand(MRI, InstrDesc.OpInfo[Src1Idx], Src1)) in legalizeOperandsVOP2() 4803 !isLegalRegOperand(MRI, InstrDesc.OpInfo[Src1Idx], Src0)) { in legalizeOperandsVOP2()
|