- Dec 07, 2011
-
-
Jim Grosbach authored
llvm-svn: 146003
-
Douglas Gregor authored
module, at least have the decency to complain about it. llvm-svn: 146002
-
Eli Friedman authored
llvm-svn: 146001
-
Richard Smith authored
bound to not have side effects(!). Add constant-folding support for expressions of void type, to ensure that we can still fold ((void)0, 1) as an array bound. llvm-svn: 146000
-
Fariborz Jahanian authored
methods with these attributes are sent to receivers of 'id' type too. // rdar://10459930 llvm-svn: 145999
-
Bruno Cardoso Lopes authored
make the addend fixup code a bit more generic Patch by Jack Carter. llvm-svn: 145998
-
Jakob Stoklund Olesen authored
This flag is used when bundling machine instructions. It indicates whether the operand reads a value defined inside or outside its bundle. llvm-svn: 145997
-
Eli Friedman authored
llvm-svn: 145996
-
Jakub Staszak authored
llvm-svn: 145995
-
Jim Grosbach authored
No functional change yet. Will be implementing range-checked immediates for better diagnostics and disambiguation of instructions. llvm-svn: 145994
-
Jakub Staszak authored
- Remove unused types/fields. - Add some constantness. llvm-svn: 145993
-
Jim Grosbach authored
For example, ARM allows: vmov.u32 s4, #0 -> vmov.i32, #0 'u32' is a more specific designator for the 32-bit integer type specifier and is legal for any instruction which accepts 'i32' as a datatype suffix. We want to say, def : TokenAlias<".u32", ".i32">; This works by marking the match class of 'From' as a subclass of the match class of 'To'. rdar://10435076 llvm-svn: 145992
-
Jakub Staszak authored
llvm-svn: 145991
-
Richard Smith authored
for a foldable constant rather than an IR-level constant. This is still far too liberal, but is a step in the right direction. llvm-svn: 145990
-
Daniel Dunbar authored
multiple components. llvm-svn: 145989
-
Anshuman Dasgupta authored
llvm-svn: 145988
-
Anna Zaks authored
llvm-svn: 145987
-
Anna Zaks authored
for finding dependent symbols for taint. llvm-svn: 145986
-
Anna Zaks authored
- Created a new SymExpr type - SymbolCast. - SymbolCast is created when we don't know how to simplify a NonLoc to NonLoc casts. - A bit of code refactoring: introduced dispatchCast to have better code reuse, remove a goto. - Updated the test case to showcase the new taint flow. llvm-svn: 145985
-
Anna Zaks authored
llvm-svn: 145984
-
Douglas Gregor authored
llvm-svn: 145983
-
- Dec 06, 2011
-
-
Jason Molenda authored
llvm-svn: 145982
-
Richard Smith authored
evaluator into constant initializer handling / IRGen. The practical consequence of this is that the bitcast now lives in the constant's definition, rather than in its uses. The code in the constant expression evaluator was producing vectors of the wrong type and size (and possibly of the wrong value for a big-endian int-to-vector bitcast). We were getting away with this only because we don't yet support constant-folding of any expressions which inspect vector values. llvm-svn: 145981
-
Jakob Stoklund Olesen authored
This caused more offset errors. llvm-svn: 145980
-
Jakub Staszak authored
llvm-svn: 145979
-
Johnny Chen authored
llvm-svn: 145978
-
-
Bill Wendling authored
llvm-svn: 145976
-
Evan Cheng authored
1. Added opcode BUNDLE 2. Taught MachineInstr class to deal with bundled MIs 3. Changed MachineBasicBlock iterator to skip over bundled MIs; added an iterator to walk all the MIs 4. Taught MachineBasicBlock methods about bundled MIs llvm-svn: 145975
-
Jim Grosbach authored
llvm-svn: 145974
-
Douglas Gregor authored
llvm-svn: 145973
-
Argyrios Kyrtzidis authored
- Exposes a CXType_Vector type kind for vector types. - Adds generalized versions of the clang_getArrayElementType and clang_getArraySize functions, named clang_getElementType and clang_getNumElements, which work on array, vector, or complex types. - Adds additional functions for querying function types. clang_isFunctionTypeVariadic returns true if a function type is variadic. clang_getFunctionCallingConv returns an enumeration value indicating the calling convention of the function type. clang_getNumArgTypes returns the number of static argument types, and clang_getArgType gets the type of an argument. - Adds a clang_getTypedefDeclUnderlyingType function to get the underlying type from a TypedefDecl cursor. - Adds a clang_getEnumDeclIntegerType function to get the integer type from an EnumDecl cursor. - Adds clang_getEnumConstantDeclValue and clang_getEnumConstantDeclUnsignedValue functions to get the value of an EnumConstantDecl as a signed or unsigned long long, respectively. - Exposes a CXCursor_AsmLabelAttr cursor kind for __asm__("label") attributes. - Alters clang_getCursorSpelling to return the label value for AsmLabelAttr-kind cursors. llvm-svn: 145972
-
Jakob Stoklund Olesen authored
This pseudo-instruction contains a .align directive in its expansion, so the total size may vary by 2 bytes. It is too difficult to accurately keep track of this alignment directive, just use the worst-case size instead. llvm-svn: 145971
-
Jakob Stoklund Olesen authored
ARMConstantIslandPass may sometimes leave empty constant islands behind (it really shouldn't). Remove the alignment from the empty islands so the size calculations are still correct. This should fix the many Thumb1 assembler errors in the nightly test suite. The reduced test case for this problem is way too big. That is to be expected for ARMConstantIslandPass bugs. <rdar://problem/10534709> llvm-svn: 145970
-
Bill Wendling authored
llvm-svn: 145969
-
Bill Wendling authored
* Rename variables to reflect what they're actually used for. llvm-svn: 145968
-
Kostya Serebryany authored
llvm-svn: 145967
-
Kostya Serebryany authored
llvm-svn: 145966
-
Jakob Stoklund Olesen authored
llvm-svn: 145965
-
Jakub Staszak authored
llvm-svn: 145964
-