- Aug 30, 2007
-
-
Tanya Lattner authored
llvm-svn: 41608
-
Chris Lattner authored
primary expressions. llvm-svn: 41607
-
Chris Lattner authored
llvm-svn: 41606
-
Chris Lattner authored
Test this the hard way. llvm-svn: 41605
-
Chris Lattner authored
to turn off all lexer-related warnings. llvm-svn: 41604
-
Chris Lattner authored
llvm-svn: 41603
-
Chris Lattner authored
For example, -parse-ast-dump now prints: static inline int __inline_isinff(float __x) (CompoundStmt 0x2409a20 (ReturnStmt 0x2409a10 (BinaryOperator 0x24099f0 'int' <///usr/include/architecture/i386/math.h:183:63, col:102> '==' (CallExpr 0x24098f0 'float' <col:63, col:82> (ImplicitCastExpr 0x24098e0 'float (*)(float)' <col:63> (DeclRefExpr 0x2409880 'float (float)' <col:63> Decl='__builtin_fabsf' 0x2409840)) (DeclRefExpr 0x24098a0 'float' <col:79> Decl='__x' 0x2409810)) (CallExpr 0x24099c0 'float' <col:87, col:102> (ImplicitCastExpr 0x2409870 'float (*)(void)' <col:87> (DeclRefExpr 0x2409980 'float (void)' <col:87> Decl='__builtin_inff' 0x2409940)))))) where it only prints filename/line# if it changes from the previous value. We really need loc info on stmts though, like we have on exprs. llvm-svn: 41602
-
Chris Lattner authored
to test for the right type class. llvm-svn: 41601
-
Chris Lattner authored
llvm-svn: 41600
-
Evan Cheng authored
Added support to fold X86 load / store instructions. This allow rematerialized loads to be folded into their uses. llvm-svn: 41599
-
Evan Cheng authored
llvm-svn: 41598
-
Evan Cheng authored
Add a variant of foldMemoryOperand to fold any load / store, not just load / store from / to stack slots. llvm-svn: 41597
-
Evan Cheng authored
llvm-svn: 41596
-
Evan Cheng authored
llvm-svn: 41595
-
Steve Naroff authored
Fix the following redefinition errors submitted by Keith Bauer... [dylan:~/llvm/tools/clang] admin% cat tentative_decls.c // incorrectly generates redefinition error extern int array[3]; int array[3]; // incorrectly generates a redefinition error extern void nup(int a[3]); void nup(int a[3]) {} It turns out that this exposed a fairly major flaw in the type system, array types were never getting uniqued! This is because all array types contained an expression, which aren't unique. To solve this, we now have 2 array types, ConstantArrayType and VariableArrayType. ConstantArrayType's are unique, VAT's aren't. This is a fairly extensive set of fundamental changes. Fortunately, all the tests pass. Nevertheless, there may be some collateral damage:-) If so, let me know! llvm-svn: 41592
-
Chris Lattner authored
Use Ted's child walking interface to allow the dumper to walk the tree in one place and only have node-specific callbacks worry about formatting the nodes (instead of formatting the nodes plus walking the tree). This commit eliminates now default cases by letting them fall through with the normal visitor stuff. llvm-svn: 41591
-
Bill Wendling authored
llvm-svn: 41590
-
Chris Lattner authored
llvm-svn: 41589
-
Chris Lattner authored
llvm-svn: 41588
-
Dale Johannesen authored
Add APFloat interfaces to ConstantFP, SelectionDAG. Fix integer bit in double->APFloat conversion. Convert LegalizeDAG to use APFloat interface in ConstantFPSDNode uses. llvm-svn: 41587
-
Ted Kremenek authored
llvm-svn: 41586
-
Ted Kremenek authored
block begins with a label or case statement, CFGBlock::getLabel() will return the corresponding LabelStmt/CaseStmt/DefaultStmt. LabelStmts and SwitchCases no longer appear within the "executable" statements of a CFGBlock. More cleanups on visualization/pretty-printing of CFGs (less verbose). llvm-svn: 41585
-
Anton Korobeynikov authored
llvm-svn: 41584
-
Chris Lattner authored
llvm-svn: 41583
-
Neil Booth authored
llvm-svn: 41582
-
Neil Booth authored
llvm-svn: 41581
-
- Aug 29, 2007
-
-
Ted Kremenek authored
(LLVM-provided) graph algorithms such as DFS and graph visualization to work effortless on source-level CFGs. Further cleanup on pretty printing of CFGs. CFGBlock::dump and CFGBlock::print now take the parent CFG as an argument. This allows CFGBlocks to print their own appropriate label indicating whether or not they are the Entry/Exit/IndirectGotoBlock without the CFG::print routine doing it instead. Added Graphviz visualization for CFGs: CFG::viewCFG. This employs the GraphTraits just implemented. Added "-view-cfg" mode the to clang driver. This is identical to "-dump-cfg" except that it calls Graphviz to visualize the CFGs instead of dumping them to the terminal. llvm-svn: 41580
-
Evan Cheng authored
Changes related modules so VNInfo's are not copied. This decrease copy coalescing time by 45% and overall compilation time by 10% on siod. llvm-svn: 41579
-
Anton Korobeynikov authored
llvm-svn: 41578
-
Duncan Sands authored
in the trampoline lowering. Lookup the jump and mov opcodes for the trampoline rather than hard coding them. llvm-svn: 41577
-
Raul Herbster authored
llvm-svn: 41576
-
Ted Kremenek authored
This is the same functionality gcc provides via --Wfloat-equal. llvm-svn: 41574
-
Chris Lattner authored
to emit signed comparisons when needed for enum decl references. This implements test/CodeGen/enum.c. I think enums should be good now. llvm-svn: 41572
-
Chris Lattner authored
A small bit of codegen work is still pending. llvm-svn: 41571
-
Chris Lattner authored
llvm-svn: 41570
-
Raul Herbster authored
llvm-svn: 41569
-
Tanya Lattner authored
llvm-svn: 41568
-
Chris Lattner authored
llvm-svn: 41567
-
Chris Lattner authored
llvm-svn: 41566
-
Chris Lattner authored
llvm-svn: 41565
-