Lines Matching refs:SAI
166 const ScopArrayInfo *SAI) { in isScalarUsesContainedInScop() argument
167 assert(SAI->isValueKind() && "this function only deals with scalars." in isScalarUsesContainedInScop()
171 for (User *U : SAI->getBasePtr()->users()) { in isScalarUsesContainedInScop()
193 for (ScopArrayInfo *SAI : S.arrays()) { in computeMustKillsInfo()
194 if (SAI->isPHIKind() || in computeMustKillsInfo()
195 (SAI->isValueKind() && isScalarUsesContainedInScop(S, SAI))) in computeMustKillsInfo()
196 KillMemIds.push_back(isl::manage(SAI->getBasePtrId().release())); in computeMustKillsInfo()
1491 for (auto &SAI : S.arrays()) in getReferencesInKernel() local
1492 SubtreeValues.remove(SAI->getBasePtr()); in getReferencesInKernel()
1640 const ScopArrayInfo *SAI = ScopArrayInfo::getFromId(isl::manage(Id)); in createLaunchParameters() local
1643 ArgSizes[Index] = SAI->getElemSizeInBytes(); in createLaunchParameters()
1648 const_cast<ScopArrayInfo *>(SAI)); in createLaunchParameters()
1650 DevArray = DeviceAllocations[const_cast<ScopArrayInfo *>(SAI)]; in createLaunchParameters()
1659 DevArray, SAI->getElementType()->getPointerTo()); in createLaunchParameters()
1671 ValPtr = BlockGen.getOrCreateAlloca(SAI); in createLaunchParameters()
1928 const ScopArrayInfo *SAI = ScopArrayInfo::getFromId(isl::manage(Id)); in createKernelFunctionDecl() local
1929 Args.push_back(SAI->getElementType()); in createKernelFunctionDecl()
2008 const ScopArrayInfo *SAI = ScopArrayInfo::getFromId(isl::manage_copy(Id)); in createKernelFunctionDecl() local
2009 Type *EleTy = SAI->getElementType(); in createKernelFunctionDecl()
2144 const ScopArrayInfo *SAI = ScopArrayInfo::getFromId(isl::manage_copy(Id)); in prepareKernelArguments() local
2147 if (SAI->getNumberOfDimensions() > 0) { in prepareKernelArguments()
2155 Type *TypePtr = SAI->getElementType()->getPointerTo(); in prepareKernelArguments()
2160 Value *Alloca = BlockGen.getOrCreateAlloca(SAI); in prepareKernelArguments()
2177 const ScopArrayInfo *SAI = ScopArrayInfo::getFromId(isl::manage_copy(Id)); in finalizeKernelArguments() local
2180 if (SAI->getNumberOfDimensions() > 0) { in finalizeKernelArguments()
2190 Value *Alloca = BlockGen.getOrCreateAlloca(SAI); in finalizeKernelArguments()
2192 Type *TypePtr = SAI->getElementType()->getPointerTo(); in finalizeKernelArguments()
2242 const ScopArrayInfo *SAI; in createKernelVariables() local
2257 SAI = in createKernelVariables()
2263 IDToSAI[Id] = SAI; in createKernelVariables()
3083 make_filter_range(S->arrays(), [this](ScopArrayInfo *SAI) -> bool { in createPPCGProg() argument
3084 return !getExtent(SAI).is_empty(); in createPPCGProg()