History log of /llvm-project-15.0.7/clang/lib/CodeGen/CodeGenModule.cpp (Results 1151 – 1175 of 1864)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# e637711a 06-Sep-2012 Roman Divacky <[email protected]>

Dont cast away const needlessly. Found by gcc48 -Wcast-qual.

llvm-svn: 163325


# c215e76f 24-Aug-2012 Benjamin Kramer <[email protected]>

Push ArrayRef through the Expr hierarchy.

No functionality change.

llvm-svn: 162552


# fc6eb7d3 22-Aug-2012 Benjamin Kramer <[email protected]>

Reduce duplicated hash map lookups.

llvm-svn: 162361


# 28a26c8d 21-Aug-2012 Kostya Serebryany <[email protected]>

[asan] If we are compiling with ASan, add metadata indicating dynamically initialized globals. Patch by Reid Watson, reviewed by Richard Smith

llvm-svn: 162259


# 8c02a241 10-Aug-2012 Joerg Sonnenberger <[email protected]>

Decrementing std::string::end is not portable, use array access instead.

llvm-svn: 161659


# f8378ca2 19-Jul-2012 Eric Christopher <[email protected]>

Remove HasSynthBitfield and all callers/writers/etc. Also remove
previous ResetObjCLayout calls since this is now handled in Sema.

Part of rdar://11842763

llvm-svn: 160527


# 775086e6 12-Jul-2012 John McCall <[email protected]>

Add the ObjFW runtime. Patch by Jonathan Schleifer!

llvm-svn: 160102


# b601c968 03-Jul-2012 David Chisnall <[email protected]>

Rename the GCC Objective-C runtime to gcc from gnu-fragile and the GNUstep
runtime to gnustep from gnu. Fix EH for the GCC runtime.

llvm-svn: 159684


# c9f43946 02-Jul-2012 Eli Friedman <[email protected]>

When we're looking for redeclarations which might provide a definition in CodeGen, make sure we examine all the redeclarations. PR13252.

llvm-svn: 159586


# f60f6af9 28-Jun-2012 Hans Wennborg <[email protected]>

Add -ftls-model command-line flag.

This allows for setting the default TLS model. (PR9788)

llvm-svn: 159336


# 6362803c 26-Jun-2012 Fariborz Jahanian <[email protected]>

block literal irgen: several improvements on naming block
literal helper functions. All helper functions (global
and locals) use block_invoke as their prefix. Local literal
helper names are prefixed

block literal irgen: several improvements on naming block
literal helper functions. All helper functions (global
and locals) use block_invoke as their prefix. Local literal
helper names are prefixed by their enclosing mangled function
names. Blocks in non-local initializers (e.g. a global variable
or a C++11 field) are prefixed by their mangled variable name.
The descriminator number added to end of the name starts off
with blank (for first block) and _<N> (for the N+2-th block).

llvm-svn: 159206

show more ...


# a325a6e0 23-Jun-2012 Charles Davis <[email protected]>

IRGen: Factor v-table generation into the CGCXXABI object.

llvm-svn: 159091


# d3b01bc7 23-Jun-2012 Hans Wennborg <[email protected]>

Support the tls_model attribute (PR9788)

This adds support for the tls_model attribute. This allows the user to
choose a TLS model that is better than what LLVM would select by
default. For example,

Support the tls_model attribute (PR9788)

This adds support for the tls_model attribute. This allows the user to
choose a TLS model that is better than what LLVM would select by
default. For example, a variable might be declared as:

__thread int x __attribute__((tls_model("initial-exec")));

if it will not be used in a shared library that is dlopen'ed.

This depends on LLVM r159077.

llvm-svn: 159078

show more ...


# 5fb5df9c 20-Jun-2012 John McCall <[email protected]>

Restructure how the driver communicates information about the
target Objective-C runtime down to the frontend: break this
down into a single target runtime kind and version, and compute
all the rele

Restructure how the driver communicates information about the
target Objective-C runtime down to the frontend: break this
down into a single target runtime kind and version, and compute
all the relevant information from that. This makes it
relatively painless to add support for new runtimes to the
compiler. Make the new -cc1 flag, -fobjc-runtime=blah-x.y.z,
available at the driver level as a better and more general
alternative to -fgnu-runtime and -fnext-runtime. This new
concept of an Objective-C runtime also encompasses what we
were previously separating out as the "Objective-C ABI", so
fragile vs. non-fragile runtimes are now really modelled as
different kinds of runtime, paving the way for better overall
differentiation.

As a sort of special case, continue to accept the -cc1 flag
-fobjc-runtime-has-weak, as a sop to PLCompatibilityWeak.

I won't go so far as to say "no functionality change", even
ignoring the new driver flag, but subtle changes in driver
semantics are almost certainly not intended.

llvm-svn: 158793

show more ...


# f97bd8c9 18-Jun-2012 Michael J. Spencer <[email protected]>

[MSExtensions] Add support for __forceinline.

__forceinline is a combination of the inline keyword and __attribute__((always_inline))

llvm-svn: 158653


# 2b013185 10-Jun-2012 Richard Smith <[email protected]>

PR13064: Store whether an in-class initializer uses direct or copy
initialization, and use that information to produce the right kind of
initialization during template instantiation.

llvm-svn: 158288


# 40ed2973 06-Jun-2012 David Blaikie <[email protected]>

Revert Decl's iterators back to pointer value_type rather than reference value_type

In addition, I've made the pointer and reference typedef 'void' rather than T*
just so they can't get misused. I w

Revert Decl's iterators back to pointer value_type rather than reference value_type

In addition, I've made the pointer and reference typedef 'void' rather than T*
just so they can't get misused. I would've omitted them entirely but
std::distance likes them to be there even if it doesn't use them.

This rolls back r155808 and r155869.

Review by Doug Gregor incorporating feedback from Chandler Carruth.

llvm-svn: 158104

show more ...


# a2db6f2b 28-May-2012 Chris Lattner <[email protected]>

adjust to mainline llvm API change.

llvm-svn: 157557


# f44bdf9c 20-May-2012 Peter Collingbourne <[email protected]>

CUDA: add CodeGen support for global variable address spaces.
Because in CUDA types do not have associated address spaces,
globals are declared in their "native" address space, and accessed
by bitcas

CUDA: add CodeGen support for global variable address spaces.
Because in CUDA types do not have associated address spaces,
globals are declared in their "native" address space, and accessed
by bitcasting the pointer to address space 0. This relies on address
space 0 being a unified address space.

llvm-svn: 157167

show more ...


Revision tags: llvmorg-3.1.0
# 29c2b433 12-May-2012 Benjamin Kramer <[email protected]>

Add support for __attribute__((hot)) and __attribute__((cold)).

Currently cold functions are marked with the "optsize" attribute in CodeGen
so they are always optimized for size. The hot attribute

Add support for __attribute__((hot)) and __attribute__((cold)).

Currently cold functions are marked with the "optsize" attribute in CodeGen
so they are always optimized for size. The hot attribute is just ignored,
LLVM doesn't have a way to express hotness at the moment.

llvm-svn: 156723

show more ...


Revision tags: llvmorg-3.1.0-rc3
# 74a3868d 04-May-2012 Alexey Samsonov <[email protected]>

This patch adds a new Clang compiler flag "-gline-tables-only".
It reduces the amount of emitted debug information:
1) DIEs in .debug_info have types DW_TAG_compile_unit, DW_TAG_subprogram,
DW_TAG_in

This patch adds a new Clang compiler flag "-gline-tables-only".
It reduces the amount of emitted debug information:
1) DIEs in .debug_info have types DW_TAG_compile_unit, DW_TAG_subprogram,
DW_TAG_inlined_subroutine (for opt builds) and DW_TAG_lexical_block only.
2) .debug_str contains only function names.
3) No debug data for types/namespaces/variables is emitted.
4) The data in .debug_line is enough to produce valid stack traces with
function names and line numbers.

Reviewed by Eric Christopher.

llvm-svn: 156160

show more ...


Revision tags: llvmorg-3.1.0-rc2
# 2d7c57ec 30-Apr-2012 David Blaikie <[email protected]>

Remove the ref/value inconsistency in filter_decl_iterator.

filter_decl_iterator had a weird mismatch where both op* and op-> returned T*
making it difficult to generalize this filtering behavior in

Remove the ref/value inconsistency in filter_decl_iterator.

filter_decl_iterator had a weird mismatch where both op* and op-> returned T*
making it difficult to generalize this filtering behavior into a reusable
library of any kind.

This change errs on the side of value, making op-> return T* and op* return
T&.

(reviewed by Richard Smith)

llvm-svn: 155808

show more ...


# 486e1fe9 27-Apr-2012 Alexey Samsonov <[email protected]>

Use enum to set debug info size generated by Clang

llvm-svn: 155697


# 5dd2cfc8 24-Apr-2012 Kostya Serebryany <[email protected]>

enable TBAA when -fthread-sanitizer is given, even with -O0 or -relaxed-aliasing

llvm-svn: 155430


Revision tags: llvmorg-3.1.0-rc1
# 365e309c 16-Apr-2012 Eric Christopher <[email protected]>

Typo.

llvm-svn: 154880


1...<<41424344454647484950>>...75