| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Comment out broken tests and make the rest build in cmake build system. | Edward O'Callaghan | 2009-10-17 | 5 | -56/+51 |
| | | | | | llvm-svn: 84330 | ||||
| * | Suppress -Asserts warning. | Daniel Dunbar | 2009-10-17 | 1 | -0/+1 |
| | | | | | llvm-svn: 84329 | ||||
| * | Remove a FIXME that doesn't belong, there are numerous other places that use | Daniel Dunbar | 2009-10-17 | 1 | -1/+0 |
| | | | | | | | alignment in bits in clang. If we really want to fix this, it should be a bugzilla. llvm-svn: 84328 | ||||
| * | Suppress -Asserts warning. | Daniel Dunbar | 2009-10-17 | 1 | -2/+2 |
| | | | | | llvm-svn: 84327 | ||||
| * | Distinquish stack slots from other stack objects. They (and fixed objects) ↵ | Evan Cheng | 2009-10-17 | 7 | -12/+35 |
| | | | | | | | get FixedStack PseudoSourceValues. llvm-svn: 84326 | ||||
| * | Simplify (move guard to caller instead of callee). | Daniel Dunbar | 2009-10-17 | 1 | -4/+2 |
| | | | | | llvm-svn: 84325 | ||||
| * | Re-arrange some fields. | Evan Cheng | 2009-10-17 | 1 | -5/+5 |
| | | | | | llvm-svn: 84324 | ||||
| * | Per discussion with Ted, the 'FromSuper'/'FromSub' logic is invalid. Simplify | Zhongxing Xu | 2009-10-17 | 1 | -72/+33 |
| | | | | | | | | the code to standard worklist algorithm. Always add both sub and super regions of live regions. llvm-svn: 84323 | ||||
| * | Add another required #include for freestanding .h files. | Daniel Dunbar | 2009-10-17 | 1 | -2/+1 |
| | | | | | llvm-svn: 84322 | ||||
| * | Revert 84315 for now. Re-thinking the patch. | Evan Cheng | 2009-10-17 | 16 | -51/+48 |
| | | | | | llvm-svn: 84321 | ||||
| * | Fix another static analyzer crash due to a corner case in "folding" symbolic ↵ | Ted Kremenek | 2009-10-17 | 2 | -20/+39 |
| | | | | | | | values that are constrained to be a constant. llvm-svn: 84320 | ||||
| * | Actually all regions whose super region is not MemSpaceRegion are of these 3 | Zhongxing Xu | 2009-10-17 | 1 | -5/+4 |
| | | | | | | | kinds. This means we are visiting all regions 'from super region'. llvm-svn: 84319 | ||||
| * | Fix compiler warning: "ISO C90 forbids mixed declarations and code" | Ted Kremenek | 2009-10-17 | 1 | -3/+9 |
| | | | | | llvm-svn: 84318 | ||||
| * | Fix warning: 'warning: C++ style comments are not allowed in ISO C90' | Ted Kremenek | 2009-10-17 | 1 | -1/+1 |
| | | | | | llvm-svn: 84317 | ||||
| * | Rename getFixedStack to getStackObject. The stack objects represented are not | Evan Cheng | 2009-10-17 | 16 | -48/+51 |
| | | | | | | | necessarily fixed. Only those will negative frame indices are "fixed." llvm-svn: 84315 | ||||
| * | Resolve FIXME: delete the 'Program' object in the destructor of CIndexer. | Ted Kremenek | 2009-10-17 | 1 | -4/+4 |
| | | | | | llvm-svn: 84313 | ||||
| * | Don't crash when dumping pretty stack traces, if the current tok is an | Daniel Dunbar | 2009-10-17 | 1 | -1/+4 |
| | | | | | | | | | annotation token. - I'm not sure what the best thing to print is, for now we just print the token location and 'at annotation token'. llvm-svn: 84312 | ||||
| * | 80 col violation. | Evan Cheng | 2009-10-17 | 1 | -1/+2 |
| | | | | | llvm-svn: 84311 | ||||
| * | Simplify some code (first hunk) and fix PR5208 (second hunk) by | Chris Lattner | 2009-10-17 | 2 | -9/+38 |
| | | | | | | | updating the callgraph when introducing a call. llvm-svn: 84310 | ||||
| * | check in a bunch of content from TestingGuide. Part of PR5216 | Chris Lattner | 2009-10-17 | 1 | -3/+183 |
| | | | | | llvm-svn: 84309 | ||||
| * | Fix PR5211: codegen shouldn't assume that the result of ||/&& is int | Chris Lattner | 2009-10-17 | 2 | -11/+22 |
| | | | | | | | anymore. In C++ it is bool. llvm-svn: 84308 | ||||
| * | Simplify. | Daniel Dunbar | 2009-10-17 | 1 | -3/+1 |
| | | | | | llvm-svn: 84307 | ||||
| * | Add IdentiferInfo::getNameStr() -> StringRef. | Daniel Dunbar | 2009-10-17 | 3 | -11/+28 |
| | | | | | | | | | Also, add getNameStart as a synonym for getName(). getName() is now deprecated, when all clients are updated then getNameStr() should be renamed to getName(). PR5218. llvm-svn: 84306 | ||||
| * | Fix sentence-o. | Daniel Dunbar | 2009-10-17 | 1 | -1/+2 |
| | | | | | llvm-svn: 84305 | ||||
| * | llvm-as: Simplify, and don't create empty output files with -disable-output. | Daniel Dunbar | 2009-10-17 | 1 | -31/+35 |
| | | | | | llvm-svn: 84304 | ||||
| * | Reclaim a lost month. | Daniel Dunbar | 2009-10-17 | 2 | -0/+0 |
| | | | | | llvm-svn: 84303 | ||||
| * | Add required #includes for freestanding .h files. | Daniel Dunbar | 2009-10-17 | 2 | -2/+3 |
| | | | | | llvm-svn: 84302 | ||||
| * | Add Ubuntu 9.04 C++ search path. | Daniel Dunbar | 2009-10-17 | 1 | -0/+5 |
| | | | | | llvm-svn: 84301 | ||||
| * | Delete an obsolete comment. | Dan Gohman | 2009-10-17 | 1 | -2/+1 |
| | | | | | llvm-svn: 84300 | ||||
| * | Remove MallocInst from LLVM Instructions. | Victor Hernandez | 2009-10-17 | 25 | -678/+74 |
| | | | | | llvm-svn: 84299 | ||||
| * | Add 'UseBumpPtrAllocator' flag to ASTUnit::LoadFromPCHFile() to cause the ↵ | Ted Kremenek | 2009-10-17 | 3 | -4/+7 |
| | | | | | | | | | | | | created ASTContext to use its own BumpPtrAllocator to allocate ASTs. Change clang_createTranslationUnit (CIndex) to pass 'UseBumpPtrAllocator = true' to ASTUnit::LoadFromPCHFile(). llvm-svn: 84296 | ||||
| * | Enhance CodePlacementOpt's unconditional intra-loop branch elimination logic | Dan Gohman | 2009-10-17 | 3 | -178/+562 |
| | | | | | | | | | | | | | to be more general and understand more varieties of loops. Teach CodePlacementOpt to reorganize the basic blocks of a loop so that they are contiguous. This also includes a fair amount of logic for preserving fall-through edges while doing so. This fixes a BranchFolding-ism where blocks which can't be made to use a fall-through edge and don't conveniently fit anywhere nearby get tossed out to the end of the function. llvm-svn: 84295 | ||||
| * | Add a splice member function which accepts a range instead of a | Dan Gohman | 2009-10-17 | 1 | -0/+3 |
| | | | | | | | single iterator. llvm-svn: 84294 | ||||
| * | Merge the "types" and "declarations" blocks in the precompiled header | Douglas Gregor | 2009-10-17 | 5 | -153/+128 |
| | | | | | | | | | | | | | | | | format, so that we don't end up with multiple declaration and types blocks. Also, fix a few obscure bugs with PCH loading and generation: - If the DeclIDs DenseMap reallocates while we are writing a declaration (due to recursively writing other declarations), we could end up writing a bad ID to ExternalDefinitions. - When loading an ArrayLoc (part of DeclaratorInfo), we need to set the size expression to NULL if no size expression was provided. PCH -> AST rewriting is still partly broken, unfortunately. llvm-svn: 84293 | ||||
| * | Autoupgrade malloc insts to malloc calls. | Victor Hernandez | 2009-10-17 | 20 | -160/+155 |
| | | | | | | | | | Update testcases that rely on malloc insts being present. Also prematurely remove MallocInst handling from IndMemRemoval and RaiseAllocations to help pass tests in this incremental step. llvm-svn: 84292 | ||||
| * | Patch to clean up and improve visual display of | Fariborz Jahanian | 2009-10-16 | 4 | -19/+26 |
| | | | | | | | builtin function ambiguity. llvm-svn: 84289 | ||||
| * | HeapAllocSRoA also needs to check if malloc array size can be computed. | Victor Hernandez | 2009-10-16 | 2 | -36/+66 |
| | | | | | llvm-svn: 84288 | ||||
| * | While writing source-location entries to a PCH file, go through an | Douglas Gregor | 2009-10-16 | 3 | -25/+17 |
| | | | | | | | | interface that can load those source-location entries on demand (from another PCH file). llvm-svn: 84287 | ||||
| * | Allow TypeLocs to be fully initialized with a single SourceLocation. This | John McCall | 2009-10-16 | 2 | -12/+109 |
| | | | | | | | will be the keystone of converting existing rewrites to be rewrites on TypeLocs. llvm-svn: 84286 | ||||
| * | Update tests to use FileCheck | Mon P Wang | 2009-10-16 | 19 | -55/+70 |
| | | | | | llvm-svn: 84282 | ||||
| * | Use VisibleQuals to control setting of Volatile/Restrict qualifiers on | Fariborz Jahanian | 2009-10-16 | 1 | -7/+15 |
| | | | | | | | | candidate types in BuiltinCandidateTypeSet::AddPointerWithMoreQualifiedTypeVariants further trimming the overload candidate set. llvm-svn: 84281 | ||||
| * | Add test case for r84279 | Mon P Wang | 2009-10-16 | 1 | -0/+12 |
| | | | | | llvm-svn: 84280 | ||||
| * | Allow widening of extract subvector | Mon P Wang | 2009-10-16 | 2 | -0/+8 |
| | | | | | llvm-svn: 84279 | ||||
| * | Factor out routines to encode/decode DeclaratorInfos and move them into the | John McCall | 2009-10-16 | 6 | -153/+170 |
| | | | | | | | core PCH reader/writer implementation files. llvm-svn: 84278 | ||||
| * | Add an accessor to extra the type directly from a DeclaratorInfo | John McCall | 2009-10-16 | 1 | -0/+3 |
| | | | | | | | without an opaque call. llvm-svn: 84277 | ||||
| * | Do not emit name entry for a pointer type. | Devang Patel | 2009-10-16 | 1 | -1/+1 |
| | | | | | llvm-svn: 84276 | ||||
| * | Make CIndex and c-index-test a little bit more robust. The only | Douglas Gregor | 2009-10-16 | 3 | -5/+19 |
| | | | | | | | | | substantive change is that clang_getCursorSource() now returns the file in which a macro was instantiated when the cursor points into a macro instantiation, rather than crashing. llvm-svn: 84275 | ||||
| * | Change createPostRAScheduler so it can be turned off at llc -O1. | Evan Cheng | 2009-10-16 | 6 | -14/+31 |
| | | | | | llvm-svn: 84273 | ||||
| * | Add a CodeGenOpt::Less level to match -O1. It'll be used by clients which do ↵ | Evan Cheng | 2009-10-16 | 3 | -5/+6 |
| | | | | | | | not want post-regalloc scheduling. llvm-svn: 84272 | ||||
| * | Move zext and sext casts fed by loads into the same block as the | Dan Gohman | 2009-10-16 | 3 | -3/+63 |
| | | | | | | | | load, to help SelectionDAG fold them into the loads, unless conditions are unfavorable. llvm-svn: 84271 | ||||

