- Aug 24, 2008
-
-
Chris Lattner authored
really nice if someone converted MachineFunction::print to raw_ostream. llvm-svn: 55268
-
Chris Lattner authored
llvm-svn: 55267
-
Chris Lattner authored
llvm-svn: 55266
-
Chris Lattner authored
llvm-svn: 55265
-
Chris Lattner authored
an APInt directly to an ostream now, so add some hacks. It would be better to switch all of the bugreport (and friends) stuff over to raw_ostream. llvm-svn: 55264
-
Chris Lattner authored
use raw_ostream instead of std::ostream. Among other goodness, this speeds up llvm-dis of kc++ with a release build from 0.85s to 0.49s (88% faster). Other interesting changes: 1) This makes Value::print be non-virtual. 2) AP[S]Int and ConstantRange can no longer print to ostream directly, use raw_ostream instead. 3) This fixes a bug in raw_os_ostream where it didn't flush itself when destroyed. 4) This adds a new SDNode::print method, instead of only allowing "dump". A lot of APIs have both std::ostream and raw_ostream versions, it would be useful to go through and systematically anihilate the std::ostream versions. This passes dejagnu, but there may be minor fallout, plz let me know if so and I'll fix it. llvm-svn: 55263
-
Anders Carlsson authored
llvm-svn: 55262
-
Anders Carlsson authored
Make sure to create CXX record decls for the implicit Obj-C type declarations. This lets us compile Cocoa.h as Objective-C++ llvm-svn: 55261
-
Daniel Dunbar authored
- Use CCC_ECHO to control echoing behavior (default is on, set to '' or unset to disable) - Get 'clang','llc','as','cc','ld' executables from environment. 'cc' and 'ld' are fetched through CCC_CC and CCC_LD respectively -- to support make CC=ccc -- the others are through their upcased versions. - Add CCC_NATIVE mode. o This uses llc and as to generate native object files; allowing more drop-in replacement of gcc. o Disabled by default, but should eventually be default. o Allow --emit-llvm in CCC_NATIVE mode to override. Essentially this makes ccc more like a drop in replacement for llvm-gcc. - Prevent explicit -x <language> options from annoying clang. llvm-svn: 55260
-
Chris Lattner authored
llvm-svn: 55259
-
- Aug 23, 2008
-
-
Chris Lattner authored
llvm-svn: 55258
-
Chris Lattner authored
llvm-svn: 55257
-
Anders Carlsson authored
llvm-svn: 55255
-
Anders Carlsson authored
llvm-svn: 55254
-
Anders Carlsson authored
llvm-svn: 55253
-
Chris Lattner authored
llvm-svn: 55252
-
Chris Lattner authored
up to three values in one call. llvm-svn: 55251
-
Anders Carlsson authored
llvm-svn: 55250
-
Argyrios Kyrtzidis authored
llvm-svn: 55249
-
Chris Lattner authored
according to the intarnetz llvm-svn: 55248
-
Argyrios Kyrtzidis authored
llvm-svn: 55247
-
Chris Lattner authored
all the power and risk of fprintf format strings. Use them like this: OS << format("%10.4f", 42.0) << "\n" << format("%x", 42) << '\n'; llvm-svn: 55246
-
Anders Carlsson authored
llvm-svn: 55245
-
Daniel Dunbar authored
llvm-svn: 55244
-
Daniel Dunbar authored
- Use CodeGenModule::GetAddrOfConstantCFString Some tweaks of CodeGenModule::GetAddrOfConstantCFString llvm-svn: 55243
-
Chris Lattner authored
llvm-svn: 55242
-
Chris Lattner authored
llvm-svn: 55241
-
Anders Carlsson authored
llvm-svn: 55240
-
Anton Korobeynikov authored
llvm-svn: 55239
-
Anton Korobeynikov authored
Is there way to avoid explicit target check? llvm-svn: 55238
-
Argyrios Kyrtzidis authored
llvm-svn: 55237
-
Argyrios Kyrtzidis authored
Make sure there's no "dangling" backtrack position when Preprocessor is destroyed. llvm-svn: 55236
-
Argyrios Kyrtzidis authored
llvm-svn: 55235
-
Daniel Dunbar authored
Implement Obj-C lvalue message sends (aggregate returns). Update several places to emit more precise ErrorUnsupported warnings for currently unimplemented Obj-C features (main missing chunks are property references, Obj-C exception handling, and the for ... in syntax). llvm-svn: 55234
-
Bill Wendling authored
tests: Running /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/dg.exp ... FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcread-ptrptr.ll for PR1633 Failed with exit(1) at line 1 while running: not llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcread-ptrptr.ll >& /dev/null child process exited abnormally FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcroot-alloca.ll for PR1633 Failed with exit(1) at line 1 while running: not llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcroot-alloca.ll >& /dev/null child process exited abnormally FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcroot-meta.ll for PR1633 Failed with exit(1) at line 1 while running: not llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcroot-meta.ll >& /dev/null child process exited abnormally FAIL: ndbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcroot-ptrptr.ll for PR1633 Failed with exit(1) at line 1 while running: not llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcroot-ptrptr.ll >& /dev/null child process exited abnormally FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcwrite-ptrptr.ll for PR1633 Failed with exit(1) at line 1 while running: not llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.HEAD.src/test/Verifier/gcwrite-ptrptr.ll >& /dev/null child process exited abnormally === Summary === # of expected passes 3021 # of unexpected failures 6 # of expected failures 16 make[1]: *** [check-local] Error 1 make: *** [check] Error 2 llvm-svn: 55233
-
Daniel Dunbar authored
- Simplify the sending code a bit. llvm-svn: 55232
-
Daniel Dunbar authored
- Used to autoselect runtime when neither -fnext-runtime nor -fgnu-runtime is specified. - Default impl is false, all darwin targets set it to true. llvm-svn: 55231
-
Chris Lattner authored
before/after effects of a pass, crazy! llvm-svn: 55230
-
Chris Lattner authored
integer, PR2318. llvm-svn: 55228
-
Chris Lattner authored
and tblgen now knows intrinsic prototypes. llvm-svn: 55227
-