- Apr 11, 2013
-
-
Michael Liao authored
This patch is revised based on patch from Victor Umansky <victor.umansky@intel.com>. More cases are handled in X86's bool simplification, i.e. - SETCC_CARRY - value is truncated to i1 with AND As a by-product, PR5443 is also fixed. llvm-svn: 179265
-
Shankar Easwaran authored
llvm-svn: 179264
-
NAKAMURA Takumi authored
llvm-svn: 179263
-
NAKAMURA Takumi authored
llvm-svn: 179262
-
NAKAMURA Takumi authored
llvm-svn: 179261
-
Shankar Easwaran authored
llvm-svn: 179260
-
Rafael Espindola authored
llvm-svn: 179259
-
Jason Molenda authored
to '-A'. Add option '-a' / '--address' to disassemble which will find the function that contains that address, and disassemble the entire function. <rdar://problem/13436207> llvm-svn: 179258
-
Shankar Easwaran authored
to the list of undefined atoms. The processing of undefined atoms from dynamic libraries is controlled by use-shlib-undefines command line option. This patch also adds additional command line arguments to allow/disallow unresolved symbols from shared libraries and mimics GNU ld behavior. llvm-svn: 179257
-
Rafael Espindola authored
The object was already checked in, but was not being tested. llvm-svn: 179256
-
Rafael Espindola authored
It was returning the loaded address of the section containing the relocation, which really doesn't seem to be the intent of this function. llvm-svn: 179255
-
John McCall authored
It's a kind of implicit conversion, which we generally drop, but more importantly it's got very specific placement requirements. rdar://13617051 llvm-svn: 179254
-
Sean Callanan authored
entities with the new Materializer so that it only registers those entities that actually need to be placed in the struct. llvm-svn: 179253
-
Hal Finkel authored
Because of how predication in implemented on PPC (only for branches), I think that this is the right thing to do. No functionality change intended. llvm-svn: 179252
-
Argyrios Kyrtzidis authored
clang_Type_getAlignOf clang_Type_getSizeOf clang_Type_getOffsetOf clang_Cursor_isBitField Patch by Loïc Jaquemet! llvm-svn: 179251
-
Jordan Rose authored
For this source: const int &ref = someStruct.bitfield; We used to generate this AST: DeclStmt [...] `-VarDecl [...] ref 'const int &' `-MaterializeTemporaryExpr [...] 'const int' lvalue `-ImplicitCastExpr [...] 'const int' lvalue <NoOp> `-MemberExpr [...] 'int' lvalue bitfield .bitfield [...] `-DeclRefExpr [...] 'struct X' lvalue ParmVar [...] 'someStruct' 'struct X' Notice the lvalue inside the MaterializeTemporaryExpr, which is very confusing (and caused an assertion to fire in the analyzer - PR15694). We now generate this: DeclStmt [...] `-VarDecl [...] ref 'const int &' `-MaterializeTemporaryExpr [...] 'const int' lvalue `-ImplicitCastExpr [...] 'int' <LValueToRValue> `-MemberExpr [...] 'int' lvalue bitfield .bitfield [...] `-DeclRefExpr [...] 'struct X' lvalue ParmVar [...] 'someStruct' 'struct X' Which makes a lot more sense. This allows us to remove code in both CodeGen and AST that hacked around this special case. The commit also makes Clang accept this (legal) C++11 code: int &&ref = std::move(someStruct).bitfield PR15694 / <rdar://problem/13600396> llvm-svn: 179250
-
Daniel Dunbar authored
llvm-svn: 179249
-
Daniel Dunbar authored
llvm-svn: 179248
-
Daniel Dunbar authored
llvm-svn: 179247
-
Enrico Granata authored
Moving over to source-regex might be a good idea, but it’s not what we really want to test. Ideally, we would set a regex breakpoint to find the right line, then delete it and set one by file and line with the right line info from before. llvm-svn: 179246
-
Sean Callanan authored
information about each variable that needs to be materialized for an expression to work. The next step is to migrate all materialization code from ClangExpressionDeclMap to Materializer, and to use it for variable materialization. llvm-svn: 179245
-
Nico Rieck authored
llvm-svn: 179244
-
Daniel Dunbar authored
llvm-svn: 179243
-
Anton Yartsev authored
[analyzer] Refactoring: better doxygen comment; renaming isTrackedFamily to isTrackedByCurrentChecker llvm-svn: 179242
-
Eli Bendersky authored
llvm-svn: 179241
-
Nico Rieck authored
Add support for the COFF relocation types IMAGE_REL_I386_DIR32NB and IMAGE_REL_AMD64_ADDR32NB for 32- and 64-bit respectively. These are similar to normal 4-byte relocations except that they do not include the base address of the image. Image-relative relocations are used for debug information (32-bit) and SEH unwind tables (64-bit). A new MCSymbolRef variant called 'VK_COFF_IMGREL32' is introduced to specify such relocations. For AT&T assembly, this variant can be accessed using the symbol suffix '@imgrel'. llvm-svn: 179240
-
Joey Gouly authored
llvm-svn: 179239
-
Fariborz Jahanian authored
// rdar://12379053 llvm-svn: 179238
-
Adrian Prantl authored
llvm-svn: 179237
-
Adrian Prantl authored
llvm-svn: 179236
-
Anna Zaks authored
llvm-svn: 179235
-
Anna Zaks authored
llvm-svn: 179234
-
Tobias Grosser authored
Statements with an empty iteration domain may not have a schedule assigned by the isl schedule optimizer. As Polly expects each statement to have a schedule, we keep the old schedule for such statements. This fixes http://llvm.org/PR15645` Reported-by:
Johannes Doerfert <johannesdoerfert@gmx.de> llvm-svn: 179233
-
Anton Yartsev authored
llvm-svn: 179232
-
Anton Yartsev authored
Now the check is also applied to arguments for Objective-C method calls and to 'this' pointer. llvm-svn: 179230
-
Jack Carter authored
These changes are based on commit responses for r179135. llvm-svn: 179229
-
Anna Zaks authored
Fixes PR13476 llvm-svn: 179228
-
Hal Finkel authored
In the simple and triangle if-conversion cases, when CopyAndPredicateBlock is used because the to-be-predicated block has other predecessors, we need to explicitly remove the old copied block from the successors list. Normally if conversion relies on TII->AnalyzeBranch combined with BB->CorrectExtraCFGEdges to cleanup the successors list, but if the predicated block contained an un-analyzable branch (such as a now-predicated return), then this will fail. These extra successors were causing a problem on PPC because it was causing later passes (such as PPCEarlyReturm) to leave dead return-only basic blocks in the code. llvm-svn: 179227
-
Bill Wendling authored
llvm-svn: 179226
-
Jack Carter authored
These changes are based on commit responses for r179135. llvm-svn: 179225
-