- Sep 19, 2009
-
-
Nick Lewycky authored
to. This can be combined with LCSSA or SSI form to store more information on a PHINode than can be computed by looking at its incoming values. llvm-svn: 82317
-
Duncan Sands authored
It prints the content of all bbs, instead of printing empty bbs to make the CFG more readable. Fix this. Patch by Tobias Grosser. llvm-svn: 82315
-
Evan Cheng authored
llvm-svn: 82314
-
Evan Cheng authored
llvm-svn: 82313
-
Benjamin Kramer authored
- Replace std::map<std::string with StringMap - Eliminate unnecessary std::string copies - ~10% speed-up for clang's testsuite on my machine (debug build) llvm-svn: 82312
-
Evan Cheng authored
Fix PR4926. When target hook EmitInstrWithCustomInserter() insert new basic blocks and update CFG, it should also inform sdisel of the changes so the phi source operands will come from the right basic blocks. llvm-svn: 82311
-
Benjamin Kramer authored
llvm-svn: 82308
-
Douglas Gregor authored
"->", or "::" if we will be looking into a dependent context. It's not wrong to use the "template" keyword, but it's to needed, either. llvm-svn: 82307
-
Douglas Gregor authored
template smarter, by taking into account which function template parameters are deducible from the call arguments. For example, template<typename RandomAccessIterator> void sort(RandomAccessIterator first, RandomAccessIterator last); will have a code-completion string like sort({RandomAccessIterator first}, {RandomAccessIterator last}) since the template argument for its template parameter is deducible. On the other hand, template<class X, class Y> X* dyn_cast(Y *Val); will have a code-completion string like dyn_cast<{class X}>({Y *Val}) since the template type parameter X is not deducible from the function call. llvm-svn: 82306
-
Douglas Gregor authored
angle brackets < > along with placeholder template arguments. llvm-svn: 82304
-
Ted Kremenek authored
r82198 and then reverted. This is an intermediate solution, as diagnostic caching should not rely on static variables. llvm-svn: 82301
-
Victor Hernandez authored
Reviewed by Dan Gohman. llvm-svn: 82300
-
Ted Kremenek authored
llvm-svn: 82299
-
Ted Kremenek authored
Fix regression introduced by r82198 that caused functions/methods with invalid CFGs to get analyzed. llvm-svn: 82297
-
Douglas Gregor authored
results of code completion, e.g., by providing function call syntax with placeholders for each of the parameters. llvm-svn: 82293
-
Daniel Dunbar authored
llvm-svn: 82292
-
Chris Lattner authored
this is run after the 'standard function passes', SRoA was recently run. This saves a domfrontier construction. Thanks to Eli for noticing this. llvm-svn: 82291
-
Chris Lattner authored
no functionality change. llvm-svn: 82290
-
- Sep 18, 2009
-
-
Bob Wilson authored
llvm-svn: 82285
-
Bob Wilson authored
llvm-svn: 82284
-
Bill Wendling authored
llvm-svn: 82282
-
Victor Hernandez authored
Reviewed by Eli Friedman. llvm-svn: 82281
-
Dan Gohman authored
llvm-svn: 82276
-
Bill Wendling authored
into the __DATA section. At launch time, dyld has to update most of the section to fix up the type info pointers. It's better to place it into the __TEXT section and use pc-rel indirect pointer encodings. Similar to the personality routine. llvm-svn: 82274
-
Evan Cheng authored
Enhance EmitInstrWithCustomInserter() so target can specify CFG changes that sdisel will use to properly complete phi nodes. Not functionality change yet. llvm-svn: 82273
-
Chris Lattner authored
llvm-svn: 82272
-
Chris Lattner authored
llvm-svn: 82271
-
Shantonu Sen authored
causes the "../foo" to not find the file llvm-svn: 82270
-
Chris Lattner authored
getSymbolForDwarfGlobalReference is smart enough to know that it needs to register the stub it references with MachineModuleInfoMachO, so that it gets emitted at the end of the file. Move stub emission from X86ATTAsmPrinter::doFinalization to the new X86ATTAsmPrinter::EmitEndOfAsmFile asmprinter hook. The important thing here is that EmitEndOfAsmFile is called *after* the ehframes are emitted, so we get all the stubs. This allows us to remove a gross hack from the asmprinter where it would "just know" that it needed to output stubs for personality functions. Now this is all driven from a consistent interface. The testcase change is just reordering the expected output now that the stubs come out after the ehframe instead of before. This also unblocks other changes that Bill wants to make. llvm-svn: 82269
-
Chris Lattner authored
Overriding doFinalization is pretty lame. llvm-svn: 82268
-
Dale Johannesen authored
move a SUBFC (etc.) below the SUBFE (etc.) that consumed the carry bit. Add missing ADDIC8, noticed along the way. llvm-svn: 82266
-
Anders Carlsson authored
llvm-svn: 82265
-
Douglas Gregor authored
operators, type specifiers, type names, and nested-name-specifiers. llvm-svn: 82264
-
Dan Gohman authored
on x86, to avoid explicit test instructions. A few existing tests changed due to arbitrary register allocation differences. llvm-svn: 82263
-
Anders Carlsson authored
llvm-svn: 82262
-
Sean Callanan authored
carry bit) instructions to the Intel instruction tables. llvm-svn: 82260
-
Devang Patel authored
llvm-svn: 82259
-
Victor Hernandez authored
Update malloc call creation code (AllocType is now the element type of the malloc, not the resulting type). In getMallocArraySize(), fix bug in the case that array size is the product of 2 constants. Extend isArrayMalloc() and getMallocArraySize() to handle case where malloc is used as char array. Ensure that ArraySize in LowerAllocations::runOnBasicBlock() is correct type. Extend Instruction::isSafeToSpeculativelyExecute() to handle malloc calls. Add verification for malloc calls. Reviewed by Dan Gohman. llvm-svn: 82257
-
Anders Carlsson authored
Make our char vector types not be explicitly signed to match GCC and to fix compilation with C++ and -fno-lax-vector-conversions llvm-svn: 82254
-
Mike Stump authored
llvm-svn: 82253
-