- Oct 12, 2011
-
-
Nick Lewycky authored
llvm-svn: 141749
-
Sean Callanan authored
of namespaces (only in the modules where they've been found) for entities inside those namespaces. For each NamespaceDecl that has been imported into the parser, we maintain a map containing [ModuleSP, ClangNamespaceDecl] pairs in the ASTImporter. This map has one entry for each module in which the namespace has been found. When we later scan for an entity inside a namespace, we search only the modules in which that namespace was found. Also made a small whitespace fix in ClangExpressionParser.cpp. llvm-svn: 141748
-
Evan Cheng authored
1. The speculation check may not have been performed if the BB hasn't had a load LICM candidate. 2. If the candidate would be CSE'ed, then go ahead and speculatively LICM the instruction even if it's in high register pressure situation. llvm-svn: 141747
-
Jakob Stoklund Olesen authored
When widening a copy, we are reading a larger register that may not be live. Use an <undef> flag to tell the register scavenger and machine code verifier that we know the value isn't defined. We now widen: %S6<def> = COPY %S4<kill>, %D3<imp-def> into: %D3<def> = VMOVD %D2<undef>, pred:14, pred:%noreg, %S4<imp-use,kill> This also keeps the <kill> flag on %S4 so we don't inadvertently kill a live value in %S5. Finally, ensure that ARMBaseInstrInfo::setExecutionDomain() preserves the <undef> flag when converting VMOVD to VORR. llvm-svn: 141746
-
Fariborz Jahanian authored
property in the diagnostic. llvm-svn: 141745
-
Evan Cheng authored
Also teach MachineLICM to avoid "speculation" when register pressure is high. llvm-svn: 141744
-
Akira Hatanaka authored
llvm-svn: 141743
-
Akira Hatanaka authored
instructions with two register operands derive from it. llvm-svn: 141742
-
Bob Wilson authored
llvm-svn: 141741
-
Johnny Chen authored
to be able to specify the runhook(s) to bring the debug session to a certain state before running the benchmarking logic. An example, ./dotest.py -v -t +b -k 'process attach -n Mail' -k 'thread backtrace all' -p TestRunHooksThenSteppings.py spawns lldb, attaches to the 'Mail' application, does a backtrace for all threads, and then runs the benchmark to step the inferior multiple times. llvm-svn: 141740
-
Eric Christopher authored
llvm-svn: 141739
-
John McCall authored
and DefaultFunctionArrayLvalueConversion. To prevent significant regression for should-this-be-a-call fixits, and to repair some such regression from the introduction of bound member placeholders, make those placeholder checks try to build calls appropriately. Harden the build-a-call logic while we're at it. llvm-svn: 141738
-
Akira Hatanaka authored
llvm-svn: 141737
-
Akira Hatanaka authored
arithmetic and logical instructions with three register operands derive from them. Fix instruction encoding too. llvm-svn: 141736
-
Fariborz Jahanian authored
to their fragile-abi representation. llvm-svn: 141735
-
Chris Lattner authored
llvm-svn: 141734
-
Chris Lattner authored
llvm-svn: 141733
-
Eric Christopher authored
Migrate most of the location setting within the larger API in CGDebugInfo and update a lot of callers. Remove the existing file/scope change machinery in UpdateLineDirectiveRegion and replace it with DILexicalBlockFile usage. Finishes off the rest of rdar://10246360 llvm-svn: 141732
-
Eric Christopher authored
llvm-svn: 141731
-
Eric Christopher authored
llvm-svn: 141730
-
Eric Christopher authored
file. Since it should only be used when necessary propagate it through the backend code generation and tweak testcases accordingly. This helps with code like in clang's test/CodeGen/debug-info-line.c where we have multiple #line directives within a single lexical block and want to generate only a single block that contains each file change. Part of rdar://10246360 llvm-svn: 141729
-
Eric Christopher authored
llvm-svn: 141728
-
Eric Christopher authored
llvm-svn: 141727
-
Bill Wendling authored
The blocks with invokes have branches to the dispatch block, because that more correctly models the behavior of the CFG. The dispatch of course has edges to the landing pads. Those landing pads could contain invokes, which then have branches back to the dispatch. This creates a loop. The machine LICM pass looks at this loop and thinks it can hoist elements out of it. But because the dispatch is an alternate entry point into the program, the hoisted instructions won't be executed. I wasn't able to get a testcase which was small and could reproduce all of the time. The function_try_block.cpp in llvm-test was where this showed up. llvm-svn: 141726
-
Eli Friedman authored
llvm-svn: 141723
-
Akira Hatanaka authored
llvm-svn: 141722
-
- Oct 11, 2011
-
-
Jim Grosbach authored
Fill out the rest of the encoding information, update to properly mark the LDC/STC instructions as predicable while the LDC2/STC2 instructions are not, and adjust the parser accordingly. llvm-svn: 141721
-
Akira Hatanaka authored
llvm-svn: 141720
-
Richard Smith authored
llvm-svn: 141719
-
Akira Hatanaka authored
the real instructions. llvm-svn: 141718
-
Richard Smith authored
Constant expression evaluation: refactor value initialization and scalar list initialization into base class. llvm-svn: 141717
-
Bill Wendling authored
llvm-svn: 141716
-
Akira Hatanaka authored
llvm-svn: 141715
-
-
Cameron Zwarich authored
would have never worked, since the element type of a vector type is never a vector type. Also fix the conditional to be more direct in checking whether EltTy is a vector type. llvm-svn: 141713
-
Johnny Chen authored
llvm-svn: 141712
-
Johnny Chen authored
Patch by Dawn. llvm-svn: 141711
-
Akira Hatanaka authored
llvm-svn: 141708
-
Greg Clayton authored
llvm-svn: 141707
-
Jim Grosbach authored
llvm-svn: 141705
-