| OLD | NEW |
| 1 # The following variables will likely need to be modified, depending on where | 1 # The following variables will likely need to be modified, depending on where |
| 2 # and how you built LLVM & Clang. They can be overridden in a command-line | 2 # and how you built LLVM & Clang. They can be overridden in a command-line |
| 3 # invocation of make, like: | 3 # invocation of make, like: |
| 4 # | 4 # |
| 5 # make LLVM_SRC_PATH=<path> LLVM_BIN_PATH=<path> ... | 5 # make LLVM_SRC_PATH=<path> LLVM_BIN_PATH=<path> ... |
| 6 # | 6 # |
| 7 | 7 |
| 8 # LLVM_SRC_PATH is the path to the root of the checked out source code. This | 8 # LLVM_SRC_PATH is the path to the root of the checked out source code. This |
| 9 # directory should contain the configure script, the include/ and lib/ | 9 # directory should contain the configure script, the include/ and lib/ |
| 10 # directories of LLVM, Clang in tools/clang/, etc. | 10 # directories of LLVM, Clang in tools/clang/, etc. |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 CXXFLAGS := -Wall -Wextra -Werror -fno-rtti -fno-exceptions \ | 32 CXXFLAGS := -Wall -Wextra -Werror -fno-rtti -fno-exceptions \ |
| 33 $(OPTLEVEL) -g $(LLVM_CXXFLAGS) -m32 | 33 $(OPTLEVEL) -g $(LLVM_CXXFLAGS) -m32 |
| 34 LDFLAGS := -m32 | 34 LDFLAGS := -m32 |
| 35 | 35 |
| 36 SRCS= \ | 36 SRCS= \ |
| 37 IceCfg.cpp \ | 37 IceCfg.cpp \ |
| 38 IceCfgNode.cpp \ | 38 IceCfgNode.cpp \ |
| 39 IceGlobalContext.cpp \ | 39 IceGlobalContext.cpp \ |
| 40 IceInst.cpp \ | 40 IceInst.cpp \ |
| 41 IceInstX8632.cpp \ | 41 IceInstX8632.cpp \ |
| 42 IceIntrinsics.cpp \ |
| 42 IceLiveness.cpp \ | 43 IceLiveness.cpp \ |
| 43 IceOperand.cpp \ | 44 IceOperand.cpp \ |
| 44 IceRegAlloc.cpp \ | 45 IceRegAlloc.cpp \ |
| 45 IceTargetLowering.cpp \ | 46 IceTargetLowering.cpp \ |
| 46 IceTargetLoweringX8632.cpp \ | 47 IceTargetLoweringX8632.cpp \ |
| 47 IceTypes.cpp \ | 48 IceTypes.cpp \ |
| 48 llvm2ice.cpp | 49 llvm2ice.cpp |
| 49 | 50 |
| 50 OBJS=$(patsubst %.cpp, build/%.o, $(SRCS)) | 51 OBJS=$(patsubst %.cpp, build/%.o, $(SRCS)) |
| 51 | 52 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 71 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv tests_lit | 72 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv tests_lit |
| 72 (cd crosstest; LLVM_BIN_PATH=$(LLVM_BIN_PATH) ./runtests.sh) | 73 (cd crosstest; LLVM_BIN_PATH=$(LLVM_BIN_PATH) ./runtests.sh) |
| 73 | 74 |
| 74 # TODO: Fix the use of wildcards. | 75 # TODO: Fix the use of wildcards. |
| 75 format: | 76 format: |
| 76 $(LLVM_BIN_PATH)/clang-format -style=LLVM -i \ | 77 $(LLVM_BIN_PATH)/clang-format -style=LLVM -i \ |
| 77 src/Ice*.h src/Ice*.cpp src/llvm2ice.cpp | 78 src/Ice*.h src/Ice*.cpp src/llvm2ice.cpp |
| 78 | 79 |
| 79 clean: | 80 clean: |
| 80 rm -rf llvm2ice *.o build/ | 81 rm -rf llvm2ice *.o build/ |
| OLD | NEW |