Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/
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;
DInstruction.h348 struct InstrDesc { struct
386 InstrDesc() = default; argument
387 InstrDesc(const InstrDesc &Other) = delete;
388 InstrDesc &operator=(const InstrDesc &Other) = delete; argument
396 const InstrDesc &Desc;
412 InstructionBase(const InstrDesc &D) : Desc(D), IsOptimizableMove(false) {} in InstructionBase()
418 const InstrDesc &getDesc() const { return Desc; } in getDesc()
492 Instruction(const InstrDesc &D) in Instruction()
/external/llvm-project/llvm/include/llvm/MCA/
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;
DInstruction.h348 struct InstrDesc { struct
386 InstrDesc() = default; argument
387 InstrDesc(const InstrDesc &Other) = delete;
388 InstrDesc &operator=(const InstrDesc &Other) = delete; argument
396 const InstrDesc &Desc;
412 InstructionBase(const InstrDesc &D) : Desc(D), IsOptimizableMove(false) {} in InstructionBase()
418 const InstrDesc &getDesc() const { return Desc; } in getDesc()
492 Instruction(const InstrDesc &D) in Instruction()
/external/llvm-project/llvm/tools/llvm-cfi-verify/lib/
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 …]
/external/llvm-project/llvm/lib/MCA/
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()
601 Expected<const InstrDesc &>
614 Expected<const InstrDesc &> DescOrErr = getOrCreateInstrDesc(MCI); in createInstruction()
617 const InstrDesc &D = *DescOrErr; in createInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/
DInstrBuilder.cpp38 static void initializeUsedResources(InstrDesc &ID, in initializeUsedResources()
203 static void computeMaxLatency(InstrDesc &ID, const MCInstrDesc &MCDesc, in computeMaxLatency()
247 void InstrBuilder::populateWrites(InstrDesc &ID, const MCInst &MCI, in populateWrites()
417 void InstrBuilder::populateReads(InstrDesc &ID, const MCInst &MCI, in populateReads()
483 Error InstrBuilder::verifyInstrDesc(const InstrDesc &ID, in verifyInstrDesc()
508 Expected<const InstrDesc &>
546 std::unique_ptr<InstrDesc> ID = std::make_unique<InstrDesc>(); in createInstrDescImpl()
598 Expected<const InstrDesc &>
611 Expected<const InstrDesc &> DescOrErr = getOrCreateInstrDesc(MCI); in createInstruction()
614 const InstrDesc &D = *DescOrErr; in createInstruction()
/external/llvm-project/llvm/tools/llvm-exegesis/
Dllvm-exegesis.cpp252 const MCInstrDesc &InstrDesc = Instr.Description; in generateSnippets() local
254 if (InstrDesc.isPseudo()) in generateSnippets()
256 if (InstrDesc.isBranch() || InstrDesc.isIndirectBranch()) in generateSnippets()
258 if (InstrDesc.isCall() || InstrDesc.isReturn()) in generateSnippets()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/
DLSUnit.cpp70 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in dispatch()
154 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in isAvailable()
172 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in onInstructionRetired()
DScheduler.cpp74 const InstrDesc &D = IS->getDesc(); in issueInstructionImpl()
291 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in mustIssueImmediately()
DResourceManager.cpp282 uint64_t ResourceManager::checkAvailability(const InstrDesc &Desc) const { in checkAvailability()
298 const InstrDesc &Desc, in issueInstruction()
/external/llvm-project/llvm/lib/MCA/HardwareUnits/
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()
DScheduler.cpp74 const InstrDesc &D = IS->getDesc(); in issueInstructionImpl()
291 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in mustIssueImmediately()
DResourceManager.cpp282 uint64_t ResourceManager::checkAvailability(const InstrDesc &Desc) const { in checkAvailability()
298 const InstrDesc &Desc, in issueInstruction()
/external/llvm-project/llvm/lib/MCA/Stages/
DDispatchStage.cpp81 const InstrDesc &Desc = IS.getDesc(); in dispatch()
161 const InstrDesc &Desc = Inst.getDesc(); in isAvailable()
DInstructionTables.cpp23 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in execute()
DExecuteStage.cpp168 const InstrDesc &Desc = Inst.getDesc(); in verifyInstructionEliminated()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/Stages/
DDispatchStage.cpp81 const InstrDesc &Desc = IS.getDesc(); in dispatch()
161 const InstrDesc &Desc = Inst.getDesc(); in isAvailable()
DInstructionTables.cpp23 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in execute()
DExecuteStage.cpp168 const InstrDesc &Desc = Inst.getDesc(); in verifyInstructionEliminated()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/HardwareUnits/
DResourceManager.h427 uint64_t checkAvailability(const InstrDesc &Desc) const;
433 const InstrDesc &Desc,
/external/llvm-project/llvm/include/llvm/MCA/HardwareUnits/
DResourceManager.h426 uint64_t checkAvailability(const InstrDesc &Desc) const;
432 const InstrDesc &Desc,
/external/llvm-project/llvm/tools/llvm-mca/Views/
DSummaryView.cpp55 const InstrDesc &Desc = Inst.getDesc(); in onEvent()
/external/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp970 const MCInstrDesc &InstrDesc = MI.getDesc(); in commuteInstructionImpl() local
978 if (!isLegalRegOperand(MRI, InstrDesc.OpInfo[Src1Idx], Src0)) in commuteInstructionImpl()
2052 const MCInstrDesc &InstrDesc = get(Opc); in legalizeOperandsVOP2() local
2074 if (isLegalRegOperand(MRI, InstrDesc.OpInfo[Src1Idx], Src1)) in legalizeOperandsVOP2()
2095 !isLegalRegOperand(MRI, InstrDesc.OpInfo[Src1Idx], Src0)) { in legalizeOperandsVOP2()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp4024 const MCInstrDesc &InstrDesc = get(Opc); in legalizeOperandsVOP2() local
4037 isLiteralConstantLike(Src0, InstrDesc.OpInfo[Src0Idx]))) in legalizeOperandsVOP2()
4070 if (isLegalRegOperand(MRI, InstrDesc.OpInfo[Src1Idx], Src1)) in legalizeOperandsVOP2()
4101 !isLegalRegOperand(MRI, InstrDesc.OpInfo[Src1Idx], Src0)) { in legalizeOperandsVOP2()

12