- Feb 09, 2011
-
-
Greg Clayton authored
llvm-svn: 125220
-
Peter Collingbourne authored
llvm-svn: 125219
-
Peter Collingbourne authored
llvm-svn: 125218
-
Peter Collingbourne authored
llvm-svn: 125217
-
Peter Collingbourne authored
llvm-svn: 125216
-
Shantonu Sen authored
Now, Syntax is only used as a tie-breaker if the Arch matches. Previously, a request for x86_64 disassembler followed by the i386 disassembler in a single process would return the cached x86_64 disassembler. Fixes <rdar://problem/8958982> llvm-svn: 125215
-
Stephen Wilson authored
Update the linux plugin code to use the new check for a valid host thread introduced in r125067. llvm-svn: 125213
-
Johnny Chen authored
is in the list of registers to be load and we're in ARMv5T and above, this is an interworking branch. llvm-svn: 125212
-
Dan Gohman authored
llvm-svn: 125211
-
Devang Patel authored
llvm-svn: 125210
-
Johnny Chen authored
we want to record it and issue a WriteRegister callback so the clients can track the mode changes accordingly. llvm-svn: 125209
-
Greg Clayton authored
module's AST context. Prior to this fix, with gcc binaries, we end up with a full class definition for any used classes in each compile unit due to the one definition rule. This would result in us making N copies of class T, where N is the number of compile units that use class T, in the module AST. When an expression would then try and use any types that were duplicated, it would quickly confuse clang and make expression evaluation fail due to all of the duplicate types that got copied over. This is now fixed by making a map of types in the DWARF that maps type names to a collection of types + declaration (file + line number) + DIE. Then later when we find a type we look in this module map and find any already cached types that we can just use. 8935777 llvm-svn: 125207
-
Douglas Gregor authored
since the diagnostic client might poke at source locations that have not yet been deserialized. llvm-svn: 125204
-
Erick Tryzelaar authored
llvm-svn: 125203
-
Erick Tryzelaar authored
llvm-svn: 125202
-
Daniel Dunbar authored
llvm-svn: 125201
-
Duncan Sands authored
llvm-svn: 125200
-
Greg Clayton authored
llvm-svn: 125199
-
Chris Lattner authored
improve interfaces to instsimplify to take this info. llvm-svn: 125196
-
Chris Lattner authored
llvm-svn: 125195
-
Chris Lattner authored
versions of creation functions. Eventually, the "insertion point" versions of these should just be removed, we do have IRBuilder afterall. Do a massive rewrite of much of pattern match. It is now shorter and less redundant and has several other widgets I will be using in other patches. Among other changes, m_Div is renamed to m_IDiv (since it only matches integer divides) and m_Shift is gone (it used to match all binops!!) and we now have m_LogicalShift for the one client to use. Enhance IRBuilder to have "isExact" arguments to things like CreateUDiv and reduce redundancy within IRbuilder by having these methods chain to each other more instead of duplicating code. llvm-svn: 125194
-
Chris Lattner authored
an annoyance of mine when working on tests: if the input .ll file is broken, opt outputs an error and generates an empty file. FileCheck then emits its "ooh I couldn't find the first CHECK line, scanning from ..." which obfuscates the actual problem. llvm-svn: 125193
-
Chris Lattner authored
llvm-svn: 125192
-
Chris Lattner authored
llvm-svn: 125191
-
Chris Lattner authored
llvm-svn: 125190
-
Chris Lattner authored
all covered by llvm-test, which is what they were reduced from back in 2003. llvm-svn: 125189
-
Chris Lattner authored
llvm-svn: 125188
-
David Greene authored
[AVX] Implement 256-bit vector lowering for INSERT_VECTOR_ELT. llvm-svn: 125187
-
Richard Osborne authored
llvm-svn: 125186
-
Nick Lewycky authored
llvm-svn: 125185
-
John McCall authored
complaining. llvm-svn: 125184
-
John McCall authored
there were only three virtual methods of any significance. The primary way to grab child iterators now is with Stmt::child_range children(); Stmt::const_child_range children() const; where a child_range is just a std::pair of iterators suitable for being llvm::tie'd to some locals. I've left the old child_begin() and child_end() accessors in place, but it's probably a substantial penalty to grab the iterators individually now, since the switch-based dispatch is kindof inherently slower than vtable dispatch. Grabbing them together is probably a slight win over the status quo, although of course we could've achieved that with vtables, too. I also reclassified SwitchCase (correctly) as an abstract Stmt class, which (as the first such class that wasn't an Expr subclass) required some fiddling in a few places. There are somewhat gross metaprogramming hooks in place to ensure that new statements/expressions continue to implement getSourceRange() and children(). I had to work around a recent clang bug; dgregor actually fixed it already, but I didn't want to introduce a selfhosting dependency on ToT. llvm-svn: 125183
-
Zhanyong Wan authored
llvm-svn: 125182
-
Greg Clayton authored
llvm-svn: 125181
-
Nick Lewycky authored
could end up removing a different function than we intended because it was functionally equivalent, then end up with a comparison of a function against itself in the next round of comparisons (the one in the function set and the one on the deferred list). To fix this, I introduce a choice in the form of comparison for ComparableFunctions, either normal or "pointer only" used to find exact Function*'s in lookups. Also add some debugging statements. llvm-svn: 125180
-
Ted Kremenek authored
llvm-svn: 125179
-
NAKAMURA Takumi authored
llvm-svn: 125178
-
NAKAMURA Takumi authored
- Note "GnuWin32". - Note LLVM_LIT_TOOLS_DIR - Now we can run tests on VS w/e all tests might pass or not! llvm-svn: 125177
-
NAKAMURA Takumi authored
LitConfig.getBashPath() will not seek in $PATH after LitConfig.getToolsPath() was executed. llvm-svn: 125176
-
NAKAMURA Takumi authored
It seeks tools(eg. [cmp, grep, sed]) in same directory, to be sane. It seeks "bash" only in the directory found at last time. Or bash would be insane (against other tools). llvm-svn: 125175
-