@@ -9534,28 +9534,7 @@ static void genMapInfoForCaptures(
9534
9534
uint32_t &CapturedCount,
9535
9535
MappableExprsHandler::MapCombinedInfoTy &CombinedInfo) {
9536
9536
9537
- // static void emitTargetCallKernelLaunch(
9538
- // CGOpenMPRuntime *OMPRuntime, llvm::Function *OutlinedFn,
9539
- // const OMPExecutableDirective &D,
9540
- // llvm::SmallVectorImpl<llvm::Value *> &CapturedVars, bool RequiresOuterTask,
9541
- // const CapturedStmt &CS, bool OffloadingMandatory,
9542
- // llvm::PointerIntPair<const Expr *, 2, OpenMPDeviceClauseModifier> Device,
9543
- // llvm::Value *OutlinedFnID, CodeGenFunction::OMPTargetDataInfo &InputInfo,
9544
- // llvm::Value *&MapTypesArray, llvm::Value *&MapNamesArray,
9545
- // llvm::function_ref<llvm::Value *(CodeGenFunction &CGF,
9546
- // const OMPLoopDirective &D)>
9547
- // SizeEmitter,
9548
- // CodeGenFunction &CGF, CodeGenModule &CGM) {
9549
- // llvm::OpenMPIRBuilder &OMPBuilder = OMPRuntime->getOMPBuilder();
9550
-
9551
- // // Fill up the arrays with all the captured variables.
9552
- // MappableExprsHandler::MapCombinedInfoTy CombinedInfo;
9553
-
9554
- // // Get mappable expression information.
9555
- // MappableExprsHandler MEHandler(D, CGF);
9556
9537
llvm::DenseMap<llvm::Value *, llvm::Value *> LambdaPointers;
9557
- // llvm::DenseSet<CanonicalDeclPtr<const Decl>> MappedVarSet;
9558
-
9559
9538
auto RI = CS.getCapturedRecordDecl()->field_begin();
9560
9539
auto *CV = CapturedVars.begin();
9561
9540
CapturedCount = 0;
0 commit comments