Lines Matching refs:SetVector
131 SetVector<GlobalVariable *> StaticLDSGlobals;
132 SetVector<GlobalVariable *> DynamicLDSGlobals;
156 SetVector<Function *> OrderedKernels;
157 SetVector<GlobalVariable *> OrdereLDSGlobals;
163 SetVector<Instruction *> Instructions;
168 SetVector<Function *> KernelsWithIndirectLDSAccess;
169 SetVector<Function *> NonKernelsWithLDSArgument;
170 SetVector<GlobalVariable *> AllNonKernelLDSAccess;
182 SetVector<Function *>
183 getOrderedIndirectLDSAccessingKernels(SetVector<Function *> &Kernels);
184 SetVector<GlobalVariable *>
185 getOrderedNonKernelAllLDSGlobals(SetVector<GlobalVariable *> &Variables);
192 SetVector<Instruction *> &LDSInstructions);
197 SetVector<Instruction *> &LDSInstructions);
204 SetVector<GlobalVariable *> &Variables);
206 SetVector<GlobalVariable *> &LDSGlobals,
211 SetVector<GlobalVariable *> &DynamicLDSGlobals);
223 template <typename T> SetVector<T> sortByName(std::vector<T> &&V) { in sortByName()
229 return {SetVector<T>(llvm::from_range, V)}; in sortByName()
232 SetVector<GlobalVariable *> AMDGPUSwLowerLDS::getOrderedNonKernelAllLDSGlobals( in getOrderedNonKernelAllLDSGlobals()
233 SetVector<GlobalVariable *> &Variables) { in getOrderedNonKernelAllLDSGlobals()
239 SetVector<Function *> AMDGPUSwLowerLDS::getOrderedIndirectLDSAccessingKernels( in getOrderedIndirectLDSAccessingKernels()
240 SetVector<Function *> &Kernels) { in getOrderedIndirectLDSAccessingKernels()
247 SetVector<Function *> OrderedKernels = in getOrderedIndirectLDSAccessingKernels()
422 SetVector<GlobalVariable *> UniqueLDSGlobals; in populateSwMetadataGlobal()
425 [&](SetVector<GlobalVariable *> &LDSGlobals) { in populateSwMetadataGlobal()
458 SetVector<GlobalVariable *> SwLDSVector; in populateSwMetadataGlobal()
499 SetVector<GlobalVariable *> UniqueLDSGlobals; in populateLDSToReplacementIndicesMap()
500 auto PopulateIndices = [&](SetVector<GlobalVariable *> &LDSGlobals, in populateLDSToReplacementIndicesMap()
511 SetVector<GlobalVariable *> SwLDSVector; in populateLDSToReplacementIndicesMap()
547 SetVector<GlobalVariable *> UniqueLDSGlobals; in replaceKernelLDSAccesses()
548 auto ReplaceLDSGlobalUses = [&](SetVector<GlobalVariable *> &LDSGlobals) { in replaceKernelLDSAccesses()
583 SetVector<GlobalVariable *> &DynamicLDSGlobals) { in updateMallocSizeForDynamicLDS()
640 Function *Func, SetVector<Instruction *> &LDSInstructions) { in getLDSMemoryInstructions()
683 SetVector<Instruction *> &LDSInstructions) { in translateLDSMemoryOperationsToGlobalMemory()
775 SetVector<Instruction *> LDSInstructions; in lowerKernelLDSAccesses()
815 SetVector<GlobalVariable *> UniqueLDSGlobals; in lowerKernelLDSAccesses()
816 auto GetUniqueLDSGlobals = [&](SetVector<GlobalVariable *> &LDSGlobals) { in lowerKernelLDSAccesses()
955 Function *Func, SetVector<GlobalVariable *> &Variables) { in getAddressesOfVariablesInKernel()
1058 Function *Func, SetVector<GlobalVariable *> &LDSGlobals, in lowerNonKernelLDSAccesses()
1068 SetVector<Instruction *> LDSInstructions; in lowerNonKernelLDSAccesses()
1252 SetVector<GlobalVariable *> OrderedLDSGlobals = sortByName( in run()
1260 SetVector<llvm::GlobalVariable *> Vec; in run()