- Nov 24, 2009
-
-
Ted Kremenek authored
Enhance null dereference diagnostics by indicating what variable (if any) was dereferenced. Addresses <rdar://problem/7039161>. llvm-svn: 89726
-
Devang Patel authored
llvm-svn: 89725
-
Dale Johannesen authored
No functional change. llvm-svn: 89724
-
Evan Cheng authored
llvm-svn: 89723
-
rdar://problem/6721894David Goodwin authored
<rdar://problem/6721894>. Allow multiple registers to be renamed together (super and sub) if necessary to break an anti-dependence. llvm-svn: 89722
-
Daniel Dunbar authored
llvm-svn: 89721
-
Anton Korobeynikov authored
than doing the same via constpool: 1. Load from constpool costs 3 cycles on A9, movt/movw pair - just 2. 2. Load from constpool might stall up to 300 cycles due to cache miss. 3. Movt/movw does not use load/store unit. 4. Less constpool entries => better compiler performance. This is only enabled on ELF systems, since darwin does not have needed relocations (yet). llvm-svn: 89720
-
Jim Grosbach authored
llvm-svn: 89718
-
Douglas Gregor authored
rather than burying it in a CXXConditionDeclExpr (that occassionally hides behind implicit conversions). Similar changes for switch, while, and do-while will follow, then the removal of CXXConditionDeclExpr. This commit is the canary. llvm-svn: 89717
-
Daniel Dunbar authored
llvm-svn: 89716
-
Jeffrey Yasskin authored
way for each TargetJITInfo subclass to allocate its own stubs. This means stubs aren't as exactly-sized anymore, but it lets us get rid of TargetJITInfo::emitFunctionStubAtAddr(), which lets ARM and PPC support the eager JIT, fixing http://llvm.org/PR4816. * Rename the JITEmitter's stub creation functions to describe the kind of stub they create. So far, all of them create lazy-compilation stubs, but they sometimes get used when far-call stubs are needed. Fixing http://llvm.org/PR5201 will involve fixing this. llvm-svn: 89715
-
Jim Grosbach authored
llvm-svn: 89713
-
Ted Kremenek authored
After performing a bounds check in ArrayBoundChecker, record the fact that a bounds check succeeded by transitioning the ExplodedGraph. llvm-svn: 89712
-
Dan Gohman authored
Note that "hasDotLocAndDotFile"-style debug info was already broken; people wanting this functionality should implement it in the AsmPrinter/DwarfWriter code. llvm-svn: 89711
-
- Nov 23, 2009
-
-
Jeffrey Yasskin authored
It's probably better in the long run to replace the indirect-GlobalVariable system. That'll be done after a subsequent patch. llvm-svn: 89708
-
Ted Kremenek authored
along the way. Important changes: 1) To generate a sink node, use GenerateSink(); GenerateNode() is for generating regular transitions. This makes the API clearer and also allows us to use the 'bool' option to GenerateNode() for a different purpose. 2) GenerateNode() now automatically adds the generated node to the destination ExplodedNodeSet (autotransition) unless the client specifies otherwise with a bool flag. Several checkers did not call 'addTransition()' after calling 'GenerateNode()', causing the simulation path to be prematurely culled when a non-fail stop bug was encountered. 3) Add variants of GenerateNode()/GenerateSink() that take neither a Stmt* or a GRState*; most callers of GenerateNode() just pass in the same Stmt* as provided when the CheckerContext object is created; we can just use that the majority of the time. This cleanup also allows us to potentially coelesce the APIs for evaluating branches and end-of-paths (which currently directly use builders). 4) addTransition() no longer needs to be called except for a few cases. We now have a variant of addTransition() that takes a GRState*; this allows one to propagate the updated state without caring about generating a new node explicitly. This nicely cleaned up a bunch of cases that called autoTransition() with a bunch of conditional logic surround the call (that common logic has now been swallowed up by addTransition() itself). llvm-svn: 89707
-
Evan Cheng authored
Massive refactoring of NEON instructions. Separate opcode from data size specifier suffix, move \t up stream to instruction format, and fix more 80 column violations. This fixes the NEON asm printing so the "predicate" field is printed between the opcode and the data type suffix. llvm-svn: 89706
-
Anders Carlsson authored
llvm-svn: 89705
-
Anders Carlsson authored
llvm-svn: 89704
-
Dan Gohman authored
llvm-svn: 89702
-
Dan Gohman authored
no filename. This situation is apparently fairly common right now. llvm-svn: 89701
-
-
Johnny Chen authored
VDUPLND and VDUPLNQ to derive from N2V instead of N2VDup. VDUPLND and VDUPLNQ now expect op19_18 and op17_16 as the first two args. llvm-svn: 89699
-
Fariborz Jahanian authored
llvm-svn: 89696
-
Jim Grosbach authored
llvm-svn: 89695
-
Jim Grosbach authored
fold immediate of a + Const into the user as a subtract if it can fit as a negated two-part immediate. llvm-svn: 89694
-
Johnny Chen authored
{?,?,?,?} as op11_8 for VEXTd and VEXTq. llvm-svn: 89693
-
Anders Carlsson authored
llvm-svn: 89692
-
Fariborz Jahanian authored
type-casts in the parser. llvm-svn: 89691
-
Devang Patel authored
llvm-svn: 89689
-
Ted Kremenek authored
llvm-svn: 89688
-
Devang Patel authored
llvm-svn: 89686
-
Johnny Chen authored
ARMInstrFormats.td and fixing VLD[234]LN* and VST[234]LN* to derive from NLdSt instead of NLdStLN. llvm-svn: 89684
-
Dan Gohman authored
llvm-svn: 89683
-
Ted Kremenek authored
Tweak UndefBranchChecker to register the most nested "undefined" expression with bugreporter::registerTrackNullOrUndefValue instead of the condition itself. llvm-svn: 89682
-
Dan Gohman authored
SelectionDAGBuild.cpp to SelectionDAGBuilder.cpp. llvm-svn: 89681
-
Fariborz Jahanian authored
objective-c pointer type. This was a serious mishap and luckily, Ted's test caught that (and patch fixes the test case). llvm-svn: 89680
-
Ted Kremenek authored
llvm-svn: 89679
-
Anders Carlsson authored
llvm-svn: 89678
-
John Thompson authored
llvm-svn: 89677
-