hanchenye-llvm-project/clang/lib/AST
Richard Smith 161f09abd7 Move vector bitcast handling in constant expressions from the expression
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
2011-12-06 22:44:34 +00:00
..
APValue.cpp Constant expression evaluation: add support for evaluation of member pointers 2011-11-17 22:56:20 +00:00
ASTConsumer.cpp Change ASTConsumer::HandleTopLevelDecl to return true for the parser to continue 2011-11-18 00:26:59 +00:00
ASTContext.cpp Keep track of all of the import declarations that are parsed or 2011-12-03 00:30:27 +00:00
ASTDiagnostic.cpp Change the checks in the type aka printing. A confusing case where the string 2011-11-14 19:39:25 +00:00
ASTImporter.cpp Added a clause to the ASTImporter allowing it to 2011-11-17 23:20:56 +00:00
AttrImpl.cpp Generate Attr subclasses with TableGen. 2010-08-18 23:23:40 +00:00
CMakeLists.txt Allow getting all source locations of selector identifiers in a ObjCMessageExpr. 2011-10-03 06:36:51 +00:00
CXXABI.h Move isNearlyEmpty out into the ASTContext so it can be called from CodeGen as well. 2010-11-25 01:51:53 +00:00
CXXInheritance.cpp remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
Decl.cpp Keep track of all of the import declarations that are parsed or 2011-12-03 00:30:27 +00:00
DeclBase.cpp Keep track of all of the import declarations that are parsed or 2011-12-03 00:30:27 +00:00
DeclCXX.cpp When we notice that a member function is defined with "= delete" or "= 2011-11-07 20:56:01 +00:00
DeclFriend.cpp Support C++ friend declarations for PCH. 2010-06-29 22:47:00 +00:00
DeclGroup.cpp I lied. Kill off a few more Destroy methods 2010-07-25 18:32:30 +00:00
DeclObjC.cpp Use Decl's isImplicit field to indicate whether an ObjCInterfaceDecl is 'ImplicitInterfaceDecl', 2011-11-15 06:20:21 +00:00
DeclPrinter.cpp Introduce a module import declaration, so that we properly represent, e.g., 2011-12-02 23:23:56 +00:00
DeclTemplate.cpp Fixed source range for template implicit instantiations. 2011-10-03 20:34:03 +00:00
DeclarationName.cpp Change operator<< for raw_ostream and NamedDecl to take a reference instead of a pointer. 2011-10-14 18:45:37 +00:00
DumpXML.cpp objective-c: Treat top-level objective-c declarations 2011-08-27 20:50:59 +00:00
Expr.cpp Move vector bitcast handling in constant expressions from the expression 2011-12-06 22:44:34 +00:00
ExprCXX.cpp In Sema::MaybeBindToTemporary, create a CXXBindTemporaryExpr for an 2011-11-27 22:09:28 +00:00
ExprClassification.cpp Reference initialization with initializer lists. 2011-11-27 16:50:07 +00:00
ExprConstant.cpp Move vector bitcast handling in constant expressions from the expression 2011-12-06 22:44:34 +00:00
ExternalASTSource.cpp Don't force the complete deserialization of the visible-declarations 2011-08-24 21:56:08 +00:00
InheritViz.cpp remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
ItaniumCXXABI.cpp Extend the ASTContext constructor to delay the initialization of 2011-09-02 00:18:52 +00:00
ItaniumMangle.cpp Fix mangling substitutions for address-space-qualified class 2011-12-03 18:24:43 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
Mangle.cpp remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
MicrosoftCXXABI.cpp Extend the ASTContext constructor to delay the initialization of 2011-09-02 00:18:52 +00:00
MicrosoftMangle.cpp Add Microsoft mangling of constructors and destructors. Patch by Dmitry! 2011-12-01 09:55:00 +00:00
NestedNameSpecifier.cpp Add a printing policy flag to suppress printing "<anonymous>::" prior 2011-11-03 00:16:13 +00:00
ParentMap.cpp [arcmt] More automatic transformations and safety improvements; rdar://9615812 : 2011-07-27 05:28:18 +00:00
RecordLayout.cpp More ASTRecordLayout changes for MS ABI; based on patch by r4start. 2011-10-21 22:49:56 +00:00
RecordLayoutBuilder.cpp Fix bitfield handling for record layout with #pragma pack. <rdar://problem/10494810> and PR9560. 2011-12-02 02:38:48 +00:00
SelectorLocationsKind.cpp Fix crash when using archaic protocol, rdar://10238337 2011-10-05 21:28:06 +00:00
Stmt.cpp Extend the Stmt AST to make it easier to look through label, default, 2011-09-10 00:02:34 +00:00
StmtDumper.cpp There's no good reason to track temporaries in ExprWithCleanups, 2011-11-10 05:35:25 +00:00
StmtIterator.cpp Support for C++11 (non-template) alias declarations. 2011-04-15 14:24:37 +00:00
StmtPrinter.cpp Implement support for the __is_final type trait, to determine whether 2011-12-03 18:14:24 +00:00
StmtProfile.cpp Change the AST representation of operations on Objective-C 2011-11-06 09:01:30 +00:00
StmtViz.cpp
TemplateBase.cpp Removing a bunch of dead returns/breaks after llvm_unreachables. 2011-09-23 20:26:49 +00:00
TemplateName.cpp Change operator<< for raw_ostream and NamedDecl to take a reference instead of a pointer. 2011-10-14 18:45:37 +00:00
Type.cpp Correctly perform integral promotions on wchar_t/char16_t/char32_t in C++. <rdar://problem/10309088>. 2011-10-26 07:22:48 +00:00
TypeLoc.cpp Provide better source info for template specializations with non-type arguments. 2011-11-22 20:00:10 +00:00
TypePrinter.cpp TypePrinter: print OpenCL address space names. Patch by Richard 2011-11-08 02:52:58 +00:00
VTTBuilder.cpp Move VTT builder to AST 2011-09-26 01:56:24 +00:00
VTableBuilder.cpp Make format string 64 bit safe. 2011-11-06 09:34:11 +00:00