- Feb 18, 2011
-
-
Jakob Stoklund Olesen authored
The rewriter works almost identically to -rewriter=trivial, except it also eliminates any identity copies. This makes the new register allocators independent of VirtRegRewriter.cpp which will be going away at the same time as RegAllocLinearScan. llvm-svn: 125967
-
Owen Anderson authored
Add FixedLenDecoderEmitter, the skeleton of a new disassembler emitter for fixed-length instruction encodings. A major part of its (eventual) goal is to support a much cleaner separation between disassembly callbacks provided by the target and the disassembler emitter itself, i.e. not requiring hardcoding of knowledge in tblgen like the existing disassembly emitters do. The hope is that some day this will allow us to replace the existing non-Thumb ARM disassembler and remove some of the hacks the old one introduced to tblgen. llvm-svn: 125966
-
Chris Lattner authored
query about available library functions. For now this just has memset_pattern16, which exists on darwin, but it can be extended for a bunch of other things in the future. llvm-svn: 125965
-
Owen Anderson authored
llvm-svn: 125964
-
Argyrios Kyrtzidis authored
llvm-svn: 125963
-
-
Johnny Chen authored
Plus add a helper method ReadCoreReg(uint32_t regnum, bool *success) to simplify coding a bit. llvm-svn: 125961
-
Bill Wendling authored
llvm-svn: 125960
-
Caroline Tice authored
Add code to emulate LDRB (immediate, Thumb) instruction. llvm-svn: 125959
-
Argyrios Kyrtzidis authored
llvm-svn: 125958
-
Argyrios Kyrtzidis authored
No functionality change. llvm-svn: 125957
-
Stephen Wilson authored
parallel with the rest of the tools directory as it depends on Clang. llvm-svn: 125956
-
Bruno Cardoso Lopes authored
llvm-svn: 125949
-
Bruno Cardoso Lopes authored
testcases for the disassembler to make sure it still works for "msr". llvm-svn: 125948
-
Johnny Chen authored
Plus add macro definitions for APSR_C and APSR_V to simplify code. llvm-svn: 125947
-
Fariborz Jahanian authored
scalar types. // rdar://7761305 llvm-svn: 125946
-
Caroline Tice authored
Add code to emulate LDR (register) Arm instruction. llvm-svn: 125945
-
Chris Lattner authored
patch by Amit Kulkarni! llvm-svn: 125944
-
Chris Lattner authored
llvm-svn: 125943
-
Rafael Espindola authored
llvm-svn: 125845
-
Duncan Sands authored
overflow. These subsume some existing equality transforms, so zap those. llvm-svn: 125843
-
Benjamin Kramer authored
llvm-svn: 125842
-
NAKAMURA Takumi authored
TCE target has some too strict alignment rules (that the HW really does not require, but which caused problems elsewhere) for data types and an ABI change was decided. llvm-svn: 125833
-
Chris Lattner authored
llvm-svn: 125832
-
Chris Lattner authored
llvm-svn: 125831
-
Cameron Zwarich authored
llvm-svn: 125830
-
Chris Lattner authored
taken (and used!). This prevents merging the blocks (invalidating the block addresses) in a case like this: #define _THIS_IP_ ({ __label__ __here; __here: (unsigned long)&&__here; }) void foo() { printf("%p\n", _THIS_IP_); printf("%p\n", _THIS_IP_); printf("%p\n", _THIS_IP_); } which fixes PR4151. llvm-svn: 125829
-
Chris Lattner authored
llvm-svn: 125828
-
Chris Lattner authored
This is part of a futile attempt to not "break" bizzaro code like this: l1: printf("l1: %p\n", &&l1); ++x; if( x < 3 ) goto l1; Previously we'd fold &&l1 to 1, which is fine per our semantics but not helpful to the user. llvm-svn: 125827
-
Chris Lattner authored
llvm-svn: 125826
-
Douglas Gregor authored
a scoped enumeration type to an integral or floating type, properly. There was an over-eager assertion, and it was missing the floating-point case. Fixes PR9107/<rdar://problem/8937402>. llvm-svn: 125825
-
Peter Collingbourne authored
llvm-svn: 125824
-
John McCall authored
_Block_object_* flags; it's just BLOCK_HAS_COPY_DISPOSE or not. Also, we don't need to chase forwarding pointers prior to calling _Block_object_dispose; _Block_object_dispose in fact already does this. rdar://problem/9006315 llvm-svn: 125823
-
Douglas Gregor authored
or union, place the qualifier on the outermost member reference expression, which actually contains the entity name. Fixes PR9188/<rdar://problem/8990184>. llvm-svn: 125822
-
Ted Kremenek authored
llvm-svn: 125821
-
Peter Collingbourne authored
This removes the final dependency edge from any lib outside of CodeGen to core. As a result we can, and do, trim the dependency on core from libclang, PrintFunctionNames, the unit tests and c-index-test. While at it, review and trim other unneeded dependencies. llvm-svn: 125820
-
Peter Collingbourne authored
llvm-svn: 125819
-
Douglas Gregor authored
enumeration type, we were generating an integer literal implicitly casted to the appropriate enumeration type. However, later checks on that expression would strip the implicit cast. This commit tweaks the lame hack, by creating an explicit cast instead of an implicit cast. The right answer is to introduce a SubstNonTypeTemplateParmExpr expression that acts like the substituted result. I'll investigate that soon. llvm-svn: 125818
-
Chris Lattner authored
bugs from other clients that don't expect to see a LabelDecl in a DeclStmt, but if so they should be easy to fix. This implements most of PR3429 and rdar://8287027 llvm-svn: 125817
-
Chris Lattner authored
llvm-svn: 125816
-