Lines Matching refs:PPCGArray
2900 void setArrayBounds(gpu_array_info &PPCGArray, ScopArrayInfo *Array) { in setArrayBounds() argument
2903 if (PPCGArray.n_index > 0) { in setArrayBounds()
2904 if (isl_set_is_empty(PPCGArray.extent)) { in setArrayBounds()
2905 isl_set *Dom = isl_set_copy(PPCGArray.extent); in setArrayBounds()
2912 isl_set *Dom = isl_set_copy(PPCGArray.extent); in setArrayBounds()
2913 Dom = isl_set_project_out(Dom, isl_dim_set, 1, PPCGArray.n_index - 1); in setArrayBounds()
2927 for (unsigned i = 1; i < PPCGArray.n_index; ++i) { in setArrayBounds()
2981 isl_space *BoundsSpace = isl_set_get_space(PPCGArray.extent); in setArrayBounds()
2987 PPCGArray.bound = in setArrayBounds()
2989 assert(PPCGArray.bound && "PPCGArray.bound was not constructed correctly."); in setArrayBounds()
3005 gpu_array_info &PPCGArray = PPCGProg->array[i]; in createArrays() local
3007 PPCGArray.space = Array->getSpace().release(); in createArrays()
3008 PPCGArray.type = strdup(TypeName.c_str()); in createArrays()
3009 PPCGArray.size = DL->getTypeAllocSize(Array->getElementType()); in createArrays()
3010 PPCGArray.name = strdup(Array->getName().c_str()); in createArrays()
3011 PPCGArray.extent = nullptr; in createArrays()
3012 PPCGArray.n_index = Array->getNumberOfDimensions(); in createArrays()
3013 PPCGArray.extent = getExtent(Array).release(); in createArrays()
3014 PPCGArray.n_ref = 0; in createArrays()
3015 PPCGArray.refs = nullptr; in createArrays()
3016 PPCGArray.accessed = true; in createArrays()
3017 PPCGArray.read_only_scalar = in createArrays()
3019 PPCGArray.has_compound_element = false; in createArrays()
3020 PPCGArray.local = false; in createArrays()
3021 PPCGArray.declare_local = false; in createArrays()
3022 PPCGArray.global = false; in createArrays()
3023 PPCGArray.linearize = false; in createArrays()
3024 PPCGArray.dep_order = nullptr; in createArrays()
3025 PPCGArray.user = Array; in createArrays()
3027 PPCGArray.bound = nullptr; in createArrays()
3028 setArrayBounds(PPCGArray, Array); in createArrays()
3031 collect_references(PPCGProg, &PPCGArray); in createArrays()
3032 PPCGArray.only_fixed_element = only_fixed_element_accessed(&PPCGArray); in createArrays()