| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 43569
|
|
|
|
| |
llvm-svn: 43544
|
|
|
|
|
|
|
| |
This is far from complete but this helps clang codegen module
make progress.
llvm-svn: 43536
|
|
|
|
| |
llvm-svn: 43519
|
|
|
|
| |
llvm-svn: 43516
|
|
|
|
| |
llvm-svn: 43383
|
|
|
|
|
|
|
|
| |
Silenced some VC++ warnings.
Had to rephrase a partial specialization of the IntrospectionTrait struct in SerializationTest.cpp, please review.
Added a compiler specific workaround in IdentifierTable.h. Is that the way to fix this kind of issues?
llvm-svn: 43074
|
|
|
|
|
|
|
|
| |
Move Identifier/Loc instance variables (and associated getters/setters) down from Decl to ScopedDecl/FieldDecl.
Objc AST's can now inherit from Decl without getting instance variables and types that are C specific. For now, I am keeping NextDeclarator, since I believe it may be useful to ObjC. If not, it can be moved later.
llvm-svn: 41934
|
|
|
|
| |
llvm-svn: 41692
|
|
|
|
|
|
|
| |
to their corresponding library routines (e.g. isinf). This allows us to handle
all the stuff in macos math.h, and other stuff as it's added to *Builtins.def.
llvm-svn: 41634
|
|
|
|
| |
llvm-svn: 41633
|
|
|
|
| |
llvm-svn: 41206
|
|
|
|
| |
llvm-svn: 41145
|
|
|
|
| |
llvm-svn: 39884
|
|
|
|
|
|
| |
compute type alignment. This info is needed for struct layout.
llvm-svn: 39850
|
|
|
|
|
|
| |
vars. Approach suggested by Keith.
llvm-svn: 39849
|
|
|
|
| |
llvm-svn: 39848
|
|
|
|
| |
llvm-svn: 39795
|
|
|
|
| |
llvm-svn: 39671
|
|
|
|
|
|
|
|
|
|
| |
void test(int A, _Complex float Y) {
_Complex float X;
X = X;
}
llvm-svn: 39669
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
int X, bar(int,int,int);
short Y;
double foo() {
return bar(X, Y, 3);
}
into:
@X = external global i32 ; <i32*> [#uses=1]
@Y = external global i16 ; <i16*> [#uses=1]
define double @foo() {
entry:
%tmp = load i32* @X ; <i32> [#uses=1]
%tmp1 = load i16* @Y ; <i16> [#uses=1]
%promote = sext i16 %tmp1 to i32 ; <i32> [#uses=1]
%call = tail call i32 @bar( i32 %tmp, i32 %promote, i32 3 ) ; <i32> [#uses=1]
%conv = sitofp i32 %call to double ; <double> [#uses=1]
ret double %conv
}
declare i32 @bar(i32, i32, i32)
llvm-svn: 39663
|
|
|
|
|
|
| |
and globals.
llvm-svn: 39661
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
out of the llvm namespace. This makes the clang namespace be a sibling of
llvm instead of being a child.
The good thing about this is that it makes many things unambiguous. The
bad things is that many things in the llvm namespace (notably data structures
like smallvector) now require an llvm:: qualifier. IMO, libsystem and libsupport
should be split out of llvm into their own namespace in the future, which will fix
this issue.
llvm-svn: 39659
|
|
|
|
| |
llvm-svn: 39656
|
|
|
|
|
|
| |
cases.
llvm-svn: 39519
|
|
llvm-svn: 39504
|