History log of /llvm-project/clang/lib/CodeGen/CodeGenAction.cpp (Results 301 – 325 of 325)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# e2778999 05-Feb-2012 Dylan Noblesmith <nobled@dreamwidth.org>

Basic: import OwningPtr<> into clang namespace

llvm-svn: 149798


# a11b35a9 01-Feb-2012 Argyrios Kyrtzidis <akyrtzi@gmail.com>

Revert r149363 which was part a series of commits that were reverted in llvm
commit 149470. This fixes test/CodeGen/PR3589-freestanding-libcalls.c.

Original log:

ConstantArray::get() (for strin

Revert r149363 which was part a series of commits that were reverted in llvm
commit 149470. This fixes test/CodeGen/PR3589-freestanding-libcalls.c.

Original log:

ConstantArray::get() (for strings) is going away, use
ConstantDataArray::getString instead.

Many instances of ConstantArray::get() could be moved to
use more efficient ConstantDataArray methods that avoid a ton
of intermediate Constant*'s for each element (e.g.
GetConstantArrayFromStringLiteral). I don't plan on doing this
in the short-term though.

llvm-svn: 149477

show more ...


# f4a4bec3 31-Jan-2012 Chris Lattner <sabre@nondot.org>

ConstantArray::get() (for strings) is going away, use
ConstantDataArray::getString instead.

Many instances of ConstantArray::get() could be moved to
use more efficient ConstantDataArray methods tha

ConstantArray::get() (for strings) is going away, use
ConstantDataArray::getString instead.

Many instances of ConstantArray::get() could be moved to
use more efficient ConstantDataArray methods that avoid a ton
of intermediate Constant*'s for each element (e.g.
GetConstantArrayFromStringLiteral). I don't plan on doing this
in the short-term though.

llvm-svn: 149363

show more ...


# 68e081d6 20-Dec-2011 David Blaikie <dblaikie@gmail.com>

Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch

llvm-svn: 146959


# 1332d9b2 14-Dec-2011 Chad Rosier <mcrosier@apple.com>

Per discussion on the list, remove BitcodeVerify pass to reimplement as a free function.

llvm-svn: 146530


# c4399f77 12-Dec-2011 Chad Rosier <mcrosier@apple.com>

Add frontend flags to enable bitcode verifier pass.

llvm-svn: 146441


# de3ef502 30-Nov-2011 Douglas Gregor <dgregor@apple.com>

Promote ModuleMap::Module to a namespace-scope class in the Basic
library, since modules cut across all of the libraries. Rename
serialization::Module to serialization::ModuleFile to side-step the
an

Promote ModuleMap::Module to a namespace-scope class in the Basic
library, since modules cut across all of the libraries. Rename
serialization::Module to serialization::ModuleFile to side-step the
annoying naming conflict. Prune a bunch of ModuleMap.h includes that
are no longer needed (most files only needed the Module type).

llvm-svn: 145538

show more ...


# 841dd886 18-Nov-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com>

Change ASTConsumer::HandleTopLevelDecl to return true for the parser to continue
parsing or false to abort parsing.

llvm-svn: 144943


Revision tags: llvmorg-3.0.0, llvmorg-3.0.0-rc4, llvmorg-3.0.0-rc3, llvmorg-3.0.0-rc2
# f1d76db4 30-Oct-2011 Peter Collingbourne <peter@pcc.me.uk>

Add support for lazily linking bitcode files (using a new
-mlink-bitcode-file flag), and more generally llvm::Modules, before
running optimisations.

llvm-svn: 143314


Revision tags: llvmorg-3.0.0-rc1
# e06b2b70 16-Oct-2011 Benjamin Kramer <benny.kra@googlemail.com>

Convert inline asm source ranges into clang SourceRanges and print them with the instantiated note.

t.c:2:7: error: invalid operand for instruction
asm("movl 0(%rax), 0(%edx)");
^
<inline as

Convert inline asm source ranges into clang SourceRanges and print them with the instantiated note.

t.c:2:7: error: invalid operand for instruction
asm("movl 0(%rax), 0(%edx)");
^
<inline asm>:1:16: note: instantiated into assembly here
movl 0(%rax), 0(%edx)
^~~~~~~
1 error generated.

llvm-svn: 142131

show more ...


# 9c902b55 25-Sep-2011 David Blaikie <dblaikie@gmail.com>

Rename Diagnostic to DiagnosticsEngine as per issue 5397

llvm-svn: 140478


# aa347f93 23-Sep-2011 David Blaikie <dblaikie@gmail.com>

Removing a bunch of dead returns/breaks after llvm_unreachables.

llvm-svn: 140407


# 83d382b1 23-Sep-2011 David Blaikie <dblaikie@gmail.com>

Switch assert(0/false) llvm_unreachable.

llvm-svn: 140367


# 27bf76d6 19-Sep-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com>

In CodeGenAction::ExecuteAction() use SourceManager::translateFileLineCol()
instead of getLocation() since we don't care about expanded macro arguments.

llvm-svn: 140061


# e6e67dee 19-Sep-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com>

Rename SourceLocation::getFileLocWithOffset -> getLocWithOffset.

It already works (and is useful with) macro locs as well.

llvm-svn: 140057


# 0e62c1cc 23-Jul-2011 Chris Lattner <sabre@nondot.org>

remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports
them into the clang namespace.

llvm-svn: 135852


# fec0ff84 05-Jul-2011 Dan Gohman <gohman@apple.com>

Add the ObjC ARC optimization passes manually, now that they're not
hardwired into the default pass list.

llvm-svn: 134445


# 57540c5b 15-Apr-2011 Chris Lattner <sabre@nondot.org>

fix a bunch of comment typos found by codespell. Patch by
Luis Felipe Strano Moraes!

llvm-svn: 129559


Revision tags: llvmorg-2.9.0, llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2, llvmorg-2.9.0-rc1
# 8f5cf74c 19-Feb-2011 Peter Collingbourne <peter@pcc.me.uk>

Re-instate r125819 and r125820 with no functionality change

llvm-svn: 126060


# a6d2bff0 19-Feb-2011 Rafael Espindola <rafael.espindola@gmail.com>

Revert 125820 and 125819 to fix PR9266.

llvm-svn: 126050


# 14a552b2 18-Feb-2011 Peter Collingbourne <peter@pcc.me.uk>

Move CompilerInstance::LLVMContext and LLVMContext ownership to CodeGenAction

This removes the final dependency edge from any lib outside of CodeGen
to core. As a result we can, and do, trim the de

Move CompilerInstance::LLVMContext and LLVMContext ownership to CodeGenAction

This removes the final dependency edge from any lib outside of CodeGen
to core. As a result we can, and do, trim the dependency on core
from libclang, PrintFunctionNames, the unit tests and c-index-test.
While at it, review and trim other unneeded dependencies.

llvm-svn: 125820

show more ...


# 2992efa4 25-Jan-2011 Nico Weber <nicolasweber@gmx.de>

Add -add-plugin flag, which runs plugins in addition to codegen.

llvm-svn: 124227


# d0040648 18-Nov-2010 Argyrios Kyrtzidis <akyrtzi@gmail.com>

Refactoring of Diagnostic class.

-Move the stuff of Diagnostic related to creating/querying diagnostic IDs into a new DiagnosticIDs class.
-DiagnosticIDs can be shared among multiple Diagnostics for

Refactoring of Diagnostic class.

-Move the stuff of Diagnostic related to creating/querying diagnostic IDs into a new DiagnosticIDs class.
-DiagnosticIDs can be shared among multiple Diagnostics for multiple translation units.
-The rest of the state in Diagnostic object is considered related and tied to one translation unit.
-Have Diagnostic point to the SourceManager that is related with. Diagnostic can now accept just a
SourceLocation instead of a FullSourceLoc.
-Reflect the changes to various interfaces.

llvm-svn: 119730

show more ...


# 068f2ab1 17-Nov-2010 Chris Lattner <sabre@nondot.org>

adjust for llvm mainline, yay type safety

llvm-svn: 119487


Revision tags: llvmorg-2.8.0, llvmorg-2.8.0-rc3, llvmorg-2.8.0-rc2, llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0
# c1b1729b 15-Jun-2010 Daniel Dunbar <daniel@zuster.org>

Break Frontend's dependency on Rewrite, Checker and CodeGen in shared library configuration

Currently, all AST consumers are located in the Frontend library,
meaning that in a shared library configu

Break Frontend's dependency on Rewrite, Checker and CodeGen in shared library configuration

Currently, all AST consumers are located in the Frontend library,
meaning that in a shared library configuration, Frontend has a
dependency on Rewrite, Checker and CodeGen. This is suboptimal for
clients which only wish to make use of the frontend. CodeGen in
particular introduces a large number of unwanted dependencies.

This patch breaks the dependency by moving all AST consumers with
dependencies on Rewrite, Checker and/or CodeGen to their respective
libraries. The patch therefore introduces dependencies in the other
direction (i.e. from Rewrite, Checker and CodeGen to Frontend).

After applying this patch, Clang builds correctly using CMake and
shared libraries ("cmake -DBUILD_SHARED_LIBS=ON").

N.B. This patch includes file renames which are indicated in the
patch body.

Changes in this revision of the patch:
- Fixed some copy-paste mistakes in the header files
- Modified certain aspects of the coding to comply with the LLVM
Coding Standards

llvm-svn: 106010

show more ...


1...<<111213