"clang/git@repo.hca.bsc.es:rferrer/llvm-epi-0.8.git" did not exist on "6ee8a7dac5732f2dbd694474af0c8531bbdea151"
- Jun 01, 2012
-
-
Chris Lattner authored
llvm-svn: 157813
-
Chris Lattner authored
in multiple-return value scenarios, like what happens on X86-64 when returning small structs. llvm-svn: 157800
-
Chris Lattner authored
types, as well as int<->ptr casts. This allows us to tailcall functions with some trivial casts between the call and return (i.e. because the return types disagree). llvm-svn: 157798
-
Chris Lattner authored
llvm-svn: 157796
-
- Apr 10, 2012
-
-
Evan Cheng authored
legalizer always use the DAG entry node. This is wrong when the libcall is emitted as a tail call since it effectively folds the return node. If the return node's input chain is not the entry (i.e. call, load, or store) use that as the tail call input chain. PR12419 rdar://9770785 rdar://11195178 llvm-svn: 154370
-
- Jan 20, 2012
-
-
David Blaikie authored
llvm-svn: 148578
-
Kostya Serebryany authored
Problem: LLVM needs more function attributes than currently available (32 bits). One such proposed attribute is "address_safety", which shows that a function is being checked for address safety (by AddressSanitizer, SAFECode, etc). Solution: - extend the Attributes from 32 bits to 64-bits - wrap the object into a class so that unsigned is never erroneously used instead - change "unsigned" to "Attributes" throughout the code, including one place in clang. - the class has no "operator uint64 ()", but it has "uint64_t Raw() " to support packing/unpacking. - the class has "safe operator bool()" to support the common idiom: if (Attributes attr = getAttrs()) useAttrs(attr); - The CTOR from uint64_t is marked explicit, so I had to add a few explicit CTOR calls - Add the new attribute "address_safety". Doing it in the same commit to check that attributes beyond first 32 bits actually work. - Some of the functions from the Attribute namespace are worth moving inside the class, but I'd prefer to have it as a separate commit. Tested: "make check" on Linux (32-bit and 64-bit) and Mac (10.6) built/run spec CPU 2006 on Linux with clang -O2. This change will break clang build in lib/CodeGen/CGCall.cpp. The following patch will fix it. llvm-svn: 148553
-
- Dec 15, 2011
-
-
Dan Gohman authored
into Analysis as a standalone function, since there's no need for it to be in VMCore. Also, update it to use isKnownNonZero and other goodies available in Analysis, making it more precise, enabling more aggressive optimization. llvm-svn: 146610
-
- Dec 02, 2011
-
-
Nick Lewycky authored
change, now you need a TargetOptions object to create a TargetMachine. Clang patch to follow. One small functionality change in PTX. PTX had commented out the machine verifier parts in their copy of printAndVerify. That now calls the version in LLVMTargetMachine. Users of PTX who need verification disabled should rely on not passing the command-line flag to enable it. llvm-svn: 145714
-
- Jul 18, 2011
-
-
Chris Lattner authored
llvm-svn: 135375
-
- Mar 19, 2011
-
-
Evan Cheng authored
llvm-svn: 127952
-
- Dec 01, 2010
-
-
Evan Cheng authored
legalization time. Since at legalization time there is no mapping from SDNode back to the corresponding LLVM instruction and the return SDNode is target specific, this requires a target hook to check for eligibility. Only x86 and ARM support this form of sibcall optimization right now. rdar://8707777 llvm-svn: 120501
-
- Oct 29, 2010
-
-
John Thompson authored
Inline asm multiple alternative constraints development phase 2 - improved basic logic, added initial platform support. llvm-svn: 117667
-
- Oct 06, 2010
-
-
Dan Gohman authored
llvm-svn: 115792
-
- Jul 27, 2010
-
-
Bill Wendling authored
llvm-svn: 109462
-
- Jul 16, 2010
-
-
Evan Cheng authored
-enable-no-nans-fp-math and -enable-no-infs-fp-math. All of the current codegen fp math optimizations only care whether the fp arithmetics arguments and results can never be NaN. llvm-svn: 108465
-
- Apr 21, 2010
-
-
Dan Gohman authored
SelectionDAG directory and into a new Analysis.cpp file. llvm-svn: 101975
-
- Apr 20, 2010
-
-
Dan Gohman authored
llvm-svn: 101902
-
Dan Gohman authored
llvm-svn: 101901
-
Dan Gohman authored
llvm-svn: 101900
-
- Apr 19, 2010
-
-
Dan Gohman authored
SelectionDAG-specific. llvm-svn: 101801
-
- Apr 17, 2010
-
-
Dan Gohman authored
const_casts, and it reinforces the design of the Target classes being immutable. SelectionDAGISel::IsLegalToFold is now a static member function, because PIC16 uses it in an unconventional way. There is more room for API cleanup here. And PIC16's AsmPrinter no longer uses TargetLowering. llvm-svn: 101635
-
Eric Christopher authored
Probably the best way to know that all getOperand() calls have been handled is to replace that API instead of updating. llvm-svn: 101579
-
- Apr 16, 2010
-
-
Gabor Greif authored
with a fix for self-hosting rotate CallInst operands, i.e. move callee to the back of the operand array the motivation for this patch are laid out in my mail to llvm-commits: more efficient access to operands and callee, faster callgraph-construction, smaller compiler binary llvm-svn: 101465
-
Gabor Greif authored
llvm-svn: 101434
-
- Apr 15, 2010
-
-
Gabor Greif authored
with a fix rotate CallInst operands, i.e. move callee to the back of the operand array the motivation for this patch are laid out in my mail to llvm-commits: more efficient access to operands and callee, faster callgraph-construction, smaller compiler binary llvm-svn: 101397
-
Gabor Greif authored
llvm-svn: 101368
-
Gabor Greif authored
of the operand array the motivation for this patch are laid out in my mail to llvm-commits: more efficient access to operands and callee, faster callgraph-construction, smaller compiler binary llvm-svn: 101364
-
Dan Gohman authored
llvm-svn: 101342
-
Dan Gohman authored
llvm-svn: 101334
-
- Apr 14, 2010
-
-
Dan Gohman authored
a bunch of stuff to support it. llvm-svn: 101273
-
Dan Gohman authored
SelectionDAGBuilder. FunctionLoweringInfo isn't an ideal place for them to live, but it's better than SelectionDAGBuilder for now. llvm-svn: 101267
-
Dan Gohman authored
drop the redundant #ifndef NDEBUG. llvm-svn: 101261
-
Dan Gohman authored
SelectionDAGISel::runOnMachineFunction into FunctionLowering. llvm-svn: 101252
-
Dan Gohman authored
llvm-svn: 101251
-
- Mar 27, 2010
-
-
Bill Wendling authored
llvm-svn: 99697
-
- Feb 09, 2010
-
-
Chris Lattner authored
into TargetOpcodes.h. #include the new TargetOpcodes.h into MachineInstr. Add new inline accessors (like isPHI()) to MachineInstr, and start using them throughout the codebase. llvm-svn: 95687
-
- Jan 21, 2010
-
-
Evan Cheng authored
llvm-svn: 94105
-
- Jan 05, 2010
-
-
Benjamin Kramer authored
Avoid going through the LLVMContext for type equality where it's safe to dereference the type pointer. llvm-svn: 92726
-
- Nov 23, 2009
-
-
Dan Gohman authored
llvm-svn: 89683
-