- Dec 06, 2011
-
-
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
-
Hal Finkel authored
llvm-svn: 145963
-
Hal Finkel authored
llvm-svn: 145962
-
Hal Finkel authored
llvm-svn: 145961
-
Hal Finkel authored
llvm-svn: 145960
-
Douglas Gregor authored
llvm-svn: 145959
-
Douglas Gregor authored
llvm-svn: 145958
-
Douglas Gregor authored
modules for each of its subframeworks. llvm-svn: 145957
-
Benjamin Kramer authored
llvm-svn: 145956
-
Kostya Serebryany authored
[asan] Mac: do not link dynamic libs with the asan-rt, use -undefined dynamic_lookup for dynamic libs. Style fixes. Patch by glider@google.com llvm-svn: 145955
-
Bill Wendling authored
llvm-svn: 145954
-
Kostya Serebryany authored
llvm-svn: 145953
-
Bill Wendling authored
llvm-svn: 145952
-
Howard Hinnant authored
Substituted std::get_terminate() for direct access to the handler function pointer (which is now a static in cxa_handlers.cpp). This has the advantage of going through the atomic API and so is less likely to cause a data race. Ditto for unexpected. llvm-svn: 145951
-
Daniel Dunbar authored
llvm-svn: 145950
-
Howard Hinnant authored
llvm-svn: 145949
-
Howard Hinnant authored
terminate, unexpected and new handlers. If terminating while an exception is unwinding, an attempt is made to print out the what() string if the exception is derived from std::exception. __terminate(handler) and __unexpected(handler) helpers are present in anticipation of other parts of libc++abi needing to call these interfaces with custom handlers. llvm-svn: 145948
-
Justin Holewinski authored
llvm-svn: 145947
-
Justin Holewinski authored
llvm-svn: 145946
-
Douglas Gregor authored
llvm-svn: 145945
-
Sebastian Pop authored
llvm-svn: 145944
-
Sebastian Pop authored
llvm-svn: 145943
-
Douglas Gregor authored
most specific (sub)module based on the actual file we find, rather than always importing the top-level module. This means that #include'ing <Foo/Blah.h> should give us the submodule Foo.Blah. llvm-svn: 145942
-
Douglas Gregor authored
frameworks). A submodule can now be labeled as a "framework", and header search will look into the appropriate Headers/PrivateHeaders subdirectories for named headers. llvm-svn: 145941
-
Douglas Gregor authored
explicit submodules or umbrella headers from submodules. Instead, build the entire module at once, and let the name-hiding mechanisms hide the contents of explicit submodules at load time. llvm-svn: 145940
-
Daniel Dunbar authored
- Fixes <rdar://problem/10261246> clang -maes option is not sufficient to include <wmmintrin.h> llvm-svn: 145939
-
Douglas Gregor authored
functionality change yet. llvm-svn: 145938
-
Benjamin Kramer authored
- Walking over pred_begin/pred_end is an expensive operation. - PHINodes contain a value for each predecessor anyway. - While it may look like we used to save a few iterations with the set, be aware that getIncomingValueForBlock does a linear search on the values of the phi node. - Another -5% on ARMDisassembler.cpp (Release build). This was the last entry in the profile that was obviously wasting time. llvm-svn: 145937
-
Rafael Espindola authored
llvm-svn: 145935
-