- Oct 27, 2008
-
-
Chris Lattner authored
t.c:1:13: error: cannot codegen this designators yet int a[10] = {2, 4, [8]=9, 10}; ^~~~~~~~~~~~~~~~~ llvm-svn: 58220
-
- Oct 26, 2008
-
-
Oscar Fuentes authored
must be under the `tools' subdirectory of the LLVM *source* tree. llvm-svn: 58180
-
- Oct 24, 2008
-
-
Daniel Dunbar authored
CGDebugInfo::getOrCreateCompileUnit. llvm-svn: 58081
-
Daniel Dunbar authored
FileIDs. This seems better conceptually and lets the SourceManager handle details of mapping the location to a file ID. - In practice, fixes an assert because this code wasn't using getPhysicalLoc. llvm-svn: 58055
-
- Oct 21, 2008
-
-
Daniel Dunbar authored
llvm-svn: 57924
-
Douglas Gregor authored
llvm-svn: 57909
-
- Oct 18, 2008
-
-
Daniel Dunbar authored
for Obj-C methods. llvm-svn: 57769
-
Daniel Dunbar authored
llvm-svn: 57745
-
Daniel Dunbar authored
llvm-svn: 57743
-
- Oct 17, 2008
-
-
Daniel Dunbar authored
- Shouldn't assume predefined expr is a function printing one. - Uses CGM functionality to cache function names per module. llvm-svn: 57737
-
Daniel Dunbar authored
(first) global holding the string. - No functionality change. llvm-svn: 57736
-
Daniel Dunbar authored
assert. llvm-svn: 57721
-
Daniel Dunbar authored
llvm-svn: 57716
-
Daniel Dunbar authored
- Encode unions and bit-fields correctly. - Accept option to name record fields (used for NeXT runtime). llvm-svn: 57685
-
Daniel Dunbar authored
simplifies clients. Also, add assert that RegionStack is empty when the CGDebugInfo is destroyed. llvm-svn: 57684
-
Daniel Dunbar authored
floating point. This is only correct for x86-32 at the moment. llvm-svn: 57667
-
Daniel Dunbar authored
structure. - I'm not sure yet about the behavior, but this at least prevents the crash. Add some asserts on RegionStack usage. llvm-svn: 57661
-
- Oct 15, 2008
-
-
Mon P Wang authored
llvm-svn: 57563
-
Argyrios Kyrtzidis authored
Instead of using two sets of Decl kinds (Struct/Union/Class and CXXStruct/CXXUnion/CXXClass), use one 'Record' and one 'CXXRecord' Decl kind and make tag kind a property of TagDecl. Cleans up the code a bit and better reflects that Decl class structure. llvm-svn: 57541
-
- Oct 13, 2008
-
-
Daniel Dunbar authored
- Currently still lives in CGCall.cpp but is intended to be the target specific place for hooking ABI information. - Select ABIInfo to use based on Target's prefix and pointer width. llvm-svn: 57445
-
- Oct 12, 2008
-
-
Chris Lattner authored
llvm-svn: 57392
-
- Oct 10, 2008
-
-
Daniel Dunbar authored
llvm-svn: 57335
-
Dale Johannesen authored
llvm-svn: 57332
-
- Oct 06, 2008
-
-
Ted Kremenek authored
Use DeclStmt::getSolitaryDecl() instead of DeclStmt::getDecl() when processing the Decl of an Objective-C foreach statement. llvm-svn: 57209
-
Ted Kremenek authored
Use DeclStmt::getSolitaryDecl() instead of DeclStmt::getDecl() when processing the Decl of a @catch statement. llvm-svn: 57208
-
Ted Kremenek authored
llvm-svn: 57192
-
Chris Lattner authored
constant lvalue. Implement this in codegen by moving the code out of CGBuiltin into EmitConstantExpr. llvm-svn: 57163
-
Chris Lattner authored
it is possible that a builtin could sometimes be folded (e.g. __builtin_clz) if it's operand is a constant. llvm-svn: 57161
-
Chris Lattner authored
llvm-svn: 57157
-
Chris Lattner authored
do it instead. We should still handle __builtin_nan etc, but don't yet. This fixes incorrect evaluation of __builtin_constant_p, a FIXME. llvm-svn: 57156
-
Chris Lattner authored
constants for them, just use the constant evaluator to do the job. This also fixes crashes on 'unknown constant builtins'. llvm-svn: 57155
-
Anders Carlsson authored
llvm-svn: 57142
-
- Oct 02, 2008
-
-
Daniel Dunbar authored
handling blocks. - This has false positives, but at least prevents miscompiles. llvm-svn: 56958
-
Daniel Dunbar authored
llvm-svn: 56954
-
- Oct 01, 2008
-
-
Daniel Dunbar authored
llvm-svn: 56902
-
Daniel Dunbar authored
collisions. - Provide CodeGenModule::CreateRuntimeFunction which guarantees that the function it creates will have the provided name in the final module. This allows the runtime to have its functions protected from declarations of the same name in the source code. - One could argue that this is a reason to abuse the llvm::Module namespace for dealing with function redeclarations. However, that approach seems conceptually flawed to me. This one also happens to be somewhat more efficient. No functionality change. llvm-svn: 56899
-
- Sep 30, 2008
-
-
Mon P Wang authored
llvm-svn: 56830
-
Daniel Dunbar authored
- Provides a basic primitive to jump to an arbitrary basic block, through the finally code. - Only used for return statements and rethrow currently. Still need to handle break, continue and goto. - Code still needs to be shuffled around to live elsewhere. llvm-svn: 56827
-
- Sep 28, 2008
-
-
Daniel Dunbar authored
Comment exception-handling code generation strategy. llvm-svn: 56763
-
Daniel Dunbar authored
llvm-svn: 56762
-