Home
last modified time | relevance | path

Searched refs:IR (Results 1 – 25 of 612) sorted by relevance

12345678910>>...25

/netbsd-src/external/apache2/llvm/dist/llvm/lib/MCA/HardwareUnits/
H A DScheduler.cpp40 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()
93 IssuedSet.emplace_back(IR); in issueInstructionImpl()
95 LSU.onInstructionExecuted(IR); in issueInstructionImpl()
100 InstRef &IR, in issueInstruction() argument
[all …]
H A DLSUnit.cpp69 unsigned LSUnit::dispatch(const InstRef &IR) { in dispatch() argument
70 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in dispatch()
195 LSUnit::Status LSUnit::isAvailable(const InstRef &IR) const { in isAvailable()
196 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in isAvailable()
204 void LSUnitBase::onInstructionExecuted(const InstRef &IR) { in onInstructionExecuted() argument
205 unsigned GroupID = IR.getInstruction()->getLSUTokenID(); in onInstructionExecuted()
208 It->second->onInstructionExecuted(IR); in onInstructionExecuted()
213 void LSUnitBase::onInstructionRetired(const InstRef &IR) { in onInstructionRetired() argument
214 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in onInstructionRetired()
221 LLVM_DEBUG(dbgs() << "[LSUnit]: Instruction idx=" << IR.getSourceIndex() in onInstructionRetired()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MCA/Stages/
H A DExecuteStage.cpp43 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 DInOrderIssueStage.cpp35 bool InOrderIssueStage::isAvailable(const InstRef &IR) const { in isAvailable()
39 const Instruction &Inst = *IR.getInstruction(); in isAvailable()
55 static bool hasResourceHazard(const ResourceManager &RM, const InstRef &IR) { in hasResourceHazard() argument
56 if (RM.checkAvailability(IR.getInstruction()->getDesc())) { in hasResourceHazard()
57 LLVM_DEBUG(dbgs() << "[E] Stall #" << IR << '\n'); in hasResourceHazard()
64 static unsigned findLastWriteBackCycle(const InstRef &IR) { in findLastWriteBackCycle() argument
66 for (const WriteState &WS : IR.getInstruction()->getDefs()) { in findLastWriteBackCycle()
77 static unsigned findFirstWriteBackCycle(const InstRef &IR) { in findFirstWriteBackCycle() argument
79 for (const WriteState &WS : IR.getInstruction()->getDefs()) { in findFirstWriteBackCycle()
95 const InstRef &IR) { in checkRegisterHazard() argument
[all …]
H A DDispatchStage.cpp38 void DispatchStage::notifyInstructionDispatched(const InstRef &IR, in notifyInstructionDispatched() argument
41 LLVM_DEBUG(dbgs() << "[E] Instruction Dispatched: #" << IR << '\n'); in notifyInstructionDispatched()
43 HWInstructionDispatchedEvent(IR, UsedRegs, UOps)); in notifyInstructionDispatched()
46 bool DispatchStage::checkPRF(const InstRef &IR) const { in checkPRF()
48 for (const WriteState &RegDef : IR.getInstruction()->getDefs()) in checkPRF()
55 HWStallEvent(HWStallEvent::RegisterFileStall, IR)); in checkPRF()
62 bool DispatchStage::checkRCU(const InstRef &IR) const { in checkRCU()
63 const unsigned NumMicroOps = IR.getInstruction()->getNumMicroOps(); in checkRCU()
67 HWStallEvent(HWStallEvent::RetireControlUnitStall, IR)); in checkRCU()
71 bool DispatchStage::canDispatch(const InstRef &IR) const { in canDispatch()
[all …]
H A DMicroOpQueueStage.cpp22 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()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/regex/internal/
H A Dgenerator.d18 import std.regex.internal.ir : Regex, IR, IRL; in SampleGenerator()
49 case IR.Char: in SampleGenerator()
51 pc += IRL!(IR.Char); in SampleGenerator()
53 case IR.OrChar: in SampleGenerator()
58 case IR.CodepointSet: in SampleGenerator()
59 case IR.Trie: in SampleGenerator()
64 pc += IRL!(IR.CodepointSet); in SampleGenerator()
66 case IR.Any: in SampleGenerator()
73 pc += IRL!(IR.Any); in SampleGenerator()
75 case IR.GotoEndOr: in SampleGenerator()
[all …]
H A Dthompson.d92 static bool op(IR code:IR.End)(E* e, S* state)
108 static bool op(IR code:IR.Wordboundary)(E* e, S* state)
117 t.pc += IRL!(IR.Wordboundary); in with()
123 t.pc += IRL!(IR.Wordboundary); in with()
132 t.pc += IRL!(IR.Wordboundary); in with()
140 static bool op(IR code:IR.Notwordboundary)(E* e, S* state)
165 t.pc += IRL!(IR.Notwordboundary); in with()
170 static bool op(IR code:IR.Bof)(E* e, S* state)
176 t.pc += IRL!(IR.Bof); in with()
186 static bool op(IR code:IR.Bol)(E* e, S* state)
[all …]
H A Dbacktracking.d318 case IR.OrChar://assumes IRL!(OrChar) == 1 in BacktrackingMatcher()
334 case IR.Char: in BacktrackingMatcher()
337 pc += IRL!(IR.Char); in BacktrackingMatcher()
340 case IR.Any: in BacktrackingMatcher()
343 pc += IRL!(IR.Any); in BacktrackingMatcher()
346 case IR.CodepointSet: in BacktrackingMatcher()
350 pc += IRL!(IR.CodepointSet); in BacktrackingMatcher()
352 case IR.Trie: in BacktrackingMatcher()
356 pc += IRL!(IR.Trie); in BacktrackingMatcher()
358 case IR.Wordboundary: in BacktrackingMatcher()
[all …]
H A Dir.d116 enum IR:uint {
169 template IRL(IR code) in IRL()
173 static assert(IRL!(IR.LookaheadStart) == 3);
176 int immediateParamsIR(IR i){ in immediateParamsIR()
179 case IR.OrEnd,IR.InfiniteEnd,IR.InfiniteQEnd: in immediateParamsIR()
181 case IR.InfiniteBloomEnd: in immediateParamsIR()
183 case IR.RepeatEnd, IR.RepeatQEnd: in immediateParamsIR()
185 case IR.LookaheadStart, IR.NeglookaheadStart, IR.LookbehindStart, IR.NeglookbehindStart: in immediateParamsIR()
193 int lengthOfIR(IR i) in lengthOfIR()
199 int lengthOfPairedIR(IR i) in lengthOfPairedIR()
[all …]
H A Dparser.d92 if (code[pc].code == IR.GotoEndOr) in reverseBytecode()
103 if (code[pc].code == IR.LookbehindStart in reverseBytecode()
104 || code[pc].code == IR.NeglookbehindStart) in reverseBytecode()
117 if (code[pc].code == IR.OrStart) in reverseBytecode()
122 uint i = pc + IRL!(IR.OrStart); in reverseBytecode()
123 while (code[i].code == IR.Option) in reverseBytecode()
125 if (code[i - 1].code != IR.OrStart) in reverseBytecode()
127 assert(code[i - 1].code == IR.GotoEndOr); in reverseBytecode()
131 auto newStart = i + IRL!(IR.Option); in reverseBytecode()
133 auto newRpc = r + code[i].data + IRL!(IR.Option); in reverseBytecode()
[all …]
H A Dkickstart.d154 case IR.Char: in ShiftOr()
164 case IR.GroupStart, IR.GroupEnd: in ShiftOr()
165 i += IRL!(IR.GroupStart); in ShiftOr()
167 case IR.Bof, IR.Bol, IR.Wordboundary, IR.Notwordboundary: in ShiftOr()
168 i += IRL!(IR.Bol); in ShiftOr()
190 case IR.Char: in ShiftOr()
196 t.pc += IRL!(IR.Char); in ShiftOr()
198 case IR.OrChar://assumes IRL!(OrChar) == 1 in ShiftOr()
227 case IR.CodepointSet: in ShiftOr()
228 case IR.Trie: in ShiftOr()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/regex/internal/
H A Dgenerator.d18 import std.regex.internal.ir : Regex, IR, IRL; in SampleGenerator()
49 case IR.Char: in SampleGenerator()
51 pc += IRL!(IR.Char); in SampleGenerator()
53 case IR.OrChar: in SampleGenerator()
58 case IR.CodepointSet: in SampleGenerator()
59 case IR.Trie: in SampleGenerator()
64 pc += IRL!(IR.CodepointSet); in SampleGenerator()
66 case IR.Any: in SampleGenerator()
73 pc += IRL!(IR.Any); in SampleGenerator()
75 case IR.GotoEndOr: in SampleGenerator()
[all …]
H A Dbacktracking.d346 case IR.OrChar://assumes IRL!(OrChar) == 1 in matchImpl()
362 case IR.Char: in matchImpl()
365 pc += IRL!(IR.Char); in matchImpl()
368 case IR.Any: in matchImpl()
371 pc += IRL!(IR.Any); in matchImpl()
374 case IR.CodepointSet: in matchImpl()
378 pc += IRL!(IR.CodepointSet); in matchImpl()
380 case IR.Trie: in matchImpl()
384 pc += IRL!(IR.Trie); in matchImpl()
386 case IR.Wordboundary: in matchImpl()
[all …]
H A Dthompson.d92 static bool op(IR code:IR.End)(E e, S* state)
108 static bool op(IR code:IR.Wordboundary)(E e, S* state)
117 t.pc += IRL!(IR.Wordboundary); in with()
123 t.pc += IRL!(IR.Wordboundary); in with()
132 t.pc += IRL!(IR.Wordboundary); in with()
140 static bool op(IR code:IR.Notwordboundary)(E e, S* state)
165 t.pc += IRL!(IR.Notwordboundary); in with()
170 static bool op(IR code:IR.Bof)(E e, S* state)
176 t.pc += IRL!(IR.Bof); in with()
186 static bool op(IR code:IR.Bol)(E e, S* state)
[all …]
H A Dparser.d103 if (code[pc].code == IR.GotoEndOr) in reverseBytecode()
114 if (code[pc].code == IR.LookbehindStart in reverseBytecode()
115 || code[pc].code == IR.NeglookbehindStart) in reverseBytecode()
128 if (code[pc].code == IR.OrStart) in reverseBytecode()
133 uint i = pc + IRL!(IR.OrStart); in reverseBytecode()
134 while (code[i].code == IR.Option) in reverseBytecode()
136 if (code[i - 1].code != IR.OrStart) in reverseBytecode()
138 assert(code[i - 1].code == IR.GotoEndOr); in reverseBytecode()
142 auto newStart = i + IRL!(IR.Option); in reverseBytecode()
144 auto newRpc = r + code[i].data + IRL!(IR.Option); in reverseBytecode()
[all …]
H A Dkickstart.d154 case IR.Char: in ShiftOr()
164 case IR.GroupStart, IR.GroupEnd: in ShiftOr()
165 i += IRL!(IR.GroupStart); in ShiftOr()
167 case IR.Bof, IR.Bol, IR.Wordboundary, IR.Notwordboundary: in ShiftOr()
168 i += IRL!(IR.Bol); in ShiftOr()
190 case IR.Char: in ShiftOr()
196 t.pc += IRL!(IR.Char); in ShiftOr()
198 case IR.OrChar://assumes IRL!(OrChar) == 1 in ShiftOr()
227 case IR.CodepointSet: in ShiftOr()
228 case IR.Trie: in ShiftOr()
[all …]
H A Dir.d107 enum IR:uint {
160 template IRL(IR code) in IRL()
164 static assert(IRL!(IR.LookaheadStart) == 3);
167 int immediateParamsIR(IR i) @safe pure nothrow @nogc in immediateParamsIR()
171 case IR.OrEnd,IR.InfiniteEnd,IR.InfiniteQEnd: in immediateParamsIR()
173 case IR.InfiniteBloomEnd: in immediateParamsIR()
175 case IR.RepeatEnd, IR.RepeatQEnd: in immediateParamsIR()
177 case IR.LookaheadStart, IR.NeglookaheadStart, IR.LookbehindStart, IR.NeglookbehindStart: in immediateParamsIR()
185 int lengthOfIR(IR i) @safe pure nothrow @nogc in lengthOfIR()
191 int lengthOfPairedIR(IR i) @safe pure nothrow @nogc in lengthOfPairedIR()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Passes/
H A DStandardInstrumentations.cpp192 const Module *unwrapModule(Any IR, bool Force = false) { in unwrapModule() argument
193 if (any_isa<const Module *>(IR)) in unwrapModule()
194 return any_cast<const Module *>(IR); in unwrapModule()
196 if (any_isa<const Function *>(IR)) { in unwrapModule()
197 const Function *F = any_cast<const Function *>(IR); in unwrapModule()
204 if (any_isa<const LazyCallGraph::SCC *>(IR)) { in unwrapModule()
205 const LazyCallGraph::SCC *C = any_cast<const LazyCallGraph::SCC *>(IR); in unwrapModule()
216 if (any_isa<const Loop *>(IR)) { in unwrapModule()
217 const Loop *L = any_cast<const Loop *>(IR); in unwrapModule()
260 std::string getIRName(Any IR) { in getIRName() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MCA/HardwareUnits/
H A DLSUnit.h115 void onGroupIssued(const InstRef &IR, bool ShouldUpdateCriticalDep) { in onGroupIssued() argument
122 unsigned Cycles = IR.getInstruction()->getCyclesLeft(); in onGroupIssued()
124 CriticalPredecessor.IID = IR.getSourceIndex(); in onGroupIssued()
135 void onInstructionIssued(const InstRef &IR) { in onInstructionIssued() argument
140 const Instruction &IS = *IR.getInstruction(); in onInstructionIssued()
144 CriticalMemoryInstruction = IR; in onInstructionIssued()
146 CriticalMemoryInstruction = IR; in onInstructionIssued()
163 void onInstructionExecuted(const InstRef &IR) { in onInstructionExecuted() argument
169 CriticalMemoryInstruction.getSourceIndex() == IR.getSourceIndex()) { in onInstructionExecuted()
256 virtual Status isAvailable(const InstRef &IR) const = 0;
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DPassManagerImpl.h36 AnalysisManager<IRUnitT, ExtraArgTs...>::clear(IRUnitT &IR, in clear() argument
38 if (auto *PI = getCachedResult<PassInstrumentationAnalysis>(IR)) in clear()
41 auto ResultsListI = AnalysisResultLists.find(&IR); in clear()
46 AnalysisResults.erase({IDAndResult.first, &IR}); in clear()
55 AnalysisKey *ID, IRUnitT &IR, ExtraArgTs... ExtraArgs) { in getResultImpl() argument
59 std::make_pair(ID, &IR), typename AnalysisResultListT::iterator())); in getResultImpl()
68 PI = getResult<PassInstrumentationAnalysis>(IR, ExtraArgs...); in getResultImpl()
69 PI.runBeforeAnalysis(P, IR); in getResultImpl()
72 AnalysisResultListT &ResultList = AnalysisResultLists[&IR]; in getResultImpl()
73 ResultList.emplace_back(ID, P.run(IR, *this, ExtraArgs...)); in getResultImpl()
[all …]
H A DPassManager.h421 getAnalysisResultUnpackTuple(AnalysisManagerT &AM, IRUnitT &IR, in getAnalysisResultUnpackTuple() argument
425 return AM.template getResult<PassT>(IR, std::get<Ns>(Args)...); in getAnalysisResultUnpackTuple()
436 getAnalysisResult(AnalysisManager<IRUnitT, AnalysisArgTs...> &AM, IRUnitT &IR, in getAnalysisResult() argument
439 PassT, IRUnitT>)(AM, IR, Args, in getAnalysisResult()
485 PreservedAnalyses run(IRUnitT &IR, AnalysisManagerT &AM, in run() argument
495 AM, IR, std::tuple<ExtraArgTs...>(ExtraArgs...)); in run()
503 if (!PI.runBeforePass<IRUnitT>(*P, IR)) in run()
508 TimeTraceScope TimeScope(P->name(), IR.getName()); in run()
509 PassPA = P->run(IR, AM, ExtraArgs...); in run()
514 PI.runAfterPass<IRUnitT>(*P, IR, PassPA); in run()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/
H A Dmodule.modulemap218 // IR). This is a workaround for ExecutionEngine's broken layering, and will
252 module IR_Argument { header "IR/Argument.h" export * }
254 header "IR/Attributes.h"
258 module IR_AbstractCallSite { header "IR/AbstractCallSite.h" export * }
259 module IR_ConstantFolder { header "IR/ConstantFolder.h" export * }
260 module IR_GlobalVariable { header "IR/GlobalVariable.h" export * }
261 module IR_NoFolder { header "IR/NoFolder.h" export * }
262 module IRBuilderFolder { header "IR/IRBuilderFolder.h" export * }
263 module IR_Module { header "IR/Module.h" export * }
264 module IR_ModuleSummaryIndex { header "IR/ModuleSummaryIndex.h" export * }
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MCA/Stages/
H A DExecuteStage.h37 Error issueInstruction(InstRef &IR);
44 Error handleInstructionEliminated(InstRef &IR);
62 bool isAvailable(const InstRef &IR) const override;
73 Error execute(InstRef &IR) override;
76 const InstRef &IR,
78 void notifyInstructionExecuted(const InstRef &IR) const;
79 void notifyInstructionPending(const InstRef &IR) const;
80 void notifyInstructionReady(const InstRef &IR) const;
84 void notifyReservedOrReleasedBuffers(const InstRef &IR, bool Reserved) const;
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MCA/
H A DHWEventListener.h53 : Type(type), IR(Inst) {} in HWInstructionEvent()
59 const InstRef &IR; variable
65 HWInstructionIssuedEvent(const InstRef &IR, in HWInstructionIssuedEvent() argument
67 : HWInstructionEvent(HWInstructionEvent::Issued, IR), UsedResources(UR) {} in HWInstructionIssuedEvent()
74 HWInstructionDispatchedEvent(const InstRef &IR, ArrayRef<unsigned> Regs, in HWInstructionDispatchedEvent() argument
76 : HWInstructionEvent(HWInstructionEvent::Dispatched, IR), in HWInstructionDispatchedEvent()
95 HWInstructionRetiredEvent(const InstRef &IR, ArrayRef<unsigned> Regs) in HWInstructionRetiredEvent() argument
96 : HWInstructionEvent(HWInstructionEvent::Retired, IR), in HWInstructionRetiredEvent()
120 HWStallEvent(unsigned type, const InstRef &Inst) : Type(type), IR(Inst) {} in HWStallEvent()
126 const InstRef &IR; variable

12345678910>>...25