| /freebsd/contrib/llvm-project/llvm/lib/MCA/Stages/ |
| H A D | ExecuteStage.cpp | 43 bool ExecuteStage::isAvailable(const InstRef &IR) const { in isAvailable() 44 if (Scheduler::Status S = HWS.isAvailable(IR)) { in isAvailable() 46 notifyEvent<HWStallEvent>(HWStallEvent(ET, IR)); in isAvailable() 53 Error ExecuteStage::issueInstruction(InstRef &IR) { in issueInstruction() argument 58 HWS.issueInstruction(IR, Used, Pending, Ready); in issueInstruction() 59 Instruction &IS = *IR.getInstruction(); in issueInstruction() 62 notifyReservedOrReleasedBuffers(IR, /* Reserved */ false); in issueInstruction() 64 notifyInstructionIssued(IR, Used); in issueInstruction() 66 notifyInstructionExecuted(IR); in issueInstruction() 68 if (Error S = moveToTheNextStage(IR)) in issueInstruction() [all …]
|
| H A D | InOrderIssueStage.cpp | 25 IR.invalidate(); in clear() 31 IR = Inst; in update() 60 bool InOrderIssueStage::isAvailable(const InstRef &IR) const { in isAvailable() 64 const Instruction &Inst = *IR.getInstruction(); in isAvailable() 79 static bool hasResourceHazard(const ResourceManager &RM, const InstRef &IR) { in hasResourceHazard() argument 80 if (RM.checkAvailability(IR.getInstruction()->getDesc())) { in hasResourceHazard() 81 LLVM_DEBUG(dbgs() << "[E] Stall #" << IR << '\n'); in hasResourceHazard() 88 static unsigned findFirstWriteBackCycle(const InstRef &IR) { in findFirstWriteBackCycle() argument 89 unsigned FirstWBCycle = IR.getInstruction()->getLatency(); in findFirstWriteBackCycle() 90 for (const WriteState &WS : IR.getInstruction()->getDefs()) { in findFirstWriteBackCycle() [all …]
|
| H A D | DispatchStage.cpp | 37 void DispatchStage::notifyInstructionDispatched(const InstRef &IR, in notifyInstructionDispatched() argument 40 LLVM_DEBUG(dbgs() << "[E] Instruction Dispatched: #" << IR << '\n'); in notifyInstructionDispatched() 42 HWInstructionDispatchedEvent(IR, UsedRegs, UOps)); in notifyInstructionDispatched() 45 bool DispatchStage::checkPRF(const InstRef &IR) const { in checkPRF() 47 for (const WriteState &RegDef : IR.getInstruction()->getDefs()) in checkPRF() 54 HWStallEvent(HWStallEvent::RegisterFileStall, IR)); in checkPRF() 61 bool DispatchStage::checkRCU(const InstRef &IR) const { in checkRCU() 62 const unsigned NumMicroOps = IR.getInstruction()->getNumMicroOps(); in checkRCU() 66 HWStallEvent(HWStallEvent::RetireControlUnitStall, IR)); in checkRCU() 70 bool DispatchStage::canDispatch(const InstRef &IR) const { in canDispatch() [all …]
|
| H A D | MicroOpQueueStage.cpp | 22 InstRef IR = Buffer[CurrentInstructionSlotIdx]; in moveInstructions() local 23 while (IR && checkNextStage(IR)) { in moveInstructions() 24 if (llvm::Error Val = moveToTheNextStage(IR)) in moveInstructions() 28 unsigned NormalizedOpcodes = getNormalizedOpcodes(IR); in moveInstructions() 32 IR = Buffer[CurrentInstructionSlotIdx]; in moveInstructions() 46 Error MicroOpQueueStage::execute(InstRef &IR) { in execute() argument 47 Buffer[NextAvailableSlotIdx] = IR; in execute() 48 unsigned NormalizedOpcodes = getNormalizedOpcodes(IR); in execute()
|
| H A D | RetireStage.cpp | 36 notifyInstructionRetired(Current.IR); in cycleStart() 49 llvm::Error RetireStage::execute(InstRef &IR) { in execute() argument 50 Instruction &IS = *IR.getInstruction(); in execute() 60 void RetireStage::notifyInstructionRetired(const InstRef &IR) const { in notifyInstructionRetired() 61 LLVM_DEBUG(llvm::dbgs() << "[E] Instruction Retired: #" << IR << '\n'); in notifyInstructionRetired() 63 const Instruction &Inst = *IR.getInstruction(); in notifyInstructionRetired() 67 LSU.onInstructionRetired(IR); in notifyInstructionRetired() 71 notifyEvent<HWInstructionEvent>(HWInstructionRetiredEvent(IR, FreedRegs)); in notifyInstructionRetired()
|
| /freebsd/contrib/llvm-project/llvm/lib/MCA/HardwareUnits/ |
| H A D | Scheduler.cpp | 40 Scheduler::Status Scheduler::isAvailable(const InstRef &IR) { in isAvailable() argument 42 Resources->canBeDispatched(IR.getInstruction()->getUsedBuffers()); in isAvailable() 55 LSUnit::Status LSS = LSU.isAvailable(IR); in isAvailable() 71 InstRef &IR, in issueInstructionImpl() argument 73 Instruction *IS = IR.getInstruction(); in issueInstructionImpl() 82 IS->execute(IR.getSourceIndex()); in issueInstructionImpl() 87 LSU.onInstructionIssued(IR); in issueInstructionImpl() 94 IssuedSet.emplace_back(IR); in issueInstructionImpl() 96 LSU.onInstructionExecuted(IR); in issueInstructionImpl() 101 InstRef &IR, in issueInstruction() argument [all …]
|
| H A D | LSUnit.cpp | 69 unsigned LSUnit::dispatch(const InstRef &IR) { in dispatch() argument 70 const Instruction &IS = *IR.getInstruction(); in dispatch() 194 LSUnit::Status LSUnit::isAvailable(const InstRef &IR) const { in isAvailable() 195 const Instruction &IS = *IR.getInstruction(); in isAvailable() 203 void LSUnit::onInstructionRetired(const InstRef &IR) { in onInstructionRetired() argument 204 const Instruction &IS = *IR.getInstruction(); in onInstructionRetired() 211 LLVM_DEBUG(dbgs() << "[LSUnit]: Instruction idx=" << IR.getSourceIndex() in onInstructionRetired() 217 LLVM_DEBUG(dbgs() << "[LSUnit]: Instruction idx=" << IR.getSourceIndex() in onInstructionRetired() 222 void LSUnit::onInstructionExecuted(const InstRef &IR) { in onInstructionExecuted() argument 223 const Instruction &IS = *IR.getInstruction(); in onInstructionExecuted() [all …]
|
| H A D | RetireControlUnit.cpp | 43 unsigned RetireControlUnit::dispatch(const InstRef &IR) { in dispatch() argument 44 const Instruction &Inst = *IR.getInstruction(); in dispatch() 49 Queue[NextAvailableSlotIdx] = {IR, Entries, false}; in dispatch() 61 const Instruction *Inst = Current.IR.getInstruction(); in getCurrentToken() 79 Current.IR.getInstruction()->retire(); in consumeCurrentToken() 90 assert(Queue[TokenID].IR.getInstruction() && "Instruction was not dispatched!"); in onInstructionExecuted()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | PassManagerImpl.h | 29 IRUnitT &IR, AnalysisManagerT &AM, ExtraArgTs... ExtraArgs) { in run() argument 32 IRUnitT &IR; in run() local 36 explicit StackTraceEntry(const PassInstrumentation &PI, IRUnitT &IR) in run() 37 : PI(PI), IR(IR) {} in run() 51 printIRUnitNameForStackTrace(OS, IR); in run() 64 AM, IR, std::tuple<ExtraArgTs...>(ExtraArgs...)); in run() 66 StackTraceEntry Entry(PI, IR); in run() 73 if (!PI.runBeforePass<IRUnitT>(*Pass, IR)) in run() 76 PreservedAnalyses PassPA = Pass->run(IR, AM, ExtraArgs...); in run() 80 AM.invalidate(IR, PassPA); in run() [all …]
|
| H A D | PassManager.h | 123 getAnalysisResultUnpackTuple(AnalysisManagerT &AM, IRUnitT &IR, in getAnalysisResultUnpackTuple() argument 127 return AM.template getResult<PassT>(IR, std::get<Ns>(Args)...); in getAnalysisResultUnpackTuple() 138 getAnalysisResult(AnalysisManager<IRUnitT, AnalysisArgTs...> &AM, IRUnitT &IR, in getAnalysisResult() argument 141 PassT, IRUnitT>)(AM, IR, Args, in getAnalysisResult() 191 PreservedAnalyses run(IRUnitT &IR, AnalysisManagerT &AM, 230 void printIRUnitNameForStackTrace(raw_ostream &OS, const IRUnitT &IR); 234 const Module &IR); 243 const Function &IR); 312 bool invalidate(IRUnitT &IR, const PreservedAnalyses &PA) { in invalidate() argument 317 return invalidateImpl<ResultModelT>(PassT::ID(), IR, PA); in invalidate() [all …]
|
| H A D | PassInstrumentation.h | 239 bool runBeforePass(const PassT &Pass, const IRUnitT &IR) const { 246 ShouldRun &= C(Pass.name(), llvm::Any(&IR)); 251 C(Pass.name(), llvm::Any(&IR)); 254 C(Pass.name(), llvm::Any(&IR)); 264 void runAfterPass(const PassT &Pass, const IRUnitT &IR, 268 C(Pass.name(), llvm::Any(&IR), PA); 285 void runBeforeAnalysis(const PassT &Analysis, const IRUnitT &IR) const { 288 C(Analysis.name(), llvm::Any(&IR)); 294 void runAfterAnalysis(const PassT &Analysis, const IRUnitT &IR) const { 297 C(Analysis.name(), llvm::Any(&IR)); [all …]
|
| H A D | PassManagerInternal.h | 49 virtual PreservedAnalyses run(IRUnitT &IR, AnalysisManagerT &AM, 89 PreservedAnalyses run(IRUnitT &IR, AnalysisManagerT &AM, in run() 91 return Pass.run(IR, AM, ExtraArgs...); in run() 139 virtual bool invalidate(IRUnitT &IR, const PreservedAnalyses &PA, 253 bool invalidate(IRUnitT &IR, const PreservedAnalyses &PA, 255 return Result.invalidate(IR, PA, Inv); 273 run(IRUnitT &IR, AnalysisManager<IRUnitT, ExtraArgTs...> &AM, 313 run(IRUnitT &IR, AnalysisManager<IRUnitT, ExtraArgTs...> &AM, 316 Pass.run(IR, AM, std::forward<ExtraArgTs>(ExtraArgs)...));
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/MCA/HardwareUnits/ |
| H A D | LSUnit.h | 88 virtual Status isAvailable(const InstRef &IR) const = 0; 96 virtual unsigned dispatch(const InstRef &IR) = 0; 104 virtual bool isReady(const InstRef &IR) const = 0; 108 virtual bool isPending(const InstRef &IR) const = 0; 112 virtual bool isWaiting(const InstRef &IR) const = 0; 114 virtual bool hasDependentUsers(const InstRef &IR) const = 0; 118 virtual void onInstructionExecuted(const InstRef &IR) = 0; 124 virtual void onInstructionRetired(const InstRef &IR) = 0; 126 virtual void onInstructionIssued(const InstRef &IR) = 0; 323 void onGroupIssued(const InstRef &IR, bool ShouldUpdateCriticalDep) { in onGroupIssued() argument [all …]
|
| H A D | Scheduler.h | 139 InstRef &IR, 187 LLVM_ABI Status isAvailable(const InstRef &IR); 199 LLVM_ABI bool dispatch(InstRef &IR); 205 InstRef &IR, 211 LLVM_ABI bool mustIssueImmediately(const InstRef &IR) const; 270 void instructionCheck(const InstRef &IR) const { in instructionCheck() argument 271 assert(!is_contained(WaitSet, IR) && "Already in the wait set!"); in instructionCheck() 272 assert(!is_contained(ReadySet, IR) && "Already in the ready set!"); in instructionCheck() 273 assert(!is_contained(IssuedSet, IR) && "Already executing!"); in instructionCheck()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/MCA/Stages/ |
| H A D | InOrderIssueStage.h | 37 InstRef IR; member 45 const InstRef &getInstruction() const { return IR; } in getInstruction() 46 InstRef &getInstruction() { return IR; } in getInstruction() 48 bool isValid() const { return (bool)IR; } in isValid() 88 bool canExecute(const InstRef &IR); 91 Error tryIssue(InstRef &IR); 103 void notifyInstructionIssued(const InstRef &IR, 105 void notifyInstructionDispatched(const InstRef &IR, unsigned Ops, 107 void notifyInstructionExecuted(const InstRef &IR); 108 void notifyInstructionRetired(const InstRef &IR, [all …]
|
| H A D | ExecuteStage.h | 37 Error issueInstruction(InstRef &IR); 44 Error handleInstructionEliminated(InstRef &IR); 62 bool isAvailable(const InstRef &IR) const override; 73 Error execute(InstRef &IR) override; 75 void notifyInstructionIssued(const InstRef &IR, 77 void notifyInstructionExecuted(const InstRef &IR) const; 78 void notifyInstructionPending(const InstRef &IR) const; 79 void notifyInstructionReady(const InstRef &IR) const; 83 void notifyReservedOrReleasedBuffers(const InstRef &IR, bool Reserved) const;
|
| H A D | DispatchStage.h | 58 bool checkRCU(const InstRef &IR) const; 59 bool checkPRF(const InstRef &IR) const; 60 bool canDispatch(const InstRef &IR) const; 61 Error dispatch(InstRef IR); 63 void notifyInstructionDispatched(const InstRef &IR, 72 bool isAvailable(const InstRef &IR) const override; 78 Error execute(InstRef &IR) override;
|
| H A D | Stage.h | 43 virtual bool isAvailable(const InstRef &IR) const { return true; } in isAvailable() argument 59 virtual Error execute(InstRef &IR) = 0; 66 bool checkNextStage(const InstRef &IR) const { in checkNextStage() argument 67 return NextInSequence && NextInSequence->isAvailable(IR); in checkNextStage() 74 Error moveToTheNextStage(InstRef &IR) { in moveToTheNextStage() argument 75 assert(checkNextStage(IR) && "Next stage is not ready!"); in moveToTheNextStage() 76 return NextInSequence->execute(IR); in moveToTheNextStage()
|
| H A D | MicroOpQueueStage.h | 54 unsigned getNormalizedOpcodes(const InstRef &IR) const { in getNormalizedOpcodes() argument 57 IR.getInstruction()->getDesc().NumMicroOps); in getNormalizedOpcodes() 67 bool isAvailable(const InstRef &IR) const override { in isAvailable() argument 70 unsigned NormalizedOpcodes = getNormalizedOpcodes(IR); in isAvailable() 80 Error execute(InstRef &IR) override;
|
| /freebsd/contrib/llvm-project/llvm/lib/Passes/ |
| H A D | StandardInstrumentations.cpp | 143 template <typename IRUnitT> static const IRUnitT *unwrapIR(Any IR) { in unwrapIR() argument 144 const IRUnitT **IRPtr = llvm::any_cast<const IRUnitT *>(&IR); in unwrapIR() 164 const Module *unwrapModule(Any IR, bool Force = false) { in unwrapModule() argument 165 if (const auto *M = unwrapIR<Module>(IR)) in unwrapModule() 168 if (const auto *F = unwrapIR<Function>(IR)) { in unwrapModule() 175 if (const auto *C = unwrapIR<LazyCallGraph::SCC>(IR)) { in unwrapModule() 186 if (const auto *L = unwrapIR<Loop>(IR)) { in unwrapModule() 193 if (const auto *MF = unwrapIR<MachineFunction>(IR)) { in unwrapModule() 240 std::string getIRName(Any IR) { in getIRName() argument 241 if (unwrapIR<Module>(IR)) in getIRName() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DroppedVariableStatsIR.cpp | 23 const IRUnitT *DroppedVariableStatsIR::unwrapIR(Any IR) { in unwrapIR() argument 24 const IRUnitT **IRPtr = llvm::any_cast<const IRUnitT *>(&IR); in unwrapIR() 28 void DroppedVariableStatsIR::runBeforePass(StringRef P, Any IR) { in runBeforePass() argument 30 if (const auto *M = unwrapIR<Module>(IR)) in runBeforePass() 32 if (const auto *F = unwrapIR<Function>(IR)) in runBeforePass() 36 void DroppedVariableStatsIR::runAfterPass(StringRef P, Any IR) { in runAfterPass() argument 37 if (const auto *M = unwrapIR<Module>(IR)) in runAfterPass() 39 else if (const auto *F = unwrapIR<Function>(IR)) in runAfterPass() 95 [this](StringRef P, Any IR) { return runBeforePass(P, IR); }); in registerCallbacks() argument 97 [this](StringRef P, Any IR, const PreservedAnalyses &PA) { in registerCallbacks() argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/MCA/ |
| H A D | HWEventListener.h | 54 : Type(type), IR(Inst) {} in HWInstructionEvent() 60 const InstRef &IR; variable 71 HWInstructionIssuedEvent(const InstRef &IR, ArrayRef<ResourceUse> UR) in HWInstructionIssuedEvent() argument 72 : HWInstructionEvent(HWInstructionEvent::Issued, IR), UsedResources(UR) {} in HWInstructionIssuedEvent() 79 HWInstructionDispatchedEvent(const InstRef &IR, ArrayRef<unsigned> Regs, in HWInstructionDispatchedEvent() argument 81 : HWInstructionEvent(HWInstructionEvent::Dispatched, IR), in HWInstructionDispatchedEvent() 100 HWInstructionRetiredEvent(const InstRef &IR, ArrayRef<unsigned> Regs) in HWInstructionRetiredEvent() argument 101 : HWInstructionEvent(HWInstructionEvent::Retired, IR), in HWInstructionRetiredEvent() 126 HWStallEvent(unsigned type, const InstRef &Inst) : Type(type), IR(Inst) {} in HWStallEvent() 132 const InstRef &IR; variable
|
| /freebsd/share/i18n/csmapper/GB/ |
| H A D | mapper.dir.GB.src | 12 ISO-IR-165EXT/UCS mapper_std GB/ISO-IR-165EXT%UCS.mps 19 ISO-IR-165/UCS mapper_parallel ISO-IR-165EXT/UCS,GB2312/UCS 28 UCS/ISO-IR-165EXT mapper_std GB/UCS%ISO-IR-165EXT.mps 36 UCS/ISO-IR-165 mapper_parallel UCS/ISO-IR-165EXT,UCS/GB2312
|
| /freebsd/contrib/llvm-project/llvm/include/ |
| H A D | module.install.modulemap | 15 textual header "llvm/IR/Attributes.gen" 16 textual header "llvm/IR/Attributes.inc" 20 textual header "llvm/IR/Intrinsics.gen" 21 textual header "llvm/IR/Intrinsics.inc" 25 textual header "llvm/IR/IntrinsicEnums.inc"
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Passes/ |
| H A D | StandardInstrumentations.h | 69 void printBeforePass(StringRef PassID, Any IR); 70 void printAfterPass(StringRef PassID, Any IR); 81 void pushPassRunDescriptor(StringRef PassID, Any IR, unsigned PassNumber); 112 bool shouldRun(StringRef PassID, Any IR); 120 LLVM_ABI bool shouldRun(StringRef PassName, Any IR); 221 void saveIRBeforePass(Any IR, StringRef PassID, StringRef PassName); 223 void handleIRAfterPass(Any IR, StringRef PassID, StringRef PassName); 232 virtual void handleInitialIR(Any IR) = 0; 234 virtual void generateIRRepresentation(Any IR, StringRef PassID, 266 void handleInitialIR(Any IR) override; [all …]
|