- Mar 02, 2011
-
-
John McCall authored
used for attributes that are okay to inherit when written on a parameter. Dependent on LLVM r126827. llvm-svn: 126828
-
John McCall authored
Intended to be atomic with clang r126828. llvm-svn: 126827
-
Cameron Zwarich authored
llvm-svn: 126826
-
Cameron Zwarich authored
llvm-svn: 126825
-
Che-Liang Chiou authored
- Allow i16, i32, i64, float, and double types, using the native .u16, .u32, .u64, .f32, and .f64 PTX types. - Allow loading/storing of all primitive types. - Allow primitive types to be passed as parameters. - Allow selection of PTX Version and Shader Model as sub-target attributes. - Merge integer/floating-point test cases for load/store. - Use .u32 instead of .s32 to conform to output from NVidia nvcc compiler. Patch by Justin Holewinski llvm-svn: 126824
-
Bill Wendling authored
llvm-svn: 126821
-
John McCall authored
whether C++ exceptions are enabled, not exceptions in general. PR9358. llvm-svn: 126820
-
Douglas Gregor authored
of an expansion, and we have a paramameter that is not a parameter pack, don't suppress substitution of parameter packs within this context. llvm-svn: 126819
-
Jakob Stoklund Olesen authored
Extract the updateSSA() method from the too long extendRange(). LiveOutCache can be shared among all the new intervals since there is at most one of the new ranges live out from each basic block. llvm-svn: 126818
-
John McCall authored
conventional categories into Basic and AST. Update the self-init checker to use this logic; CFRefCountChecker is complicated enough that I didn't want to touch it. llvm-svn: 126817
-
Eli Friedman authored
can't overflow due to promotion rules; emit a wrapping add for those cases. llvm-svn: 126816
-
Nick Lewycky authored
llvm-svn: 126815
-
Johnny Chen authored
o int_to_bytearray() o bytearray_to_int() They return/interpret the bytearray in the little endian format. For big endian, simply perform ba.reverse() on the bytearray object. And modify TestProcessAPI.py to take advantage of the functions. llvm-svn: 126813
-
Dan Gohman authored
This fixes PR9259. llvm-svn: 126812
-
-
Daniel Dunbar authored
llvm-svn: 126810
-
Jakob Stoklund Olesen authored
Simplify the signature - The return value and ParentVNI are no longer needed. llvm-svn: 126809
-
Douglas Gregor authored
template specialization types. This also required some parser tweaks, since we were losing track of the nested-name-specifier's source location information in several places in the parser. Other notable changes this required: - Sema::ActOnTagTemplateIdType now type-checks and forms the appropriate type nodes (+ source-location information) for an elaborated-type-specifier ending in a template-id. Previously, we used a combination of ActOnTemplateIdType and ActOnTagTemplateIdType that resulted in an ElaboratedType wrapped around a DependentTemplateSpecializationType, which duplicated the keyword ("class", "struct", etc.) and nested-name-specifier storage. - Sema::ActOnTemplateIdType now gets a nested-name-specifier, which it places into the returned type-source location information. - Sema::ActOnDependentTag now creates types with source-location information. llvm-svn: 126808
-
Caroline Tice authored
Add code to emulate LDRSH (immediate) Arm instruction. llvm-svn: 126807
-
Jakob Stoklund Olesen authored
llvm-svn: 126806
-
Jakob Stoklund Olesen authored
llvm-svn: 126805
-
Dan Gohman authored
retrieve the underlying getOperandNo() value. llvm-svn: 126804
-
Jakob Stoklund Olesen authored
This method could probably be used by LiveIntervalAnalysis::shrinkToUses, and now it can use extendIntervalEndTo() which coalesces ranges. llvm-svn: 126803
-
Caroline Tice authored
Add code to emulate LDRSB (register) Arm instruction. llvm-svn: 126802
-
Jakob Stoklund Olesen authored
llvm-svn: 126801
-
Jakob Stoklund Olesen authored
The value map is currently not used, all values are 'complex mapped' and LiveIntervalMap::mapValue is used to dig them out. This is the first step in a series changes leading to the removal of LiveIntervalMap. Its data structures can be shared among all the live intervals created by a split, so it is wasteful to create a copy for each. llvm-svn: 126800
-
Jakob Stoklund Olesen authored
Local live range splitting is better driven by interference. This code was just guessing. llvm-svn: 126799
-
Jakob Stoklund Olesen authored
This is a waste of time since we already know how to evict all interferences which is a better approach anyway. llvm-svn: 126798
-
Ted Kremenek authored
llvm-svn: 126797
-
Oscar Fuentes authored
Patch by Erik Olofsson! llvm-svn: 126796
-
- Mar 01, 2011
-
-
Devang Patel authored
This fixes few blocks.exp regressions. llvm-svn: 126795
-
Devang Patel authored
llvm-svn: 126794
-
Devang Patel authored
Today, the language front ends produces llvm.dbg.* intrinsics, used to encode arguments' debug info, in order any way, most of the times. However, if a front end mix-n-matches llvm.dbg.declare and llvm.dbg.value intrinsics to encode debug info for arguments then code generator needs a way to find argument order. Use 8 bits from line number field to keep track of argument ordering while encoding debug info for an argument. That leaves 24 bit for line no, DebugLoc also allocates 24 bit for line numbers. If a function has more than 255 arguments then rest of the arguments will be ordered by llvm.dbg.* intrinsics' ordering in IR. llvm-svn: 126793
-
Johnny Chen authored
among other SBProcess APIs, to write (int)256 into a memory location of a global variable (int)my_int and reads/checks the variable afterwards. llvm-svn: 126792
-
Benjamin Kramer authored
compare it with getDriver().Dir.c_str(), since that is a pointer comparison, not a "are these strings equal" comparison. Instead, just compare with getDriver().Dir directly, so both sides will get promoted to std::string, and the regular std::string comparison operator applies. Patch by Dimitry Andric! llvm-svn: 126791
-
Oscar Fuentes authored
On the first cmake run before the caches has been updated with the default options, options defined after HandleLLVMOptions are always treated as off inside HandleLLVMOptions. Patch by Erik Olofsson! llvm-svn: 126790
-
Caroline Tice authored
Add code to emulate LDRSB (literal) Arm instruction. llvm-svn: 126789
-
Dan Gohman authored
llvm-svn: 126788
-
Dan Gohman authored
which constructs a diagnostic with no line to show. llvm-svn: 126787
-
Dan Gohman authored
llvm-svn: 126786
-