Lines Matching refs:OffloadAction
2376 } else if (OffloadAction *OA = dyn_cast<OffloadAction>(A)) {
2418 if (!isa<OffloadAction>(A)) {
2903 getDeviceDependences(OffloadAction::DeviceDependences &DA,
2925 virtual void appendLinkDependences(OffloadAction::DeviceDependences &DA) {}
3105 OffloadAction::DeviceDependences Dep;
3107 AL.push_back(C.MakeAction<OffloadAction>(Dep, A->getType()));
3295 getDeviceDependences(OffloadAction::DeviceDependences &DA,
3352 OffloadAction::DeviceDependences DDep;
3355 C.MakeAction<OffloadAction>(DDep, A->getType()));
3469 getDeviceDependences(OffloadAction::DeviceDependences &DA,
3540 OffloadAction::DeviceDependences DDep;
3543 CudaDeviceActions[I] = C.MakeAction<OffloadAction>(
3595 OffloadAction::DeviceDependences DDep;
3598 CudaDeviceActions[I] = C.MakeAction<OffloadAction>(
3633 OffloadAction::DeviceDependences DeviceLinkDeps;
3636 Actions.push_back(C.MakeAction<OffloadAction>(
3651 OffloadAction::DeviceDependences DDeps;
3660 C.MakeAction<OffloadAction>(DDeps, TopDeviceLinkAction->getType()));
3668 void appendLinkDependences(OffloadAction::DeviceDependences &DA) override {}
3750 OffloadAction::DeviceDependences DDeps;
3787 OffloadAction::HostDependence HDep(
3790 return C.MakeAction<OffloadAction>(HDep, DDeps);
3929 OffloadAction::DeviceDependences DDeps;
3967 OffloadAction::HostDependence HDep(
3970 return C.MakeAction<OffloadAction>(HDep, DDeps);
4587 OffloadAction::DeviceDependences DDeps;
4652 OffloadAction::HostDependence HDep(
4655 OffloadAction::DeviceDependences DDep;
4657 A = C.MakeAction<OffloadAction>(HDep, DDep);
4678 OffloadAction::DeviceDependences DDep;
4687 OffloadActions.push_back(C.MakeAction<OffloadAction>(DDep, A->getType()));
4704 return C.MakeAction<OffloadAction>(DDeps, types::TY_Nothing);
4709 OffloadAction::DeviceDependences DDep;
4738 return C.MakeAction<OffloadAction>(DDep, types::TY_Nothing);
4745 OffloadAction::HostDependence HDep(
4748 return C.MakeAction<OffloadAction>(HDep, SingleDeviceOutput ? DDep : DDeps);
5142 if (auto *OA = dyn_cast<OffloadAction>(CurAction)) {
5490 if (const OffloadAction *OA = dyn_cast<OffloadAction>(A)) {
5500 // Host Action 1 -> OffloadAction -> Host Action 2
5503 // Device Action 1 -> OffloadAction -> Device Action 2
5508 // Host Action 1 ---> OffloadAction -> Host Action 2
5513 // Device Action 1 ---> OffloadAction -> Device Action 2
5604 // If we've collapsed action list that contained OffloadAction we
5607 cast<OffloadAction>(OA)->doOnEachDependence(
5808 if (isa<OffloadAction>(JA) && isa<PreprocessJobAction>(JA.getInputs()[0]))