- Jan 17, 2012
-
-
Dylan Noblesmith authored
And fix the comment about where the FilesToConfig variable is. llvm-svn: 148282
-
David Blaikie authored
This allows -Wswitch-enum to find switches that need updating when these enums are modified. llvm-svn: 148281
-
Jim Ingham authored
llvm-svn: 148280
-
Argyrios Kyrtzidis authored
a Sema. This allows it to work when Sema is not available, like when loading AST files. llvm-svn: 148279
-
Argyrios Kyrtzidis authored
does not depend on Sema, it accepts an ASTContext and a Preprocessor. Step towards making clang_getCursorCompletionString not depend on Sema. llvm-svn: 148278
-
Argyrios Kyrtzidis authored
on an ASTContext. This is a step towards making clang_getCursorCompletionString not depend on Sema. llvm-svn: 148277
-
Eli Friedman authored
llvm-svn: 148276
-
Pete Cooper authored
Changed flag operand of ISD::FP_ROUND to TargetConstant as it should not get checked for legalisation llvm-svn: 148275
-
Chris Lattner authored
llvm-svn: 148274
-
Johnny Chen authored
Add usage example of specifying the full path to the compiler used while building the debuggees for running the test suite. llvm-svn: 148273
-
Jakob Stoklund Olesen authored
BitVector uses the native word size for its internal representation. That doesn't work well for literal bit masks in source code. This patch adds BitVector operations to efficiently apply literal bit masks specified as arrays of uint32_t. Since each array entry always holds exactly 32 bits, these portable bit masks can be source code literals, probably produced by TableGen. llvm-svn: 148272
-
Eli Friedman authored
Change the behavior of the lvalue-to-rvalue conversion for varargs in PotentiallyPotentiallyEvaluated contexts so that we model it in a sane way in most cases, and give up for the edge case which hopefully doesn't matter too much. In preparation for correctly treating sizeof() as a PotentiallyPotentiallyEvaluated context. llvm-svn: 148271
-
Nico Weber authored
Fixes PR6484. Patch from Jason Switzer! llvm-svn: 148270
-
Johnny Chen authored
llvm-svn: 148269
-
Lang Hames authored
llvm-svn: 148268
-
Anna Zaks authored
for FunctionDecl::getMemoryFunctionKind(). This is a follow up on the Chris's review for r148142: We don't want to pollute FunctionDecl with an extra enum. (To make this work, added memcmp and family to the library builtins.) llvm-svn: 148267
-
Anna Zaks authored
taint propagation functions. llvm-svn: 148266
-
Jim Grosbach authored
llvm-svn: 148265
-
Jim Grosbach authored
llvm-svn: 148264
-
Jim Grosbach authored
llvm-svn: 148263
-
David Blaikie authored
Removing unused default switch cases in switches over enums that already account for all enumeration values explicitly. (This time I believe I've checked all the -Wreturn-type warnings from GCC & added the couple of llvm_unreachables necessary to silence them. If I've missed any, I'll happily fix them as soon as I know about them) llvm-svn: 148262
-
Hal Finkel authored
No test case: output assembly will be identical. llvm-svn: 148261
-
- Jan 16, 2012
-
-
Hal Finkel authored
AggressiveAntiDepBreaker needs to skip debug values because a debug value does not have a corresponding SUnit llvm-svn: 148260
-
Jakob Stoklund Olesen authored
It is safe to move uses of such registers. llvm-svn: 148259
-
Jim Grosbach authored
Move to a by-section allocation and relocation scheme. This allows better support for sections which do not contain externally visible symbols. Flesh out the relocation address vs. local storage address separation a bit more as well. Remote process JITs use this to tell the relocation resolution code where the code will live when it executes. The startFunctionBody/endFunctionBody interfaces to the JIT and the memory manager are deprecated. They'll stick around for as long as the old JIT does, but the MCJIT doesn't use them anymore. llvm-svn: 148258
-
Greg Clayton authored
More improvements to not follow child processes and improved logging that always shows the process info. llvm-svn: 148257
-
Nick Kledzik authored
First chunk of native object file reader/writer. The lld-core tool now reads YAML file, links, writes that out as native object format, then reads that native file, then writes the YAML to stdout. Thus the test suite tests both YAML reading/writing as well as native object file reading/writing. llvm-svn: 148256
-
Tanya Lattner authored
llvm-svn: 148255
-
Tanya Lattner authored
llvm-svn: 148254
-
Eli Friedman authored
Add some calls to MarkDeclarationReferenced, towards a point where every declaration which is used is marked as used. llvm-svn: 148253
-
Stepan Dyatkovskiy authored
llvm-svn: 148252
-
Jakob Stoklund Olesen authored
llvm-svn: 148251
-
Jakob Stoklund Olesen authored
Register masks will be used as a compact representation of large clobber lists. Currently, an x86 call instruction has some 40 operands representing call-clobbered registers. That's more than 1kB of useless operands per call site. A register mask operand references a bit mask of call-preserved registers, everything else is clobbered. The bit mask will typically come from TargetRegisterInfo::getCallPreservedMask(). By abandoning ImplicitDefs for call-clobbered registers, it also becomes possible to share call instruction descriptions between calling conventions, and we can get rid of the WINCALL* instructions. This patch introduces the new operand kind. Future patches will add RegMask support to target-independent passes before finally the fixed clobber lists can be removed from call instruction descriptions. llvm-svn: 148250
-
Eli Friedman authored
Make the auto-detection hack for the iOS simulator set the target triple correctly. Getting the target triple wrong mostly appears to work, but messes up in subtle cases; for example, we incorrectly conclude that fwrite is actually named fwrite$UNIX2003. Also shuffles around the auto-detection code a bit to try and make it a bit more reliable. Fixes <rdar://problem/10664848>. llvm-svn: 148249
-
Tobias Grosser authored
llvm-svn: 148248
-
Fariborz Jahanian authored
non-constant-folded-switch containing a constant-folded switch. llvm-svn: 148247
-
Howard Hinnant authored
One more small optimization: Where possible, for loops that do a search and then try to break out of the loop early, eliminate the attempt to break out of the loop after the last search. And with that, I'm declaring __dynamic_cast done. Though if anyone sees any problems, has suggestions for improvements, or wants to contribute some test cases, that is certainly welcome feedback. llvm-svn: 148246
-
Fariborz Jahanian authored
llvm-svn: 148245
-
Fariborz Jahanian authored
llvm-svn: 148244
-
Fariborz Jahanian authored
statement which has an unscoped case inside it. Patch by Aaron Ballman llvm-svn: 148243
-