- Apr 05, 2011
-
-
Bill Wendling authored
llvm-svn: 128860
-
Johnny Chen authored
rdar://problem/9229922 ARM disassembler discrepancy: erroneously accepting RFE Also LDC/STC instructions are predicated while LDC2/STC2 instructions are not, fixed while doing regression testings. llvm-svn: 128859
-
Ted Kremenek authored
Fix PR 9626 (duplicated self-init warnings under -Wuninitialized) with numerous CFG and UninitializedValues analysis changes: 1) Change the CFG to include the DeclStmt for conditional variables, instead of using the condition itself as a faux DeclStmt. 2) Update ExprEngine (the static analyzer) to understand (1), so not to regress. 3) Update UninitializedValues.cpp to initialize all tracked variables to Uninitialized at the start of the function/method. 4) Only use the SelfReferenceChecker (SemaDecl.cpp) on global variables, leaving the dataflow analysis to handle other cases. The combination of (1) and (3) allows the dataflow-based -Wuninitialized to find self-init problems when the initializer contained control-flow. llvm-svn: 128858
-
Devang Patel authored
llvm-svn: 128857
-
Jim Grosbach authored
llvm-svn: 128856
-
Devang Patel authored
llvm-svn: 128855
-
Argyrios Kyrtzidis authored
llvm-svn: 128854
-
Argyrios Kyrtzidis authored
llvm-svn: 128853
-
Argyrios Kyrtzidis authored
between libFrontend and libDriver. llvm-svn: 128852
-
Jim Grosbach authored
The JITMemory manager references LLVM IR constructs directly, while the runtime Dyld works at a lower level and can handle objects which may not originate from LLVM IR. Introduce a new layer for the memory manager to handle the interface between them. For the MCJIT, this layer will be almost entirely simply a call-through w/ translation between the IR objects and symbol names. llvm-svn: 128851
-
Sandeep Patel authored
llvm-svn: 128850
-
Argyrios Kyrtzidis authored
Change test/Analysis/idempotent-operations.c to output the .plist file in the test output directory. llvm-svn: 128849
-
- Apr 04, 2011
-
-
Argyrios Kyrtzidis authored
Introduce Driver::createInvocationFromArgs used to create a CompilerInvocation from command-line args. llvm-svn: 128848
-
Joerg Sonnenberger authored
llvm-svn: 128847
-
Jakob Stoklund Olesen authored
When a virtual register has a single value that is defined as a copy of a reserved register, permit that copy to be joined. These virtual register are usually copies of the stack pointer: %vreg75<def> = COPY %ESP; GR32:%vreg75 MOV32mr %vreg75, 1, %noreg, 0, %noreg, %vreg74<kill> MOV32mi %vreg75, 1, %noreg, 8, %noreg, 0 MOV32mi %vreg75<kill>, 1, %noreg, 4, %noreg, 0 CALLpcrel32 ... Coalescing these virtual registers early decreases register pressure. Previously, they were coalesced by RALinScan::attemptTrivialCoalescing after register allocation was completed. The lower register pressure causes the mcinst-lowering-cmp0.ll test case to fail because it depends on linear scan spilling a particular register. I am deleting 2008-08-05-SpillerBug.ll because it is counting the number of instructions emitted, and its revision history shows the 'correct' count being edited many times. llvm-svn: 128845
-
Jakob Stoklund Olesen authored
llvm-svn: 128844
-
Ted Kremenek authored
-Wuninitialized: use "self-init" warning when issue uninitialized values warnings from the dataflow analysis that include within the initializer of a variable. llvm-svn: 128843
-
Devang Patel authored
llvm-svn: 128842
-
Johnny Chen authored
rdar://problem/9225433 llvm-svn: 128841
-
Ted Kremenek authored
llvm-svn: 128840
-
Devang Patel authored
llvm-svn: 128839
-
Ted Kremenek authored
-Wuninitialized: don't issue fixit for initializer if a variable declaration already has an initializer. llvm-svn: 128838
-
Greg Clayton authored
GDBRemoteCommunicationServer classes. This involved adding a new packet named "qSpeedTest" which can test the speed of a packet send/response pairs using a wide variety of send/recv packet sizes. Added a few new connection classes: one for shared memory, and one for using mach messages (Apple only). The mach message stuff is experimental and not working yet, but added so I don't lose the code. The shared memory stuff uses pretty standard calls to setup shared memory. llvm-svn: 128837
-
Jakob Stoklund Olesen authored
This causes defs to dominate uses, no instructions after terminators, and other goodness. llvm-svn: 128836
-
Jakob Stoklund Olesen authored
The code inserted by PPCTargetLowering::EmitInstrWithCustomInserter for ppc64 is wrong, and I don't know how to fix it. It seems to be using the correct register classes for pointers, but it inserts all 32-bit instructions. llvm-svn: 128835
-
Eric Christopher authored
llvm-svn: 128834
-
Ted Kremenek authored
When emitting a "too many arguments to function call..." error, also include a note with a location for the function prototype. llvm-svn: 128833
-
Bruno Cardoso Lopes authored
also fix the encoding of the later. - Add a new encoding bit to describe the index mode used in AM3. - Teach printAddrMode3Operand to check by the addressing mode which index mode to print. - Testcases. llvm-svn: 128832
-
Chris Lattner authored
llvm-svn: 128831
-
Akira Hatanaka authored
Move transformation of JmpLink and related nodes done during instruction selection to Legalize phase. llvm-svn: 128830
-
Jakob Stoklund Olesen authored
llvm-svn: 128829
-
Jakob Stoklund Olesen authored
The 32-bit R0 cannot be used where a 64-bit register is expected. llvm-svn: 128828
-
Jakob Stoklund Olesen authored
llvm-svn: 128827
-
Joerg Sonnenberger authored
llvm-svn: 128826
-
Bob Wilson authored
Sandeep Patel noticed that the alignment was wrong for Neon vector types, and this change is partly derived from his patch. For the APCS ABI, however, additional changes were required: the maximum ABI alignment is 32 bits and the preferred alignment for i64 and f64 types should be 64 bits. llvm-svn: 128825
-
Joerg Sonnenberger authored
llvm-svn: 128823
-
Joerg Sonnenberger authored
Define most shift masks incrementally to reduce the redundant hard-coding. Introduce new shift for the VEX flags to replace the magic constant 32 in various places. llvm-svn: 128822
-
Jakob Stoklund Olesen authored
llvm-svn: 128821
-
Jakob Stoklund Olesen authored
llvm-svn: 128820
-
NAKAMURA Takumi authored
llvm-svn: 128819
-