Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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.h348 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 DFileAnalysis.cpp170 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 DInstrBuilder.cpp38 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 Dllvm-exegesis.cpp253 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 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()
298 const InstrDesc &Desc, in issueInstruction()
/netbsd-src/external/apache2/llvm/dist/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.cpp41 const InstrDesc &Desc = Inst.getDesc(); in isAvailable()
225 const InstrDesc &Desc = IS.getDesc(); in tryIssue()
H A DExecuteStage.cpp168 const InstrDesc &Desc = Inst.getDesc(); in verifyInstructionEliminated()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MCA/HardwareUnits/
H A DResourceManager.h426 uint64_t checkAvailability(const InstrDesc &Desc) const;
432 const InstrDesc &Desc,
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-mca/Views/
H A DSummaryView.cpp55 const InstrDesc &Desc = Inst.getDesc(); in onEvent()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp4726 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()