Lines Matching defs:functions

9 // This pass eliminates local data store, LDS, uses from non-kernel functions.
15 // static variables, accessible from kernels or other functions. For uses from
18 // For uses from functions there are performance tradeoffs to choose between.
32 // - if the address is allowed to differ, functions need help to find it
39 // Uses from functions are more complicated and the primary purpose of this
74 // non-kernel functions and creates a new struct with a field for each of those
79 // functions it calls through the intrinsic amdgcn_lds_kernel_id. The integer
86 // Third, uses from non-kernel functions are replaced with a table lookup using
105 // - Kernels that don't use functions (or have had them all inlined) are not
267 // presently approximated to 'all kernels' if there are any such functions
441 for (Function &Func : M.functions()) {
556 for (Function &Func : M->functions()) {
671 // Replace all uses of those variables from non-kernel functions with the
672 // new struct instance Replace only the uses from kernel functions that will
698 // Replace all uses of module scope variable from non-kernel functions
709 // Replace uses of module scope variable from kernel functions that
713 for (Function &Func : M.functions()) {
745 for (Function &Func : M.functions()) {
759 // this struct instance can find them from nested functions.
1014 // Strip amdgpu-no-lds-kernel-id from all functions reachable from the
1032 for (Function &Func : M.functions()) {
1405 "Lower uses of LDS variables from non-kernel functions",
1409 "Lower uses of LDS variables from non-kernel functions",