- Sep 17, 2007
-
-
Steve Naroff authored
llvm-svn: 42063
-
Ted Kremenek authored
llvm-svn: 42062
-
Hartmut Kaiser authored
Fixed a VC++ issue related to bitmasks. As it turns out the compiler fills the unused bits of the word a bitmask is stored in with '1' (or randomly, I can't tell, I've seen '1' so far only), which creates wrong results in certain cases. Please review. llvm-svn: 42061
-
Fariborz Jahanian authored
llvm-svn: 42060
-
Steve Naroff authored
Finish defining Action API for message expressions. llvm-svn: 42059
-
Devang Patel authored
for(int i = 0; i < N; i++) { if ( i == XYZ) { A; else B; } C; D; } llvm-svn: 42058
-
Ted Kremenek authored
llvm-svn: 42057
-
Ted Kremenek authored
llvm-svn: 42056
-
Ted Kremenek authored
globals and function parameters. llvm-svn: 42055
-
Devang Patel authored
llvm-svn: 42054
-
Gordon Henriksen authored
LLVM now enforces the following prototypes for the write barriers: <ty>* @llvm.gcread(<ty2>*, <ty>**) void @llvm.gcwrite(<ty>*, <ty2>*, <ty>**) And for @llvm.gcroot, the first stack slot is verified to be an alloca or a bitcast of an alloca. Fixes test/CodeGen/Generic/GC/lower_gcroot.ll, which violated these. llvm-svn: 42051
-
Steve Naroff authored
- Refactored ObjcKeywordInfo into ObjcKeywordInfo, ObjcKeywordDecl, and ObjcKeywordMessage. - Removed helper ObjcGetSelectorInfo(), moving the code directly into ObjcBuildMethodDeclaration(). - Many refinements to ParseObjCMessageExpression(). - Add ActOnMessageExpression(). Next step, finish the message actions and (finally) create/instantiate an ObjcMessageExpr AST. llvm-svn: 42050
-
Dale Johannesen authored
and storeRegToStackSlot. Evan and I concluded this should never be needed and it appears to be true. (It if is needed, adjustment would be needed for long double to work.) llvm-svn: 42049
-
Devang Patel authored
llvm-svn: 42048
-
Devang Patel authored
APInt::dump() is inside #ifndef NDEBUG, however SelectionDAG dump() routines are not. llvm-svn: 42047
-
Ted Kremenek authored
for reporting errors and running the checker. llvm-svn: 42046
-
Dale Johannesen authored
complete, but common cases work) llvm-svn: 42043
-
Chris Lattner authored
Add a new DenseMapInfo::isEqual method to allow clients to redefine the equality predicate used when probing the hash table. llvm-svn: 42042
-
Ted Kremenek authored
llvm-svn: 42041
-
Daniel Berlin authored
llvm-svn: 42040
-
Daniel Berlin authored
llvm-svn: 42039
-
Dan Gohman authored
llvm-svn: 42038
-
Evan Cheng authored
llvm-svn: 42037
-
Chris Lattner authored
llvm-svn: 42036
-
Dan Gohman authored
llvm-svn: 42035
-
Ted Kremenek authored
mechanism can be implemented simply by affixing the Observer to an analysis meta data, so it doesn't need to be a required type. This also permits analyses not to implement an Observer if it doesn't make sense. Changed "DataflowValues::MetaDataTy" to "DataflowValues::AnalysisDataTy" to reflect that the type enscapsulated the data associated with analyzing a given CFG. Changed CFGStmtVisitor::BlockStmt_VisitImplicitControlFlowStmt(Stmt*) to ...VisitImplicitControlFlowExpr(Expr*). The type narrowing is more precise and more useful to clients. Added CFGStmtVisitor::BlockStmt_VisitExpr to reflect the visitation of expressions at the block statement level. This captures all implicit control-flow statements as well as other expressions that are hoisted to the block level (such as conditions for terminators and function calls). This is especially useful for dataflow analysis. llvm-svn: 42034
-
Ted Kremenek authored
in the CFG builder logic. llvm-svn: 42033
-
Gordon Henriksen authored
llvm-svn: 42032
-
Ted Kremenek authored
to serve as the entry block. An empty entry block (just as with an empty exit block, which we already have) simplifies building analyses on top of CFGs with very little extra overhead. llvm-svn: 42031
-
Ted Kremenek authored
llvm-svn: 42030
-
Dan Gohman authored
can terminate a block with no fall-through. llvm-svn: 42029
-
Steve Naroff authored
llvm-svn: 42028
-
Dan Gohman authored
llvm-svn: 42027
-
Dan Gohman authored
64-bit) can use test instead of cmp with an immediate. llvm-svn: 42026
-
Steve Naroff authored
llvm-svn: 42025
-
Dan Gohman authored
previously only done for 32-bit and smaller operands. llvm-svn: 42024
-
Steve Naroff authored
Add support for ObjC keyword selectors. - Add SelectorInfo/SelectorTable classes, modeled after IdentifierInfo/IdentifierTable. - Add SelectorTable instance to ASTContext, created lazily through ASTContext::getSelectorInfo(). - Add SelectorInfo slot to ObjcMethodDecl. - Add helper function to derive a SelectorInfo from ObjcKeywordInfo. Misc: Got the Decl stats stuff up and running again...it was missing support for ObjC AST's. llvm-svn: 42023
-
Hartmut Kaiser authored
llvm-svn: 42022
-
Duncan Sands authored
llvm-svn: 42021
-
Chris Lattner authored
llvm-svn: 42020
-