| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Make target info available to clang code generator. This is far from complete but this helps clang codegen module make progress.
At the moment target triplet and target description strings are hard coded in clang::TargetInfo
llvm-svn: 43572
|
|
|
|
| |
llvm-svn: 43544
|
|
|
|
|
|
|
| |
This is far from complete but this helps clang codegen module
make progress.
llvm-svn: 43536
|
|
|
|
| |
llvm-svn: 43519
|
|
|
|
|
|
|
|
| |
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: 41633
|
|
|
|
| |
llvm-svn: 41206
|
|
|
|
| |
llvm-svn: 39848
|
|
|
|
| |
llvm-svn: 39795
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
evaluation
is ready.
llvm-svn: 39660
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: 39522
|
|
|
|
|
|
| |
cases.
llvm-svn: 39519
|
|
llvm-svn: 39504
|