[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-06-03 Thread Anton Korobeynikov
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.116 -> 1.117 --- Log message: Add comments to fallsthrough cases. Also, this fixes PR1492: http://llvm.org/PR1492 --- Diffs of the changes: (+3 -0) ExecutionEngine.cpp |3 +++ 1 files changed, 3 insertions(

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-06-03 Thread Anton Korobeynikov
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.115 -> 1.116 --- Log message: Check arguments & return types of main(). Abort in case of no match. --- Diffs of the changes: (+32 -0) ExecutionEngine.cpp | 32 1 files changed,

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-05-24 Thread Zhou Sheng
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.114 -> 1.115 --- Log message: Compute the correct word number. --- Diffs of the changes: (+1 -1) ExecutionEngine.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/ExecutionEngine/Exe

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-03-13 Thread Jeff Cohen
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.113 -> 1.114 --- Log message: Unbreak C++ build. --- Diffs of the changes: (+1 -0) ExecutionEngine.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/ExecutionEngine/ExecutionEngine.cpp diff -u llvm/l

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-03-06 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.112 -> 1.113 --- Log message: Fix all of last night's JIT failures in Prolangs-C++ by finishing the implementation of getConstantValue(). --- Diffs of the changes: (+151 -42) ExecutionEngine.cpp | 193 ++

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-03-05 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.111 -> 1.112 --- Log message: 1. Make StoreValueToMemory a little more efficient by not requiring caller to make a copy of the GenericValue. 2. Fix a copy & paste bug in StoreValueToMemory where 64-bit values were

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-03-05 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.110 -> 1.111 --- Log message: Simplify things significantly because GenericValue now has a single integer field, of type APInt, instead of multiple integer fields. Also, get rid of the special endianness code in Store

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-03-03 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.109 -> 1.110 --- Log message: Deal with error handling better. --- Diffs of the changes: (+5 -3) ExecutionEngine.cpp |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) Index: llvm/lib/ExecutionEn

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-03-03 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.108 -> 1.109 --- Log message: Avoid memory leakage by having caller construct the APInt for the destination value of LoadValueFromMemory. --- Diffs of the changes: (+4 -5) ExecutionEngine.cpp |9 - 1

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-03-02 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.107 -> 1.108 --- Log message: Implement loading and storing of APInt values from memory. --- Diffs of the changes: (+16 -8) ExecutionEngine.cpp | 24 1 files changed, 16 insertions(+),

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-02-14 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.106 -> 1.107 --- Log message: For PR1195: http://llvm.org/PR1195 : Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. --- Diffs of the changes: (

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-02-13 Thread Chris Lattner
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.105 -> 1.106 --- Log message: >From Dan Gohman: While preparing http://llvm.org/PR1198: http://llvm.org/PR1198 I noticed several asserts protecting unprepared code from i128 types that weren't actually failing when

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-02-10 Thread Chris Lattner
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.104 -> 1.105 --- Log message: eliminate use of TargetData::getIndexedOffset that takes a vector --- Diffs of the changes: (+3 -2) ExecutionEngine.cpp |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-02-10 Thread Chris Lattner
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.103 -> 1.104 --- Log message: Privatize StructLayout::MemberOffsets, adding an accessor --- Diffs of the changes: (+1 -1) ExecutionEngine.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llv

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.102 -> 1.103 --- Log message: For PR411: http://llvm.org/PR411 : Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X) --- Diffs of the changes: (+1

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-01-30 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.101 -> 1.102 --- Log message: For PR1136: http://llvm.org/PR1136 : Rename GlobalVariable::isExternal as isDeclaration to avoid confusion with external linkage types. --- Diffs of the changes: (+4 -4) ExecutionEn

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-01-19 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.100 -> 1.101 --- Log message: For PR1043: http://llvm.org/PR1043 : This is the final patch for this PR. It implements some minor cleanup in the use of IntegerType, to wit: 1. Type::getIntegerTypeMask -> IntegerType::

Re: [llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-01-18 Thread Reid Spencer
On Thu, 2007-01-18 at 13:49 -0800, Chris Lattner wrote: > Please just use uint64_t BitMask = Ty->getIntegerTypeMask(); Good idea. This is changing to IntegerType::getBitMask(). I'm testing that set of changes now and I'll include this fix to ExecutionEngine when its time to commit. Thanks, Reid.

Re: [llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-01-18 Thread Chris Lattner
Please just use uint64_t BitMask = Ty->getIntegerTypeMask(); Thanks, -Chris On Jan 18, 2007, at 10:01 AM, Reid Spencer wrote: > > > Changes in directory llvm/lib/ExecutionEngine: > > ExecutionEngine.cpp updated: 1.99 -> 1.100 > --- > Log message: > > Fix a regression in the last patch. When co

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-01-18 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.99 -> 1.100 --- Log message: Fix a regression in the last patch. When constructing a BitMask, be careful not to overflow 64-bits and end up with a 0 mask. This caused i64 values to always be stored as 0 with lots of c

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-01-17 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.98 -> 1.99 --- Log message: Make sure we truncate stored values to their bit width. --- Diffs of the changes: (+40 -30) ExecutionEngine.cpp | 70 +--- 1 files cha

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-01-11 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.97 -> 1.98 --- Log message: For PR1064: http://llvm.org/PR1064 : Implement the arbitrary bit-width integer feature. The feature allows integers of any bitwidth (up to 64) to be defined instead of just 1, 8, 16, 32, a

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-01-11 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.96 -> 1.97 --- Log message: Implement review feedback for the ConstantBool->ConstantInt merge. Chris recommended that getBoolValue be replaced with getZExtValue and that get(bool) be replaced by get(const Type*, uint6

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-01-11 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.95 -> 1.96 --- Log message: Rename BoolTy as Int1Ty. Patch by Sheng Zhou. --- Diffs of the changes: (+6 -6) ExecutionEngine.cpp | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) Index: llvm/

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2007-01-11 Thread Zhou Sheng
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.94 -> 1.95 --- Log message: For PR1043: http://llvm.org/PR1043 : Merge ConstantIntegral and ConstantBool into ConstantInt. Remove ConstantIntegral and ConstantBool from LLVM. --- Diffs of the changes: (+1 -1) Exe

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-12-30 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.93 -> 1.94 --- Log message: For PR950: http://llvm.org/PR950 : Convert signed integer types to signless ones. --- Diffs of the changes: (+69 -97) ExecutionEngine.cpp | 166 +--

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-12-19 Thread Chris Lattner
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.92 -> 1.93 --- Log message: remove static ctors from Statistic objects --- Diffs of the changes: (+2 -4) ExecutionEngine.cpp |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) Index: llvm/lib/Execu

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-12-06 Thread Bill Wendling
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.91 -> 1.92 --- Log message: Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are now cerr, cout, and NullStream resp. --- Diffs of the changes: (+9 -9) ExecutionEngine.cpp | 18 +

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-12-06 Thread Chris Lattner
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.90 -> 1.91 --- Log message: Detemplatize the Statistic class. The only type it is instantiated with is 'unsigned'. --- Diffs of the changes: (+2 -2) ExecutionEngine.cpp |4 ++-- 1 files changed, 2 insertion

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-11-30 Thread Anton Korobeynikov
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.89 -> 1.90 --- Log message: Introducing external weak linkage. Darwin codegen should be added later. --- Diffs of the changes: (+1 -1) ExecutionEngine.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-)

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-11-27 Thread Bill Wendling
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.88 -> 1.89 --- Log message: Removed #include and replaced streams with llvm streams. --- Diffs of the changes: (+11 -12) ExecutionEngine.cpp | 23 +++ 1 files changed, 11 insertions(+), 12

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-11-26 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.87 -> 1.88 --- Log message: For PR950: http://llvm.org/PR950 : The long awaited CAST patch. This introduces 12 new instructions into LLVM to replace the cast instruction. Corresponding changes throughout LLVM are prov

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-11-09 Thread Chris Lattner
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.86 -> 1.87 --- Log message: init ivar --- Diffs of the changes: (+2 -0) ExecutionEngine.cpp |2 ++ 1 files changed, 2 insertions(+) Index: llvm/lib/ExecutionEngine/ExecutionEngine.cpp diff -u llvm/lib/Execu

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-10-20 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.85 -> 1.86 --- Log message: For PR950: http://llvm.org/PR950 : This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in fav

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-09-14 Thread Anton Korobeynikov
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.84 -> 1.85 --- Log message: Adding dllimport, dllexport and external weak linkage types. DLL* linkages got full (I hope) codegeneration support in C & both x86 assembler backends. External weak linkage added for futu

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-08-15 Thread Chris Lattner
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.83 -> 1.84 --- Log message: initial changes to support JIT'ing from multiple module providers, implicitly linking the program on the fly. --- Diffs of the changes: (+150 -56) ExecutionEngine.cpp | 206 ++

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-05-14 Thread Chris Lattner
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.82 -> 1.83 --- Log message: LoadLibraryPermanently can theoretically throw an exception. Do not propagate it out of 'ExecutionEngine::create'. This fixes a problem reported by coverity. --- Diffs of the changes:

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-05-08 Thread Chris Lattner
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.81 -> 1.82 --- Log message: Move some methods out of line so that MutexGuard.h isn't needed in a public header. --- Diffs of the changes: (+73 -3) ExecutionEngine.cpp | 76 +

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-05-02 Thread Owen Anderson
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.80 -> 1.81 --- Log message: Refactor TargetMachine, pushing handling of TargetData into the target-specific subclasses. This has one caller-visible change: getTargetData() now returns a pointer instead of a referen

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-04-22 Thread Nate Begeman
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.79 -> 1.80 --- Log message: JumpTable support! What this represents is working asm and jit support for x86 and ppc for 100% dense switch statements when relocations are non-PIC. This support will be extended and enha

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-04-21 Thread Chris Lattner
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.78 -> 1.79 --- Log message: Fix JIT support for static ctors, which was apparently completely broken! This allows Prolangs-C++/city and probably a bunch of other stuff to work well with the new front-end --- Diffs

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-03-22 Thread Chris Lattner
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.77 -> 1.78 --- Log message: prune #includes --- Diffs of the changes: (+0 -1) ExecutionEngine.cpp |1 - 1 files changed, 1 deletion(-) Index: llvm/lib/ExecutionEngine/ExecutionEngine.cpp diff -u llvm/lib/E

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-03-22 Thread Chris Lattner
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.76 -> 1.77 --- Log message: remove the intrinsiclowering hook --- Diffs of the changes: (+5 -7) ExecutionEngine.cpp | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) Index: llvm/lib/Executio

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-03-21 Thread Chris Lattner
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.75 -> 1.76 --- Log message: Eliminate the dependency of ExecutionEngine on the JIT/Interpreter libraries. Now you can build a tool with just the JIT or just the interpreter. --- Diffs of the changes: (+8 -18) Ex

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-03-08 Thread Chris Lattner
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.74 -> 1.75 --- Log message: Add a helper method for running static ctors/dtors in the module. --- Diffs of the changes: (+31 -2) ExecutionEngine.cpp | 33 +++-- 1 files changed, 31 i

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-02-06 Thread Jeff Cohen
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.73 -> 1.74 --- Log message: Teach the interpreter to handle global variables that are added to a module after interpretation has begun. The JIT already handles this situation correctly, and the interpreter can alrea

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2006-01-20 Thread Robert L. Bocchino Jr.
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.72 -> 1.73 --- Log message: Fixed InitializeMemory to handle ConstantPacked. --- Diffs of the changes: (+6 -0) ExecutionEngine.cpp |6 ++ 1 files changed, 6 insertions(+) Index: llvm/lib/ExecutionEngin

[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

2005-10-23 Thread Chris Lattner
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.71 -> 1.72 --- Log message: Fix a nasty bug that was causing miscompilation of global variables on big endian 32-bit targets in some cases (e.g. PPC). This fixes several PPC JIT failures. --- Diffs of the changes: