- Oct 23, 2012
-
-
Michael J. Spencer authored
Each option has a set of prefixes. When matching an argument such as -funroll-loops. First the leading - is removed as it is a prefix. Then a lower_bound search for "funroll-loops" is done against the option table by option name. From there each option prefix + option name combination is tested against the argument. This allows us to support Microsoft style options where both / and - are valid prefixes. It also simplifies the cases we already have where options come in both - and -- forms. Almost every option for gnu-ld happens to have this form. llvm-svn: 166444
-
Enrico Granata authored
llvm-svn: 166443
-
- Oct 22, 2012
-
-
NAKAMURA Takumi authored
llvm-svn: 166442
-
Eli Friedman authored
llvm-svn: 166441
-
Eli Friedman authored
It's unnecessary and makes the generated assembly less faithful to the original source. llvm-svn: 166440
-
rdar://problem/12524810Greg Clayton authored
Fixed a crasher where if an invalid SBTarget was passed to: lldb::addr_t SBAddress::GetLoadAddress (const SBTarget &target) const; We would crash. llvm-svn: 166439
-
Richard Trieu authored
expressions involving __has_include llvm-svn: 166438
-
Chad Rosier authored
Part of rdar://12470317 llvm-svn: 166436
-
Julien Lerouge authored
deterministic, replace it with a DenseMap<std::pair<unsigned, unsigned>, PHINode*> (we already have a map from BasicBlock to unsigned). <rdar://problem/12541389> llvm-svn: 166435
-
Chad Rosier authored
llvm-svn: 166434
-
Chad Rosier authored
CodeGen in the front-end not implemented yet. rdar://12470317 llvm-svn: 166433
-
rdar://problem/12479701Enrico Granata authored
<rdar://problem/12479701> Use the plain pydoc pager to work around Python help() pagination conflicts with our I/O management llvm-svn: 166432
-
Daniel Dunbar authored
llvm-svn: 166431
-
Daniel Dunbar authored
llvm-svn: 166430
-
Douglas Gregor authored
manager block and input-file information in the control block. The source manager entries now point back into the control block. Input files are now lazily deserialized (if validation is disabled). Reduces Cocoa's PCH by the ~70k I added when I introduced the redundancy in r166251. llvm-svn: 166429
-
Daniel Dunbar authored
- This is an assumption that is currently hardwired into the backend, we need to do this in order for the frontend and backend to agree. llvm-svn: 166428
-
Nadav Rotem authored
Fix by Shivarama Rao <Shivarama.Rao@amd.com> llvm-svn: 166427
-
rdar://problem/12437442Enrico Granata authored
Given our implementation of ValueObjects we could have a scenario where a ValueObject has a dynamic type of Foo* at one point, and then its dynamic type changes to Bar* If Bar* has synthetic children enabled, by the time we figure that out, our public API is already vending SBValues wrapping a DynamicVO, instead of a SyntheticVO and there was no trivial way for us to change the SP inside an SBValue on the fly This checkin reimplements SBValue in terms of a wrapper, ValueImpl, that allows this substitutions on-the-fly by overriding GetSP() to do The Right Thing (TM) As an additional bonus, GetNonSyntheticValue() now works, and we can get rid of the ForceDisableSyntheticChildren idiom in ScriptInterpreterPython Lastly, this checkin makes sure the synthetic VOs get the correct m_value and m_data from their parents (prevented summaries from working in some cases) llvm-svn: 166426
-
Nadav Rotem authored
llvm-svn: 166425
-
Argyrios Kyrtzidis authored
llvm-svn: 166424
-
Hal Finkel authored
Unreachable blocks can have invalid instructions. For example, jump threading can produce self-referential instructions in unreachable blocks. Also, we should not be spending time optimizing unreachable code. Fixes PR14133. llvm-svn: 166423
-
Nadav Rotem authored
Patch by Quentin Colombet <qcolombet@apple.com> Original description: """ The attached patch is the first step to have a better control on Oz related optimizations. The Oz optimization level focuses on code size, thus I propose to add an attribute called ForceSizeOpt. """ llvm-svn: 166422
-
Daniel Jasper authored
llvm-svn: 166421
-
rdar://problem/12473003Greg Clayton authored
Allow type searches to specify a type keyword when searching for type. Currently supported type keywords are: struct, class, union, enum, and typedef. So now you can search for types with a string like "struct foo". llvm-svn: 166420
-
Nadav Rotem authored
llvm-svn: 166410
-
Nadav Rotem authored
Vectorizer: optimize the generation of selects. If the condition is uniform, generate a scalar-cond select (i1 as selector). llvm-svn: 166409
-
Nadav Rotem authored
llvm-svn: 166408
-
Nick Lewycky authored
very small but very important bugfix: bool shouldExplore(Use *U) { Value *V = U->get(); if (isa<CallInst>(V) || isa<InvokeInst>(V)) [...] should have read: bool shouldExplore(Use *U) { Value *V = U->getUser(); if (isa<CallInst>(V) || isa<InvokeInst>(V)) Fixes PR14143! llvm-svn: 166407
-
NAKAMURA Takumi authored
It broke selfhosting stage2 in several builders. llvm-svn: 166406
-
Nick Lewycky authored
calls can be marked tail. llvm-svn: 166405
-
Richard Smith authored
produces an exception of 'noexcept(false)' and is thus compatible with an explicit exception specification of 'noexcept(false)'. llvm-svn: 166404
-
- Oct 21, 2012
-
-
Tobias Grosser authored
This change ensures that isl is only detected if it includes code generation support. This allows us to remove a lot of conditional compilation and also avoids missing test cases in case the feature is not available. llvm-svn: 166403
-
Tobias Grosser authored
On Linux there is no difference between shared modules and shared libaries, both are '.so' files. However, on darwin only shared modules are '.so' files. Shared libraries have the '.dynlib' suffix. Fix test cases on darwin by expecting a shared module suffix for Polly instead of a shared library suffix. This fixes PR14135 Reported by: Jack Howarth <howarth@bromo.med.uc.edu> llvm-svn: 166402
-
Hal Finkel authored
This is important for vectors of pointers because only DataLayout, not the underlying vector type, knows how to calculate the size of the pointers in the vector. Fixes PR14138. llvm-svn: 166401
-
Lang Hames authored
the suggestions. llvm-svn: 166400
-
Benjamin Kramer authored
It passes all tests, produces better results than the old code but uses the wrong pass, LoopDependenceAnalysis, which is old and unmaintained. "Why is it still in tree?", you might ask. The answer is obviously: "To confuse developers." Just swapping in the new dependency pass sends the pass manager into an infinte loop, I'll try to figure out why tomorrow. llvm-svn: 166399
-
Jakob Stoklund Olesen authored
Reported by Vincent Lejeune using an out-of-tree target. llvm-svn: 166398
-
Tobias Grosser authored
llvm-svn: 166397
-
Tobias Grosser authored
Reported by: Jack Howarth <howarth@bromo.med.uc.edu> llvm-svn: 166396
-
Anders Carlsson authored
llvm-svn: 166395
-