- Jun 30, 2009
-
-
Evan Cheng authored
Add a bit IsUndef to MachineOperand. This indicates the def / use register operand is defined by an implicit_def. That means it can def / use any register and passes (e.g. register scavenger) can feel free to ignore them. The register allocator, when it allocates a register to a virtual register defined by an implicit_def, can allocate any physical register without worrying about overlapping live ranges. It should mark all of operands of the said virtual register so later passes will do the right thing. This is not the best solution. But it should be a lot less fragile to having the scavenger try to track what is defined by implicit_def. llvm-svn: 74518
-
Zhongxing Xu authored
llvm-svn: 74517
-
Zhongxing Xu authored
create TypedViewRegion for it. llvm-svn: 74516
-
Bill Wendling authored
llvm-svn: 74515
-
Chris Lattner authored
llvm-svn: 74514
-
Chris Lattner authored
David Majnemer! llvm-svn: 74513
-
Chris Lattner authored
llvm-svn: 74512
-
Chris Lattner authored
llvm-svn: 74511
-
Owen Anderson authored
llvm-svn: 74510
-
Chris Lattner authored
llvm-svn: 74509
-
Chris Lattner authored
llvm-svn: 74508
-
Bill Wendling authored
llvm-svn: 74507
-
Argyrios Kyrtzidis authored
Remove ASTContext parameter from DeclContext's methods. This change cascaded down to other Decl's methods and changes to call sites started "escalating". Timings using pre-tokenized "cocoa.h" showed only a ~1% increase in time run between and after this commit. llvm-svn: 74506
-
Argyrios Kyrtzidis authored
It's not getASTContext() to avoid "getASTContext is ambiguous" compiler errors for subclasses of both Decl and DeclContext. llvm-svn: 74505
-
Argyrios Kyrtzidis authored
Timings showed no significant difference before and after the commit. llvm-svn: 74504
-
Argyrios Kyrtzidis authored
llvm-svn: 74503
-
Argyrios Kyrtzidis authored
llvm-svn: 74502
-
Argyrios Kyrtzidis authored
The implementations of these methods can Use Decl::getASTContext() to get the ASTContext. This commit touches a lot of files since call sites for these methods are everywhere. I used pre-tokenized "carbon.h" and "cocoa.h" headers to do some timings, and there was no real time difference between before the commit and after it. llvm-svn: 74501
-
Evan Cheng authored
llvm-svn: 74500
-
Andreas Bolka authored
llvm-svn: 74499
-
Daniel Dunbar authored
llvm-svn: 74498
-
Daniel Dunbar authored
legally negate an MCValue. llvm-svn: 74497
-
Daniel Dunbar authored
llvm-svn: 74496
-
Dan Gohman authored
llvm-svn: 74495
-
Dan Gohman authored
This will allow it to be used in unittests that use gtest's EXPECT_EQ. llvm-svn: 74494
-
Chris Lattner authored
This is simple enough, but then I thought it would be nice to make PrintingPolicy get a LangOptions so that various things can key off "bool" and "C++" independently. This spiraled out of control. There are many fixme's, but I think things are slightly better than they were before. One thing that can be improved: CFG should probably have an ASTContext pointer in it, which would simplify its clients. llvm-svn: 74493
-
Dan Gohman authored
llvm-svn: 74492
-
Dan Gohman authored
llvm-svn: 74491
-
David Goodwin authored
llvm-svn: 74490
-
Daniel Dunbar authored
- Don't print "Parsing" in front of every message. - Take additional "type" argument which is prepended to the message (with ": ") if given. - Update clients to print errors (warnings) as: <filename>:<line number>: error(warning): ... llvm-svn: 74489
-
Owen Anderson authored
Add LLVMContext, which will eventually be used as a container for privatizing a lot of (currently) global state, including the constant and type uniquing tables. For now, just make it a wrapper around the existing APIs. llvm-svn: 74488
-
Daniel Dunbar authored
llvm-svn: 74487
-
Fariborz Jahanian authored
llvm-svn: 74486
-
Mikhail Glushenkov authored
llvm-svn: 74485
-
Mikhail Glushenkov authored
llvm-svn: 74484
-
Mikhail Glushenkov authored
llvm-svn: 74483
-
Mikhail Glushenkov authored
llvm-svn: 74482
-
Anders Carlsson authored
llvm-svn: 74481
-
Fariborz Jahanian authored
list. llvm-svn: 74480
-
Daniel Dunbar authored
llvm-svn: 74479
-