- Nov 01, 2010
-
-
Anders Carlsson authored
Rename getBaseClassOffset to getBaseClassOffsetInBits and introduce a getBaseClassOffset which returns the offset in CharUnits. Do the same thing for getVBaseClassOffset. llvm-svn: 117881
-
- Oct 31, 2010
-
-
Chandler Carruth authored
specializations provided here. This is a little annoying because its size changes from platform to platform. If possible, I may follow up with a patch that uses standard constants to simplify much of this, but assuming for now that was avoided for a reason. llvm-svn: 117880
-
Eric Christopher authored
llvm-svn: 117879
-
Anders Carlsson authored
llvm-svn: 117878
-
Anders Carlsson authored
llvm-svn: 117877
-
Bill Wendling authored
looks like is happening: Without the peephole optimizer: (1) sub r6, r6, #32 orr r12, r12, lr, lsl r9 orr r2, r2, r3, lsl r10 (x) cmp r6, #0 ldr r9, LCPI2_10 ldr r10, LCPI2_11 (2) sub r8, r8, #32 (a) movge r12, lr, lsr r6 (y) cmp r8, #0 LPC2_10: ldr lr, [pc, r10] (b) movge r2, r3, lsr r8 With the peephole optimizer: ldr r9, LCPI2_10 ldr r10, LCPI2_11 (1*) subs r6, r6, #32 (2*) subs r8, r8, #32 (a*) movge r12, lr, lsr r6 (b*) movge r2, r3, lsr r8 (1) is used by (x) for the conditional move at (a). (2) is used by (y) for the conditional move at (b). After the peephole optimizer, these the flags resulting from (1*) are ignored and only the flags from (2*) are considered for both conditional moves. llvm-svn: 117876
-
Anders Carlsson authored
llvm-svn: 117875
-
Anders Carlsson authored
llvm-svn: 117874
-
Anders Carlsson authored
llvm-svn: 117873
-
Anders Carlsson authored
llvm-svn: 117872
-
Nick Lewycky authored
llvm-svn: 117871
-
Nick Lewycky authored
llvm-svn: 117870
-
Anders Carlsson authored
Baby steps towards using only CharUnits for base class offsets in ASTRecordLayout. Start by storing the offsets in CharUnits in the ASTRecordLayout object. llvm-svn: 117869
-
Anders Carlsson authored
Teach the constant expr evaluator about derived-to-base casts when no virtual bases are involved. Fixes PR5974. llvm-svn: 117868
-
Nicolas Geoffray authored
llvm-svn: 117867
-
Greg Clayton authored
/usr/local/bin. llvm-svn: 117866
-
Greg Clayton authored
llvm-svn: 117865
-
Greg Clayton authored
llvm-svn: 117864
-
Chris Lattner authored
let Constraints = "$val = $dst", Defs = [EFLAGS] in, isCodeGenOnly = 1 { we now get: X86InstrCompiler.td:653:52: error: Expected class, def, defm, multiclass or let definition let Constraints = "$val = $dst", Defs = [EFLAGS] in, isCodeGenOnly = 1 { ^ llvm-svn: 117863
-
Chris Lattner authored
Use this to make the X86 and ARM targets set isCodeGenOnly=1 automatically for their instructions that have Format=Pseudo, resolving a hack in tblgen. llvm-svn: 117862
-
Chris Lattner authored
and make it a hard error for instructions to not have an asm string. These instructions should be marked isCodeGenOnly. llvm-svn: 117861
-
Chris Lattner authored
got a dulicated line). llvm-svn: 117860
-
Chris Lattner authored
llvm-svn: 117859
-
Chris Lattner authored
Instead of silently ignoring these instructions, emit a hard error and force the target author to either refactor the target or mark the instruction 'isCodeGenOnly'. Mark a few instructions in ARM and MBlaze as isCodeGenOnly the are doing this. llvm-svn: 117858
-
Chris Lattner authored
how the push/pop mnemonic aliases are wrong. llvm-svn: 117857
-
Duncan Sands authored
calling convention out of the fast and normal ISel files, and into the calling convention TD file. llvm-svn: 117856
-
Duncan Sands authored
which has the same logic specified in the CallingConv TD file. This brings FastISel in line with the standard X86 ISel. llvm-svn: 117855
-
Duncan Sands authored
llvm-svn: 117854
-
Zhanyong Wan authored
Make Clang static analyzer skip function template definitions. This fixes Clang PR 8426, 8427, & 8433. Reviewed by Ted Kremenek and Doug Gregor. llvm-svn: 117853
-
Greg Clayton authored
llvm-svn: 117852
-
Greg Clayton authored
keep the file size a bit smaller. Exposed SBValue::GetExpressionPath() so SBValue users can get an expression path for their values. llvm-svn: 117851
-
Anders Carlsson authored
llvm-svn: 117850
-
Rafael Espindola authored
it would be a bit too big :-) llvm-svn: 117849
-
- Oct 30, 2010
-
-
Eric Christopher authored
llvm-svn: 117848
-
Benjamin Kramer authored
llvm-svn: 117847
-
Chris Lattner authored
llvm-svn: 117846
-
Chris Lattner authored
AsmMatcherInfo so we don't have two places that know the feature -> enum mapping. No functionality change. llvm-svn: 117845
-
Chris Lattner authored
that are only used by MnemonicAliases will be found. llvm-svn: 117844
-
Chris Lattner authored
'tomatch' code contains \n's. llvm-svn: 117843
-
Argyrios Kyrtzidis authored
As a bonus, avoids a crash on the IRGen side due to accepting invalid code. llvm-svn: 117842
-