- Sep 15, 2011
-
-
Anna Zaks authored
[analyzer] Refactor: make PathDiagnosticLocation responsible for validation of SourceLocations (commit 2 of ?): - Fix a fixme and move the logic of creating a PathDiagnosticLocation corresponding to a ProgramPoint into a PathDiagnosticLocation constructor. - Rename PathDiagnosticLocation::create to differentiate from the added constructor. llvm-svn: 139825
-
Douglas Gregor authored
When we load the first module, make sure that we wire up the ASTConsumer to the newly-created ASTReader. This makes sure that CodeGen sees the declarations it is interested in llvm-svn: 139824
-
Sean Callanan authored
being initialized properly in the absence of a process. llvm-svn: 139823
-
Owen Anderson authored
The the MC disassembler C API to print in verbose mode. Perhaps there should be a parameter to request verbose mode? llvm-svn: 139821
-
Owen Anderson authored
Add support for stored annotations to MCInst, and provide facilities for MC-based InstPrinters to print them out. Enhance the ARM and X86 InstPrinter's to do so in verbose mode. llvm-svn: 139820
-
Jakob Stoklund Olesen authored
Fix the stats counters to reflect that. llvm-svn: 139819
-
Fariborz Jahanian authored
in class methods with no warning. //rdar://10109725 llvm-svn: 139818
-
Bruno Cardoso Lopes authored
take into consideration the presence of AVX. This change, together with the SSEDomainFix enabled for AVX, makes AVX codegen to always (hopefully) emit the same code as SSE for 128-bit vector ops. I don't have a testcase for this, but AVX now beats SSE in performance for 128-bit ops in the majority of programas in the llvm testsuite llvm-svn: 139817
-
Bruno Cardoso Lopes authored
llvm-svn: 139816
-
Jakob Stoklund Olesen authored
The number of spills could go negative since a folded COPY is just a spill, and it may be eliminated. llvm-svn: 139815
-
Caitlin Sadowski authored
llvm-svn: 139814
-
Jim Grosbach authored
llvm-svn: 139813
-
Caitlin Sadowski authored
relicensing them under the license for llvm. llvm-svn: 139812
-
Jim Grosbach authored
llvm-svn: 139811
-
Jim Grosbach authored
llvm-svn: 139810
-
Argyrios Kyrtzidis authored
-Use an array of offsets for all preprocessed entities -Get rid of the separate array of offsets for just macro definitions; for references to macro definitions use an index inside the preprocessed entities array. -Deserialize each preprocessed entity lazily, at first request; not in bulk. Paves the way for binary searching of preprocessed entities that will offer efficiency and will simplify things on the libclang side a lot. llvm-svn: 139809
-
Benjamin Kramer authored
llvm-svn: 139808
-
Jim Grosbach authored
Assembler private local symbols aren't legal targets of symbol attributes, so issue a diagnostic for them. Based on patch by Stepan Dyatkovskiy. llvm-svn: 139807
-
Jakob Stoklund Olesen authored
Adjust counters when removing spill and reload instructions. We still don't account for reloads being removed by eliminateDeadDefs(). llvm-svn: 139806
-
Caitlin Sadowski authored
llvm-svn: 139805
-
Caitlin Sadowski authored
llvm-svn: 139804
-
Sean Callanan authored
attempt to obtain information from the process even in cases where the process isn't available. llvm-svn: 139803
-
Johnny Chen authored
llvm-svn: 139802
-
Caitlin Sadowski authored
Thread safety: refactoring various out of scope warnings to use the same inteface. This eliminates a lot of unnecessary duplicated code. llvm-svn: 139801
-
Johnny Chen authored
llvm-svn: 139800
-
Benjamin Kramer authored
llvm-svn: 139799
-
Jim Grosbach authored
If we see an EOF w/o a preceding end-of-line, return an EndOfStatement token before returning the Eof token. Based on patch by Stepan Dyatkovskiy. llvm-svn: 139798
-
Jakob Stoklund Olesen authored
When traceSiblingValue() encounters a PHI-def value created by live range splitting, don't look at all the predecessor blocks. That can be very expensive in a complicated CFG. Instead, consider that all the non-PHI defs jointly dominate all the PHI-defs. Tracing directly to all the non-PHI defs is much faster that zipping around in the CFG when there are many PHIs with many predecessors. This significantly improves compile time for indirectbr interpreters. llvm-svn: 139797
-
Jim Grosbach authored
llvm-svn: 139796
-
Jim Grosbach authored
llvm-svn: 139795
-
Jim Grosbach authored
llvm-svn: 139794
-
Jakob Stoklund Olesen authored
The getPrevIndex() function moves to the same slot in the previous instruction. For getVNInfoBefore(), we just need the previous slot in the same instruction. llvm-svn: 139793
-
Jakob Stoklund Olesen authored
Blocks with multiple PHI successors only need to go on the worklist once. Use a SmallPtrSet to track the live-out blocks that have already been handled. This is a lot faster than the two live range check we would otherwise do. Also stop recomputing hasPHIKill flags. Like RenumberValues(), it is conservatively correct to leave them in, and they are not used for anything important. llvm-svn: 139792
-
Douglas Gregor authored
llvm-svn: 139791
-
Justin Holewinski authored
llvm-svn: 139789
-
John McCall authored
possible for that to matter right now, but eventually I think we'll need to unify this better, and then it might. Also, use a more efficient looping structure. llvm-svn: 139788
-
Jakob Stoklund Olesen authored
It does, after all. RemoveCopyByCommutingDef rewrites the uses of one particular value number in A. It doesn't know how to rewrite phi uses, so there can't be any. llvm-svn: 139787
-
Benjamin Kramer authored
llvm-svn: 139786
-
Nick Lewycky authored
DW_AT_GNU_template_name = 0x2110, not 0x2108. That would explain those attr #0x2110 under the DW_TAG_GNU_template_template_param I'm seeing. Migrate from documented values to reality. llvm-svn: 139785
-
Nick Lewycky authored
1. http://gcc.gnu.org/wiki/TemplateParmsDwarf 2. ftp://ftp.software.ibm.com/software/os390/czos/dwarf/mips_extensions.pdf llvm-svn: 139784
-