- Aug 25, 2012
-
-
Richard Smith authored
Reviewed offline by chandlerc. llvm-svn: 162623
-
Jakob Stoklund Olesen authored
llvm-svn: 162622
-
Ted Kremenek authored
Unless the user specifies, the clang used for static analysis is the one found relative to scan-build. If the user specifies -with-analyzer, they can pick either to use the clang bundled with Xcode (via xcrun) or they can specify a path to clang. llvm-svn: 162620
-
Ted Kremenek authored
and -store from help text because they are no longer relevant to users. llvm-svn: 162619
-
Sam Panzer authored
llvm-svn: 162618
-
Jim Ingham authored
llvm-svn: 162617
-
John McCall authored
make sure we walk up the DC chain for the current context, rather than allowing ourselves to get switched over to the canonical DC chain. Fixes PR13642. llvm-svn: 162616
-
Jakob Stoklund Olesen authored
ARMConstantIslandPass expects this instruction to stay in the same basic block as the jump table branch. llvm-svn: 162615
-
Jakob Stoklund Olesen authored
Previously, instructions without a primary patterns wouldn't get their properties inferred. Now, we use all single-instruction patterns for inference, including 'def : Pat<>' instances. This causes a lot of instruction flags to change. - Many instructions no longer have the UnmodeledSideEffects flag because their flags are now inferred from a pattern. - Instructions with intrinsics will get a mayStore flag if they already have UnmodeledSideEffects and a mayLoad flag if they already have mayStore. This is because intrinsics properties are linear. - Instructions with atomic_load patterns get a mayStore flag because atomic loads can't be reordered. The correct workaround is to create pseudo-instructions instead of using normal loads. PR13693. llvm-svn: 162614
-
Howard Hinnant authored
Wrap throw in _LIBCPP_NO_EXCEPTIONS in debug.cpp. Calls abort if can't throw an exception. Fixes http://llvm.org/bugs/show_bug.cgi?id=13082. llvm-svn: 162613
-
Sam Panzer authored
llvm-svn: 162612
-
Sam Panzer authored
llvm-svn: 162611
-
Sam Panzer authored
Loop Converter Skeleton - array-step-1 Added a check to loop increments - array-step-2b Added a check on the loop's condition expression - array-step-2c Finished array matcher - array-step-2 Retrieved matched nodes - array-step-3 Analysis for array loop indices - array-step-4 Added checking for naming and variable scope Added confidence level and count-only command line args Added aliased variable elision Added support for iterator-based loops Added support for single-iterator loops which call end() repeatedly Added support for converting array-like containers llvm-svn: 162610
-
Sam Panzer authored
llvm-svn: 162609
-
Howard Hinnant authored
Have basic_istream seekg, putback and unget first clear eofbit. Fixes http://llvm.org/bugs/show_bug.cgi?id=13089. llvm-svn: 162608
-
- Aug 24, 2012
-
-
Howard Hinnant authored
llvm-svn: 162604
-
Jakob Stoklund Olesen authored
It's not clear that they should be marked as such, but tbb formation fails if t2LEApcrelJT is hoisted of of a loop. This doesn't change the flags on these instructions, UnmodeledSideEffects was already inferred from the missing pattern. llvm-svn: 162603
-
Chad Rosier authored
CodeGen option to a LangOpt option. In turn, hoist the guard into the parser so that we avoid the new (and fairly unstable) Sema/AST/CodeGen logic. This should restore the behavior of clang to that prior to r158325. <rdar://problem/12163681> llvm-svn: 162602
-
Howard Hinnant authored
Remaining characters should be discarded once sync() called. If don’t, garbage characters can be inserted to the front of external buffer in underflow(). Because underflow() copies remaining characters in external buffer to it’s front. This results wrong characters insertion when seekpos() or seekoff() is called. this line should be inserted in sync() just before return: __extbufnext_ = __extbufend_ = __extbuf_; 2. sync() should use length() rather than out() to calculate offset. Reversing iterators and calling out() to calculate offset from behind is working fine in stateless character encoding. However, in stateful encoding, escape sequences could differ in length. As a result, out() could return wrong length. For example, if we have internal buffer converted from this external sequence: (capital letters mean escape sequence) … a a a a B b b b b out() produces this sequence. b b b b A a a a a Because out() inserts escape sequence A rather than B, result sequence doesn't match to external sequence. A and B could have different lengths, result offset could be wrong value too. length() method in codecvt is right for calculating offset, but it counts offset from the beginning of buffer. So it requires another state member variable to hold state before conversion. Fixes http://llvm.org/bugs/show_bug.cgi?id=13667 llvm-svn: 162601
-
Enrico Granata authored
llvm-svn: 162600
-
Jakob Stoklund Olesen authored
Instructions are now only marked as variadic if they use variable_ops in their ins list. A variadic SDNode is typically used for call nodes that have the call arguments as operands. A variadic MachineInstr can actually encode a variable number of operands, for example ARM's stm/ldm instructions. A call instruction does not have to be variadic. The call argument registers are added as implicit operands. This change remove the MCID::Variadic flags from most call and return instructions, allowing us to better verify their operands. llvm-svn: 162599
-
Anna Zaks authored
llvm-svn: 162598
-
Anna Zaks authored
llvm-svn: 162597
-
Jakob Stoklund Olesen authored
The ARM BL and BLX instructions don't have predicate operands, but the thumb variants tBL and tBLX do. The argument registers should be added as implicit uses. llvm-svn: 162593
-
Jakob Stoklund Olesen authored
There is special magic happening when returning floating point values on the x87 stack. The RET instructions get extra f80 operands. llvm-svn: 162592
-
Jakob Stoklund Olesen authored
It is legal to have a register node as an explicit operand, it shouldn't be counted as an implicit use. llvm-svn: 162591
-
Benjamin Kramer authored
llvm-svn: 162590
-
Akira Hatanaka authored
llvm-svn: 162589
-
Ted Kremenek authored
llvm-svn: 162588
-
Ted Kremenek authored
llvm-svn: 162587
-
John McCall authored
llvm-svn: 162586
-
Howard Hinnant authored
Fix basic_filebuf's internal buffer is shrinking when using with some codecvt. http://llvm.org/bugs/show_bug.cgi?id=13602 llvm-svn: 162585
-
Akira Hatanaka authored
second operand is MipsISD::GPRel. llvm-svn: 162584
-
Fariborz Jahanian authored
in class extension, assume default is rewdwrite and don't issue any diagnostics, privided other ownership models are ok. llvm-svn: 162583
-
Ted Kremenek authored
this group into "alpha" and "beta" to distinguish between checkers in different levels of premature state. llvm-svn: 162582
-
Ted Kremenek authored
generated for a given diagnostic to another. Because PathDiagnostics are specific to a give PathDiagnosticConsumer, store in a FoldingSet a unique hash for a PathDiagnostic (that will be the same for the same bug for different PathDiagnosticConsumers) that stores a list of files generated. This can then be read by the other PathDiagnosticConsumers. This fixes breakage in the PLIST-HTML output. llvm-svn: 162580
-
Anna Zaks authored
llvm-svn: 162579
-
Manman Ren authored
llvm-svn: 162578
-
Manman Ren authored
ProfileDataTypes.h header. With this patch the old and new profiling code can exist side-by-side. The new profiling code will be submitted soon and it only supports insert-edge-profiling for now and will not depend on ProfileInfo. Patch by Alastair Murray. llvm-svn: 162576
-
Chad Rosier authored
llvm-svn: 162575
-