More llvmc bits. Spotted by Benjamin on IRC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140124 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2011-09-20 00:42:28 +00:00
parent 33fe8eb46c
commit 78d0835969
4 changed files with 3 additions and 65 deletions

View File

@ -190,19 +190,6 @@ uninstall:: uninstall-local
install-local:: all-local install-local:: all-local
install-bytecode:: install-bytecode-local install-bytecode:: install-bytecode-local
###############################################################################
# LLVMC: Provide rules for compiling llvmc-based driver
###############################################################################
ifdef LLVMC_BASED_DRIVER
TOOLNAME = $(LLVMC_BASED_DRIVER)
LLVMLIBS = CompilerDriver.a
LINK_COMPONENTS = support
endif # LLVMC_BASED_DRIVER
############################################################################### ###############################################################################
# VARIABLES: Set up various variables based on configuration data # VARIABLES: Set up various variables based on configuration data
############################################################################### ###############################################################################
@ -1686,10 +1673,6 @@ ifdef TARGET
TABLEGEN_INC_FILES_COMMON = 1 TABLEGEN_INC_FILES_COMMON = 1
endif endif
ifdef LLVMC_BASED_DRIVER
TABLEGEN_INC_FILES_COMMON = 1
endif
ifdef TABLEGEN_INC_FILES_COMMON ifdef TABLEGEN_INC_FILES_COMMON
INCFiles := $(filter %.inc,$(BUILT_SOURCES)) INCFiles := $(filter %.inc,$(BUILT_SOURCES))
@ -1805,27 +1788,6 @@ clean-local::
endif # TARGET endif # TARGET
ifdef LLVMC_BASED_DRIVER
TDSrc := $(sort $(strip $(wildcard $(PROJ_SRC_DIR)/*.td)) \
$(strip $(wildcard $(PROJ_OBJ_DIR)/*.td)))
TDCommon := $(strip $(wildcard \
$(LLVM_SRC_ROOT)/include/llvm/CompilerDriver/*.td))
TDFiles := $(TDSrc) $(TDCommon)
$(INCTMPFiles) : $(TBLGEN) $(TDFiles)
$(ObjDir)/%.inc.tmp: %.td $(ObjDir)/.dir
$(Echo) "Building LLVMC compilation graph description with tblgen"
$(Verb) $(TableGen) -gen-llvmc -o $(call SYSPATH, $@) $<
clean-local::
-$(Verb) $(RM) -f $(INCFiles)
endif # LLVMC_BASED_DRIVER
############################################################################### ###############################################################################
# OTHER RULES: Other rules needed # OTHER RULES: Other rules needed
############################################################################### ###############################################################################

View File

@ -72,9 +72,6 @@
<li>After Subversion update, rebuilding gives the error "No rule to make <li>After Subversion update, rebuilding gives the error "No rule to make
target".</li> target".</li>
<li><a href="#llvmc">The <tt>llvmc</tt> program gives me errors/doesn't
work.</a></li>
<li><a href="#srcdir-objdir">When I compile LLVM-GCC with srcdir == objdir, <li><a href="#srcdir-objdir">When I compile LLVM-GCC with srcdir == objdir,
it fails. Why?</a></li> it fails. Why?</a></li>
</ol></li> </ol></li>
@ -419,16 +416,6 @@ Stop.
rebuilding.</p> rebuilding.</p>
</div> </div>
<div class="question">
<p><a name="llvmc">The <tt>llvmc</tt> program gives me errors/doesn't
work.</a></p>
</div>
<div class="answer">
<p><tt>llvmc</tt> is experimental and isn't really supported. We suggest
using <tt>llvm-gcc</tt> instead.</p>
</div>
<div class="question"> <div class="question">
<p><a name="srcdir-objdir">When I compile LLVM-GCC with srcdir == objdir, it <p><a name="srcdir-objdir">When I compile LLVM-GCC with srcdir == objdir, it
fails. Why?</a></p> fails. Why?</a></p>

View File

@ -1595,16 +1595,6 @@ information is in the <a href="CommandGuide/index.html">Command Guide</a>.</p>
href="HowToSubmitABug.html">HowToSubmitABug.html</a> for more information href="HowToSubmitABug.html">HowToSubmitABug.html</a> for more information
on using <tt>bugpoint</tt>.</dd> on using <tt>bugpoint</tt>.</dd>
<dt><tt><b>llvmc</b></tt></dt>
<dd>The LLVM Compiler Driver. This program can
be configured to utilize both LLVM and non-LLVM compilation tools to enable
pre-processing, translation, optimization, assembly, and linking of programs
all from one command line. <tt>llvmc</tt> also takes care of processing the
dependent libraries found in bitcode. This reduces the need to get the
traditional <tt>-l&lt;name&gt;</tt> options right on the command line. Please
note that this tool, while functional, is still experimental and not feature
complete.</dd>
<dt><tt><b>llvm-ar</b></tt></dt> <dt><tt><b>llvm-ar</b></tt></dt>
<dd>The archiver produces an archive containing <dd>The archiver produces an archive containing
the given LLVM bitcode files, optionally with an index for faster the given LLVM bitcode files, optionally with an index for faster
@ -1620,9 +1610,9 @@ information is in the <a href="CommandGuide/index.html">Command Guide</a>.</p>
<dt><tt><b>llvm-ld</b></tt></dt> <dt><tt><b>llvm-ld</b></tt></dt>
<dd><tt>llvm-ld</tt> is a general purpose and extensible linker for LLVM. <dd><tt>llvm-ld</tt> is a general purpose and extensible linker for LLVM.
This is the linker invoked by <tt>llvmc</tt>. It performs standard link time It performs standard link time optimizations and allows optimization
optimizations and allows optimization modules to be loaded and run so that modules to be loaded and run so that language specific optimizations can
language specific optimizations can be applied at link time.</dd> be applied at link time.</dd>
<dt><tt><b>llvm-link</b></tt></dt> <dt><tt><b>llvm-link</b></tt></dt>
<dd><tt>llvm-link</tt>, not surprisingly, links multiple LLVM modules into <dd><tt>llvm-link</tt>, not surprisingly, links multiple LLVM modules into

View File

@ -87,7 +87,6 @@ Current tools:
<a href="/cmds/opt.html">opt</a>, <a href="/cmds/opt.html">opt</a>,
<a href="/cmds/llc.html">llc</a>, <a href="/cmds/llc.html">llc</a>,
<a href="/cmds/lli.html">lli</a>, <a href="/cmds/lli.html">lli</a>,
<a href="/cmds/llvmc.html">llvmc</a>
<a href="/cmds/llvmgcc.html">llvm-gcc</a>, <a href="/cmds/llvmgcc.html">llvm-gcc</a>,
<a href="/cmds/llvmgxx.html">llvm-g++</a>, <a href="/cmds/llvmgxx.html">llvm-g++</a>,
<a href="/cmds/bugpoint.html">bugpoint</a>, <a href="/cmds/bugpoint.html">bugpoint</a>,