@@ -775,25 +775,6 @@ class Driver {
775
775
// / Get the specific kind of offload LTO being performed.
776
776
LTOKind getOffloadLTOMode () const { return OffloadLTOMode; }
777
777
778
- // FPGA Offload Modes.
779
- enum DeviceMode {
780
- UnsetDeviceMode,
781
- FPGAHWMode,
782
- FPGAEmulationMode
783
- } OffloadCompileMode = UnsetDeviceMode;
784
-
785
- bool IsFPGAHWMode () const { return OffloadCompileMode == FPGAHWMode; }
786
-
787
- bool IsFPGAEmulationMode () const {
788
- return OffloadCompileMode == FPGAEmulationMode;
789
- }
790
-
791
- void setOffloadCompileMode (DeviceMode ModeValue) {
792
- OffloadCompileMode = ModeValue;
793
- }
794
-
795
- DeviceMode getOffloadCompileMode () { return OffloadCompileMode; }
796
-
797
778
// / Get the CUID option.
798
779
const CUIDOptions &getCUIDOpts () const { return CUIDOpts; }
799
780
@@ -893,9 +874,6 @@ class Driver {
893
874
void checkForOffloadMismatch (Compilation &C,
894
875
llvm::opt::DerivedArgList &Args) const ;
895
876
896
- // / Track filename used for the FPGA dependency info.
897
- mutable llvm::StringMap<const std::string> FPGATempDepFiles;
898
-
899
877
// / A list of inputs and their corresponding integration headers. These
900
878
// / files are generated during the device compilation and are consumed
901
879
// / by the host compilation.
@@ -948,18 +926,6 @@ class Driver {
948
926
// / getUseNewOffloadingDriver - use the new offload driver for OpenMP.
949
927
bool getUseNewOffloadingDriver () const { return UseNewOffloadingDriver; };
950
928
951
- // / addFPGATempDepFile - Add a file to be added to the bundling step of
952
- // / an FPGA object.
953
- void addFPGATempDepFile (const std::string &DepName,
954
- const std::string &FileName) const {
955
- FPGATempDepFiles.insert ({FileName, DepName});
956
- }
957
- // / getFPGATempDepFile - Get a file to be added to the bundling step of
958
- // / an FPGA object.
959
- const std::string getFPGATempDepFile (const std::string &FileName) const {
960
- return FPGATempDepFiles[FileName];
961
- }
962
-
963
929
// / isSYCLDefaultTripleImplied - The default SYCL triple (spir64) has been
964
930
// / added or should be added given proper criteria.
965
931
bool isSYCLDefaultTripleImplied () const { return SYCLDefaultTripleImplied; };
0 commit comments