- Jul 14, 2011
-
-
Benjamin Kramer authored
llvm-svn: 135155
-
Benjamin Kramer authored
llvm-svn: 135154
-
Caitlin Sadowski authored
llvm-svn: 135153
-
Ted Kremenek authored
llvm-svn: 135152
-
Chris Lattner authored
llvm-svn: 135151
-
Chandler Carruth authored
llvm-svn: 135150
-
Chandler Carruth authored
NestedMacroInstantiations -> NestedMacroExpansions. With this change, libclang should be completely converted except for uses of SourceManger and SourceLocation APIs, and the C bindings for those APIs. llvm-svn: 135149
-
Chandler Carruth authored
macros in libclang. llvm-svn: 135148
-
Ted Kremenek authored
Add extra sanity checking in FormatString::matchesType() that we are comparing integers to integers. This happens not to be an issue now, but the extra check helps future proof in case of future refactorings. llvm-svn: 135147
-
Richard Osborne authored
instructions. llvm-svn: 135146
-
Frits van Bommel authored
Simplify some functions in the C API by using an ArrayRef to directly reference the array passed to them instead of copying it to a std::vector. llvm-svn: 135145
-
Nadav Rotem authored
[VECTOR-SELECT] During type legalization we often use the SIGN_EXTEND_INREG SDNode. When this SDNode is legalized during the LegalizeVector phase, it is scalarized because non-simple types are automatically marked to be expanded. In this patch we add support for lowering SIGN_EXTEND_INREG manually. This fixes CodeGen/X86/vec_sext.ll when running with the '-promote-elements' flag. llvm-svn: 135144
-
Nadav Rotem authored
llvm-svn: 135143
-
Jay Foad authored
llvm-svn: 135142
-
Chandler Carruth authored
This is switches all the interfaces points (and most of the commenst / local variables I saw on my way through) regarding the NestedMacroInstantiations bit. The libclang enums corresponding to this state were renamed, but a legacy enum was added with the old name, and the same value to keep existing clients working. I've added a documentation blurb for it, but let me know if there is a canonical way to document legacy elemenst of the libclang interface. No functionality changed here, even in tests. llvm-svn: 135141
-
Chandler Carruth authored
MacroInstantiation -> MacroExpansion rename. Internally, everything is switched. Introduce a new cursor kind enum with the new name, but retain the old name as an alias so that we don't break backwards compatibility. Also update the debug printing routine to use 'macro expansions' as its explicitly not guaranteed to be stable, and mechanically switch the test cases over to that. llvm-svn: 135140
-
Chandler Carruth authored
variants to 'expand'. This changed a couple of public APIs, including one public type "MacroInstantiation" which is now "MacroExpansion". The rest of the codebase was updated to reflect this, especially the libclang code. Two of the C++ (and thus easily changed) libclang APIs were updated as well because they pertained directly to the old MacroInstantiation class. No functionality changed. llvm-svn: 135139
-
Chandler Carruth authored
'expand'. Also update the public API it provides to the new term, and propagate that update to the various clients. No functionality changed. llvm-svn: 135138
-
Chandler Carruth authored
to 'expand' for macros. Only comments and uses local to the TokenLexer are updated. No functionality changed. llvm-svn: 135137
-
Chandler Carruth authored
'[Ee]xpan(sion|ded)' in the TextDiagnosticPrinter. No functionality changed. llvm-svn: 135136
-
Chandler Carruth authored
and 'expansions' rather than 'instantiated' and 'contexts'. This is the first of several patches migrating Clang's terminology surrounding macros from 'instantiation' to 'expansion'. llvm-svn: 135135
-
Ted Kremenek authored
Reapply r135075, but modify format-strings.c and format-strings-fixit.c test cases to be more portable with an explicit target triple. llvm-svn: 135134
-
Eric Christopher authored
Part of rdar://9761830 llvm-svn: 135133
-
Chris Lattner authored
llvm-svn: 135132
-
Evan Cheng authored
TargetAsmInfo, which in turn pulls in TargetRegisterInfo, etc. :-( There are other cases of violations, but this is probably the worst. This patch is but one small step towards fixing this. 500 more steps to go. :-( llvm-svn: 135131
-
Jakob Stoklund Olesen authored
Original commit message: Count references to interference cache entries. Each InterferenceCache::Cursor instance references a cache entry. A non-zero reference count guarantees that the entry won't be reused for a new register. This makes it possible to have multiple live cursors examining interference for different physregs. The total number of live cursors into a cache must be kept below InterferenceCache::getMaxCursors(). Code generation should be unaffected by this change, and it doesn't seem to affect the cache replacement strategy either. llvm-svn: 135130
-
NAKAMURA Takumi authored
Revert r135075, "format string checking: long and int have the same widths on 32-bit, so we shouldn't warn about using" It fails on freebsd, mingw and msvc10. llvm-svn: 135129
-
Douglas Gregor authored
is still terrible here because typo correction is not behaving well in the presence of overloaded functions. llvm-svn: 135128
-
Devang Patel authored
llvm-svn: 135127
-
Benjamin Kramer authored
Don't emit a bit test if there is only one case the test can yield false. A simple SETNE is sufficient. llvm-svn: 135126
-
Howard Hinnant authored
llvm-svn: 135125
-
Devang Patel authored
llvm-svn: 135124
-
Eric Christopher authored
Fixes rdar://9761830 llvm-svn: 135123
-
Jakob Stoklund Olesen authored
llvm-svn: 135122
-
Jakob Stoklund Olesen authored
Each InterferenceCache::Cursor instance references a cache entry. A non-zero reference count guarantees that the entry won't be reused for a new register. This makes it possible to have multiple live cursors examining interference for different physregs. The total number of live cursors into a cache must be kept below InterferenceCache::getMaxCursors(). Code generation should be unaffected by this change, and it doesn't seem to affect the cache replacement strategy either. llvm-svn: 135121
-
Eli Friedman authored
Fix up assertion in r135018 so it doesn't trigger on 32-bit; when we're in 32-bit, it doesn't matter whether the operation overflows because the computed address is not wider than the immediate. llvm-svn: 135120
-
Jim Grosbach authored
llvm-svn: 135119
-
Devang Patel authored
llvm-svn: 135118
-
Jim Grosbach authored
llvm-svn: 135117
-
Jim Grosbach authored
Add instalias for default 'sy' option. Add tests. llvm-svn: 135116
-