- Oct 29, 2008
-
-
Evan Cheng authored
- If a def is spilt, remember its spill index to allow its reuse. llvm-svn: 58375
-
Daniel Dunbar authored
llvm-svn: 58374
-
Zhongxing Xu authored
llvm-svn: 58373
-
Duncan Sands authored
is morphed by AnalyzeNewNode into a previously processed node, and different result values of that node are remapped to values with different nodes, then we could end up using wrong values here [we were assuming that all results remap to values with the same underlying node]. This seems theoretically possible, but I don't have a testcase. The meat of the patch is in the changes to AnalyzeNewNode/AnalyzeNewValue and ReplaceNodeWith. While there, I changed names like RemapNode to RemapValue, since it really remaps values. To tell the truth, I would be much happier if we were only remapping nodes (it would simplify a bunch of logic, and allow for some cute speedups) but I haven't yet worked out how to do that. llvm-svn: 58372
-
Duncan Sands authored
llvm-svn: 58371
-
Duncan Sands authored
llvm-svn: 58370
-
Ted Kremenek authored
llvm-svn: 58369
-
Daniel Dunbar authored
- Unfortunately, I don't have an easy way to map from named sections to numbers nicely so they don't get page numbers or integrate in the list well. llvm-svn: 58368
-
Evan Cheng authored
- Create and update spill slot live intervals. - Lots of bug fixes. llvm-svn: 58367
-
Eli Friedman authored
va_list, not the value. Patch fixes an assert on x86-64 and a wrong-code bug on x86. I'm not completely sure, but I think it's a regression from r58306. Does anyone run regression tests regularly on x86-64? The crash should have been picked up there. llvm-svn: 58366
-
Ted Kremenek authored
The attached patch adds additional checks to -warn-objc-missing-dealloc. It checks that all ivars which are used in implementation of synthesized properties are either a) released in dealloc if the property has retain" or "copy" attribute OR b) not released in dealloc if the property has "assign" attribute llvm-svn: 58363
-
Ted Kremenek authored
llvm-svn: 58362
-
Daniel Dunbar authored
closely. llvm-svn: 58361
-
Daniel Dunbar authored
arguments. - More important than it looks, this inhibits trivial inlining otherwise. llvm-svn: 58360
-
Zhongxing Xu authored
BindDecl better describes what the function does: - Bind the VarDecl to its memory region - Bind the memory region to some initial value. llvm-svn: 58359
-
Oscar Fuentes authored
llvm-svn: 58358
-
Douglas Gregor authored
ImplicitConversionSequence and, when doing so, following the specific rules of [over.best.ics]. The computation of the implicit conversion sequences implements C++ [over.ics.ref], but we do not (yet) have ranking for implicit conversion sequences that use reference binding. llvm-svn: 58357
-
Zhongxing Xu authored
llvm-svn: 58356
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 58355
-
David Greene authored
Don't force things to be Value * when they're not. llvm-svn: 58354
-
Douglas Gregor authored
of copy initialization. Other pieces of the puzzle: - Try/Perform-ImplicitConversion now handles implicit conversions that don't involve references. - Try/Perform-CopyInitialization uses CheckSingleAssignmentConstraints for C. PerformCopyInitialization is now used for all argument passing and returning values from a function. - Diagnose errors with declaring references and const values without an initializer. (Uses a new Action callback, ActOnUninitializedDecl). We do not yet have implicit conversion sequences for reference binding, which means that we don't have any overloading support for reference parameters yet. llvm-svn: 58353
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 58352
-
- Oct 28, 2008
-
-
Dan Gohman authored
llvm-svn: 58351
-
Dan Gohman authored
EnableFastISelAbort variables for Release mode instead of using ifdefs in the code. llvm-svn: 58350
-
Chris Lattner authored
llvm-svn: 58349
-
Steve Naroff authored
With this commit, stuff like this is very close to working... [foo barf:^(int){ printf("whatever\n"); }]; Here is what is currently translates to... ((id (*)(id, SEL, void (^)(int)))(void *)objc_msgSend)((id)foo, sel_registerName("barf:"), (void (*)(int))__main_block_func_0); I just need make sure the funky cast on objc_msgSend() is converted from "void (^)(int)" to "void (*)(int)". Since the cast doesn't appear in the source code, it needs to be converted in RewriteObjC::SynthMessageExpr(). llvm-svn: 58348
-
Ted Kremenek authored
(1) when all of the bug category boxes are checked, automatically check "All Bugs" (2) when any of the bug category boxes are unchecked, automatically uncheck "All Bugs" llvm-svn: 58346
-
Chris Lattner authored
llvm-svn: 58345
-
Ted Kremenek authored
The attached patch adds a checkbox to the scan-build summary report, which toggles all other checkboxes' states. llvm-svn: 58344
-
Daniel Dunbar authored
- One functionality change, '\\' in a name is now printed as a hex escape instead of "\\\\". This is consistent with other users of PrintEscapedString. llvm-svn: 58343
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 58342
-
Daniel Dunbar authored
llvm-svn: 58341
-
Dan Gohman authored
llvm-svn: 58340
-
Dan Gohman authored
llvm-svn: 58339
-
Jim Grosbach authored
Since the ARM constant pool handling supercedes the standard LLVM constant pool entirely, the JIT emitter does not allocate space for the constants, nor initialize the memory. The constant pool is considered part of the instruction stream. Likewise, when resolving relocations into the constant pool, a hook into the target back end is used to resolve from the constant ID# to the address where the constant is stored. For now, the support in the ARM emitter is limited to 32-bit integer. Future patches will expand this to the full range of constants necessary. llvm-svn: 58338
-
Torok Edwin authored
virtual void print(std::ostream &O, const Module *M) const; instead of virtual void print(llvm::OStream &O, const Module *M) const; as the docs say llvm-svn: 58337
-
Evan Cheng authored
Avoid calls to setSubgraphColor in release mode. They generate lots of error messages and slow down compilation. llvm-svn: 58336
-
Tanya Lattner authored
llvm-svn: 58335
-
Torok Edwin authored
llvm-svn: 58332
-
Douglas Gregor authored
llvm-svn: 58331
-