Home
last modified time | relevance | path

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

12345678910>>...35

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/
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 …]
DLSUnit.cpp69 unsigned LSUnit::dispatch(const InstRef &IR) { in dispatch() argument
70 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in dispatch()
153 LSUnit::Status LSUnit::isAvailable(const InstRef &IR) const { in isAvailable()
154 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in isAvailable()
162 void LSUnitBase::onInstructionExecuted(const InstRef &IR) { in onInstructionExecuted() argument
163 unsigned GroupID = IR.getInstruction()->getLSUTokenID(); in onInstructionExecuted()
171 void LSUnitBase::onInstructionRetired(const InstRef &IR) { in onInstructionRetired() argument
172 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in onInstructionRetired()
179 LLVM_DEBUG(dbgs() << "[LSUnit]: Instruction idx=" << IR.getSourceIndex() in onInstructionRetired()
185 LLVM_DEBUG(dbgs() << "[LSUnit]: Instruction idx=" << IR.getSourceIndex() in onInstructionRetired()
[all …]
DRetireControlUnit.cpp41 unsigned RetireControlUnit::dispatch(const InstRef &IR) { in dispatch() argument
42 const Instruction &Inst = *IR.getInstruction(); in dispatch()
47 Queue[NextAvailableSlotIdx] = {IR, Entries, false}; in dispatch()
58 const Instruction *Inst = Current.IR.getInstruction(); in getCurrentToken()
76 Current.IR.getInstruction()->retire(); in consumeCurrentToken()
87 assert(Queue[TokenID].IR.getInstruction() && "Instruction was not dispatched!"); in onInstructionExecuted()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/Stages/
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 …]
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 …]
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()
DRetireStage.cpp37 notifyInstructionRetired(Current.IR); in cycleStart()
45 llvm::Error RetireStage::execute(InstRef &IR) { in execute() argument
46 RCU.onInstructionExecuted(IR.getInstruction()->getRCUTokenID()); in execute()
50 void RetireStage::notifyInstructionRetired(const InstRef &IR) const { in notifyInstructionRetired()
51 LLVM_DEBUG(llvm::dbgs() << "[E] Instruction Retired: #" << IR << '\n'); in notifyInstructionRetired()
53 const Instruction &Inst = *IR.getInstruction(); in notifyInstructionRetired()
57 LSU.onInstructionRetired(IR); in notifyInstructionRetired()
61 notifyEvent<HWInstructionEvent>(HWInstructionRetiredEvent(IR, FreedRegs)); in notifyInstructionRetired()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Passes/
DStandardInstrumentations.cpp34 Optional<std::pair<const Module *, std::string>> unwrapModule(Any IR) { in unwrapModule() argument
35 if (any_isa<const Module *>(IR)) in unwrapModule()
36 return std::make_pair(any_cast<const Module *>(IR), std::string()); in unwrapModule()
38 if (any_isa<const Function *>(IR)) { in unwrapModule()
39 const Function *F = any_cast<const Function *>(IR); in unwrapModule()
46 if (any_isa<const LazyCallGraph::SCC *>(IR)) { in unwrapModule()
47 const LazyCallGraph::SCC *C = any_cast<const LazyCallGraph::SCC *>(IR); in unwrapModule()
58 if (any_isa<const Loop *>(IR)) { in unwrapModule()
59 const Loop *L = any_cast<const Loop *>(IR); in unwrapModule()
106 void unwrapAndPrint(Any IR, StringRef Banner, bool ForceModule = false) { in unwrapAndPrint() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/HardwareUnits/
DLSUnit.h103 void onGroupIssued(const InstRef &IR) { in onGroupIssued() argument
107 unsigned Cycles = IR.getInstruction()->getCyclesLeft(); in onGroupIssued()
109 CriticalPredecessor.IID = IR.getSourceIndex(); in onGroupIssued()
120 void onInstructionIssued(const InstRef &IR) { in onInstructionIssued() argument
125 const Instruction &IS = *IR.getInstruction(); in onInstructionIssued()
129 CriticalMemoryInstruction = IR; in onInstructionIssued()
131 CriticalMemoryInstruction = IR; in onInstructionIssued()
230 virtual Status isAvailable(const InstRef &IR) const = 0;
238 virtual unsigned dispatch(const InstRef &IR) = 0;
250 bool isReady(const InstRef &IR) const { in isReady() argument
[all …]
DScheduler.h138 InstRef &IR,
186 Status isAvailable(const InstRef &IR);
198 bool dispatch(InstRef &IR);
204 InstRef &IR,
211 bool mustIssueImmediately(const InstRef &IR) const;
269 void sanityCheck(const InstRef &IR) const { in sanityCheck() argument
270 assert(find(WaitSet, IR) == WaitSet.end() && "Already in the wait set!"); in sanityCheck()
271 assert(find(ReadySet, IR) == ReadySet.end() && "Already in the ready set!"); in sanityCheck()
272 assert(find(IssuedSet, IR) == IssuedSet.end() && "Already executing!"); in sanityCheck()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPassManager.h420 getAnalysisResultUnpackTuple(AnalysisManagerT &AM, IRUnitT &IR, in getAnalysisResultUnpackTuple() argument
424 return AM.template getResult<PassT>(IR, std::get<Ns>(Args)...); in getAnalysisResultUnpackTuple()
435 getAnalysisResult(AnalysisManager<IRUnitT, AnalysisArgTs...> &AM, IRUnitT &IR, in getAnalysisResult() argument
438 PassT, IRUnitT>)(AM, IR, Args, in getAnalysisResult()
489 PreservedAnalyses run(IRUnitT &IR, AnalysisManagerT &AM, in run() argument
499 AM, IR, std::tuple<ExtraArgTs...>(ExtraArgs...)); in run()
507 dbgs() << "Running pass: " << P->name() << " on " << IR.getName() in run()
513 if (!PI.runBeforePass<IRUnitT>(*P, IR)) in run()
516 PreservedAnalyses PassPA = P->run(IR, AM, ExtraArgs...); in run()
520 PI.runAfterPass<IRUnitT>(*P, IR); in run()
[all …]
DPassInstrumentation.h144 bool runBeforePass(const PassT &Pass, const IRUnitT &IR) const { in runBeforePass() argument
150 ShouldRun &= C(Pass.name(), llvm::Any(&IR)); in runBeforePass()
158 void runAfterPass(const PassT &Pass, const IRUnitT &IR) const { in runAfterPass() argument
161 C(Pass.name(), llvm::Any(&IR)); in runAfterPass()
177 void runBeforeAnalysis(const PassT &Analysis, const IRUnitT &IR) const { in runBeforeAnalysis() argument
180 C(Analysis.name(), llvm::Any(&IR)); in runBeforeAnalysis()
186 void runAfterAnalysis(const PassT &Analysis, const IRUnitT &IR) const { in runAfterAnalysis() argument
189 C(Analysis.name(), llvm::Any(&IR)); in runAfterAnalysis()
DPassManagerInternal.h46 virtual PreservedAnalyses run(IRUnitT &IR, AnalysisManagerT &AM,
77 PreservedAnalysesT run(IRUnitT &IR, AnalysisManagerT &AM, in run()
79 return Pass.run(IR, AM, ExtraArgs...); in run()
110 virtual bool invalidate(IRUnitT &IR, const PreservedAnalysesT &PA,
226 bool invalidate(IRUnitT &IR, const PreservedAnalysesT &PA,
228 return Result.invalidate(IR, PA, Inv);
248 run(IRUnitT &IR, AnalysisManager<IRUnitT, ExtraArgTs...> &AM,
290 run(IRUnitT &IR, AnalysisManager<IRUnitT, ExtraArgTs...> &AM,
293 Pass.run(IR, AM, std::forward<ExtraArgTs>(ExtraArgs)...));
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/Stages/
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;
DDispatchStage.h59 bool checkRCU(const InstRef &IR) const;
60 bool checkPRF(const InstRef &IR) const;
61 bool canDispatch(const InstRef &IR) const;
62 Error dispatch(InstRef IR);
64 void notifyInstructionDispatched(const InstRef &IR,
73 bool isAvailable(const InstRef &IR) const override;
79 Error execute(InstRef &IR) override;
DStage.h42 virtual bool isAvailable(const InstRef &IR) const { return true; } in isAvailable() argument
55 virtual Error execute(InstRef &IR) = 0;
62 bool checkNextStage(const InstRef &IR) const { in checkNextStage() argument
63 return NextInSequence && NextInSequence->isAvailable(IR); in checkNextStage()
70 Error moveToTheNextStage(InstRef &IR) { in moveToTheNextStage() argument
71 assert(checkNextStage(IR) && "Next stage is not ready!"); in moveToTheNextStage()
72 return NextInSequence->execute(IR); in moveToTheNextStage()
DMicroOpQueueStage.h54 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;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/
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
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/
Dmodule.modulemap193 // IR). This is a workaround for ExecutionEngine's broken layering, and will
227 module IR_Argument { header "IR/Argument.h" export * }
229 header "IR/Attributes.h"
233 module IR_CallSite { header "IR/CallSite.h" export * }
234 module IR_ConstantFolder { header "IR/ConstantFolder.h" export * }
235 module IR_GlobalVariable { header "IR/GlobalVariable.h" export * }
236 module IR_NoFolder { header "IR/NoFolder.h" export * }
237 module IR_Module { header "IR/Module.h" export * }
238 module IR_ModuleSummaryIndex { header "IR/ModuleSummaryIndex.h" export * }
239 module IR_ModuleSummaryIndexYAML { header "IR/ModuleSummaryIndexYAML.h" export * }
[all …]
Dmodule.install.modulemap11 textual header "IR/Attributes.gen"
12 textual header "IR/Attributes.inc"
16 textual header "IR/Intrinsics.gen"
17 textual header "IR/Intrinsics.inc"
21 textual header "IR/IntrinsicEnums.inc"
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/
DCMakeLists.txt74 "include/llvm/IR/Argument.h"
75 "include/llvm/IR/Attributes.h"
76 "include/llvm/IR/BasicBlock.h"
77 "include/llvm/IR/CallingConv.h"
78 "include/llvm/IR/Constant.h"
79 "include/llvm/IR/DebugLoc.h"
80 "include/llvm/IR/DerivedTypes.h"
81 "include/llvm/IR/Function.h"
82 "include/llvm/IR/GlobalObject.h"
83 "include/llvm/IR/GlobalValue.h"
[all …]
/third_party/libphonenumber/resources/carrier/en/
D98.txt20 9891|IR-MCI
26 98990|IR-MCI
27 98991|IR-MCI
28 98994|IR-MCI
29 98996|IR-MCI
/third_party/mesa3d/src/compiler/glsl/
DREADME17 ir.h for the IR structures.
35 7) The driver performs code generation out of the IR, taking a linked
37 ../mesa/program/ir_to_mesa.cpp for Mesa IR code generation.
41 Q: What is HIR versus IR versus LIR?
44 high-level IR ("HIR"), with things like matrix operations, structure
49 producing a low level IR ("LIR").
54 accesses, and matrix multiplication broken down. The Mesa IR backend
57 shader IR backend could potentially even handle some matrix operations
58 without breaking them down, but the 965 fragment shader IR backend
61 low-level IR that will make everyone happy. So that usage has fallen
[all …]
/third_party/mesa3d/src/compiler/nir/
DREADME1 New IR, or NIR, is an IR for Mesa intended to sit below GLSL IR and Mesa IR.
4 flat (in terms of using instructions instead of expressions), typeless IR,
5 similar to TGSI and Mesa IR. It also supports SSA (although it doesn't require
12 copied from GLSL IR. These will be used for linking and conversion from GLSL IR
43 Support for function calls is mostly similar to GLSL IR. Each shader contains a
71 number of variables needed in later stages of the IR while obviating the need
97 the GLSL IR one. The biggest difference is that, while the texture instruction
98 has a sampler dereference field used just like in GLSL IR, this gets lowered to
107 Like in GLSL IR, control flow consists of a tree of "control flow nodes", which
109 return). Unlike GLSL IR, though, the leaves of the tree aren't statements but
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/
DAndroid.bp409 "llvm/lib/IR/AbstractCallSite.cpp",
410 "llvm/lib/IR/AsmWriter.cpp",
411 "llvm/lib/IR/Attributes.cpp",
412 "llvm/lib/IR/AutoUpgrade.cpp",
413 "llvm/lib/IR/BasicBlock.cpp",
414 "llvm/lib/IR/Comdat.cpp",
415 "llvm/lib/IR/ConstantFold.cpp",
416 "llvm/lib/IR/ConstantRange.cpp",
417 "llvm/lib/IR/Constants.cpp",
418 "llvm/lib/IR/DataLayout.cpp",
[all …]

12345678910>>...35