- Jun 20, 2009
-
-
Chris Lattner authored
a global with that gets printed with the :mem modifier. All operands to lea's should be handled with the lea32mem operand kind, and this allows the TLS stuff to do this. There are several better ways to do this, but I went for the minimal change since I can't really test this (beyond make check). This also makes the use of EBX explicit in the operand list in the 32-bit, instead of implicit in the instruction. llvm-svn: 73834
-
Fariborz Jahanian authored
llvm-svn: 73833
-
Chris Lattner authored
llvm-svn: 73832
-
Chris Lattner authored
llvm-svn: 73831
-
Chris Lattner authored
with MBB's. llvm-svn: 73830
-
Chris Lattner authored
it as a pcrel immediate instead. This gets pc-rel weirdness out of the main printoperand codepath. llvm-svn: 73829
-
Duncan Sands authored
compatible with the type will be used (at least the ABI alignment). llvm-svn: 73827
-
Argyrios Kyrtzidis authored
llvm-svn: 73826
-
Argyrios Kyrtzidis authored
llvm-svn: 73825
-
Chris Lattner authored
llvm-svn: 73824
-
Argyrios Kyrtzidis authored
Introduce SourceManager::getLocation() to get a source location out of a "file:line:column" triplet. llvm-svn: 73823
-
Argyrios Kyrtzidis authored
llvm-svn: 73822
-
Argyrios Kyrtzidis authored
Introduce Decl::getSourceRange() which, like Stmt::getSourceRange(), represents the range that the declaration covers. Add initial support for NamespaceDecl, VarDecl, and FunctionDecl: -NamespaceDecl range is from name to '}' -VarDecl is from name to possible init expression -FunctionDecl is from name to last parameter name or to end of its function body. llvm-svn: 73821
-
Argyrios Kyrtzidis authored
llvm-svn: 73820
-
Argyrios Kyrtzidis authored
ASTUnit is a helper class to allow easy loading of an ASTContext from a PCH file. No users for now. llvm-svn: 73819
-
Chris Lattner authored
llvm-svn: 73818
-
Chris Lattner authored
LEA64_32r, eliminating a bunch of modifier logic stuff on addr modes. Implement support for printing mbb labels as operands. llvm-svn: 73817
-
Evan Cheng authored
llvm-svn: 73816
-
Devang Patel authored
llvm-svn: 73815
-
Devang Patel authored
llvm-svn: 73813
-
Douglas Gregor authored
llvm-svn: 73812
-
Chris Lattner authored
llvm-svn: 73811
-
Chris Lattner authored
step is to make tblgen generate something more appropriate for MCInst, and generate calls to operand translation routines where needed. This includes a bunch of #if 0 code which will slowly be refactored into something sensible. llvm-svn: 73810
-
Chris Lattner authored
llvm-svn: 73809
-
Dan Gohman authored
llvm-svn: 73808
-
Dan Gohman authored
SCEVUnknowns with identical Instructions to be equal. This allows it to analze cases such as the attached testcase, where the front-end has cloned the loop controlling expression. Along with r73805, this lets IndVarSimplify eliminate all the sign-extend casts in the loop in the attached testcase. llvm-svn: 73807
-
Owen Anderson authored
llvm-svn: 73806
-
Dan Gohman authored
in the loop backedge-taken count computation of the maximum possible trip count. llvm-svn: 73805
-
Douglas Gregor authored
llvm-svn: 73804
-
Owen Anderson authored
Add debugging code to test for various locking faux-pas's, when running in single threaded mode. This should help improve testing coverage for threading support, without having extensive actually concurrent clients yet. llvm-svn: 73803
-
Owen Anderson authored
llvm-svn: 73802
-
Owen Anderson authored
Revert r73790, and replace it with a significantly less ugly solution. Rather than trying to make the global reader-writer lock work, create separate recursive mutexes for each value map. The recursive-ness fixes the double-acquiring issue, which having one per ValueMap lets us continue to maintain some concurrency. llvm-svn: 73801
-
Fariborz Jahanian authored
BlockDeclRefExpr to PCH. llvm-svn: 73800
-
Chris Lattner authored
on X86. Not useful yet. llvm-svn: 73799
-
Chris Lattner authored
llvm-svn: 73798
-
Douglas Gregor authored
C++. This logic is required to trigger implicit instantiation of function templates and member functions of class templates, which will be implemented separately. This commit includes support for -Wunused-parameter, printing warnings for named parameters that are not used within a function/Objective-C method/block. Fixes <rdar://problem/6505209>. llvm-svn: 73797
-
Dan Gohman authored
llvm-svn: 73796
-
Fariborz Jahanian authored
to not lose its 'const/volatile' qualifier. llvm-svn: 73795
-
Dan Gohman authored
so that it can access the TargetData member (when available) and use ValueTracking.h information to compute information for SCEVUnknown Values. Also add GetMinLeadingZeros and GetMinSignBits functions, with minimal implementations. llvm-svn: 73794
-
Dan Gohman authored
hand-crafted testcase which demonstrates the bug that was exposed in 254.gap. llvm-svn: 73793
-