[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2007-05-11 Thread Dan Gohman
Changes in directory llvm/include/llvm: Instructions.h updated: 1.73 -> 1.74 --- Log message: Simplify BranchInst::getSuccessor, avoiding a conditional operator. --- Diffs of the changes: (+1 -2) Instructions.h |3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Index: llvm/inclu

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2007-04-27 Thread Chris Lattner
Changes in directory llvm/include/llvm: Instructions.h updated: 1.72 -> 1.73 --- Log message: add a GEP helper function --- Diffs of the changes: (+6 -0) Instructions.h |6 ++ 1 files changed, 6 insertions(+) Index: llvm/include/llvm/Instructions.h diff -u llvm/include/llvm/Instr

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2007-04-22 Thread Christopher Lamb
Changes in directory llvm/include/llvm: Instructions.h updated: 1.71 -> 1.72 --- Log message: PR400: http://llvm.org/PR400 phase 1 implementation feedback. --- Diffs of the changes: (+2 -4) Instructions.h |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) Index: llvm/includ

Re: [llvm-commits] CVS: llvm/include/llvm/Instructions.h

2007-04-22 Thread Chris Lattner
> + /// getAlignment - Return the alignment of the access that is > being performed > + /// > + unsigned getAlignment() const { > +signed Log2AlignVal = ((SubclassData>>1)-1); > +return ((Log2AlignVal < 0) ? 0 : 1< + } I think that this can be written as: ((1 << (SubclassData>>1)

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2007-04-22 Thread Christopher Lamb
Changes in directory llvm/include/llvm: Instructions.h updated: 1.70 -> 1.71 --- Log message: PR400: http://llvm.org/PR400 work phase 1. Add attributed load/store instructions for volatile/align to LLVM. --- Diffs of the changes: (+37 -7) Instructions.h | 44 +++

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2007-04-21 Thread Reid Spencer
Changes in directory llvm/include/llvm: Instructions.h updated: 1.68 -> 1.69 --- Log message: Revert Christopher Lamb's load/store alignment changes. --- Diffs of the changes: (+7 -33) Instructions.h | 40 +++- 1 files changed, 7 insertions(+), 33 del

Re: [llvm-commits] CVS: llvm/include/llvm/Instructions.h

2007-04-21 Thread Jeff Cohen
Jeff Cohen wrote: > Changes in directory llvm/include/llvm: > > Instructions.h updated: 1.67 -> 1.68 > --- > Log message: > > The expression "SubclassData = (SubclassData & ~1) | (V) ? 1 : 0;" does not > do what > was intended! | has higher precedence than ?. Caught by Visual Studio. > Unfor

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2007-04-21 Thread Jeff Cohen
Changes in directory llvm/include/llvm: Instructions.h updated: 1.67 -> 1.68 --- Log message: The expression "SubclassData = (SubclassData & ~1) | (V) ? 1 : 0;" does not do what was intended! | has higher precedence than ?. Caught by Visual Studio. --- Diffs of the changes: (+2 -2) Inst

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2007-04-21 Thread Christopher Lamb
Changes in directory llvm/include/llvm: Instructions.h updated: 1.66 -> 1.67 --- Log message: add support for alignment attributes on load/store instructions --- Diffs of the changes: (+33 -7) Instructions.h | 40 +--- 1 files changed, 33 insertions(+

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2007-04-13 Thread Chris Lattner
Changes in directory llvm/include/llvm: Instructions.h updated: 1.65 -> 1.66 --- Log message: add GetElementPtrInst::hasAllZeroIndices, a long-overdue helper method. Writing it twice in the same day was too much for me. --- Diffs of the changes: (+5 -0) Instructions.h |5 + 1 files

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2007-04-09 Thread Reid Spencer
Changes in directory llvm/include/llvm: Instructions.h updated: 1.64 -> 1.65 --- Log message: For PR1146: http://llvm.org/PR1146 : * Add ParamAttrs to InvokeInst class too. * Make sure all initializes of ParamAttrs in CallInst and InvokeInst are 0 * Destruct the ParamAttrs in Call/Invoke destru

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2007-02-28 Thread Reid Spencer
Changes in directory llvm/include/llvm: Instructions.h updated: 1.62 -> 1.63 --- Log message: Provide an ICmpInst::makeConstantRange to generate a ConstantRange value from a predicate and an APInt. This is removed from ConstantRange class so that ConstantRange doesn't have to depend on lib/VMCo

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2007-02-12 Thread Chris Lattner
Changes in directory llvm/include/llvm: Instructions.h updated: 1.56 -> 1.57 --- Log message: eliminate instruction ctors that take vectors. --- Diffs of the changes: (+0 -12) Instructions.h | 12 1 files changed, 12 deletions(-) Index: llvm/include/llvm/Instructions.h dif

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2007-02-12 Thread Chris Lattner
Changes in directory llvm/include/llvm: Instructions.h updated: 1.55 -> 1.56 --- Log message: Add invokeinst and callinst ctors that don't take vectors. --- Diffs of the changes: (+12 -1) Instructions.h | 13 - 1 files changed, 12 insertions(+), 1 deletion(-) Index: llvm/in

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2007-02-12 Thread Chris Lattner
Changes in directory llvm/include/llvm: Instructions.h updated: 1.54 -> 1.55 --- Log message: remove some dead methods. --- Diffs of the changes: (+1 -10) Instructions.h | 11 +-- 1 files changed, 1 insertion(+), 10 deletions(-) Index: llvm/include/llvm/Instructions.h diff -u l

[llvm-commits] CVS: llvm/include/llvm/Instructions.h Module.h

2007-02-11 Thread Chris Lattner
Changes in directory llvm/include/llvm: Instructions.h updated: 1.53 -> 1.54 Module.h updated: 1.83 -> 1.84 --- Log message: add #include --- Diffs of the changes: (+2 -0) Instructions.h |1 + Module.h |1 + 2 files changed, 2 insertions(+) Index: llvm/include/llvm/Instruct

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2007-01-31 Thread Chris Lattner
Changes in directory llvm/include/llvm: Instructions.h updated: 1.51 -> 1.52 --- Log message: implement the new GEP instruction ctors. --- Diffs of the changes: (+1 -1) Instructions.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/Instructions.h diff -

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2007-01-14 Thread Chris Lattner
Changes in directory llvm/include/llvm: Instructions.h updated: 1.49 -> 1.50 --- Log message: add accessors --- Diffs of the changes: (+6 -0) Instructions.h |6 ++ 1 files changed, 6 insertions(+) Index: llvm/include/llvm/Instructions.h diff -u llvm/include/llvm/Instructions.h:1.

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2006-12-28 Thread Reid Spencer
Changes in directory llvm/include/llvm: Instructions.h updated: 1.48 -> 1.49 --- Log message: Doxygenify a comment. --- Diffs of the changes: (+2 -1) Instructions.h |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/include/llvm/Instructions.h diff -u llvm/include/ll

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2006-10-04 Thread Chris Lattner
Changes in directory llvm/include/llvm: Instructions.h updated: 1.43 -> 1.44 --- Log message: Add insertelement/extractelement helper ctors. --- Diffs of the changes: (+8 -0) Instructions.h |8 1 files changed, 8 insertions(+) Index: llvm/include/llvm/Instructions.h diff -u

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2006-10-03 Thread Chris Lattner
Changes in directory llvm/include/llvm: Instructions.h updated: 1.42 -> 1.43 --- Log message: clean up use of 'explicit'. This is PR934: http://llvm.org/PR934 . Patch contributed by Kevin Sopp! --- Diffs of the changes: (+42 -43) Instructions.h | 85 -

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2006-09-18 Thread Nick Lewycky
Changes in directory llvm/include/llvm: Instructions.h updated: 1.41 -> 1.42 --- Log message: Fix findCaseDest to return null when BB is both the default dest and one of the numeric cases. --- Diffs of the changes: (+2 -0) Instructions.h |2 ++ 1 files changed, 2 insertions(+) Index:

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2006-09-18 Thread Nick Lewycky
Changes in directory llvm/include/llvm: Instructions.h updated: 1.40 -> 1.41 --- Log message: Add a new helper method to SwitchInst. Useful when you've got a BB from somewhere (like the dominator graph) and would like to know which case it came from. --- Diffs of the changes: (+13 -0) Inst

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2006-09-17 Thread Chris Lattner
Changes in directory llvm/include/llvm: Instructions.h updated: 1.39 -> 1.40 --- Log message: add a helper method --- Diffs of the changes: (+5 -0) Instructions.h |5 + 1 files changed, 5 insertions(+) Index: llvm/include/llvm/Instructions.h diff -u llvm/include/llvm/Instructions

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2006-05-19 Thread Reid Spencer
Changes in directory llvm/include/llvm: Instructions.h updated: 1.35 -> 1.36 --- Log message: Fix some doxygen usage in these headers. --- Diffs of the changes: (+2 -2) Instructions.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/include/llvm/Instructions.h di

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2006-05-09 Thread Chris Lattner
Changes in directory llvm/include/llvm: Instructions.h updated: 1.34 -> 1.35 --- Log message: Add alloca/malloc ctors that don't take array sizes. --- Diffs of the changes: (+21 -8) Instructions.h | 29 + 1 files changed, 21 insertions(+), 8 deletions(-) Ind

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2006-04-14 Thread Chris Lattner
Changes in directory llvm/include/llvm: Instructions.h updated: 1.33 -> 1.34 --- Log message: These instructions always return a packed vector. Improve the class definitions to expose this fact. --- Diffs of the changes: (+15 -14) Instructions.h | 29 +++-- 1 fi

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2006-04-07 Thread Chris Lattner
Changes in directory llvm/include/llvm: Instructions.h updated: 1.32 -> 1.33 --- Log message: Add methods to check insert/extract element instructions for validity --- Diffs of the changes: (+10 -1) Instructions.h | 11 ++- 1 files changed, 10 insertions(+), 1 deletion(-) Index

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2005-11-05 Thread Chris Lattner
Changes in directory llvm/include/llvm: Instructions.h updated: 1.28 -> 1.29 --- Log message: add an accessor --- Diffs of the changes: (+4 -0) Instructions.h |4 1 files changed, 4 insertions(+) Index: llvm/include/llvm/Instructions.h diff -u llvm/include/llvm/Instructions.h:1.

[llvm-commits] CVS: llvm/include/llvm/Instructions.h

2005-11-05 Thread Nate Begeman
Changes in directory llvm/include/llvm: Instructions.h updated: 1.27 -> 1.28 --- Log message: Add support alignment of allocation instructions. Add support for specifying alignment and size of setjmp jmpbufs. No targets currently do anything with this information, nor is it presrved in the byt