Lines Matching refs:CombinedInfo
7392 MapCombinedInfoTy &CombinedInfo, StructRangeInfoTy &PartialStruct, in generateInfoForComponentList() argument
7656 bool IsNonContiguous = CombinedInfo.NonContigInfo.IsNonContiguous; in generateInfoForComponentList()
7794 CombinedInfo.Exprs.emplace_back(MapDecl, MapExpr); in generateInfoForComponentList()
7795 CombinedInfo.BasePointers.push_back(BP.getPointer()); in generateInfoForComponentList()
7796 CombinedInfo.Pointers.push_back(LB.getPointer()); in generateInfoForComponentList()
7797 CombinedInfo.Sizes.push_back(CGF.Builder.CreateIntCast( in generateInfoForComponentList()
7799 CombinedInfo.Types.push_back(Flags); in generateInfoForComponentList()
7800 CombinedInfo.Mappers.push_back(nullptr); in generateInfoForComponentList()
7801 CombinedInfo.NonContigInfo.Dims.push_back(IsNonContiguous ? DimSize in generateInfoForComponentList()
7805 CombinedInfo.Exprs.emplace_back(MapDecl, MapExpr); in generateInfoForComponentList()
7806 CombinedInfo.BasePointers.push_back(BP.getPointer()); in generateInfoForComponentList()
7807 CombinedInfo.Pointers.push_back(LB.getPointer()); in generateInfoForComponentList()
7812 CombinedInfo.Sizes.push_back( in generateInfoForComponentList()
7814 CombinedInfo.Types.push_back(Flags); in generateInfoForComponentList()
7815 CombinedInfo.Mappers.push_back(nullptr); in generateInfoForComponentList()
7816 CombinedInfo.NonContigInfo.Dims.push_back(IsNonContiguous ? DimSize in generateInfoForComponentList()
7823 CombinedInfo.Exprs.emplace_back(MapDecl, MapExpr); in generateInfoForComponentList()
7824 CombinedInfo.BasePointers.push_back(BP.getPointer()); in generateInfoForComponentList()
7825 CombinedInfo.Pointers.push_back(LB.getPointer()); in generateInfoForComponentList()
7826 CombinedInfo.Sizes.push_back( in generateInfoForComponentList()
7828 CombinedInfo.NonContigInfo.Dims.push_back(IsNonContiguous ? DimSize in generateInfoForComponentList()
7833 CombinedInfo.Mappers.push_back(HasMapper ? Mapper : nullptr); in generateInfoForComponentList()
7862 CombinedInfo.Types.push_back(Flags); in generateInfoForComponentList()
8088 CombinedInfo.NonContigInfo.Offsets.push_back(CurOffsets); in generateInfoForComponentList()
8089 CombinedInfo.NonContigInfo.Counts.push_back(CurCounts); in generateInfoForComponentList()
8090 CombinedInfo.NonContigInfo.Strides.push_back(CurStrides); in generateInfoForComponentList()
8233 void emitCombinedEntry(MapCombinedInfoTy &CombinedInfo, in emitCombinedEntry() argument
8242 CombinedInfo.Exprs.push_back(VD); in emitCombinedEntry()
8244 CombinedInfo.BasePointers.push_back(PartialStruct.Base.getPointer()); in emitCombinedEntry()
8247 CombinedInfo.Pointers.push_back(LB); in emitCombinedEntry()
8249 CombinedInfo.Mappers.push_back(nullptr); in emitCombinedEntry()
8258 CombinedInfo.Sizes.push_back(Size); in emitCombinedEntry()
8260 CombinedInfo.Types.push_back(NotTargetParams ? OMP_MAP_NONE in emitCombinedEntry()
8268 CombinedInfo.Types.back() |= OMP_MAP_PRESENT; in emitCombinedEntry()
8277 getMemberOfFlag(CombinedInfo.BasePointers.size() - 1); in emitCombinedEntry()
8288 MapCombinedInfoTy &CombinedInfo, bool NotTargetParams = false, in generateAllInfo() argument
8489 CombinedInfo.Exprs.push_back(VD); in generateAllInfo()
8490 CombinedInfo.BasePointers.emplace_back(Ptr, VD); in generateAllInfo()
8491 CombinedInfo.Pointers.push_back(Ptr); in generateAllInfo()
8492 CombinedInfo.Sizes.push_back( in generateAllInfo()
8494 CombinedInfo.Types.push_back( in generateAllInfo()
8497 CombinedInfo.Mappers.push_back(nullptr); in generateAllInfo()
8584 emitCombinedEntry(CombinedInfo, CurInfo.Types, PartialStruct, VD, in generateAllInfo()
8588 CombinedInfo.append(CurInfo); in generateAllInfo()
8591 CombinedInfo.append(UseDevicePtrCombinedInfo); in generateAllInfo()
8597 void generateAllInfoForMapper(MapCombinedInfoTy &CombinedInfo) const { in generateAllInfoForMapper()
8651 emitCombinedEntry(CombinedInfo, CurInfo.Types, PartialStruct, VD); in generateAllInfoForMapper()
8655 CombinedInfo.append(CurInfo); in generateAllInfoForMapper()
8661 const ValueDecl *VD, llvm::Value *Arg, MapCombinedInfoTy &CombinedInfo, in generateInfoForLambdaCaptures() argument
8681 CombinedInfo.Exprs.push_back(VD); in generateInfoForLambdaCaptures()
8682 CombinedInfo.BasePointers.push_back(ThisLVal.getPointer(CGF)); in generateInfoForLambdaCaptures()
8683 CombinedInfo.Pointers.push_back(ThisLValVal.getPointer(CGF)); in generateInfoForLambdaCaptures()
8684 CombinedInfo.Sizes.push_back( in generateInfoForLambdaCaptures()
8687 CombinedInfo.Types.push_back(OMP_MAP_PTR_AND_OBJ | OMP_MAP_LITERAL | in generateInfoForLambdaCaptures()
8689 CombinedInfo.Mappers.push_back(nullptr); in generateInfoForLambdaCaptures()
8704 CombinedInfo.Exprs.push_back(VD); in generateInfoForLambdaCaptures()
8705 CombinedInfo.BasePointers.push_back(VarLVal.getPointer(CGF)); in generateInfoForLambdaCaptures()
8706 CombinedInfo.Pointers.push_back(VarLValVal.getPointer(CGF)); in generateInfoForLambdaCaptures()
8707 CombinedInfo.Sizes.push_back(CGF.Builder.CreateIntCast( in generateInfoForLambdaCaptures()
8715 CombinedInfo.Exprs.push_back(VD); in generateInfoForLambdaCaptures()
8716 CombinedInfo.BasePointers.push_back(VarLVal.getPointer(CGF)); in generateInfoForLambdaCaptures()
8717 CombinedInfo.Pointers.push_back(VarRVal.getScalarVal()); in generateInfoForLambdaCaptures()
8718 CombinedInfo.Sizes.push_back(llvm::ConstantInt::get(CGF.Int64Ty, 0)); in generateInfoForLambdaCaptures()
8720 CombinedInfo.Types.push_back(OMP_MAP_PTR_AND_OBJ | OMP_MAP_LITERAL | in generateInfoForLambdaCaptures()
8722 CombinedInfo.Mappers.push_back(nullptr); in generateInfoForLambdaCaptures()
8758 llvm::Value *Arg, MapCombinedInfoTy &CombinedInfo, in generateInfoForCapture() argument
8772 CombinedInfo.Exprs.push_back(VD); in generateInfoForCapture()
8773 CombinedInfo.BasePointers.emplace_back(Arg, VD); in generateInfoForCapture()
8774 CombinedInfo.Pointers.push_back(Arg); in generateInfoForCapture()
8775 CombinedInfo.Sizes.push_back(CGF.Builder.CreateIntCast( in generateInfoForCapture()
8778 CombinedInfo.Types.push_back( in generateInfoForCapture()
8781 CombinedInfo.Mappers.push_back(nullptr); in generateInfoForCapture()
8926 MapType, MapModifiers, llvm::None, Components, CombinedInfo, in generateInfoForCapture()
8944 Components, CombinedInfo, PartialStruct, in generateInfoForCapture()
8955 MapCombinedInfoTy &CombinedInfo) const { in generateDefaultMapInfo()
8959 CombinedInfo.Exprs.push_back(nullptr); in generateDefaultMapInfo()
8960 CombinedInfo.BasePointers.push_back(CV); in generateDefaultMapInfo()
8961 CombinedInfo.Pointers.push_back(CV); in generateDefaultMapInfo()
8963 CombinedInfo.Sizes.push_back( in generateDefaultMapInfo()
8967 CombinedInfo.Types.push_back(OMP_MAP_TO | OMP_MAP_FROM); in generateDefaultMapInfo()
8970 CombinedInfo.Exprs.push_back(VD->getCanonicalDecl()); in generateDefaultMapInfo()
8971 CombinedInfo.BasePointers.push_back(CV); in generateDefaultMapInfo()
8972 CombinedInfo.Pointers.push_back(CV); in generateDefaultMapInfo()
8976 CombinedInfo.Types.push_back(OMP_MAP_LITERAL); in generateDefaultMapInfo()
8977 CombinedInfo.Sizes.push_back(CGF.Builder.CreateIntCast( in generateDefaultMapInfo()
8982 CombinedInfo.Types.push_back(OMP_MAP_NONE); in generateDefaultMapInfo()
8983 CombinedInfo.Sizes.push_back(llvm::Constant::getNullValue(CGF.Int64Ty)); in generateDefaultMapInfo()
8992 CombinedInfo.Sizes.push_back(CGF.Builder.CreateIntCast( in generateDefaultMapInfo()
8997 CombinedInfo.Types.push_back(getMapModifiersForPrivateClauses(CI)); in generateDefaultMapInfo()
9008 CombinedInfo.Sizes.back(), /*IsVolatile=*/false); in generateDefaultMapInfo()
9010 CombinedInfo.Exprs.push_back(VD->getCanonicalDecl()); in generateDefaultMapInfo()
9011 CombinedInfo.BasePointers.push_back(Addr); in generateDefaultMapInfo()
9012 CombinedInfo.Pointers.push_back(Addr); in generateDefaultMapInfo()
9014 CombinedInfo.Exprs.push_back(VD->getCanonicalDecl()); in generateDefaultMapInfo()
9015 CombinedInfo.BasePointers.push_back(CV); in generateDefaultMapInfo()
9020 CombinedInfo.Pointers.push_back(PtrAddr.getPointer()); in generateDefaultMapInfo()
9022 CombinedInfo.Pointers.push_back(CV); in generateDefaultMapInfo()
9029 CombinedInfo.Types.back() |= OMP_MAP_TARGET_PARAM; in generateDefaultMapInfo()
9033 CombinedInfo.Types.back() |= OMP_MAP_IMPLICIT; in generateDefaultMapInfo()
9036 CombinedInfo.Mappers.push_back(nullptr); in generateDefaultMapInfo()
9042 CodeGenFunction &CGF, MappableExprsHandler::MapCombinedInfoTy &CombinedInfo, in emitNonContiguousDescriptor() argument
9046 &NonContigInfo = CombinedInfo.NonContigInfo; in emitNonContiguousDescriptor()
9144 CodeGenFunction &CGF, MappableExprsHandler::MapCombinedInfoTy &CombinedInfo, in emitOffloadingArrays() argument
9152 Info.NumberOfPtrs = CombinedInfo.BasePointers.size(); in emitOffloadingArrays()
9158 for (llvm::Value *S : CombinedInfo.Sizes) in emitOffloadingArrays()
9192 for (unsigned I = 0, E = CombinedInfo.Sizes.size(); I < E; ++I) { in emitOffloadingArrays()
9194 (CombinedInfo.Types[I] & MappableExprsHandler::OMP_MAP_NON_CONTIG)) { in emitOffloadingArrays()
9196 CGF.Int64Ty, CombinedInfo.NonContigInfo.Dims[I])); in emitOffloadingArrays()
9198 ConstSizes.push_back(cast<llvm::Constant>(CombinedInfo.Sizes[I])); in emitOffloadingArrays()
9215 SmallVector<uint64_t, 4> Mapping(CombinedInfo.Types.size(), 0); in emitOffloadingArrays()
9216 llvm::copy(CombinedInfo.Types, Mapping.begin()); in emitOffloadingArrays()
9237 SmallVector<llvm::Constant *, 4> InfoMap(CombinedInfo.Exprs.size()); in emitOffloadingArrays()
9238 llvm::transform(CombinedInfo.Exprs, InfoMap.begin(), fillInfoMap); in emitOffloadingArrays()
9243 CombinedInfo.Exprs.size()), in emitOffloadingArrays()
9278 llvm::Value *BPVal = *CombinedInfo.BasePointers[I]; in emitOffloadingArrays()
9289 CombinedInfo.BasePointers[I].getDevicePtrDecl()) in emitOffloadingArrays()
9292 llvm::Value *PVal = CombinedInfo.Pointers[I]; in emitOffloadingArrays()
9308 CGF.Builder.CreateStore(CGF.Builder.CreateIntCast(CombinedInfo.Sizes[I], in emitOffloadingArrays()
9316 if (CombinedInfo.Mappers[I]) { in emitOffloadingArrays()
9318 cast<OMPDeclareMapperDecl>(CombinedInfo.Mappers[I])); in emitOffloadingArrays()
9327 if (!IsNonContiguous || CombinedInfo.NonContigInfo.Offsets.empty() || in emitOffloadingArrays()
9331 emitNonContiguousDescriptor(CGF, CombinedInfo, Info); in emitOffloadingArrays()
10080 MappableExprsHandler::MapCombinedInfoTy CombinedInfo; in emitTargetCall() local
10136 MEHandler.emitCombinedEntry(CombinedInfo, CurInfo.Types, PartialStruct); in emitTargetCall()
10139 CombinedInfo.append(CurInfo); in emitTargetCall()
10143 LambdaPointers, CombinedInfo.BasePointers, CombinedInfo.Pointers, in emitTargetCall()
10144 CombinedInfo.Types); in emitTargetCall()
10147 MEHandler.generateAllInfo(CombinedInfo, /*NotTargetParams=*/true, in emitTargetCall()
10152 emitOffloadingArrays(CGF, CombinedInfo, Info, OMPBuilder); in emitTargetCall()
10753 MappableExprsHandler::MapCombinedInfoTy CombinedInfo; in emitTargetDataCalls() local
10757 MEHandler.generateAllInfo(CombinedInfo); in emitTargetDataCalls()
10760 emitOffloadingArrays(CGF, CombinedInfo, Info, OMPBuilder, in emitTargetDataCalls()
11027 MappableExprsHandler::MapCombinedInfoTy CombinedInfo; in emitTargetDataStandAloneCall() local
11031 MEHandler.generateAllInfo(CombinedInfo); in emitTargetDataStandAloneCall()
11035 emitOffloadingArrays(CGF, CombinedInfo, Info, OMPBuilder, in emitTargetDataStandAloneCall()