- Nov 03, 2008
-
-
Dan Gohman authored
adding a TargetMachine member to the base TargetAsmInfo class instead. llvm-svn: 58624
-
Dan Gohman authored
bits, use a union of a SimpleValueType enum and a regular Type*. This increases the size of MVT on 64-bit hosts from 32 bits to 64 bits. In most cases, this doesn't add significant overhead. There are places in codegen that use arrays of MVTs, so these are now larger, but they're small in common cases. This eliminates restrictions on the size of integer types and vector types that can be represented in codegen. As the included testcase demonstrates, it's now possible to codegen very large add operations. There are still some complications with using very large types. PR2880 is still open so they can't be used as return values on normal targets, there are no libcalls defined for very large integers so operations like multiply and divide aren't supported. This also introduces a minimal tablgen Type library, capable of handling IntegerType and VectorType. This will allow parts of TableGen that don't depend on using SimpleValueType values to handle arbitrary integer and vector types. llvm-svn: 58623
-
Douglas Gregor authored
when appropriate. Conversions for class types now make use of copy constructors. I've replaced the egregious hack allowing class-to-class conversions with a slightly less egregious hack calling these conversions standard conversions (for overloading reasons). llvm-svn: 58622
-
Daniel Dunbar authored
llvm-svn: 58621
-
Dan Gohman authored
class definitions. llvm-svn: 58620
-
Andrew Lenharth authored
llvm-svn: 58615
-
Douglas Gregor authored
llvm-svn: 58613
-
Douglas Gregor authored
reference-collapsing. Implement diagnostic for formation of a reference to cv void. Drop cv-qualifiers added to a reference type when the reference type comes from a typedef. llvm-svn: 58612
-
Anton Korobeynikov authored
llvm-svn: 58611
-
Douglas Gregor authored
Connect ASTContext to TargetInfo when determining the size_t, ptrdiff_t, and wchar_t types. Fixes recent breakage on Linux. llvm-svn: 58609
-
Duncan Sands authored
10 bytes long, but is passed in 12/16 bytes). llvm-svn: 58608
-
rdar://problem/6336774Steve Naroff authored
Fix <rdar://problem/6336774> clang block rewriter: Assertion failed: Offset+NumBytes <= size() && "Invalid region to erase!", file c:\cygwin\home\Administrator\llvm\to ols\clang\include\clang/Rewrite/RewriteRope.h, line 219. llvm-svn: 58607
-
Matthijs Kooijman authored
llvm-svn: 58606
-
Chris Lattner authored
the designator corresponding to it, otherwise Sema and later parsing will get confused. llvm-svn: 58603
-
Chris Lattner authored
llvm-svn: 58602
-
Ted Kremenek authored
Simplify the functions HtmlEsape and ShellEscape. We now properly print out the following command line in the HTML output: scan-build gcc -x c /dev/null -c -Dfoo='"string abc"' Fixes <rdar://problem/6338651> llvm-svn: 58600
-
Evan Cheng authored
llvm-svn: 58598
-
Zhongxing Xu authored
llvm-svn: 58597
-
Zhongxing Xu authored
llvm-svn: 58596
-
Zhongxing Xu authored
- Prepare AnonPointeeRegioin for later use. llvm-svn: 58595
-
Nick Lewycky authored
llvm-svn: 58594
-
Nick Lewycky authored
llvm-svn: 58593
-
Nick Lewycky authored
We're still waiting on code that actually analyzes them properly. llvm-svn: 58592
-
Owen Anderson authored
llvm-svn: 58591
-
- Nov 02, 2008
-
-
Sebastian Redl authored
llvm-svn: 58570
-
Nick Lewycky authored
* merge two weak functions by making them both alias a third non-weak fn * don't reimplement CallSite::hasArgument * whitelist the safe linkage types llvm-svn: 58568
-
Anton Korobeynikov authored
llvm-svn: 58567
-
Cedric Venet authored
Add header files to CMake build solution. It use globing so it doesn't need to be manually maintained, but it won't automatically detect a new header. I think this is a good compromise for the header files, since there presence in the solution is just an help for the user. Moreover, a new header is often introduced with a new cpp source file which need a makefile change, which will regenerate the solution and detect the new header. llvm-svn: 58566
-
Zhongxing Xu authored
llvm-svn: 58565
-
Zhongxing Xu authored
sets the whole struct to Unknown. Then we cannot assume the V passed to BindStruct() is always a CompoundVal. When it is an UnknownVal, we call BindStructToVal(UnknownVal). 2. Change the signature of InitializeStructToUndefined() to BindStructToVal() to reuse the code. llvm-svn: 58564
-
Anton Korobeynikov authored
llvm-svn: 58563
-
Zhongxing Xu authored
llvm-svn: 58562
-
Duncan Sands authored
cast from ‘const llvm::PointerType*’ to ‘unsigned int’ loses precision). llvm-svn: 58561
-
Owen Anderson authored
exist before. Updating the live intervals in that care is tricky in the general case. Evan, if you see a tighter guard condition for this, let me know. llvm-svn: 58560
-
Oscar Fuentes authored
llvm-svn: 58559
-
Nick Lewycky authored
llvm-svn: 58558
-
Nick Lewycky authored
This triggers only 60 times in llvm-test (look at .llvm.bc, not .linked.rbc) and so it probably wont be turned on by default. Also, may of those are likely to go away when PR2973 is fixed. llvm-svn: 58557
-
Eli Friedman authored
the types for size_t and ptrdiff_t more accurate. I think all of these are correct, but please compare the defines for __PTRDIFF_TYPE__ and __SIZE_TYPE__ to gcc to double-check; this particularly applies to those on BSD variants, since I'm not sure what they do here; I assume here that they're the same as on Linux. Fixes wchar_t to be "int", not "unsigned int" (which I think is correct on everything but Windows). Fixes ptrdiff_t to be "int" rather than "short" on PIC16; "short" is an somewhat strange choice because it normally gets promoted, and it's not consistent with the choice for size_t. llvm-svn: 58556
-
Nick Lewycky authored
by Richard Osborne. llvm-svn: 58555
-
Ted Kremenek authored
llvm-svn: 58554
-