diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2005-07-17 00:50:40 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2005-07-17 00:50:40 +0000 |
| commit | e7e3c214cf002e0b826e941e40b373dcedb91a79 (patch) | |
| tree | af85820d2b46f17b3170ca9bf6bba1ee70a8091f /llvm/lib/Transforms/Scalar/InstructionCombining.cpp | |
| parent | a5998ce94fa1856f0287d180693d0424d3abb046 (diff) | |
| download | bcm5719-llvm-e7e3c214cf002e0b826e941e40b373dcedb91a79.tar.gz bcm5719-llvm-e7e3c214cf002e0b826e941e40b373dcedb91a79.zip | |
Add two new checks for use in LLVM configuration files:
* FIND_STD_PROGRAM will find a program in the path or using --with options
and verify that the path/bin/program is executable. Also allows checking
for include files and libraries. If found, USE_PROGRAM is set, otherwise
its not set. Also sets PROGRAM_BIN (bin directory), and PROGRAM_DIR (top
level directory). If headers are found, sets PROGRAM_INC. If libraries
are found, sets PROGRAM_LIB.
* CHECK_PROGRAM_SANITY can be used to run a program with some option that
only produces information output and requires no input. If the output
matches a regular expression, the program passes the sanity check.
Otherwise, an error occurs.
llvm-svn: 22458
Diffstat (limited to 'llvm/lib/Transforms/Scalar/InstructionCombining.cpp')
0 files changed, 0 insertions, 0 deletions

