Home
last modified time | relevance | path

Searched refs:Resources (Results 1 – 25 of 65) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILResourceAnalysis.h28 typedef dxil::Resources Result;
29 dxil::Resources run(Module &M, ModuleAnalysisManager &AM);
45 dxil::Resources Resources;
52 dxil::Resources &getDXILResource() { return Resources; } in getDXILResource()
53 const dxil::Resources &getDXILResource() const { return Resources; }
44 dxil::Resources Resources; global() variable
H A DDXILResourceAnalysis.cpp21 dxil::Resources DXILResourceAnalysis::run(Module &M, in run()
23 dxil::Resources R; in run()
32 dxil::Resources Res = AM.getResult<DXILResourceAnalysis>(M); in run()
44 Resources.collect(M); in runOnModule()
51 Resources.print(OS); in print()
H A DDXILMetadata.cpp233 MDTuple *emitEntryTuple(MDTuple *Resources, uint64_t RawShaderFlag) { in emitEntryTuple() argument
238 &F, F.getName().str(), Signatures, Resources, in emitEntryTuple()
254 static MDTuple *emitEmptyEntryForLib(MDTuple *Resources, in emitEmptyEntryForLib() argument
258 nullptr, "", nullptr, Resources, in emitEmptyEntryForLib()
265 MDTuple *Resources, in emitDXILEntryPointTuple() argument
272 MDVals[3] = Resources; in emitDXILEntryPointTuple()
H A DDXILResource.cpp53 void Resources::collect(Module &M) { in collect()
336 void Resources::write(Module &M) const { in write()
356 void Resources::print(raw_ostream &O) const { in print()
369 void Resources::dump() const { print(dbgs()); } in dump()
H A DDXILPrettyPrinter.cpp57 dxil::Resources &Res = getAnalysis<DXILResourceWrapper>().getDXILResource(); in INITIALIZE_PASS_DEPENDENCY()
H A DDXILTranslateMetadata.cpp53 const dxil::Resources &Res = in runOnModule()
H A DDXILResource.h114 class Resources {
/freebsd/contrib/llvm-project/llvm/lib/MCA/HardwareUnits/
H A DResourceManager.cpp112 : Resources(SM.getNumProcResourceKinds() - 1), in ResourceManager()
130 Resources[Index] = in ResourceManager()
132 Strategies[Index] = getStrategyFor(*Resources[Index]); in ResourceManager()
138 const ResourceState &RS = *Resources[Index]; in ResourceManager()
161 assert(Index < Resources.size() && "Invalid processor resource index!"); in setCustomStrategyImpl()
171 return Resources[getResourceStateIndex(ResourceID)]->getNumUnits(); in getNumUnits()
179 assert(Index < Resources.size() && "Invalid resource use!"); in selectPipe()
180 ResourceState &RS = *Resources[Index]; in selectPipe()
197 ResourceState &RS = *Resources[RSID]; in use()
216 ResourceState &CurrentUser = *Resources[GroupInde in use()
[all...]
H A DScheduler.cpp36 Resources->dump(); in dump()
42 Resources->canBeDispatched(IR.getInstruction()->getUsedBuffers()); in isAvailable()
78 Resources->issueInstruction(D, UsedResources); in issueInstructionImpl()
108 Resources->releaseBuffers(Inst.getUsedBuffers()); in issueInstruction()
199 uint64_t BusyResourceMask = Resources->checkAvailability(IS.getDesc()); in select()
253 if (Resources->checkAvailability(IS.getDesc())) in analyzeDataDependencies()
271 Resources->cycleEvent(Freed); in cycleEvent()
302 Resources->reserveBuffers(IS.getUsedBuffers()); in dispatch()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonHazardRecognizer.cpp29 Resources->clearResources(); in Reset()
44 if (!Resources->canReserveResources(*MI)) { in getHazardType()
54 if (Resources->canReserveResources(*NewMI)) in getHazardType()
74 Resources->clearResources(); in AdvanceCycle()
126 if (!Resources->canReserveResources(*MI) || isNewStore(*MI)) { in EmitInstruction()
134 if (Resources->canReserveResources(*NewMI)) in EmitInstruction()
135 Resources->reserveResources(*NewMI); in EmitInstruction()
137 Resources->reserveResources(*MI); in EmitInstruction()
140 Resources->reserveResources(*MI); in EmitInstruction()
166 Resources->canReserveResources(*S.getSUnit()->getInstr())) { in EmitInstruction()
H A DHexagonHazardRecognizer.h23 DFAPacketizer *Resources; variable
51 : Resources(ST.createDFAPacketizer(II)), TII(HII) { } in HexagonHazardRecognizer()
54 if (Resources) in ~HexagonHazardRecognizer()
55 delete Resources; in ~HexagonHazardRecognizer() local
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDFAPacketizerEmitter.cpp57 ResourceVector Resources; member
178 ResourceVector Resources; in getResourcesForItinerary() local
186 Resources.push_back(StageResources); in getResourcesForItinerary()
188 return Resources; in getResourcesForItinerary()
199 ResourceVector Resources = getResourcesForItinerary(Itinerary); in createScheduleClasses() local
201 {ItineraryIdx, Idx++, UniqueResources.insert(Resources), Resources}); in createScheduleClasses()
309 for (NfaStateTy Resources : InsnClass) { in emitForItineraries() local
310 if ((State | Resources) == State) in emitForItineraries()
323 for (const ResourceVector &Resources : UniqueResources) { in emitForItineraries() local
324 if (!canApplyInsnClass(Resources, State)) in emitForItineraries()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/
H A DPipelinePrinter.cpp81 json::Array Resources; in getJSONTargetInfo() local
98 Resources.push_back(ResourceName); in getJSONTargetInfo()
102 return json::Object({{"CPUName", MCPU}, {"Resources", std::move(Resources)}}); in getJSONTargetInfo()
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/HardwareUnits/
H A DScheduler.h77 std::unique_ptr<ResourceManager> Resources; variable
167 : LSU(Lsu), Resources(std::move(RM)), BusyResourceUnits(0), in Scheduler()
235 return Resources->resolveResourceMask(Mask); in getResourceID()
H A DResourceManager.h200 /// Resources can be reserved for a number of cycles.
339 std::vector<std::unique_ptr<ResourceState>> Resources; variable
439 for (const std::unique_ptr<ResourceState> &Resource : Resources) in dump()
/freebsd/contrib/file/magic/Magdir/
H A Dnatinst21 # This is for General Resources
22 >8 string rsc Resources File, data
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DDXContainer.h131 ResourceArray Resources; variable
151 uint32_t getResourceCount() const { return Resources.size(); } in getResourceCount()
152 ResourceArray getResources() const { return Resources; } in getResources()
162 uint32_t getResourceStride() const { return Resources.Stride; } in getResourceStride()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DDXContainer.cpp290 if (Error Err = readInteger(Data, Current, Resources.Stride)) in parse()
294 size_t BindingDataSize = Resources.Stride * ResourceCount; in parse()
295 Resources.Data = Data.substr(Current - Data.begin(), BindingDataSize); in parse()
297 if (Resources.Data.size() < BindingDataSize) in parse()
303 Resources.Stride = sizeof(v2::ResourceBindInfo); in parse()
H A DWindowsResource.cpp624 const WindowsResourceParser::TreeNode &Resources; member in llvm::object::WindowsResourceCOFFWriter
642 : MachineType(MachineType), Resources(Parser.getTree()), in WindowsResourceCOFFWriter()
672 SectionOneSize = Resources.getTreeSize(); in performSectionOneLayout()
874 Queue.push(&Resources); in writeDirectoryTree()
876 sizeof(coff_resource_dir_table) + (Resources.getStringChildren().size() + in writeDirectoryTree()
877 Resources.getIDChildren().size()) * in writeDirectoryTree()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DDXContainerPSVInfo.cpp99 uint32_t ResourceCount = static_cast<uint32_t>(Resources.size()); in write()
105 for (const auto &Res : Resources) in write()
186 for (auto &Res : Resources) in finalize()
/freebsd/crypto/heimdal/doc/
H A Ddoxytmpl.dxy230 MSCGEN_PATH = /Applications/Doxygen.app/Contents/Resources/
245 DOT_PATH = /Applications/Doxygen.app/Contents/Resources/
/freebsd/contrib/llvm-project/llvm/lib/MCA/Stages/
H A DInstructionTables.cpp28 Desc.Resources) { in execute()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DDXContainerConstants.def40 SHADER_FEATURE_FLAG(22, 27, AtomicInt64OnTypedResource, "64-bit Atomics on Typed Resources")
46 SHADER_FEATURE_FLAG(28, 32, AtomicInt64OnHeapResource, "64-bit Atomics on Heap Resources")
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DDXContainerPSVInfo.h55 SmallVector<dxbc::PSV::v2::ResourceBindInfo> Resources; member
/freebsd/contrib/llvm-project/llvm/lib/MCA/
H A DInstrBuilder.cpp131 ID.Resources.emplace_back(A); in initializeUsedResources()
173 for (ResourcePlusCycles &RPC : ID.Resources) { in initializeUsedResources()
203 for (const std::pair<uint64_t, ResourceUsage> &R : ID.Resources) in initializeUsedResources()
532 bool UsesResources = !ID.Resources.empty(); in verifyInstrDesc()

123